/* ═══════════════════════════════════════════════
   TORVAR BUFETE JURÍDICO — Design System
   ═══════════════════════════════════════════════ */

/* 1. Custom Properties
   ─────────────────────────────────────────────── */
:root {
  /* Brand colors */
  --navy:       #0C1A2E;
  --navy-700:   #132338;
  --navy-600:   #1B3150;
  --navy-500:   #234068;
  --gold:       #B8924A;
  --gold-400:   #CFA85E;
  --gold-100:   #F4EAD6;
  --gold-50:    #FAF5EC;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FB;
  --gray-100:   #EFF1F5;
  --gray-200:   #DDE1E9;
  --gray-400:   #9AA3B2;
  --gray-600:   #4B5669;
  --gray-800:   #1C2333;

  /* Typography */
  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max-w:      1200px;
  --max-w-text: 720px;
  --sp-section: clamp(5rem, 10vw, 8rem);
  --sp-x:       clamp(1.25rem, 5vw, 2.5rem);

  /* Misc */
  --dur:        0.3s;
  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     3px;
  --radius-lg:  8px;
  --shadow-sm:  0 1px 4px rgba(12,26,46,.06);
  --shadow-md:  0 4px 20px rgba(12,26,46,.10);
  --shadow-lg:  0 12px 48px rgba(12,26,46,.16);
  --gold-line:  2px solid var(--gold);
}

/* 2. Reset & Base
   ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
iframe { border: none; }

/* 3. Typography Scale
   ─────────────────────────────────────────────── */
.t-display {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.t-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.t-h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}

.t-h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
}

.t-eyebrow {
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-body-lg {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: var(--gray-600);
}

.t-body {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.t-caption {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* 4. Layout Utilities
   ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-x);
}

.section {
  padding: var(--sp-section) var(--sp-x);
}

.section--dark  { background: var(--navy);     color: var(--white); }
.section--navy7 { background: var(--navy-700); color: var(--white); }
.section--gray  { background: var(--gray-50); }
.section--gold  { background: var(--gold-50); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--center {
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.gold-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}

.gold-rule--center { margin: 1.25rem auto 1.75rem; }

/* 5. Grid helpers
   ─────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

/* 6. Header & Navigation
   ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: var(--navy);
  border-bottom-color: rgba(184,146,74,.2);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo .logo-wordmark {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}

.nav-logo .logo-sub {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
}

.nav-link {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: .25rem 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background var(--dur) var(--ease), transform .15s;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 910;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 100px 2rem 2rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link {
    font-size: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    width: 100%;
  }

  .nav-link::after { bottom: 0; }

  .nav-link--cta {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
    padding: .85rem;
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 899;
}

/* 7. Hero (Inicio)
   ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1521791055366-0d553872952f?w=1600&q=75');
  background-size: cover;
  background-position: center 30%;
  opacity: .18;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,26,46,.0)  0%,
    rgba(12,26,46,.5)  40%,
    rgba(12,26,46,.92) 75%,
    rgba(12,26,46,1)   100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-x) clamp(4rem, 8vw, 6rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--sp-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.35);
}

.hero-scroll span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(.5); opacity: 1; }
}

/* 8. Buttons
   ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184,146,74,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-wa {
  background: #22C55E;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
}

.btn-wa:hover {
  background: #16A34A;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.4);
}

/* SVG icon inline */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* 9. Page Hero (inner pages)
   ─────────────────────────────────────────────── */
.page-hero {
  padding: calc(72px + clamp(4rem, 8vw, 6rem)) var(--sp-x) clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(184,146,74,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(27,49,80,.8) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,.6); max-width: 560px; }

/* 10. Cards
   ─────────────────────────────────────────────── */
/* Practice area cards */
.area-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.area-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.area-card:hover::before { transform: scaleX(1); }

.area-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.area-card-icon svg { width: 26px; height: 26px; }

.area-card h3 {
  margin-bottom: .75rem;
  color: var(--navy);
}

/* Team member cards */
.member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-align: center;
}

.member-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy));
  color: var(--white);
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--gold-100);
}

.member-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .25rem;
}

.member-role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.member-bio { font-size: .88rem; line-height: 1.65; }

/* Director card — featured */
.member-card--director {
  border-color: var(--gold-100);
  background: linear-gradient(160deg, var(--gold-50) 0%, var(--white) 60%);
}

.member-card--director .member-avatar {
  width: 88px;
  height: 88px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-400));
  color: var(--navy);
  border: 3px solid var(--gold);
}

.cedula-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: .3rem .7rem;
  border-radius: 99px;
  margin-top: .75rem;
}

/* Value pills */
.value-pill {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.value-pill:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(184,146,74,.25);
}

.value-pill-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(184,146,74,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.value-pill-icon svg { width: 20px; height: 20px; }

.value-pill h4 {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}

.value-pill p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(184,146,74,.2);
  border-bottom: 1px solid rgba(184,146,74,.2);
}

.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* 11. Contact Form
   ─────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-input,
.form-textarea {
  font-family: var(--ff-sans);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-400); }

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,74,.12);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* 12. Map Section
   ─────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 380px;
}

.map-wrap iframe { width: 100%; height: 100%; }

/* 13. Contact Info
   ─────────────────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .25rem;
}

.contact-value {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.5;
}

.contact-value a { transition: color var(--dur) var(--ease); }
.contact-value a:hover { color: var(--gold); }

/* 14. WhatsApp Float
   ─────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #22C55E;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(34,197,94,.45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.55);
}

.wa-float svg { width: 30px; height: 30px; }

/* Tooltip */
.wa-float::before {
  content: 'Escríbenos';
  position: absolute;
  right: calc(100% + 12px);
  background: var(--gray-800);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .35rem .75rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.wa-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* 15. Footer
   ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(184,146,74,.25);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--sp-x) 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.6fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-logo { margin-bottom: 1rem; }

.footer-logo .logo-wordmark {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}

.footer-logo .logo-sub {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.footer-tagline {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  margin-top: .75rem;
  font-style: italic;
}

.footer-heading {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav-list li + li { margin-top: .6rem; }

.footer-nav-list a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur) var(--ease);
}

.footer-nav-list a:hover { color: var(--white); }

.footer-address {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-contact-link {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin-top: .4rem;
  transition: color var(--dur) var(--ease);
}

.footer-contact-link:hover { color: var(--gold); }

.footer-disclaimer {
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

.footer-privacy-link {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,146,74,.4);
  padding-bottom: .1rem;
  transition: opacity var(--dur) var(--ease);
}

.footer-privacy-link:hover { opacity: .75; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--sp-x);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}

.footer-badge {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}

/* 16. Nosotros — Timeline
   ─────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}

.timeline-text {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.timeline-text strong { color: var(--gray-800); }

/* Director feature */
.director-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.director-avatar-lg {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-100);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.director-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 17. Reveal animations (IntersectionObserver)
   ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* 18. Divider / Ornament
   ─────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.ornament-line { flex: 1; height: 1px; background: var(--gray-200); }
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 19. Responsive Breakpoints
   ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .stats-bar .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.06); }
  .stats-bar .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.06); border-right: none; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .director-feature { grid-template-columns: 1fr; text-align: center; }
  .director-avatar-lg { margin: 0 auto; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-line { animation: none; }
}
