/* ============================================================
   BLASCO SCHNEIDER — CONSULTORES LEGALES Y CORPORATIVOS
   Ultra-premium stylesheet · Inspired by world-class law firms
   ============================================================ */

/* ============ RESET & TOKENS ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ===== PALETA OFICIAL — Manual de Identidad Blasco Schneider ===== */
  --navy-deepest: #060d1c;
  --navy-deep:    #0a1830;
  --navy:         #0E2841;   /* Navy oficial */
  --navy-mid:     #163358;
  --navy-light:   #244773;

  --gold-deepest: #5a4530;
  --gold-deep:    #8c6c47;
  --gold:         #B89060;   /* Oro/Bronce oficial */
  --gold-light:   #d4ad7c;
  --gold-lightest:#e8c89e;

  /* Plata para wordmark (manual oficial) */
  --silver-1:     #E8ECF1;
  --silver-2:     #7E8794;
  --silver-light: #FFFFFF;
  --silver-mid:   #9AA3AE;

  --cream-white:  #fbf9f4;
  --cream:        #f4ecdb;
  --cream-dim:    #e8e0cc;

  --ink:          #0E2841;
  --ink-soft:     #1c2d44;
  --slate:        #475569;
  --slate-light:  #94a3b8;
  --line:         rgba(184, 144, 96, 0.18);
  --line-strong:  rgba(184, 144, 96, 0.40);

  /* Typography — Manual oficial: Montserrat */
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --display: 'Cinzel', 'Cormorant Garamond', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --brand: 'Montserrat', 'Inter', -apple-system, sans-serif;

  /* Layout */
  --container: 1380px;
  --pad: clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 12vh, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: 0.6s var(--ease);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 90%; }
body {
  font-family: var(--sans);
  background: var(--cream-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  zoom: 0.9;
}

@media (hover: none) { body { cursor: auto; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--gold); color: var(--cream-white); }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deepest);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
}
.preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-content {
  text-align: center;
  position: relative;
}
.preloader-emblem {
  display: flex; justify-content: center;
  margin-bottom: 28px;
  opacity: 0;
  animation: emblemIn 1.6s var(--ease) 0.2s forwards;
}
.preloader-emblem img { height: clamp(90px, 11vw, 130px); width: auto; display: block; }

.preloader-wordmark {
  font-family: var(--brand);
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9AA3AE 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: monoIn 1.2s var(--ease) 0.9s forwards;
}

@keyframes emblemIn {
  0%   { opacity: 0; transform: scale(0.6) rotate(-20deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes monoIn { to { opacity: 1; transform: translateY(0); } }

.preloader-line {
  width: 0; height: 1px;
  background: var(--gold);
  margin: 0 auto 18px;
  animation: lineGrow 1.3s var(--ease) 1.5s forwards;
}
@keyframes lineGrow { to { width: 220px; } }

.preloader-text {
  font-family: var(--brand);
  font-size: 11px; letter-spacing: 0.45em;
  font-weight: 500;
  color: var(--gold-light);
  opacity: 0;
  animation: textFade 0.9s ease 2.1s forwards;
}
@keyframes textFade { to { opacity: 0.85; } }

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s var(--ease);
  opacity: 0.7;
}
.cursor-dot.hover { width: 12px; height: 12px; background: var(--cream-white); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--gold-light); opacity: 0.4; }

@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(6, 13, 28, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 56px;
}

.nav-logo {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--cream-white);
  position: relative;
}
.logo-emblem {
  height: 50px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s var(--ease);
  flex-shrink: 0;
}
.logo-emblem img { height: 100%; width: auto; display: block; }
.nav-logo:hover .logo-emblem { transform: scale(1.08); }

