:root {
  --purple-950: #1a1233;
  --purple-900: #241a45;
  --purple-800: #2f2158;
  --purple-700: #3d2a6b;
  --purple-600: #4e3789;
  --gold-600: #b58e1e;
  --gold-500: #c9a227;
  --gold-400: #d9b84a;
  --gold-300: #ecd27e;
  --cream-50: #faf8f5;
  --cream-100: #f2ede4;
  --ink-900: #1e1b29;
  --ink-600: #4a4557;
  --ink-400: #766f87;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(36, 26, 69, 0.08);
  --shadow-md: 0 12px 32px rgba(36, 26, 69, 0.14);
  --shadow-lg: 0 24px 64px rgba(36, 26, 69, 0.22);
  --shadow-gold: 0 18px 44px rgba(201, 162, 39, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grano / textura de atmósfera */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--purple-900);
}

.section-head h2, .hero-content h1, .trust-content h2, .cta-content h2 { letter-spacing: -0.02em; }

/* Barra de progreso de scroll */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  z-index: 200;
  will-change: transform;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--purple-900); color: var(--cream-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--cream-100); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { color: var(--ink-600); font-size: 17px; }
.section--dark .section-head p { color: rgba(250, 248, 245, 0.75); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--purple-900);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border-color: rgba(250, 248, 245, 0.4);
  color: var(--white);
}
.btn--outline:hover { background: rgba(250, 248, 245, 0.1); }

.btn--outline-dark {
  border-color: var(--purple-700);
  color: var(--purple-800);
}
.btn--outline-dark:hover { background: var(--purple-900); color: var(--white); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn--block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(36, 26, 69, 0.94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px; height: 42px;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  line-height: 1.1;
}
.brand-text strong { display: block; font-size: 17px; letter-spacing: 0.02em; }
.brand-text span { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(250, 248, 245, 0.85);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-400); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center 60%;
  transform: translate3d(0, 0, 0) scale(1.12);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 18, 51, 0.97) 24%, rgba(31, 22, 61, 0.85) 46%, rgba(36, 26, 69, 0.58) 76%, rgba(36, 26, 69, 0.4) 100%),
    linear-gradient(to top, rgba(20, 14, 40, 0.6), transparent 42%);
}

/* Resplandor dorado atmosférico */
.hero::after {
  content: '';
  position: absolute;
  top: 30%; left: 8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 660px; }

.hero-content h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  color: var(--white);
  margin-bottom: 22px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-400);
  position: relative;
}

.hero-content p {
  font-size: 18px;
  color: rgba(250, 248, 245, 0.82);
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-300);
  background: rgba(217, 184, 74, 0.1);
  border: 1px solid rgba(217, 184, 74, 0.35);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }

.hero-content p.hero-appointment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 44px;
  max-width: none;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(217, 184, 74, 0.14);
  border: 1px solid rgba(217, 184, 74, 0.4);
  color: var(--gold-300);
  font-size: 15px;
}
.hero-appointment svg { flex: 0 0 auto; color: var(--gold-400); }
.hero-appointment strong { color: #fff; font-weight: 700; }

.appointment-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 184, 74, 0.16), rgba(201, 162, 39, 0.08));
  border: 1px solid rgba(217, 184, 74, 0.45);
}
.appointment-banner svg { flex: 0 0 auto; color: var(--gold-400); }
.appointment-banner strong { display: block; color: #fff; font-size: 15.5px; font-weight: 700; }
.appointment-banner span { color: rgba(250, 248, 245, 0.72); font-size: 13.5px; }

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(250, 248, 245, 0.18);
  padding-top: 28px;
}

.hero-stats > div {
  padding: 0 32px;
  position: relative;
}
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(250, 248, 245, 0.16);
}

.hero-stats .stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat-label {
  font-size: 12.5px;
  color: rgba(250, 248, 245, 0.7);
  letter-spacing: 0.02em;
}

