/* === BASE & THEME === */
:root{
  --bg: #0b0f14;
  --bg0: #0b0f16;
  --bg1: #0a1220;

  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.08);
  --panel-soft: rgba(255,255,255,0.04);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.12);

  --shadow: 0 18px 60px rgba(0,0,0,0.45);
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1120px;

  --accent: rgba(120,170,255,0.95);
  --accent-2: rgba(180,140,255,0.95);
  --glow: 0 0 0 1px rgba(255,255,255,0.10), 0 18px 80px rgba(120,170,255,0.14);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(120,170,255,0.10), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(180,140,255,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, textarea, select{ font: inherit; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ===== NAV ===== */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,14,20,0.60);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(120,170,255,0.30), rgba(180,140,255,0.30), transparent);
  opacity: .9;
}
.nav-inner{
  height: 120px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 180px;
}
.brand-mark{
  width: 38px; height: 38px;
  border-radius: 14px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,0.32), transparent 60%),
    linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.85));
  box-shadow: var(--glow);
}
.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-name strong{ letter-spacing: 0.08em; font-size: 13px; }
.brand-name span{ font-size: 12px; color: var(--muted); }

/* Nav links: chip */
.nav-links{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.nav-links a{
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.76);
  border: 1px solid transparent;
  transition: 180ms ease;
}
.nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.nav-links a.active{
  color: #0b0f14;
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 16px 50px rgba(90,120,255,0.16);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
  justify-content: flex-end;
}

/* ===== Buttons ===== */
.btn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  transition: 160ms ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.08); }

.btn-primary{
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(120,170,255,0.24), rgba(180,140,255,0.18));
  box-shadow: 0 10px 40px rgba(90,120,255,0.14);
}
.btn-primary:hover{ box-shadow: 0 16px 60px rgba(90,120,255,0.20); }

.btn-pro{ border-radius: 16px; padding: 12px 14px; }
.btn-full{ width:100%; }

.btn-primary.btn-pro{
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 50px rgba(90,120,255,0.18);
  transform: translateY(0);
  transition: 180ms ease;
}
.btn-primary.btn-pro:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(90,120,255,0.22);
}

.btn-ghost{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.06); }
.btn-ghost.btn-pro{ background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); }

/* ===== Hamburger ===== */
.hamburger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
}
.hamburger:active{ transform: scale(0.98); }
.hamburger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}
.hamburger span::before,
.hamburger span::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: rgba(255,255,255,0.85);
  border-radius:2px;
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ top: 6px; }

/* ===== Drawer ===== */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: 200ms ease;
  z-index: 80;
}
.drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: rgba(12,16,23,0.92);
  backdrop-filter: blur(18px);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: 240ms ease;
  z-index: 90;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.drawer-header{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
}
.drawer-content{
  padding: 18px 16px 22px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.drawer a{
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  transition: 160ms ease;
}
.drawer a:hover{ background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.drawer .drawer-cta{ margin-top: 10px; display:flex; gap: 10px; }
.drawer .drawer-cta .btn{ width: 100%; }

body.drawer-open{ overflow:hidden; }
body.drawer-open .drawer-backdrop{ opacity: 1; pointer-events: auto; }
body.drawer-open .drawer{ transform: translateX(0); }



/* ===== HERO ===== */
.hero{ padding: 36px 0 34px; }
.hero-pro{ padding-top: 34px; }

/* Grid del hero (panel ancho a la izquierda + columna derecha) */
.hero-grid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1.35fr 0.65fr; /* más ancho el panel */
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
/* ===== HERO ===== */
.hero{ padding: 36px 0 34px; }
.hero-pro{ padding-top: 34px; }

/* Grid del hero (panel ancho a la izquierda + columna derecha) */
.hero-grid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* ===== HERO MEDIA (panel grande) ===== */
.hero-media{
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 28px 90px rgba(0,0,0,0.45);
  transform: translateZ(0);

  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4; /* ideal 1792x1024 */
  min-height: 0;

  /* NUEVO: mejora contraste general */
  isolation: isolate; /* asegura que overlays funcionen bien */
}

@media (max-width: 820px){
  .hero-media{
    aspect-ratio: 4 / 5;
  }
}

/* Capas de imágenes */
.hero-media .layer{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1200ms ease;
  will-change: transform, opacity;
  filter: saturate(0.92) contrast(1.06);
}
.hero-media .layer.active{ opacity: 1; }

/* Overlay global (oscurece siempre la foto) */
.hero-media::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;

  /* NUEVO: más oscuro + mejor contraste */
  background:
    radial-gradient(900px 500px at 20% 25%, rgba(120,170,255,0.10), transparent 62%),
    radial-gradient(900px 500px at 85% 45%, rgba(180,140,255,0.10), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
}

/* NUEVO: “scrim” adicional SOLO para la zona del texto (izquierda) */
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;

  /* El truco: un degradado lateral que oscurece el lado del copy */
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.58) 36%,
      rgba(0,0,0,0.28) 62%,
      rgba(0,0,0,0.08) 78%,
      rgba(0,0,0,0.00) 100%);
}

