:root{
  --bg: #0F3D2E;         /* verde marca */
  --cream: #F2EEE8;      /* texto sobre verde */
  --paper: #ECE9E4;      /* fondo suave */
  --ink: #0B0B0B;        /* negro */
  --red: #C43A2B;        /* acento */
  --blue: #6FA8D6;       /* acento */
  --yellow: #D4B72A;     /* acento */

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 14px 40px rgba(0,0,0,.12);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.10);

  --max: 1100px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.4;
}

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

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

/* Accessibility */
.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  background: #fff; padding: 10px 12px; border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{
  background: var(--cream);
  color: var(--bg);
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--cream);
  border-color: rgba(242,238,232,.35);
}
.btn-ghost:hover{ background: rgba(242,238,232,.08); }
.btn-wide{ width: 100%; padding: 14px 16px; border-radius: 16px; }

html{
  scroll-behavior: smooth;
}

/* Hero card */
.hero-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(242,238,232,.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.hero-card-top{
  display:flex;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(242,238,232,.14);
}
.dot{ width: 12px; height: 12px; border-radius: 50%; }
.dot-red{ background: var(--red); }
.dot-blue{ background: var(--blue); }
.dot-yellow{ background: var(--yellow); }
.hero-card-body{
  padding: 16px;
}
.hero-img{
  margin-top: 14px;
  height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(196,58,43,.25), rgba(111,168,214,.25)),
    linear-gradient(0deg, rgba(242,238,232,.06), rgba(242,238,232,.06));
  border: 1px dashed rgba(242,238,232,.25);
}

/* Sections */
.section{
  padding: 20px 0;
}

.section-head{
  margin-bottom: 15px;
}
.section-head h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0;
  opacity: .85;
  max-width: 70ch;
}
.section-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Grid tiles (placeholder) */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.tile-img{
  height: 170px;
  background:
    radial-gradient(circle at 20% 30%, rgba(196,58,43,.25), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(111,168,214,.25), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(212,183,42,.25), transparent 45%),
    var(--paper);
}
.tile-meta{
  padding: 14px;
}
.tile-meta h3{ margin:0 0 6px; font-size: 16px; }
.tile-meta p{ margin:0; opacity:.75; font-size: 14px; }

/* Two col */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.card{
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0 0 10px; opacity:.85; }

