/* ═══════════════════════════════════════════════════════════
   Alvarez Alvarez Corporate Team — LANDING CSS — FULLY RESPONSIVE
   Breakpoints:
     xs  < 480px   (móvil pequeño)
     sm  < 640px   (móvil)
     md  < 768px   (tablet vertical)
     lg  < 1024px  (tablet horizontal / laptop pequeña)
     xl  < 1280px  (laptop)
     2xl ≥ 1280px  (desktop)
═══════════════════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,600;0,700;1,300;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap");

:root {
  --ink: #07111e;
  --ink2: #0f2035;
  --cobalt: #1549a0;
  --sky: #2563eb;
  --gold: #c8923a;
  --amber: #e8ad5c;
  --cream: #f9f6f0;
  --white: #ffffff;
  --g50: #f4f6fa;
  --g200: #dde2ea;
  --g400: #9aa5b4;
  --g600: #4b5563;
  --g800: #1f2937;
  --shadow-sm: 0 4px 16px rgba(7, 17, 30, 0.08);
  --shadow-md: 0 12px 40px rgba(7, 17, 30, 0.14);
  --shadow-lg: 0 28px 72px rgba(7, 17, 30, 0.2);
  --r: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--g800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.lead {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--g400);
  font-weight: 300;
  line-height: 1.9;
}
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.section {
  padding: clamp(60px, 8vw, 120px) 0;
}
.bg-cream {
  background: var(--cream);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.6rem, 0.8vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.chip::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ── LANG SWITCHER ── */