/* Contenido */
.hero-media .content{
  position: relative;
  z-index: 3; /* por encima de overlays */
  padding: 34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  height: 100%;
}

@media (max-width: 820px){
  /* En móvil oscurecemos más todavía, porque el texto ocupa casi todo */
  .hero-media::after{
    background:
      linear-gradient(180deg,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.66) 45%,
        rgba(0,0,0,0.44) 70%,
        rgba(0,0,0,0.18) 100%);
  }
  .hero-media .content{ padding: 22px; }
}

/* Mini kicker */
.hero-media .mini-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28); /* más oscuro */
  color: rgba(255,255,255,0.90);
  width: fit-content;
  font-size: 13px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-media .mini-dot{
  width:8px; height:8px; border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

/* Título: más legible */
.hero-media h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 22ch;
  color: rgba(255,255,255,0.96);

  /* NUEVO: sombra suave para legibilidad */
  text-shadow:
    0 10px 30px rgba(0,0,0,0.55),
    0 2px 10px rgba(0,0,0,0.35);
}

/* Sub: más contraste */
.hero-media .sub{
  margin: 0;
  color: rgba(255,255,255,0.86);
  max-width: 70ch;
  line-height: 1.6;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* CTA */
.hero-media .actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* NUEVO: mejora visibilidad de botones dentro del panel */
.hero-media .btn-pro{
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Primario: más sólido */
.hero-media .btn.btn-primary.btn-pro{
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  color: rgba(10,12,18,0.92);
  border-color: rgba(255,255,255,0.20);
}
.hero-media .btn.btn-primary.btn-pro:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Ghost: más contrastado */
.hero-media .btn.btn-ghost.btn-pro{
  background: rgba(0,0,0,0.34);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.18);
}
.hero-media .btn.btn-ghost.btn-pro:hover{
  background: rgba(0,0,0,0.46);
  transform: translateY(-1px);
}

/* Hint */
.hero-media .hint{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* ===== KICKER/LEAD genéricos (si los usas fuera) ===== */
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}
.kicker-dot{
  width: 8px; height: 8px; border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.lead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 66ch;
}
.hero-actions{
  margin-top: 22px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Persona switch: slider real */
.persona-switch{
  position: relative;
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
  margin: 16px 0 12px;
}
.persona-switch .pill{
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: 180ms ease;
  min-width: 160px;
  text-align: center;
}
.persona-switch .pill:hover{ color:#fff; }
.persona-switch .pill.active{ color: #0b0f14; }
.persona-switch::before{
  content:"";
  position:absolute;
  top:4px; left:4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  box-shadow: 0 18px 50px rgba(90,120,255,0.18);
  transform: translateX(0%);
  transition: 220ms ease;
}
.persona-switch[data-active="business"]::before{ transform: translateX(100%); }

/* Cards */
.card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}
.card:hover{
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
  transition: 160ms ease;
}
.card h3{ margin: 4px 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.card-soft{
  background: var(--panel-soft);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 16px;
}
.card-pro{
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line-2);
}

.section{ padding: 34px 0; }
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-title h2{ margin:0; font-size: 22px; letter-spacing:-0.02em; }
.section-title p{ margin:0; color: var(--muted); font-size: 14px; }

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

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 12px;
}

.bullets{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  gap:8px;
}
.bullets .dot{
  width:8px; height:8px; border-radius:99px; display:inline-block;
  background: rgba(160,200,255,0.85);
  box-shadow: 0 0 0 4px rgba(160,200,255,0.12);
  margin-right:10px;
  vertical-align:middle;
}

.hero-dynamic{ transition: 200ms ease; }
.hero-dynamic[data-persona="creators"]{
  border-color: rgba(160,200,255,0.32);
  box-shadow: 0 0 0 1px rgba(160,200,255,0.08) inset;
}
.hero-dynamic[data-persona="business"]{
  border-color: rgba(220,190,255,0.32);
  box-shadow: 0 0 0 1px rgba(220,190,255,0.08) inset;
}

/* Trust row */
.trust-row{
  margin-top: 14px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
}
.trust-k{ display:block; font-size: 12px; opacity:.8; }
.trust-v{ display:block; font-size: 13px; }

/* Links */
a.link{
  color: rgba(200,220,255,0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,220,255,0.25);
}
a.link:hover{ border-bottom-color: rgba(200,220,255,0.55); }
.card-link{ margin-top: 10px; }

/* Panel */
.hero-panel .panel-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 16px;
  position: sticky;
  top: 92px;
}
@media (max-width: 980px){ .hero-panel .panel-card{ position: static; } }

.mini-form{ display:grid; gap: 10px; margin-top: 12px; }
.mini-label{ font-size: 12px; opacity: .85; margin-left: 2px; }
.mini-input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(10,15,22,0.45);
  color: rgba(255,255,255,0.92);
  outline: none;
}
.mini-input:focus{
  border-color: rgba(160,200,255,0.45);
  box-shadow: 0 0 0 4px rgba(160,200,255,0.10);
}