/* Sello circular "40 años" */
.hero-seal {
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: 148px; height: 148px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: seal-float 6s ease-in-out infinite;
}
.hero-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-seal .seal-rotor { animation: seal-spin 26s linear infinite; transform-origin: center; }
.hero-seal .seal-core {
  text-align: center;
  color: var(--gold-300);
  line-height: 1;
}
.hero-seal .seal-core strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--white);
}
.hero-seal .seal-core span {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Indicador de scroll */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250, 248, 245, 0.55);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-scroll .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(250, 248, 245, 0.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::before {
  content: '';
  position: absolute;
  left: 50%; top: 6px;
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--gold-400);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s var(--ease-out) infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (max-width: 980px) { .hero-seal, .hero-scroll { display: none; } }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media { position: relative; }

/* Marco dorado desplazado */
.about-media::before {
  content: '';
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: 0;
  transition: transform 0.5s var(--ease-out);
}
.about-media:hover::before { transform: translate(6px, 6px); }

.about-media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  z-index: 2;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  max-width: 230px;
  border-left: 3px solid var(--gold-500);
}

.about-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--purple-800);
  margin-bottom: 4px;
}
.about-badge span { font-size: 13px; color: var(--ink-400); }

.about-body p { color: var(--ink-600); font-size: 16.5px; margin-bottom: 18px; }

.about-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-900);
}

.about-list svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-500); }

/* Practice areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.practice-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(36, 26, 69, 0.06);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Barra dorada superior que crece en hover */
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
/* Número editorial fantasma */
.practice-card::after {
  content: attr(data-num);
  position: absolute;
  top: 14px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: var(--purple-900);
  opacity: 0.05;
  transition: opacity 0.4s ease, color 0.4s ease;
  pointer-events: none;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover::after { opacity: 0.1; color: var(--gold-500); }

.practice-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(36, 26, 69, 0.18);
}

.practice-card h3 { position: relative; font-size: 21px; margin-bottom: 12px; }
.practice-card p { position: relative; color: var(--ink-600); font-size: 15px; margin-bottom: 20px; }
.practice-card ul { position: relative; }

.practice-card ul li {
  font-size: 14px;
  color: var(--ink-600);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.practice-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Mission / vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.mv-card {
  background: var(--cream-100);
  border-radius: var(--radius);
  padding: 36px 34px;
  border: 1px solid rgba(36, 26, 69, 0.06);
}

.mv-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--white);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.mv-card h3 { font-size: 19px; margin-bottom: 10px; }
.mv-card p { color: var(--ink-600); font-size: 15px; }

/* Values */
.values-block { margin-top: 56px; text-align: center; }
.values-block .eyebrow { justify-content: center; }
.values-block .eyebrow::before { display: none; }

.values-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.value-tag {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cream-100);
  border: 1px solid rgba(36, 26, 69, 0.1);
  color: var(--purple-800);
  font-size: 14px;
  font-weight: 600;
}

/* Why choose us — layout editorial de dos columnas */
.section--why { background: var(--purple-950); color: var(--cream-100); }
.section--why h2, .section--why h3 { color: var(--white); }

.why-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.why-aside { position: sticky; top: 120px; }
.why-aside h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 4px 0 20px; }
.why-aside p { color: rgba(250, 248, 245, 0.72); font-size: 16px; margin-bottom: 28px; max-width: 340px; }

.why-list { display: flex; flex-direction: column; }

.why-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 8px 26px 4px;
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  transition: padding 0.4s var(--ease-out);
}
.why-row:last-child { border-bottom: 1px solid rgba(250, 248, 245, 0.1); }

.why-row::before {
  content: '';
  position: absolute;
  left: -4px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold-400), var(--gold-500));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s var(--ease-out);
}
.why-row:hover { padding-left: 20px; }
.why-row:hover::before { transform: scaleY(1); }

.why-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.why-row:hover .why-icon {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border-color: transparent;
  color: var(--purple-950);
  transform: rotate(-6deg) scale(1.05);
}

.why-text h3 { font-size: 18px; margin-bottom: 6px; }
.why-text p { font-size: 14.5px; color: rgba(250, 248, 245, 0.68); margin: 0; }

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: rgba(217, 184, 74, 0.35);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
}
.why-row:hover .why-num { color: var(--gold-400); }

/* Trust band */
.section--trust {
  background: linear-gradient(135deg, var(--cream-100), #efe3c4 130%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section--trust::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 260px;
  color: rgba(201, 162, 39, 0.16);
  line-height: 1;
  pointer-events: none;
}

.trust-content { max-width: 720px; margin: 0 auto; position: relative; }
.trust-content h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 20px; }
.trust-content p { font-size: 17px; color: var(--ink-600); }