.lang-sw {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 2px;
  gap: 1px;
}
.lang-sw a {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.2s;
}
.lang-sw a.on {
  background: var(--gold);
  color: var(--ink);
}
.lang-sw a:hover:not(.on) {
  color: #fff;
}

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 999;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
#nav.stuck {
  background: rgba(7, 17, 30, 0.459);
  backdrop-filter: blur(20px) saturate(160%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(200, 146, 58, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-sq {
  width: 44px;
  height: 44px;
  background: url('') center/cover no-repeat;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  line-height: 1.1;
}
.logo-name {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  display: block;
}
.logo-sub {
  font-size: 0.56rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Menú desktop */
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover {
  color: #fff;
}
.nav-menu a:hover::after {
  width: 100%;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

/* Hamburguer */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(7, 17, 30, 0.98);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 32px 32px;
  overflow-y: auto;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover {
  color: var(--gold);
}
.nav-mobile .nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-top: 16px;
}
.nav-mobile .nav-mobile-actions a {
  text-align: center;
  justify-content: center;
}

/* ══════════════════════════════════
   HERO — Grid 2 columnas → 1 en móvil
══════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.hero-left {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 12vw, 160px) clamp(28px, 5vw, 72px)
    clamp(60px, 8vw, 80px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 120%,
      rgba(21, 73, 160, 0.35) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% -20%,
      rgba(200, 146, 58, 0.12) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 146, 58, 0.1);
  border: 1px solid rgba(200, 146, 58, 0.28);
  color: var(--amber);
  font-size: clamp(0.6rem, 0.8vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}
.hero-h1 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-sub {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.58);
  max-width: 460px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
  position: relative;
  z-index: 1;
}
.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: clamp(12px, 1.5vw, 16px) clamp(20px, 3vw, 36px);
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.76rem, 0.9vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.3s var(--ease);
}
.btn-hero-gold:hover {
  background: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(200, 146, 58, 0.45);
}
.btn-hero-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: clamp(11px, 1.4vw, 15px) clamp(18px, 2.5vw, 34px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 500;
  font-size: clamp(0.76rem, 0.9vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.3s;
}
.btn-hero-line:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.stat-val {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-size: clamp(0.58rem, 0.7vw, 0.64rem);
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* Lado derecho del hero */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    rgba(7, 17, 30, 0.3) 35%,
    transparent 100%
  );
  z-index: 1;
}
.hero-right-badge {
  position: absolute;
  bottom: clamp(24px, 5vw, 60px);
  right: clamp(20px, 4vw, 48px);
  background: rgba(7, 17, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 146, 58, 0.25);
  border-radius: var(--r);
  padding: 18px 22px;
  text-align: center;
  z-index: 2;
}
.hero-right-badge .num {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-right-badge .lbl {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
.hero-scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.hero-scroll-arrow {
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ══════════════════════════════════
   STRIP DE NÚMEROS
══════════════════════════════════ */
.strip {
  background: var(--gold);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 28px);
  border-right: 1px solid rgba(7, 17, 30, 0.12);
  text-align: center;
}
.strip-item:last-child {
  border-right: none;
}
.strip-num {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.strip-lbl {
  font-size: clamp(0.58rem, 0.7vw, 0.65rem);
  font-weight: 700;
  color: rgba(7, 17, 30, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-visual {
  position: relative;
  height: clamp(360px, 45vw, 600px);
}
.about-img-a {
  position: absolute;
  top: 0;
  left: 0;
  width: 76%;
  height: calc(100% - 100px);
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.about-img-b {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: clamp(180px, 25vw, 260px);
  object-fit: cover;
  border-radius: var(--r);
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  top: 36px;
  right: 10px;
  background: var(--ink2);
  padding: 18px;
  border-radius: var(--r);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 1px solid rgba(200, 146, 58, 0.2);
}
.about-badge .n {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-badge .l {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}
.feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  color: var(--g600);
}
.feat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(0.74rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.25s;
}
.btn-dark:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: clamp(0.74rem, 0.85vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r);
  transition: all 0.25s;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}

/* ══════════════════════════════════
   LOGO
══════════════════════════════════ */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

/* Contenedor del logo */
.logo-sq {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Imagen del logo */
.brand-logo {
  height: clamp(48px, 5vw, 70px); /* 🔥 tamaño responsive equilibrado */
  width: auto;

  max-width: 160px; /* evita que se haga gigante */
  max-height: 50%;

  object-fit: contain;

  transition: all 0.3s ease;
}

/* Texto del logo */
.logo-text {
  line-height: 1.1;
}

.logo-name {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.logo-sub {
  font-size: 0.56rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 📱 Ajuste fino en móviles */
@media (max-width: 768px) {
  .brand-logo {
    height: clamp(40px, 6vw, 60px);
    max-width: 140px;
  }
}

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  gap: 0;
}

/* Card con imagen de fondo */
.serv-card {
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 38px);
  border-right: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  transition: all 0.35s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Imagen de fondo */
.serv-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.6s var(--ease),
    filter 0.6s var(--ease);
  filter: brightness(0.35) saturate(0.8);
  z-index: 0;
}
.serv-card:hover .serv-card-bg {
  transform: scale(1.06);
  filter: brightness(0.22) saturate(0.6);
}
/* Overlay gradiente */
.serv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(7, 17, 30, 0.062) 0%,
    rgba(7, 17, 30, 0.185) 50%,
    rgba(7, 17, 30, 0.014) 100%
  );
  transition: background 0.4s;
}
.serv-card:hover::before {
  background: linear-gradient(
    160deg,
    rgba(7, 17, 30, 0.3) 0%,
    rgba(7, 17, 30, 0.151) 50%,
    rgba(7, 17, 30, 0) 100%
  );
}
/* Línea dorada inferior */
.serv-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--gold), var(--cobalt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.serv-card:hover {
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transform: translateY(-5px);
}
.serv-card:hover::after {
  transform: scaleX(1);
}
.serv-card:nth-child(3n) {
  border-right: none;
}
.serv-card:nth-last-child(-n + 3) {
  border-bottom: none;
}

/* Todo el contenido va sobre z-index:2 */
.serv-content {
  position: relative;
  z-index: 2;
}

.serv-n {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 14px;
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  z-index: 2;
  transition: color 0.3s;
}
.serv-card:hover .serv-n {
  color: rgba(200, 146, 58, 0.25);
}

.serv-icon {
  width: 50px;
  height: 50px;
  background: rgba(200, 146, 58, 0.15);
  border: 1px solid rgba(200, 146, 58, 0.35);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  transition: all 0.3s;
}
.serv-card:hover .serv-icon {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(200, 146, 58, 0.4);
}
.serv-card h3 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.serv-card p {
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s var(--ease),
    opacity 0.4s;
  opacity: 0;
}
.serv-card:hover p {
  max-height: 120px;
  opacity: 1;
}
.serv-link {
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: block;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.35s var(--ease) 0.05s;
}
.serv-card:hover .serv-link {
  transform: translateY(0);
  opacity: 1;
}

/* ══════════════════════════════════
   PROCESS
══════════════════════════════════ */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.proc-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cobalt));
}
.proc-step {
  text-align: center;
  padding: 0 clamp(8px, 2vw, 16px);
  position: relative;
}
.proc-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.proc-step h4 {
  font-size: clamp(0.84rem, 1vw, 0.95rem);
  color: var(--ink);
  margin-bottom: 8px;
}
.proc-step p {
  font-size: clamp(0.76rem, 0.9vw, 0.82rem);
  color: var(--g400);
}

/* ══════════════════════════════════
   TEAM
══════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center; /* 🔥 clave */
  gap: clamp(16px, 2vw, 32px);
  margin-top: 56px;
}

.team-card {
  text-align: center;
}
.team-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  margin-bottom: 16px;
}
.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(15%);
  transition: all 0.4s;
}
.team-card:hover .team-img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.team-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 17, 30, 0.85) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: 0.35s;
}
.team-card:hover .team-shade {
  opacity: 1;
}
.team-links {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  transform: translateY(12px);
  opacity: 0;
  transition: 0.35s;
}
.team-card:hover .team-links {
  transform: translateY(0);
  opacity: 1;
}
.team-link {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 0.8rem;
  text-decoration: none;
}
.t-name {
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.t-role {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: 56px;
}
.test-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 36px);
  position: relative;
  transition: all 0.3s;
}
.test-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.test-quot {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 20px;
}
.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.test-txt {
  font-family: "Fraunces", serif;
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  font-style: italic;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 22px;
}
.test-aut {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--cobalt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.t-aname {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.t-arole {
  font-size: 0.72rem;
  color: var(--g400);
}

/* ══════════════════════════════════
   FOLIO
══════════════════════════════════ */
.folio-sec {
  background: linear-gradient(
    135deg,
    var(--ink) 0%,
    var(--ink2) 45%,
    var(--cobalt) 100%
  );
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.folio-sec::before,
.folio-sec::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 146, 58, 0.08);
}
.folio-sec::before {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
}
.folio-sec::after {
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -100px;
}
.folio-sec h2 {
  color: #fff;
  margin-bottom: 12px;
}
.folio-sec p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: clamp(0.86rem, 1.1vw, 1rem);
}
.folio-input-row {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.folio-input-row input {
  flex: 1;
  padding: clamp(12px, 2vw, 17px) clamp(14px, 2vw, 22px);
  border: none;
  outline: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
  color: var(--g800);
  letter-spacing: 0.05em;
  min-width: 0;
}
.folio-input-row input::placeholder {
  color: var(--g200);
}
.folio-btn {
  padding: clamp(12px, 2vw, 17px) clamp(18px, 2.5vw, 26px);
  background: var(--gold);
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.folio-btn:hover {
  background: var(--amber);
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(36px, 6vw, 80px);
}
.contact-info {
  background: var(--ink);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(200, 146, 58, 0.12);
}
.contact-info h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}
.contact-info > p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.ci {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.ci-icon {
  width: 42px;
  height: 42px;
  background: rgba(200, 146, 58, 0.12);
  border: 1px solid rgba(200, 146, 58, 0.25);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.ci-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.ci-val {
  font-size: clamp(0.8rem, 0.9vw, 0.86rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.fg {
  margin-bottom: 16px;
}
.fg label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 6px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--g200);
  border-radius: var(--r);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--g800);
  outline: none;
  background: #fff;
  transition: border-color 0.25s;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(21, 73, 160, 0.1);
}
.fg textarea {
  resize: vertical;
  min-height: 100px;
}
.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--ink);
  padding: clamp(48px, 6vw, 72px) 0 24px;
}
.ft {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ft-brand p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.8;
  margin: 14px 0 20px;
}
.ft-socs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ft-soc {
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.25s;
}
.ft-soc:hover {
  background: var(--gold);
  color: var(--ink);
}
.ft-h {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.ft-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ft-links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.25s;
}
.ft-links a:hover {
  color: var(--gold);
}
.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 10px;
}