/* CTA band */
.cta-band{
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(120,170,255,0.14), transparent 60%),
    radial-gradient(900px 300px at 90% 60%, rgba(180,140,255,0.14), transparent 60%),
    rgba(255,255,255,0.03);
  padding: 16px;
  display:flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.note{ margin-top: 10px; opacity: .85; }

/* Timeline */
.timeline{ margin-top: 14px; display:grid; gap: 12px; }
.step{
  display:grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
}
.step-n{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  color: #0b0f14;
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  box-shadow: 0 18px 50px rgba(90,120,255,0.18);
}
.step h3{ margin: 0 0 6px; font-size: 16px; }
.step p{ margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

/* ===== NEW: Quote Carousel ===== */
.quote-carousel{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,0.25);
}
.quote-track{
  display:flex;
  gap: 12px;
  padding: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quote-track::-webkit-scrollbar{ display:none; }

.quote-card{
  scroll-snap-align: start;
  min-width: min(520px, 84vw);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(120,170,255,0.10), transparent 60%),
    radial-gradient(900px 240px at 90% 60%, rgba(180,140,255,0.10), transparent 60%),
    rgba(255,255,255,0.03);
  padding: 16px;
  position: relative;
  transform: translateZ(0);
}
.quote-card:hover{
  border-color: rgba(255,255,255,0.16);
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(120,170,255,0.14), transparent 60%),
    radial-gradient(900px 240px at 90% 60%, rgba(180,140,255,0.14), transparent 60%),
    rgba(255,255,255,0.04);
  transition: 160ms ease;
}