.logo-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #9aa3ae 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 0.95;
}
.logo-hairline {
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin: 5px 0;
}
.logo-sub {
  font-family: var(--brand);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.nav-link {
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: baseline; gap: 5px;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-num {
  font-family: var(--display);
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  opacity: 0.7;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.btn-consult {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deepest);
  padding: 12px 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  transition: background 0.4s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  font-weight: 600;
}
.btn-consult svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn-consult:hover {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-consult:hover svg { transform: translateX(4px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--cream-white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deepest);
  color: var(--cream-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 176, 106, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(36, 61, 99, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-deepest) 0%, var(--navy-deep) 70%, var(--navy) 100%);
}
.hero-pattern::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184, 146, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 146, 77, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 28, 0.4) 0%, transparent 50%, rgba(6, 13, 28, 0.6) 100%);
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  pointer-events: none;
}
.hero-grid-lines span {
  border-right: 1px solid rgba(184, 146, 77, 0.06);
}
.hero-grid-lines span:last-child { border-right: none; }

.hero-container {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.hero-marker {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.marker-line {
  width: 48px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.marker-text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8.2vw, 132px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream-white);
  margin-bottom: 48px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise 1.2s var(--ease) forwards;
}
.hero-line:nth-child(1) .hero-word { animation-delay: 0.4s; }
.hero-line:nth-child(2) .hero-word:nth-child(1) { animation-delay: 0.55s; }
.hero-line:nth-child(2) .hero-word:nth-child(2) { animation-delay: 0.7s; }
.hero-line:nth-child(3) .hero-word { animation-delay: 0.85s; }

@keyframes wordRise { to { transform: translateY(0); } }

.hero-italic {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}

.hero-subtitle {
  max-width: 580px;
  margin-bottom: 48px;
}
.hero-subtitle p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--cream-dim);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-bottom: 100px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy-deepest);
  background: var(--gold-light);
  padding: 18px 32px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--cream-white);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: var(--navy-deepest); }
.btn-primary:hover svg { transform: translateX(6px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-white);
  padding: 18px 0;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute; left: 0; bottom: 8px;
  width: 60px; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover { color: var(--gold-light); }

.btn-large {
  padding: 22px 44px;
  font-size: 13px;
}

.hero-meta {
  display: flex; align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.meta-item {
  display: flex; flex-direction: column; gap: 6px;
}
.meta-num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
}
.meta-plus {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--gold);
  vertical-align: top;
}
.meta-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 8px;
}
.meta-divider {
  width: 1px; height: 48px;
  background: var(--line);
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3;
}
.scroll-text {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold-light);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-line::before {
  content: '';
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold-lightest);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { top: -50%; } 100% { top: 100%; }
}

.hero-side-text {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.5;
  white-space: nowrap;
  z-index: 3;
}

/* ============ TICKER ============ */
.ticker {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 50s linear infinite;
}
.ticker-group {
  display: flex; align-items: center; gap: 60px;
  padding-right: 60px;
  flex-shrink: 0;
}
.ticker-item {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  white-space: nowrap;
  font-weight: 500;
}
.ticker-dot {
  color: var(--gold);
  font-size: 10px;
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION COMMON ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-header { margin-bottom: 80px; }

.section-tag {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.tag-line {
  width: 40px; height: 1px;
  background: var(--gold);
}
.tag-num {
  font-family: var(--display);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.tag-text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--slate);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1100px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}

.section-desc {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--slate);
  max-width: 720px;
  margin-top: 28px;
}

/* ============ ABOUT ============ */
.about {
  padding: var(--section-pad) 0;
  background: var(--cream-white);
  position: relative;
}
.about::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 1px; height: 80px;
  background: var(--gold);
  margin-left: var(--pad);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-text p { margin-bottom: 24px; }
.about-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px !important;
}
.about-lead strong {
  color: var(--gold-deep);
  font-weight: 500;
}
.about-text > p:not(.about-lead) {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  font-weight: 400;
}

.about-values {
  margin-top: 56px;
  display: flex; flex-direction: column; gap: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.value-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
}
.value-num {
  font-family: var(--display);
  font-size: 20px;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}
.value-item h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.value-item p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.about-visual {
  position: relative;
  position: sticky; top: 120px;
}
.visual-frame {
  background: var(--navy);
  padding: 56px 42px 48px;
  position: relative;
  overflow: hidden;
}
.visual-frame::before {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.visual-frame::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60px; height: 60px;
  background:
    linear-gradient(135deg, transparent 49%, var(--gold) 50%, transparent 51%);
  opacity: 0.4;
}