/* ══════════════════════════════════
   ALERTS / REVEAL
══════════════════════════════════ */
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 0.86rem;
}
.alert-success {
  background: #ecfdf5;
  border-left: 3px solid #059669;
  color: #065f46;
}
.alert-danger {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  color: #991b1b;
}
.alert-info {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
  color: #1e40af;
}
.r {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.r.in {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════
   RESPONSIVE — LAPTOP (≤ 1280px)
══════════════════════════════════ */
@media (max-width: 1280px) {
  .ft {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .ft > div:first-child {
    grid-column: 1/-1;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — TABLET LANDSCAPE (≤ 1024px)
══════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .btn-ghost {
    display: none;
  }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: clamp(100px, 14vw, 140px) clamp(28px, 5vw, 56px)
      clamp(56px, 7vw, 80px);
  }
  .hero-right {
    display: none;
  }
  .hero-sub {
    max-width: 100%;
  }

  .about-wrap {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  } /* ocultar en tablet, solo mostrar en desktop */

  .serv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serv-card:nth-child(2n) {
    border-right: none;
  }
  .serv-card:nth-child(3n) {
    border-right: 1px solid var(--g200);
  }
  .serv-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .serv-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--g200);
  }
  .serv-card {
    min-height: 280px;
  }
  /* En tablet mostrar texto siempre */
  .serv-card p {
    max-height: none;
    opacity: 1;
  }
  .serv-card .serv-link {
    opacity: 1;
    transform: translateY(0);
  }

  .proc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .proc-grid::before {
    display: none;
  }
  .proc-step {
    padding: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .test-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft {
    grid-template-columns: 1fr 1fr;
  }
  .ft > div:first-child {
    grid-column: 1/-1;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤ 768px)
══════════════════════════════════ */
@media (max-width: 768px) {
  .section {
    padding: clamp(48px, 8vw, 72px) 0;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item {
    padding: 20px 16px;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .about-feats {
    grid-template-columns: 1fr;
  }
  .fg-row {
    grid-template-columns: 1fr;
  }
  .folio-input-row {
    flex-direction: column;
    border-radius: var(--r);
  }
  .folio-input-row input,
  .folio-btn {
    border-radius: var(--r) !important;
  }
  .folio-btn {
    width: 100%;
  }
  .btn-cta {
    padding: 8px 12px;
    font-size: 0.68rem;
  }
  .ft {
    grid-template-columns: 1fr 1fr;
  }
  .ft-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — MÓVIL (≤ 640px)
══════════════════════════════════ */
@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
  .hero-left {
    padding: 100px 20px 56px;
  }
  .hero-stats {
    gap: 16px;
  }
  .hero-eyebrow {
    font-size: 0.6rem;
    padding: 6px 12px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .btn-hero-gold,
  .btn-hero-line {
    justify-content: center;
    width: 100%;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip-num {
    font-size: 1.6rem;
  }

  .serv-grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 14px;
  }
  .serv-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--r);
    min-height: 220px;
  }
  .serv-card:hover {
    transform: none;
  }
  .serv-card p {
    max-height: none;
    opacity: 1;
  }
  .serv-card .serv-link {
    opacity: 1;
    transform: translateY(0);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .proc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ft {
    grid-template-columns: 1fr;
  }
  .ft-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .ft-socs {
    justify-content: flex-start;
  }

  .folio-sec h2 {
    font-size: 1.8rem;
  }
  .test-card {
    padding: 24px 20px;
  }

  /* Ocultar scroll hint en móvil */
  .hero-scroll-hint {
    display: none;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
══════════════════════════════════ */
@media (max-width: 480px) {
  .logo-text {
    display: none;
  } /* solo el cuadrado L en pantallas muy pequeñas */
  .hero-h1 {
    font-size: 2.2rem;
  }
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip-item:nth-child(2) {
    border-right: none;
  }
  .strip-item:nth-child(3) {
    border-top: 1px solid rgba(7, 17, 30, 0.12);
    border-right: 1px solid rgba(7, 17, 30, 0.12);
  }
  .strip-item:nth-child(4) {
    border-top: 1px solid rgba(7, 17, 30, 0.12);
    border-right: none;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .test-quot {
    font-size: 2.5rem;
  }
  #toast-container {
    right: 12px;
    left: 12px;
  }
  #toast-container .toast-lex {
    min-width: 0;
    width: 100%;
  }
}

/* ══════════════════════════════════
   LANDSCAPE MÓVIL (altura < 500px)
══════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: auto;
  }
  .hero-left {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .nav-mobile {
    justify-content: flex-start;
    padding-top: 70px;
    gap: 18px;
  }
  .nav-mobile a {
    font-size: 1.2rem;
  }
}

/* ══════════════════════════════════
   PRINT
══════════════════════════════════ */
@media print {
  #nav, .nav-mobile, .nav-burger,
  .hero-right, .hero-scroll-hint,
  .folio-sec { display: none !important; }
  body { font-size: 12pt; }
  .container { max-width: 100%; padding: 0 16px; }
  .section { padding: 24pt 0; }
}