.quote-top{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.quote-meta{
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
}
.quote-card h3{
  margin: 12px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.quote-card p{
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
  max-width: 70ch;
}

.quote-controls{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.10);
}
.qc-btn{
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: 160ms ease;
  font-size: 22px;
  line-height: 1;
}
.qc-btn:hover{ background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.qc-btn:active{ transform: translateY(0); }

.qc-dots{
  display:flex;
  gap: 6px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.qc-dot{
  width: 7px; height: 7px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  opacity: .9;
}
.qc-dot.active{
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
  border-color: rgba(255,255,255,0.25);
}

.qc-progress{
  height: 2px;
  background: rgba(255,255,255,0.10);
  position: relative;
}
.qc-bar{
  display:block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(120,170,255,0.95), rgba(180,140,255,0.95));
}

/* ===== GALLERY (DIV ADAPTS TO IMAGE) ===== */

.gallery-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 12px;

  /* CLAVE: sin filas fijas */
  grid-auto-rows: auto;
  align-items: stretch;
}

/* item es <a> */
.g-item{
  display:block;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);

  background:
    radial-gradient(600px 260px at 30% 20%, rgba(120,170,255,0.10), transparent 60%),
    radial-gradient(600px 260px at 75% 55%, rgba(180,140,255,0.10), transparent 60%),
    rgba(10,12,18,0.55);

  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  transform: translateZ(0);
  isolation: isolate;
  text-decoration: none;

  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

/* Imagen: que marque altura (sin huecos) */
.g-item img{
  display:block;
  width: 100%;
  height: auto;              /* CLAVE: el div se adapta al alto real */
  max-width: 100%;

  /* Ver la imagen completa */
  object-fit: contain;       /* ojo: con height:auto esto casi no aplica, pero lo dejamos */
  object-position: center;

  filter: saturate(0.98) contrast(1.08);
  transform: scale(1.00);
  transition: transform 520ms ease, filter 520ms ease;
}

/* Overlay para legibilidad (sin matar la foto) */
.g-item::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.12) 45%,
      rgba(0,0,0,0.55) 100%);
  opacity: 0.92;
  transition: opacity 420ms ease;
}

/* Shine */
.g-item::after{
  content:"";
  position:absolute;
  inset:-40%;
  z-index: 2;
  pointer-events:none;
  background: linear-gradient(
    120deg,
    transparent 45%,
    rgba(255,255,255,0.08) 50%,
    transparent 55%
  );
  transform: translateX(-35%) rotate(10deg);
  opacity: 0;
  transition: 520ms ease;
}

/* Overlay content */
.g-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 16px;
  gap: 8px;
  z-index: 3;
}

.g-tag{
  width: fit-content;
  font-size: 12px;
  color: rgba(255,255,255,0.90);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.g-title{
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

.g-text{
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-size: 13px;
  max-width: 62ch;
  text-shadow: 0 8px 18px rgba(0,0,0,0.38);
}

/* Hover */
.g-item:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 34px 110px rgba(0,0,0,0.38);
}
.g-item:hover img{
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.14);
}
.g-item:hover::before{ opacity: 0.84; }
.g-item:hover::after{
  opacity: 1;
  transform: translateX(35%) rotate(10deg);
}

/* Desktop mosaic placement (se mantiene) */
.g-a{ grid-column: 1 / 2; grid-row: 1 / span 2; }
.g-b{ grid-column: 2 / 4; grid-row: 1 / span 1; }
.g-c{ grid-column: 2 / 3; grid-row: 2 / span 1; }
.g-d{ grid-column: 3 / 4; grid-row: 2 / span 1; }

/* Footer */
.gallery-foot{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

/* ===== MOBILE: stack limpio + div se adapta a la imagen ===== */
@media (max-width: 820px){
  .gallery-grid{
    display:flex;
    flex-direction: column;
    gap: 14px;
  }

  .g-a, .g-b, .g-c, .g-d{
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* QUITAMOS aspect-ratio para que no fuerce altura */
  .g-item{
    width: 100%;
  }

  .g-item:hover{ transform:none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .g-item, .g-item img, .g-item::before, .g-item::after{
    transition: none !important;
  }
}


/* Footer */
.small{ font-size: 12px; color: var(--muted); line-height: 1.5; }
.footer{
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 920px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .gallery-grid{
    grid-template-columns: 1fr;
    grid-template-rows: 240px 240px 240px 240px;
  }
  .g-a,.g-b,.g-c,.g-d{ grid-column:auto; grid-row:auto; }
}
@media (max-width: 820px){
  .nav-links, .nav-cta .btn-primary{ display:none; }
  .hamburger{ display:block; }
  .brand{ min-width: auto; }
  .nav-cta{ min-width: auto; }
}
@media (max-width: 520px){
  .nav-inner{ height: 110px; }
  .drawer-header{ height: 100px; }
  .persona-switch .pill{ min-width: 140px; }
  .quote-card{ min-width: 86vw; }
}

/* Language switch */
.lang-switch{ display:flex; gap: 8px; }
.lang-btn{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  cursor:pointer;
  transition: 160ms ease;
}
.lang-btn:hover{ background: rgba(255,255,255,0.08); color: var(--text); }
.lang-btn.active{
  color: var(--text);
  border-color: rgba(160,200,255,0.45);
  box-shadow: 0 0 0 4px rgba(160,200,255,0.10);
}
@media (max-width: 820px){ .lang-switch{ display:none; } }

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .btn:hover{ transform:none; }
  .card:hover{ transform:none; }
  .hero-media .layer{ transition: none; transform: none; }
  .g-item img{ transition: none; }
}
/* ===== Footer branding (actualizado) ===== */
.footer{
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-branding{
  padding: 26px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(900px 260px at 50% 0%, rgba(120,170,255,0.10), transparent 60%),
    radial-gradient(900px 260px at 50% 70%, rgba(180,140,255,0.10), transparent 60%),
    rgba(255,255,255,0.02);
}

/* ===== Footer branding ===== */

/* Centrado como ahora */
.footer-branding-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.7rem;
  text-align:center;
}

/* contenedor del logo + slogan */
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.7rem;
  text-decoration:none;
}
/* ============================= */
/* FOOTER BRAND */
/* ============================= */

.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;          /* centrado */
  justify-content:center;
  text-align:center;
  gap:1rem;
}