.text-link{
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Info bar */
.info-bar{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
}

/* Form */
.form{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.form-row{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-bottom: 14px;
}
.form-row label{
  font-weight: 800;
}
input, select, textarea{
  font: inherit;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  background: #fff;
}
/* Reset para radios/checkbox globales (evita que hereden el input "grande") */
input[type="radio"],
input[type="checkbox"]{
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* Radios dentro de las pills: invisibles pero accesibles */
.pill input[type="radio"]{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(15,61,46,.55);
  box-shadow: 0 0 0 4px rgba(15,61,46,.12);
}
.help{
  margin:0;
  font-size: 13px;
  opacity: .7;
}
.form-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.check{
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.check input{ margin-top: 2px; width: 18px; height: 18px; }

/* About */
.about p{
  margin: 0;
  max-width: 82ch;
  opacity: .88;
}

/* Footer */
.footer{
  background: var(--paper);
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 26px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.footer-logo{ height: 34px; width:auto; }
.footer-right{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 800;
}
.micro{ font-size: 13px; }
.muted{ opacity: .75; }

/* Responsive */
@media (max-width: 920px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .info-bar{ grid-template-columns: 1fr; }
}
@media (max-width: 540px){
  .nav{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .form-split{ grid-template-columns: 1fr; }
  .brand-logo{ height: 40px; }
}

/* =========================
   VISIBILITY HELPERS
========================= */

.desktop-only{
  display: inline-flex;
}

.mobile-only{
  display: none;
}


/* =========================
   HEADER EDITORIAL
========================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions{
  display: none;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-weight: 900;
  font-size: 20px;
  color: #000;
  letter-spacing: -0.02em;
}

.logo-o {
  color: #C43A2B; /* rojo */
}

.logo-b {
  color: #6FA8D6; /* azul */
}

.logo-dot {
  color: var(--yellow);
}

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
margin-left: auto;
    padding-right: 24px; /* ajusta entre 16–32 */
}

.main-nav a {
  text-decoration: none;
  color: #000;
  opacity: 0.85;
z-index: 15;
}

.main-nav a:hover {
  opacity: 1;
}
.main-nav a {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-cta{
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}

.header-cta{
  font-weight: 800;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-cta:hover .cta-dot{
  transform: translateY(-1px);
}

.cta-dot{
  margin-left: 0.5px;
  color: var(--yellow);
  font-size: 1.2em;     /* 🔑 más presencia */
  line-height: 1;
}

#encargo{
  scroll-margin-top: 100px; /* ajusta a la altura real del header */
}


/* =========================
   COLORES DE MARCA – GLOBAL
========================= */

.c-red{
  color: var(--red);
}

.c-blue{
  color: var(--blue);
}

.c-yellow{
  color: var(--yellow);
}


/* =========================
   HERO EDITORIAL
========================= */

.hero-editorial{
  width: 100vw;
  margin-left: calc(50% - 50vw);

  min-height: 100svh;
  background-color: #f6efed;
  background-image: url("../assets/hero.jpg");
  background-repeat: no-repeat;
  background-position: center 70%; /* antes 70% */;
  background-size: cover;

  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-editorial::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(246,239,237,0) 45%,
    rgba(246,239,237,0.6) 65%,
    #ffffff 100%
  );
}

.hero-copy{
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;

  padding: 20px 20px 20px;
  margin-left: 60px;
}

.hero-title {
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.1;
margin-bottom: 10px;
}

.hero-title span {
  font-weight: 800;
}

.hero-cta{
  display: inline-block;
  margin-top: 2px;

  font-size: 14px;
  font-weight: 800;
  color: #000;
  text-decoration: none;
}

.hero-cta::after{
  content: " →";
color: var(--yellow);
  transition: transform .2s ease;
}

.hero-cta:hover::after{
  transform: translateX(4px);
}

  /* NAV DESKTOP */
@media (min-width: 769px){
  .nav-toggle{
    display: none;
  }
}

  /* NAV MOBILE */
  @media (max-width: 768px){
.main-nav{
    display: flex;
    flex-direction: column;
    gap: 14px;

    position: absolute;
    top: 100%;
    right: 16px;

    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 14px 18px;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .main-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

  /* VISIBILITY */
  .desktop-only{
    display: none;
  }

  .mobile-only{
    display: flex;
  }

  .header-actions{
    display: flex;
  }

  .header-cta{
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .nav-toggle{
    background: none;
    border: 0;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    z-index: 20;
  }

}


/* =========================
   CAROUSEL EDITORIAL + COLECCIONES
========================= */

/* ---------- TITULO CARRUSEL ---------- */

.editorial-title{
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 16px;
}

/* ---------- SECCIÓN CARRUSEL ---------- */

.editorial-section{
  padding: 32px 0 16px;

  background: #ffffff;
}

/* ---------- CONTENEDOR + CARRUSEL ---------- */

.editorial-carousel{
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
}
.carousel-track{
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide{
  flex: 0 0 100%;
}

@media (max-width: 768px){
  .editorial-section{
    padding-top: 30px;
  }
}


/* ---------- GRID DESKTOP ---------- */

@media (min-width: 769px){
  .editorial-section{
    padding: 24px 0 16px;
  }

  .editorial-title{
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.15;
    margin-bottom: 0;
    max-width: 16ch;
    text-align: left;
  }

  .editorial-title .editorial-line2{
    display: block;
    margin-top: 24px;
  }

  .editorial-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    align-items: center;
  }

  .editorial-carousel{
    justify-self: start;
    max-width: 460px;
  }
}

/* =========================
   COLECCIONES
========================= */

.collections{
  background: #fff;
}

.collections .container{
  max-width: 960px;
}

.collections.section{
  padding-top: 8px;
}

/* ---------- GRID COLECCIONES ---------- */

.collections-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 12px 0 24px;
  background: #fff;
}

/* Desktop grid */
@media (min-width: 769px){
  .collections-grid{
    grid-template-columns: repeat(3, minmax(0, 0.95fr));
    gap: 32px;
    max-width: 900px;   /* prueba 900–940 */
    margin-left: auto;
    margin-right: auto;
  }
}
.collection-card h3{
  margin-top: 6px;   /* 🔑 más cerca del frame */
    font-size: 16px;
  margin-bottom: 0;
  text-align: center;
}


/* ---------- TARJETAS ---------- */

.collection-image{
  margin-top: 0;
}

/* Marco visible (igual en desktop y mobile) */
.collection-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;

  background: rgba(236,233,228,0.75); /* un pelín más visible */
  box-shadow: 
    inset 0 0 0 1px rgba(0,0,0,0.06),
    0 4px 14px rgba(0,0,0,0.04);

  transition: box-shadow .25s ease, transform .25s ease;
}


.collection-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ocupa todo, sin huecos */
  display: block;
}
.collection-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;

  /* aquí defines el “marco” */
  box-shadow: inset 0 0 0 4px rgba(236,233,228,0.85);

  pointer-events: none;
}


@media (max-width: 540px){
.collection-frame{
    aspect-ratio: 1 / 1;
    --inset: 14%;
  }

  .collection-frame img{
    width: 100%;
    height: 100%;
  }
}


/* ---------- CTA COLECCIONES ---------- */

.collections-cta{
  text-align: center;
  margin-top: 10px;
  margin-bottom: 70px;
position: relative;
  z-index: 3;
}

.cta-helper{
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px){
  .collections-cta p{
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* =========================
   CTA PILL – GLOBAL
========================= */

.cta-pill{
  display: inline-block;
  padding: 16px 28px;

  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;

  background: var(--blue);
  color: #fff;
  text-decoration: none;

  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);

  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-pill::after{
  color: #fff;
}
@media (hover: hover){
  .cta-pill:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  }
}

/* Ajuste mobile */
@media (max-width: 768px){
  .cta-pill{
    font-size: 16px;
    padding: 14px 24px;
  }
}


/* =========================
   FLOW BG (HOW + FORM)
========================= */

.flow-bg{
  position: relative;
  background: none;
  padding: 60px 0 30px;
  overflow: hidden;
  z-index: 1;
}

.flow-bg::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../assets/bg/bolas-wide.png");
  background-repeat: no-repeat;
  background-position: center calc(100% + 80px);
  background-size: contain;

  opacity: 0.25;          /* 🔑 CLAVE */
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.flow-bg > .section{
  background: transparent !important;
  padding: 0;
}

.flow-bg::after{
  content: "";
  display: block;
  height: 1px;
  background: #fff;
}

/* Fuerza fondo blanco en sections clave */
.collections,
.section,
.section-alt {
  background: #fff;
}


@media (max-width: 768px){
  .flow-bg{
    position: relative;
    background: none; /* anulamos el fondo directo */
    overflow: hidden;
  }

  .flow-bg::before{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../assets/bg/bolas-wide.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 900px auto;

    opacity: 0.50; /* 🔑 igual que el form */
    filter: blur(1px); /* 🔑 efecto difuminado */
    
    pointer-events: none;
    z-index: 0;
  }

  .flow-bg > *{
    position: relative;
    z-index: 1;
  }
}


/* =========================
   HOW SECTION – FINAL DEFINITIVO
========================= */

/* Sección HOW */
.how-section{
  padding: 60px 0;               /* 🔑 más aire vertical */
  background: #fff;              /* caja blanca única */
}

/* Caja HOW (igual lógica que el formulario) */
.how-inner{
  max-width: 1000px;             /* 🔑 mismo ancho que form */
  margin: 0 auto;
  padding: 48px 48px 40px;
  background: #fff;
  border-radius: 24px;
}

/* Separación clara con el formulario */
.how-inner{
  margin-bottom: 60px;
}

/* Título */
.how-section .section-head{
  margin-bottom: 28px;           /* 🔑 título cerca pero no pegado */
}

/* =========================
   HOW CARDS
========================= */

.how-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
max-width: 860px;   /* prueba 860–920 */
    margin-left: auto;
    margin-right: auto;
}

.how-card{
  display: block;
  grid-template-columns: 1fr auto;
  gap: 24px;

  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(2px);
  grid-template-columns: 1fr !important;
}

.how-instagram{
  border: 2px solid rgba(199,55,47,0.25);
}

.how-custom{
  border: 2px solid rgba(90,140,210,0.25);
}

.how-content h3{
  font-size: 18px;
  margin-bottom: 8px;
}

.how-content p{
  font-size: 14px;
  line-height: 1.5;
  max-width: 38ch;
  margin-bottom: 16px;
  max-width: 50ch;
}

.how-icon img{
  width: 72px;
  height: auto;
  opacity: 0.9;
}
.how-instagram .cta-pill{
  background: var(--red);
  color: #fff;
}

.how-instagram .cta-pill::after{
  color: #fff;
}


/* =========================
   HOW DESKTOP
========================= */

@media (min-width: 769px){
  .how-grid{
    grid-template-columns: 1fr 1fr;
  }
  .how-section .section-head{
    margin-left: 38px;   /* ajusta entre 32–48 */
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 16px;   /* antes 28px */
  }
}

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

@media (max-width: 768px){
  .flow-bg::before{
    opacity: 0.06;          /* antes 0.12 → más etéreo */
    background-size: 700px auto; /* menos dominante */
    background-position: center bottom;
  }
.how-inner{
    margin-bottom: 25px; /* antes más */
  }

  .form-inner{
    margin-bottom: 0;
  padding-bottom: 1px;
  }
}

@media (max-width: 768px){
  .how-section .section-head h2{
    margin-bottom: 10px;   /* antes más compacto */
  }

  .how-section .section-head p{
    margin-top: 0;
    margin-bottom: 20px;  /* da aire antes de las cards */
  }
}

/* =====================
   FORM BLOCKS
===================== */

.form-block{
  border: none;
  margin: 0 0 10px;
  padding: 0;
}

.form-block legend{
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 5px;
}

/* Group */
.form-group{
  margin-bottom: 20px;
}

.group-label{
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}

.group-help{
  font-weight: 400;
  font-size: 13px;
  opacity: 0.7;
  margin-left: 6px;
}

.form-inner{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
padding: 30px 30px;
  max-width: 1000px;        /* 🔑 ajusta aquí (760–860 según gusto) */
  border-radius: 24px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px; /* margen */

}

.form-intro{
  margin: 5px 0 30px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
  max-width: 100ch;
}

/* =====================
   TIPOLOGÍA – PILLS
===================== */

.pill-group{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}

.pill{
  position: relative; /* necesario para esconder el radio */
  width: 100%;
}

.pill-btn{
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  cursor: pointer;

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

  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;

  font-weight: 500;
  transition: all .2s ease;
  text-align: center;
}

/* MATA cualquier pseudoelemento antiguo que te esté dibujando cápsulas internas */
.pill-btn::before,
.pill-btn::after{
  content: none !important;
}

.pill-icon{
  flex: 0 0 34px;          /* 🔑 tamaño fijo */
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;

  display: block;
  transform: translateY(-1px); /* ajuste óptico */
}

/* Ajuste óptico del icono */
.pill-icon img{
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-1px); /* 🔑 ajuste fino */
}

.pill-text{
  white-space: nowrap;
}

/* estados (los que ya usas con JS) */
.pill.is-selected .pill-btn{
  border-color: #111;
  background: rgba(0,0,0,0.05);
}

.pill.is-dimmed .pill-btn{
  opacity: 0.45;
}

@media (max-width: 540px){
  .pill-group{
    grid-template-columns: 1fr;
    max-width: 100%;
  }

.pill-btn{
    min-height: 35px;
    padding: 10px 14px;
    gap: 5px;
  }
.pill-icon{
    width: 28px;
    height: 28px;
  }

}

/* =====================
   CHIPS (COLECCIONES)
===================== */

.chip-group{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 5px; /* 🔑 más aire vertical */
}

.chip{
  cursor: pointer;
}

.chip input{
  display: none;
}

.chip span{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;

  font-size: 14px;
  transition: all .2s ease;
}

/* Estado activo */
.chip input:checked + span{
  border-color: var(--red);
  background: rgba(0,0,0,0.04);
}

/* Hover */
@media (hover: hover){
  .chip span:hover{
    border-color: rgba(0,0,0,0.35);
  }
}

.chip.is-disabled span{
  opacity: 0.4;
  cursor: not-allowed;
}

/* =====================
   TAMAÑO
===================== */

.size-group{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}

.size-option{
  position: relative;
}

.size-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  padding: 18px 5px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;

  text-align: center;
  transition: all .2s ease;
}

