/* ============================================================
   DÍAZ ABOGADOS HUELVA — styles.css
   Paleta: Azul marino profundo + Dorado + Blanco crema
   Tipografía: Cormorant Garamond (display) + Nunito Sans (body)
   ============================================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --navy:       #0D1B2E;
  --navy-mid:   #162844;
  --navy-light: #1E3A5F;
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark:  #A07830;
  --cream:      #F8F4ED;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-mid:   #3D4A5C;
  --text-light: #6B7A8D;
  --border:     rgba(201, 168, 76, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', 'Century Gothic', Futura, 'Trebuchet MS', sans-serif;

  --shadow-sm: 0 2px 12px rgba(13, 27, 46, 0.1);
  --shadow-md: 0 8px 32px rgba(13, 27, 46, 0.18);
  --shadow-lg: 0 20px 60px rgba(13, 27, 46, 0.25);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
p  { font-size: 1rem; color: inherit; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.gold { color: var(--gold); }
.text-gold { color: var(--gold); }
.mt-2 { margin-top: 2rem; }

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.grid-2.reverse { direction: rtl; }
.grid-2.reverse > * { direction: ltr; }

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 27, 46, 0.99);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo-icon {
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-city {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-link.active { color: var(--gold); }

.nav-link.nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  margin-left: 0.5rem;
}

.nav-link.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 46, 0.93) 0%,
    rgba(13, 27, 46, 0.80) 50%,
    rgba(13, 27, 46, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease 0.35s both;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
  font-style: italic;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  max-width: 700px;
  margin: 0 auto 1rem;
  animation: fadeInUp 1s ease 0.65s both;
}

.hero-text strong { color: var(--gold-light); }

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 2rem;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.95s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.trust-icon {
  color: var(--gold);
  font-weight: 700;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ─── SERVICES STRIP ─── */
.services-strip {
  background: var(--navy);
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.services-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: block;
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:last-child { border-right: none; }

.service-card:hover {
  background: var(--navy-light);
}

.service-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: var(--transition);
}

.service-card:hover .service-link {
  letter-spacing: 0.14em;
}

/* ─── CONTENT SECTIONS ─── */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--cream);
  color: var(--text-dark);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,0.80); }

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 1.25rem;
}

.section-content h1 {
  margin-bottom: 0.75rem;
}

.h2-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.section-dark .h2-sub { color: var(--gold-light); }

.section-content p {
  margin-bottom: 1.25rem;
}

/* ─── SECTION IMAGE ─── */
.section-image-wrap {
  position: relative;
}

.section-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.img-caption {
  position: absolute;
  bottom: -16px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

/* ─── VALUES GRID ─── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

/* ─── COURTHOUSE BANNER ─── */
.courthouse-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.courthouse-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s ease;
}

.courthouse-banner:hover img {
  transform: scale(1.03);
}

.courthouse-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,46,0.88) 0%, rgba(13,27,46,0.5) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.courthouse-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  max-width: 580px;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 0;
}

/* ─── SERVICE LIST (in sections) ─── */
.service-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.section-light .service-list-item {
  background: rgba(13,27,46,0.04);
  border: 1px solid rgba(13,27,46,0.1);
}

.section-dark .service-list-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
}

.service-list-item:hover {
  border-color: var(--gold) !important;
}

.bullet-gold {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-list-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.section-dark .service-list-item strong { color: var(--gold-light); }
.section-light .service-list-item strong { color: var(--navy); }

.service-list-item div { font-size: 0.9rem; }
.section-dark .service-list-item div { color: rgba(255,255,255,0.75); }

/* ─── ACCIDENTES VISUAL BLOCK ─── */
.stat-badge {
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 8px 0 4px;
}

.stat-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.trafico-icon-block {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.big-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.trafico-icon-block p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}

/* ─── FINCAS VISUAL BLOCK ─── */
.fincas-visual {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
}

.fincas-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fincas-visual h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.fincas-visual p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.fincas-checklist {
  text-align: left;
  display: inline-block;
}

.fincas-checklist li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fincas-checklist li:last-child { border-bottom: none; }

/* ─── CONTACT SECTION ─── */
.section-contact {
  background: var(--navy-mid);
  color: var(--white);
  padding: 100px 0;
}

.section-contact h1, .section-contact h2, .section-contact h3 { color: var(--white); }
.section-contact p { color: rgba(255,255,255,0.78); }

.contact-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.contact-intro {
  font-size: 1.05rem;
  margin-top: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-link {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--white);
}

.contact-link:hover { color: var(--gold); }

.contact-note {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.map-placeholder {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
  font-weight: 400;
  font-style: italic;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 14px;
  transition: var(--transition);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

select option {
  background: var(--navy);
  color: var(--white);
}

textarea { resize: vertical; min-height: 130px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-check label {
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
}

.form-check label a { color: var(--gold); text-decoration: underline; }

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #ff8a80;
  margin-top: 4px;
  min-height: 16px;
}

.form-message {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.4);
  color: #a5d6a7;
  display: block;
}

.form-message.error {
  background: rgba(244,67,54,0.15);
  border: 1px solid rgba(244,67,54,0.4);
  color: #ef9a9a;
  display: block;
}

/* ─── FOOTER ─── */
.footer { background: var(--navy); }

.footer-top { padding: 80px 0 60px; border-bottom: 1px solid var(--border); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav ul li,
.footer-services ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
}

.footer-nav ul li a {
  transition: var(--transition);
}

.footer-nav ul li a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
}

.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}

.footer-legal a { color: var(--gold); }
.footer-legal a:hover { text-decoration: underline; }

.footer-notices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-notice, .cc-notice {
  font-size: 0.73rem !important;
  color: rgba(255,255,255,0.35) !important;
  margin: 0 !important;
}

.cc-notice a { color: var(--gold-dark); }
.cc-notice a:hover { text-decoration: underline; }

/* ─── PRIVACY SECTION ─── */
.privacy-section {
  background: var(--cream);
  padding: 80px 0;
  border-top: 4px solid var(--gold);
}

.privacy-section h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.privacy-content h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.privacy-content p {
  font-size: 0.92rem;
  color: var(--text-mid);
}

.privacy-content a { color: var(--gold-dark); text-decoration: underline; }

/* ─── FLOATING CTA ─── */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 28px rgba(201,168,76,0.45);
  transition: var(--transition);
  text-decoration: none;
}

.float-cta:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(201,168,76,0.55);
}

.float-cta-text { letter-spacing: 0.05em; }

/* ─── INTERSECTION OBSERVER ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2.reverse { direction: ltr; }
  .section-img { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link.nav-cta { margin: 12px 0 0; border: 1px solid var(--gold); }

  .services-strip .container { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }

  .section { padding: 70px 0; }

  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-trust { gap: 1rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { padding: 50px 0 40px; }

  .courthouse-banner { height: 260px; }

  .float-cta-text { display: none; }
  .float-cta { padding: 15px 18px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
}

/* 1. Menú Desplegable (Dropdown) */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  padding: 1rem 0;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  z-index: 1001;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--white);
}
.dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}

/* 2. Grid de Servicios Responsivo */
.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

/* 3. Secciones y Textos (El Despacho) */
.section { padding: 5rem 0; }
.section-light { background: var(--white); }
.section-tag {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1rem;
}
.h2-sub {
  font-size: 1.25rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* 4. Imágenes y Cuadrícula de Valores */
.section-image-wrap { position: relative; }
.section-img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.img-caption {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}
.values-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  font-size: 1.5rem;
  background: var(--cream);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--gold);
}