/* ============================= */
/* LOGO GRANDE */
/* ============================= */

.footer-logo{

  /* CAMBIAR TAMAÑO PRINCIPAL DEL LOGO AQUÍ */
  height:clamp(10rem, 14vw, 16rem);

  width:auto;
  display:block;
  object-fit:contain;

  transform:translateZ(0);

  /* glow elegante */
  filter:drop-shadow(0 2.4rem 4.8rem rgba(140,120,255,.40));
  transition:filter .25s ease;
}

/* hover elegante */

.footer-brand:hover .footer-logo{
  filter:drop-shadow(0 3rem 5.5rem rgba(140,120,255,.50));
}

/* eliminamos nombre de marca */

.footer-brand-name{
  display:none;
}



/* ============================= */
/* SLOGAN PREMIUM */
/* ============================= */

.footer-slogan{

  margin-top:0.6rem;

  /* CAMBIAR TAMAÑO DEL SLOGAN AQUÍ */
  font-size:clamp(1.6rem, 2.6vw, 2.4rem);

  font-weight:650;
  letter-spacing:0.22em;
  text-transform:uppercase;
  line-height:1.2;

  font-family:
    ui-serif,
    "Cormorant Garamond",
    "Playfair Display",
    Georgia,
    serif;

  background:linear-gradient(
    90deg,
    rgba(210,180,255,.95),
    rgba(140,190,255,.95),
    rgba(210,180,255,.95)
  );

  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;

  text-shadow:0 1.8rem 3.6rem rgba(140,120,255,.28);
}



/* ============================= */
/* DESKTOP GRANDE */
/* ============================= */

@media (min-width:1100px){

  .footer-logo{

    /* CAMBIAR TAMAÑO DESKTOP AQUÍ */
    height:12rem;
  }

  .footer-slogan{

    font-size:2rem;
    letter-spacing:0.26em;
  }

}



/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width:900px){

  .footer-logo{
    height:12rem;
  }

  .footer-slogan{
    font-size:1.7rem;
  }

}



/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width:640px){

  .footer-logo{
    height:9rem;
  }

  .footer-slogan{
    font-size:1.3rem;
    letter-spacing:0.16em;
  }

}



/* ============================= */
/* FOOTER LEGAL */
/* ============================= */

.footer-legal{

  padding:1.2rem 0 1.6rem;

  display:flex;
  flex-wrap:wrap;

  gap:0.6rem;

  align-items:center;
  justify-content:space-between;
}

.footer-email{
  opacity:.85;
}

.footer-links{
  display:flex;
  gap:0.8rem;
  flex-wrap:wrap;
}

.footer-links a{
  color:rgba(255,255,255,0.70);
  border-bottom:1px solid rgba(255,255,255,0.14);
}

.footer-links a:hover{
  color:rgba(255,255,255,0.90);
  border-bottom-color:rgba(255,255,255,0.30);
}



/* ============================= */
/* LOGOS GENERALES */
/* ============================= */

.brand-logo{
  height:10rem;
  width:auto;
}

.mobile-logo{
  width:8rem;
  height:8rem;
}