.visual-wordmark {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0 24px;
  position: relative;
}
.visual-emblem {
  height: clamp(110px, 13vw, 150px);
  width: auto;
  aspect-ratio: 591 / 411;
  margin-bottom: 22px;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}
.visual-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--brand);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #9AA3AE 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.05;
}
.visual-name span { display: block; line-height: 1; }
.visual-name span + span { margin-top: 4px; }

.visual-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 14px 0;
}
.visual-tagline {
  font-family: var(--brand);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.visual-est {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--cream-dim);
  opacity: 0.55;
  letter-spacing: 0.08em;
}

.visual-quote {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 60px;
  color: var(--gold);
  line-height: 0;
  position: relative;
  top: 14px;
  font-style: italic;
}
.visual-quote p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream-dim);
  margin: 12px 0 20px;
}
.quote-author {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.visual-floating {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 280px;
}
.float-card {
  background: var(--cream-white);
  padding: 24px 28px;
  border-left: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(15, 31, 58, 0.25);
}
.float-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.float-text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

/* ============ PRACTICES ============ */
.practices {
  padding: var(--section-pad) 0;
  background: var(--cream);
  position: relative;
}
.practices::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.practices-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.practice-card {
  background: var(--cream-white);
  padding: 44px 30px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease), transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
  color: inherit;
  text-decoration: none;
}
.practice-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
  z-index: 0;
}
.practice-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease) 0.2s;
}
.practice-card:hover::before { transform: translateY(0); }
.practice-card:hover::after { width: 100%; }
.practice-card > * { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.practice-card:hover { color: var(--cream-white); }
.practice-card:hover .practice-num { color: var(--gold-light); }
.practice-card:hover .practice-title { color: var(--cream-white); }
.practice-card:hover .practice-desc { color: var(--cream-dim); }
.practice-card:hover .practice-list li { color: var(--cream-dim); border-color: var(--line-strong); }
.practice-card:hover .practice-icon { color: var(--gold-light); transform: translateY(-4px); }
.practice-card:hover .practice-link { color: var(--gold-light); }
.practice-card:hover .practice-link svg { transform: translateX(6px); }

.practice-num {
  font-family: var(--display);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.practice-featured {
  background: linear-gradient(180deg, rgba(212, 176, 106, 0.06) 0%, var(--cream-white) 30%);
  position: relative;
}
.practice-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
  z-index: 2;
  transition: opacity 0.5s var(--ease);
}
.practice-featured:hover::before { opacity: 0.4; }

.practice-flag {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--brand);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  background: var(--cream-white);
  z-index: 2;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.practice-card:hover .practice-flag {
  color: var(--gold-light);
  border-color: var(--gold);
  background: transparent;
}
.practice-icon {
  width: 56px; height: 56px;
  color: var(--gold-deep);
  margin-bottom: 32px;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}
.practice-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
}
.practice-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 28px;
}
.practice-list {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}
.practice-list li {
  font-size: 13px;
  color: var(--slate);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.practice-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-top: auto;
}
.practice-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }

/* ============ PHILOSOPHY ============ */
.philosophy {
  padding: calc(var(--section-pad) * 1.2) 0;
  background: var(--navy-deepest);
  color: var(--cream-white);
  position: relative;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.philosophy-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(184, 146, 77, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(15, 31, 58, 0.6) 0%, transparent 60%);
}
.philosophy-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184, 146, 77, 0.03) 1px, transparent 1px);
  background-size: 100% 8px;
}

.philosophy-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.philosophy-tag {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 56px;
  justify-content: center;
}
.philosophy-tag .tag-line { background: var(--gold-light); }
.philosophy-tag .tag-text { color: var(--gold-light); }

.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cream-white);
  margin-bottom: 64px;
}
.philosophy-quote em {
  font-style: italic;
  color: var(--gold-light);
}