.size-title{
  font-size: 15px;
  font-weight: 600;
}

.size-desc{
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.65;
}

/* seleccionado */
.size-option input:checked + .size-card{
  border-color: #111;
  background: rgba(0,0,0,0.05);
}

/* hover */
@media (hover: hover){
  .size-card:hover{
    border-color: rgba(0,0,0,0.35);
  }
}

/* mobile */
@media (max-width: 540px){
  .size-group{
    grid-template-columns: 1fr;
  }
.size-card{
    padding: 14px 12px;
  }

  .size-title{
    font-size: 14px;
  }

  .size-desc{
    font-size: 12px;
  }

}

/* =====================
   COLORES
===================== */

.color-group{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 360px;
}

.color-dot{
  position: relative;
  cursor: pointer;
}

.color-dot input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-dot span{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
  display: block;

  border: 2px solid rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* seleccionado */
.color-dot input:checked + span{
  box-shadow: 0 0 0 3px #111;
}

/* hover */
@media (hover: hover){
  .color-dot span:hover{
    transform: scale(1.05);
  }
}

.color-helper{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.7;
}

/* =====================
   DATOS PERSONALES
===================== */

.form-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 520px;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label{
  font-size: 14px;
  font-weight: 600;
}

.field input{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 15px;
}

/* Teléfono ocupa fila completa */
.field:nth-child(3){
  grid-column: 1 / -1;
}

/* Mobile */
@media (max-width: 540px){
  .form-fields{
    grid-template-columns: 1fr;
  }
}
/* =====================
   RGPD
===================== */

.rgpd-group{
  max-width: 520px;
  margin-top: 24px;
}

.rgpd{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.rgpd input{
  margin-top: 3px;
}

.rgpd a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================
   CTA FINAL – FORM
===================== */

.form-cta{
  margin-top: 36px;
  text-align: center;
}

.cta-main{
  appearance: none;
  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 36px;
  border-radius: 999px;

  background: var(--blue);
  color: #fff;

  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;

  box-shadow: 0 8px 26px rgba(0,0,0,0.14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-main:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.2);
}

.cta-main .cta-dot{
  color: #fff;
}

.cta-helper{
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

/* Mobile */
@media (max-width: 540px){
  .cta-main{
    width: 100%;
    font-size: 16px;
    padding: 16px 24px;
  }
}

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

.site-footer{
  background: #ECE9E4; /* mismo paper, sin imagen */
  isolation: isolate;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 15px 0 15px;
    padding-top: 15px; /* reduce aire superior */
  position: relative;
  z-index: 2; /* 🔑 clave para cortar el bg */
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy{
  font-size: 13px;
  opacity: 0.7;
}

.footer-links{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-ig{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.footer-ig img{
  width: 30px;
  height: 30px;
}

.footer-mail{
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile */
@media (max-width: 640px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}


/* =========================
   MOBILE FIX (HEADER + HERO)
========================= */

@media (max-width: 768px){
  .hero-editorial{
  position: relative;
  min-height: 80svh;          /* 🔑 controla el hero */
  background-image: url("../assets/hero-mobile.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 75%;
  background-color: #fff;
  display: flex;
}

 .hero-copy{
  position: relative;
  z-index: 2;
  margin-top: auto;
  align-self: flex-start;   /* evita centrados por flex */
  padding: 32px 20px 36px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hero-editorial::after{
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 55%,
      rgba(255,255,255,0.7) 80%,
      #ffffff 100%
    );
  }

  .hero-title{
    font-size: 22px;
    text-align: left;
    max-width: 18ch;  
  }

.hero-cta{
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 12px;
    padding: 10px 16px;

    font-size: 15px;
    font-weight: 800;

    background: var(--blue);
    color: #fff;
    border-radius: 999px;
  }
  .hero-cta::after{
    color: #fff; /* la flecha también blanca */
  }
}

/* =========================
   THANK YOU PAGE – CTA FIX
========================= */

.thanks-cta{
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.thanks-cta .cta-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  line-height: 1;
  font-size: 16px;
}

}