/* CTA banner */
.section--cta {
  background: linear-gradient(120deg, var(--purple-900), var(--purple-700));
  text-align: center;
  position: relative;
}

.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(250, 248, 245, 0.8); font-size: 16.5px; margin-bottom: 32px; }

/* Social icons */
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.1);
  color: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover { background: var(--gold-500); color: var(--purple-900); transform: translateY(-2px); }

.contact-item .stack-links { display: flex; flex-direction: column; gap: 3px; }

/* Sede — showcase de una sola imagen */
.showcase {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--purple-800);
}

.showcase-media {
  position: relative;
  min-height: 440px;
  cursor: pointer;
  overflow: hidden;
}
.showcase-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.showcase-media:hover img { transform: scale(1.05); }
.showcase-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(36, 26, 69, 0.35));
  pointer-events: none;
}
.showcase-zoom {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 18, 51, 0.7);
  backdrop-filter: blur(6px);
  color: var(--cream-100);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.showcase-media:hover .showcase-zoom { opacity: 1; transform: translateY(0); }

.showcase-info {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(150deg, var(--purple-800), var(--purple-950));
  position: relative;
}
.showcase-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.showcase-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(217, 184, 74, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.showcase-info h3 { color: var(--white); font-size: 28px; margin-bottom: 12px; }
.showcase-info p { color: rgba(250, 248, 245, 0.75); font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; }
.showcase-info .btn { align-self: flex-start; }

/* Gallery (legacy, sin uso tras pasar a showcase) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--purple-800);
}

.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(36, 26, 69, 0.85), transparent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

.gallery-item--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(250, 248, 245, 0.55);
  border: 1.5px dashed rgba(250, 248, 245, 0.25);
  cursor: default;
}
.gallery-item--placeholder span { font-size: 13px; font-weight: 500; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 38, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  background: none; border: none; color: var(--white);
  font-size: 32px; cursor: pointer; line-height: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--purple-900);
  border-radius: var(--radius);
  padding: 44px 38px;
  color: var(--cream-100);
  height: 100%;
}

.contact-info-card h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(250, 248, 245, 0.7); font-size: 15px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-item .icon-wrap {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 14px; color: var(--white); margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: 14.5px; color: rgba(250, 248, 245, 0.8); }
.contact-item a:hover { color: var(--gold-400); }

/* Dirección enlazable */
.contact-item--link { text-decoration: none; border-radius: 12px; margin: 0 -10px 26px; padding: 6px 10px; transition: background 0.25s ease; }
.contact-item--link:hover { background: rgba(250, 248, 245, 0.05); }
.contact-cue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 12.5px !important;
  font-weight: 600;
  color: var(--gold-400) !important;
}

/* Líneas de teléfono/correo con acciones */
.contact-lines { flex: 1; min-width: 0; }
.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.08);
}
.contact-line:last-child { border-bottom: none; }
.contact-num { color: rgba(250, 248, 245, 0.9); font-weight: 500; }
.contact-mail { word-break: break-all; }
.contact-actions { display: inline-flex; gap: 8px; flex-shrink: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 600;
  border: 1px solid rgba(250, 248, 245, 0.2);
  color: var(--cream-100) !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.chip:hover { border-color: var(--gold-400); color: var(--gold-400) !important; transform: translateY(-1px); }
.chip--wa {
  background: #25d366;
  border-color: transparent;
  color: #ffffff !important;
}
.chip--wa:hover { background: #1fb757; color: #ffffff !important; }

.map-embed {
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(250, 248, 245, 0.15);
}
.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(36, 26, 69, 0.06);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-900);
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(36, 26, 69, 0.14);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--cream-50);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 12.5px;
  color: var(--ink-400);
  margin-top: 14px;
  text-align: center;
}