.philosophy-signature {
  margin-top: 48px;
}
.signature-line {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.philosophy-signature p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.signature-role {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 10px !important;
  letter-spacing: 0.3em;
  color: var(--cream-dim) !important;
  text-transform: uppercase;
}

/* ============ PARTNERS ============ */
.partners {
  padding: var(--section-pad) 0;
  background: var(--cream-white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.partner-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.partner-link:hover { transform: translateY(-4px); }

.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: border-color 0.4s var(--ease);
}
.partner-link:hover .partner-card { border-color: var(--gold); }

.partner-card::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.8s var(--ease);
}
.partner-card.in-view::before { width: 80px; }
.partner-link:hover .partner-card::before { width: 100%; transition-duration: 0.6s; }

.partner-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.partner-view::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.partner-view svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.partner-link:hover .partner-view { color: var(--ink); }
.partner-link:hover .partner-view::after { width: 100%; }
.partner-link:hover .partner-view svg { transform: translateX(8px); color: var(--gold-deep); }

.partner-image { position: relative; }
.partner-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/6;
  filter: grayscale(0.1);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.partner-portrait svg { width: 100%; height: 100%; }
.partner-card:hover .partner-portrait { filter: grayscale(0); transform: scale(1.02); }

.partner-mark {
  position: absolute;
  top: -8px; right: -8px;
  width: 44px; height: 44px;
  background: var(--gold-light);
  color: var(--navy-deepest);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.partner-content {
  padding-top: 8px;
}
.partner-role {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.partner-name {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}
.partner-name em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
  display: block;
}
.partner-honor {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(184, 144, 96, 0.12), rgba(184, 144, 96, 0.04));
  border-left: 2px solid var(--gold);
  font-family: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  line-height: 1.4;
}
.partner-honor svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.partner-bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 24px;
}
.partner-credentials {
  list-style: none;
}
.partner-credentials li {
  font-size: 13px;
  color: var(--slate);
  padding: 6px 0;
  display: flex; align-items: baseline; gap: 10px;
}
.partner-credentials li span {
  color: var(--gold);
  font-weight: 700;
}

/* ============ PUBLICATIONS ============ */
.publications {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.publications-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.pub-card {
  background: var(--cream-white);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  overflow: hidden;
}
.pub-card-link { cursor: pointer; }
.pub-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -30px rgba(14, 40, 65, 0.35);
  border-color: var(--gold);
}

.pub-cover {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.pub-cover img {
  width: 62%;
  aspect-ratio: 5 / 7;
  height: auto;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 24px 50px -12px rgba(0, 0, 0, 0.55),
    0 8px 18px -6px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.6s var(--ease);
  display: block;
}
.pub-card:hover .pub-cover img { transform: scale(1.04) translateY(-4px); }
.pub-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
}

.pub-award-badge {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--navy-deep);
  font-family: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.3);
}
.pub-award-badge svg { width: 14px; height: 14px; }

.pub-new-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 12px;
  background: var(--cream-white);
  color: var(--navy-deep);
  font-family: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.3);
}

.pub-card-award { position: relative; }
.pub-card-award::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
  z-index: 3;
}

.pub-content {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pub-type {
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pub-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.pub-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 14px;
}
.pub-author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  margin-bottom: 14px;
  font-weight: 500;
}
.pub-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 22px;
  flex-grow: 1;
}
.pub-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.pub-meta .dot { color: var(--gold); }

.pub-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.pub-cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.pub-card:hover .pub-cta { gap: 16px; color: var(--ink); }
.pub-card:hover .pub-cta svg { transform: translateX(6px); color: var(--gold-deep); }

/* Extra de publicaciones */
.publications-extra {
  margin-top: 80px;
  padding: 50px 56px;
  background: var(--navy);
  color: var(--cream-white);
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.publications-extra::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(184, 144, 96, 0.18), transparent 70%);
  pointer-events: none;
}
.extra-stat {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  z-index: 1;
}
.extra-num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
.extra-label {
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--cream-dim);
  text-transform: uppercase;
  max-width: 140px;
  line-height: 1.4;
}
.extra-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream-dim);
  font-style: italic;
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
  position: relative;
  z-index: 1;
}
.extra-text strong { color: var(--gold-light); font-weight: 500; font-style: normal; }