/* ===============================
   COOKIES — Banner + Settings (PRO)
   Works with [hidden] toggling (your JS)
   Mobile scroll-safe (iOS/Android)
================================= */

/* Ensure [hidden] always hides */
.cookie-banner[hidden],
.cookie-modal[hidden]{
  display: none !important;
}

/* -------------------------------
   Floating FAB (bottom-right)
-------------------------------- */
.cookie-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,20,0.78);
  backdrop-filter: blur(14px);

  color: rgba(255,255,255,0.92);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  cursor: pointer;
}

.cookie-fab:active{ transform: translateY(1px); }

.cookie-fab-icon{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.cookie-fab-text{
  font-weight: 650;
  letter-spacing: 0.2px;
}

/* -------------------------------
   Consent Banner (bottom)
-------------------------------- */
.cookie-banner{
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9997;

  padding: 14px;
}

.cookie-banner-inner{
  width: min(980px, 100%);
  margin: 0 auto;

  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,20,0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

.cookie-banner-copy{
  min-width: 0;
}

.cookie-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.cookie-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(170,205,255,0.95);
  box-shadow: 0 0 0 4px rgba(170,205,255,0.15);
}

.cookie-title{
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.cookie-desc{
  margin: 6px 0 0;
  opacity: 0.85;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-link{
  display: inline-block;
  margin-top: 8px;
  color: rgba(170,205,255,0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(170,205,255,0.35);
}
.cookie-link:hover{ border-bottom-color: rgba(170,205,255,0.65); }

.cookie-banner-actions{
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* -------------------------------
   Settings Modal (overlay)
-------------------------------- */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* visible by default when not [hidden] */
  display: block;

  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(10px);

  /* Allow safe scroll if card exceeds viewport */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  padding: 16px;
}

/* Centering wrapper */
.cookie-modal-wrap{
  min-height: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Backdrop */
.cookie-modal-backdrop{
  position: fixed;
  inset: 0;
  background: transparent;
}

/* Card */
.cookie-modal-card{
  position: relative;
  width: min(860px, 100%);
  margin: auto;

  max-height: 92vh;

  display: flex;
  flex-direction: column;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,14,20,0.90);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);

  overflow: hidden;
  z-index: 1; /* above backdrop */
}

/* Header */
.cookie-modal-header{
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-modal-title{
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}

.cookie-modal-subtitle{
  margin: 6px 0 0;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.35;
}

.cookie-modal-close{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}
.cookie-modal-close:active{ transform: translateY(1px); }

/* Body = scroll container */
.cookie-modal-body{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  padding: 12px 16px 16px;
}

/* Footer */
.cookie-modal-footer{
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Rows */
.cookie-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;

  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.cookie-row + .cookie-row{ margin-top: 10px; }

.cookie-row-left{ min-width: 0; }

.cookie-row-title{
  font-weight: 650;
  margin: 0 0 6px;
  line-height: 1.2;
}

.cookie-row-desc{
  margin: 0;
  opacity: 0.85;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-row-right{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Chip */
.cookie-chip{
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  opacity: 0.95;
}

/* stop background scroll - your class */
body.no-scroll{
  overflow: hidden;
  height: 100%;
}

/* -------------------------------
   Mobile critical fixes
-------------------------------- */
@media (max-width: 560px){
  .cookie-banner-inner{
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions{
    width: 100%;
    justify-content: stretch;
  }
  .cookie-banner-actions .btn{
    width: 100%;
  }

  .cookie-modal{
    padding: 12px;
  }

  .cookie-modal-wrap{
    min-height: calc(100% - 24px);
    align-items: flex-start;
  }

  .cookie-modal-card{
    border-radius: 18px;
    max-height: 92svh; /* stable viewport on mobile */
  }

  .cookie-modal-header{
    padding: 14px 14px 10px;
  }

  .cookie-modal-body{
    padding: 10px 14px 14px;
  }

  .cookie-modal-footer{
    padding: 10px 14px 14px;
    justify-content: stretch;
  }

  .cookie-modal-footer .btn{
    width: 100%;
  }

  .cookie-row{
    flex-direction: column;
    gap: 10px;
  }

  .cookie-row-right{
    width: 100%;
    justify-content: space-between;
  }
}