.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-feedback.is-visible { display: block; }
.form-feedback--success { background: #e8f7ef; color: #1c7c46; }
.form-feedback--error { background: #fdecec; color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--purple-900);
  color: rgba(250, 248, 245, 0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 248, 245, 0.12);
}

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 320px; color: rgba(250, 248, 245, 0.6); }

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: rgba(250, 248, 245, 0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(250, 248, 245, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-float {
  width: 58px; height: 58px;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-fab-icon-close { display: none; }
.wa-fab.is-open .wa-fab-icon-wa { display: none; }
.wa-fab.is-open .wa-fab-icon-close { display: block; }

.wa-fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.wa-fab.is-open .wa-fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wa-fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-fab-item:hover {
  transform: translateX(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}
.wa-fab-item svg { flex: 0 0 auto; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { height: 340px; }
  .about-badge { position: static; margin-top: -40px; margin-left: 20px; }
  .practice-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2 { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-aside { position: static; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-media { min-height: 320px; }
  .showcase-info { padding: 36px 30px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 80vw);
  background: var(--purple-900);
  z-index: 110;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { color: var(--cream-100); font-size: 17px; font-weight: 500; }
.mobile-menu-close { align-self: flex-end; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(20, 14, 38, 0.6);
  z-index: 105; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
.reveal-delay-4.is-visible { transition-delay: 0.4s; }
.reveal-delay-5.is-visible { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* Hero entrance */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content .eyebrow { animation-delay: 0.05s; }
.hero-content h1 { animation-delay: 0.18s; }
.hero-content p { animation-delay: 0.32s; }
.hero-content .hero-actions { animation-delay: 0.46s; }
.hero-content .hero-stats { animation-delay: 0.6s; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-bg { animation: hero-fade 1.4s ease forwards; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-bg { animation: none; opacity: 1; }
}

/* Micro interactions */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.25);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: inherit;
}
.btn:active::after { transform: scaleX(1); transition: none; }

.practice-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.practice-card:hover .practice-icon { transform: rotate(-8deg) scale(1.08); }

.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold-400);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.wa-float {
  animation: wa-pulse 2.6s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0); }
}

.about-badge { animation: float-badge 5s ease-in-out infinite; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gallery-item, .practice-card { will-change: transform; }

.form-feedback.is-visible { animation: feedback-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes feedback-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page load */
html.is-loading body { overflow: hidden; }
.page-loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--purple-900);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader svg { width: 46px; height: 46px; animation: loader-spin 1s linear infinite; color: var(--gold-500); }
@keyframes loader-spin { to { transform: rotate(360deg); } }

/* ============ Refinamientos premium ============ */

/* Botón dorado: barrido de brillo */
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover::before { left: 130%; }
.btn--gold:hover { box-shadow: var(--shadow-gold); }

/* Valores: hover que se llena de dorado */
.value-tag {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
  cursor: default;
}
.value-tag:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border-color: transparent;
  color: var(--purple-900);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.3);
}

/* Misión / visión: acento e interacción */
.mv-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.mv-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--gold-400), var(--gold-500));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mv-card:hover::before { transform: scaleY(1); }
.mv-icon { transition: transform 0.4s var(--ease-spring); }
.mv-card:hover .mv-icon { transform: rotate(-6deg) scale(1.06); }

/* ¿Por qué elegirnos?: anillo + relleno en hover */
.why-icon {
  position: relative;
  transition: transform 0.4s var(--ease-spring), background 0.4s ease, color 0.4s ease;
}
.why-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 162, 39, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}
.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--purple-900);
  transform: translateY(-4px) scale(1.06);
}
.why-item:hover .why-icon::after { opacity: 1; transform: rotate(40deg); }

/* Tarjeta de contacto: acento decorativo */
.contact-info-card { position: relative; overflow: hidden; }
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 70%);
  pointer-events: none;
}
.contact-item .icon-wrap { transition: transform 0.35s var(--ease-spring), background 0.3s ease; }
.contact-item:hover .icon-wrap { background: rgba(201, 162, 39, 0.28); transform: scale(1.08); }

/* Galería: caption siempre insinuado + zoom refinado */
.gallery-item img { transition: transform 0.6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item[data-full]::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.gallery-item[data-full]:hover::after { border-color: rgba(217, 184, 74, 0.55); }

/* CTA: textura de puntos sutil */
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.section--cta .container { position: relative; z-index: 1; }

/* Encabezado más contundente al hacer scroll */
.site-header.is-scrolled .brand-mark { transform: scale(0.92); transition: transform 0.3s ease; }

/* Foco accesible coherente */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-seal, .hero-scroll .mouse::before { animation: none; }
  * { scroll-behavior: auto; }
}