@media (max-width: 1100px) {
  .publications-grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .publications-extra { grid-template-columns: repeat(3, auto); gap: 30px; padding: 40px 32px; }
  .extra-text { grid-column: 1 / -1; padding-left: 0; padding-top: 24px; border-left: none; border-top: 1px solid var(--line-strong); }
}
@media (max-width: 680px) {
  .publications-extra { grid-template-columns: 1fr; gap: 22px; }
  .extra-text { padding-top: 22px; }
}

/* ============ CTA BAND ============ */
.cta-band {
  padding: 100px 0;
  background: var(--navy-deep);
  color: var(--cream-white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, transparent 0%, rgba(184, 146, 77, 0.06) 100%);
  pointer-events: none;
}
.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.cta-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream-white);
  margin-bottom: 16px;
}
.cta-title em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-desc {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 580px;
  font-weight: 300;
}

/* ============ CONTACT ============ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--cream-white);
}
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  margin-bottom: 60px;
}
.contact-block {
  background: var(--cream-white);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.contact-block:hover { background: var(--cream); }
.contact-block-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-deep);
  margin-bottom: 6px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-block-icon svg { width: 20px; height: 20px; }
.contact-block:hover .contact-block-icon {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}
.contact-block-label {
  font-family: var(--brand);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.contact-block-text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.contact-block-link {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  transition: color 0.3s var(--ease);
}
.contact-block-link::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.contact-block-link:hover { color: var(--gold-deep); }
.contact-block-link:hover::after { width: 100%; }
.contact-block-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--slate);
  font-style: italic;
  margin-top: 2px;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-social a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.contact-social svg { width: 18px; height: 18px; }
.contact-social a:hover { color: var(--gold-deep); gap: 14px; }

@media (max-width: 1100px) {
  .contact-blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact-blocks { grid-template-columns: 1fr; }
  .contact-block { padding: 36px 28px; }
  .contact-social { flex-direction: column; align-items: center; gap: 18px; }
}

/* Form */
.contact-form {
  background: var(--cream);
  padding: 56px 48px;
  position: relative;
  border-top: 2px solid var(--gold);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  position: relative;
  margin-bottom: 28px;
}
.form-group label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--serif);
  font-size: 17px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 8px 0;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
  resize: none;
  border-radius: 0;
  cursor: none;
}
.form-group select { padding-right: 24px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-line {
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.5s var(--ease);
}
.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }

.btn-form { margin-top: 16px; }
.form-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--slate);
  margin-top: 24px;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deepest);
  color: var(--cream-dim);
  padding: 100px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--cream-white);
  margin-bottom: 26px;
}
.footer-emblem {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}
.footer-logo-text { display: flex; flex-direction: column; }
.footer-name {
  font-family: var(--brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #9AA3AE 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.05;
}
.footer-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 11px 0;
}
.footer-sub {
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--cream-dim);
  line-height: 1.5;
  max-width: 380px;
  font-weight: 300;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col a, .footer-col span {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.8;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--slate-light);
}
.footer-credit em {
  color: var(--gold-light);
  font-style: italic;
}

/* ============ CONGRESOS / EVENTOS ============ */
.events {
  padding: var(--section-pad) 0;
  background: var(--cream-white);
  position: relative;
}
.events::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.events-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.events-filters {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-strong);
}
.event-filter {
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 22px;
  color: var(--slate);
  border-right: 1px solid var(--line-strong);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.event-filter:last-child { border-right: none; }
.event-filter:hover { color: var(--gold-deep); background: var(--cream); }
.event-filter.active {
  background: var(--navy);
  color: var(--cream-white);
}
.events-count {
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--slate);
  text-transform: uppercase;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.events-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}
.events-spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.events-loading p {
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--slate);
  text-transform: uppercase;
}
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(184, 144, 96, 0.04) 0%, transparent 100%);
  position: relative;
}
.events-empty::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.events-empty-mark {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-deep);
}
.events-empty-mark svg { width: 28px; height: 28px; }
.events-empty-title {
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.events-empty-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 560px;
  margin: 0;
  font-style: italic;
}
.events-empty-cta {
  margin-top: 6px;
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.events-empty-cta:hover { color: var(--ink); border-color: var(--gold); }

.event-card {
  background: var(--cream-white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.event-card.in-view { opacity: 1; transform: translateY(0); }
.event-card:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -28px rgba(14, 40, 65, 0.25);
}

.event-image {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 100%;
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event-card:hover .event-image img { transform: scale(1.06); }
.event-image-empty {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.event-image-empty::before {
  content: '◆';
  font-size: 36px;
  color: var(--gold);
  opacity: 0.4;
}
.event-status {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.status-future { background: var(--gold-light); color: var(--navy-deep); }
.status-past { background: rgba(14, 40, 65, 0.85); color: var(--cream-dim); backdrop-filter: blur(4px); }

.event-content {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
}
.event-date {
  background: var(--cream);
  padding: 28px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  min-height: 100%;
}
.event-month {
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.event-day {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin: 6px 0 4px;
}
.event-year {
  font-family: var(--brand);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.event-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-tag {
  font-family: var(--brand);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.event-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.event-place {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
}
.event-desc {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}
.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  flex-wrap: wrap;
}
.event-role {
  font-family: var(--brand);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 500;
}
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
  transition: gap 0.3s var(--ease);
}
.event-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.event-link:hover { gap: 14px; }
.event-link:hover svg { transform: translateX(4px); }

@media (max-width: 1100px) {
  .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .event-card { grid-template-columns: 1fr; }
  .event-image { min-height: 180px; }
  .event-content { grid-template-columns: 80px 1fr; }
  .event-date { padding: 20px 10px; }
  .event-day { font-size: 32px; }
  .event-body { padding: 22px 20px; }
}

/* ============ FLOATING WHATSAPP ============ */
.float-whatsapp {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  box-shadow: 0 14px 30px -8px rgba(15, 31, 58, 0.4);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.float-whatsapp::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: floatRing 2.5s ease-out infinite;
}
.float-whatsapp svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.float-whatsapp:hover {
  transform: translateY(-4px);
  background: var(--gold);
  color: var(--navy-deepest);
}
@keyframes floatRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) {
  .practices-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { position: static; max-width: 600px; }
  .visual-floating { position: relative; bottom: 0; left: 0; margin-top: 24px; }
  .practices-grid { grid-template-columns: repeat(2, 1fr); }
  .practices-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-main { grid-template-columns: 1fr; gap: 50px; }
  .cta-content { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 100%; max-width: 380px; height: 100vh;
    background: var(--navy-deepest);
    padding: 100px 40px 40px;
    transition: right 0.5s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-menu.open { right: 0; }
  .nav-menu ul { flex-direction: column; gap: 24px; align-items: flex-start; }
  .nav-link { font-size: 14px; }
  .nav-toggle { display: flex; }
  .btn-consult { display: none; }

  .hero-side-text { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .meta-divider { display: none; }

  .partner-card { grid-template-columns: 1fr; }
  .partner-image { max-width: 220px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 40px 28px; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 880px) {
  .logo-name { font-size: 14px; letter-spacing: 0.1em; }
  .logo-sub { font-size: 7.5px; letter-spacing: 0.22em; }
  .logo-emblem { height: 38px; }
}

@media (max-width: 560px) {
  .practices-grid { grid-template-columns: 1fr; }
  .practices-grid-4 { grid-template-columns: 1fr; }
  .publications-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .visual-frame { padding: 40px 24px; }
  .practice-card { padding: 44px 28px; }
  .nav-num { display: none; }
  .logo-sub { display: none; }
  .logo-name { font-size: 14px; }
  .logo-emblem { height: 34px; }
  .ticker-item { font-size: 14px; }
  .ticker-group { gap: 30px; padding-right: 30px; }
  .footer-logo { flex-direction: column; align-items: flex-start; }
  .footer-name { font-size: 18px; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
