/* =========================================================
   01. VARIABLES GLOBALES
   ========================================================= */
:root{
  --font-heading:"Inter", sans-serif;
  --font-body:"Inter", sans-serif;

  --bg:#f6f2ed;
  --bg-alt:#efe8df;
  --white:#ffffff;

  --navy:#0f1a24;
  --coffee:#2b1f18;
  --coffee-soft:#6d5b4d;
  --micro:#9a8878;
  --gold:#c9a86a;
  --gold-dark:#b79254;
  --success:#1f7a52;
  --danger:#b94a48;

  --line:rgba(43,31,24,.12);
  --line-soft:rgba(0,0,0,.08);

  --maxw-mobile:430px;
  --bottom-h:84px;

  --shadow-card:0 6px 18px rgba(0,0,0,.06);
  --shadow-soft:0 16px 40px rgba(0,0,0,.08);

  --content-max:1100px;
  --content-step-max:360px;
}

/* =========================================================
   02. RESET Y BASE
   ========================================================= */
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  font-family:var(--font-body);
  background:#e8dfd6;
  color:var(--coffee);
}

body.modal-open{
  overflow:hidden;
  height:100vh;
  overscroll-behavior:none;
}

body.splash-open{
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  overflow:hidden;
  overscroll-behavior:none;
  touch-action:none;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font-family:var(--font-body);
}

button{
  -webkit-tap-highlight-color:transparent;
}

.feature-icon{
  stroke:currentColor;
  fill:none;
}

/* =========================================================
   03. APP PRINCIPAL
   ========================================================= */
.app{
  position:relative;
  width:100%;
  max-width:var(--maxw-mobile);
  min-height:100vh;
  margin:0 auto;
  padding-bottom:calc(var(--bottom-h) + 20px);
  background:var(--bg);
  overflow:hidden;
}

/* =========================================================
   04. OVERLAY INICIAL
   ========================================================= */
.entry-overlay{
  position:fixed;
  inset:0;
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,26,36,.28);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:overlayFadeIn .35s ease;
  transition:opacity .3s ease, visibility .3s ease;
}

.entry-overlay.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.entry-card{
  width:min(100%, 380px);
  padding:18px 24px 26px;
  text-align:center;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,26,36,.08);
  border-radius:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.18);
  animation:overlayCardIn .45s cubic-bezier(.22,1,.36,1);
  transform-origin:center;
}

.entry-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:4px;
  animation:overlayItemIn .45s cubic-bezier(.22,1,.36,1) .05s both;
}

.brand-logo{
  display:block;
  width:250px;
  height:auto;
  margin:0 auto;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.15));
}

.entry-title{
  margin:2px 0 4px !important;
  color:#2b1f18;
  font-size:28px;
  font-weight:700;
  line-height:1.08;
  text-align:center;
  text-wrap:balance;
  animation:overlayItemIn .45s cubic-bezier(.22,1,.36,1) .1s both;
}

.entry-sub{
  margin:0 0 18px;
  color:#6d5b4d;
  font-size:14px;
  line-height:1.6;
  text-align:center;
  opacity:.75;
  animation:overlayItemIn .45s cubic-bezier(.22,1,.36,1) .15s both;
}

.entry-options,
.wizard-options{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.entry-option,
.wizard-option{
  appearance:none;
  width:100%;
  padding:16px;
  cursor:pointer;
  border-radius:18px;
  transition:.2s ease;
}

.entry-option{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:22px;
  text-align:center;
  background:linear-gradient(135deg, #c9a86a 0%, #d4b576 40%, #c9a86a 100%);
  border:none;
  box-shadow:
    0 10px 26px rgba(0,0,0,.15),
    0 6px 14px rgba(201,168,106,.25),
    inset 0 1px 0 rgba(255,255,255,.3);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.entry-option:first-child{
  transform:scale(1.02);
}

.entry-option:hover{
  transform:translateY(-4px) scale(1.01);
  background:linear-gradient(135deg, #b79254 0%, #c9a86a 100%);
  box-shadow:
    0 18px 36px rgba(0,0,0,.2),
    0 8px 18px rgba(201,168,106,.35);
}

.entry-option:active{
  transform:scale(.97);
  box-shadow:0 6px 16px rgba(201,168,106,.25);
}

.wizard-option{
  text-align:left;
  background:#fff;
  border:1px solid var(--line);
}

.wizard-option:hover{
  background:rgba(255,255,255,.95);
  border-color:rgba(201,168,106,.55);
}

.entry-option-title,
.wizard-option-title{
  display:block;
  margin-bottom:4px;
  font-weight:600;
}

.entry-option-title{
  color:#1a140f;
  font-size:18px;
  text-align:center;
}

.entry-option-sub{
  display:block;
  margin-top:6px;
  color:#1a140f;
  font-size:13px;
  line-height:1.45;
  text-align:center;
  opacity:.65;
}

.wizard-option-title{
  color:var(--coffee);
  font-size:16px;
}

.wizard-option-sub{
  color:var(--coffee-soft);
  font-size:13px;
  line-height:1.45;
}

/* =========================================================
   05. SELECTOR SUPERIOR
   ========================================================= */
.selector-block{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:5px 16px;
  background:var(--bg);
}

.toggle{
  display:grid;
  grid-template-columns:repeat(2, auto);
  justify-content:center;
  gap:8px;
  width:100%;
}

.toggle-btn{
  appearance:none;
  min-width:140px;
  padding:10px 16px;
  text-align:center;
  cursor:pointer;
  background:transparent;
  border:1px solid rgba(15,26,36,.10);
  border-radius:999px;
  color:var(--navy);
  font-size:13px;
  font-weight:500;
  transition:.2s ease;
}

.toggle-btn.active{
  background:rgba(201,168,106,.10);
  border-color:rgba(201,168,106,.30);
  color:var(--coffee);
}

/* =========================================================
   06. HERO
   ========================================================= */
.hero{
  position:relative;
  height:65svh;
  min-height:480px;
  max-height:560px;
  background:#ddd;
  overflow:hidden;
}

.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:66% center;
  filter:saturate(.94) contrast(.98);
}

.hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.66) 0%,
    rgba(0,0,0,.44) 24%,
    rgba(0,0,0,.22) 46%,
    rgba(0,0,0,.05) 68%,
    rgba(0,0,0,0) 82%
  );
}

.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  height:100%;
  max-width:100%;
  padding:12px 22px 24px;
  color:var(--white);
}

.hero-title{
  max-width:100%;
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:31px;
  font-weight:700;
  line-height:.95;
  letter-spacing:0;
  text-wrap:nowrap;
}

.hero-subtitle{
  margin:8px 0 0;
  max-width:clamp(240px, 60%, 480px);
  color:rgba(255,255,255,.95);
  font-size:15px;
  line-height:1.5;
}

.hero-support{
  margin-top:auto;
  max-width:300px;
  color:rgba(255,255,255,.76);
  font-size:13px;
  line-height:1.65;
  text-wrap:balance;
}

/* =========================================================
   07. SECCIONES BASE
   ========================================================= */
.section{
  padding:40px 22px;
  background:var(--bg);
}

.section.alt{
  background:var(--bg-alt);
}

.section.white{
  background:var(--white);
}

.section h2{
  margin:0 0 12px;
  color:var(--coffee);
  font-size:34px;
  font-weight:700;
  line-height:1.02;
  text-wrap:balance;
}

.sub{
  max-width:360px;
  margin:0 0 8px;
  color:var(--coffee-soft);
  font-size:15px;
  line-height:1.65;
}

.step-label{
  margin:-20px 0 6px;
  color:var(--micro);
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.no-bottom-space{
  padding-bottom:0;
}

/* =========================================================
   08. FRANJAS FULL WIDTH
   ========================================================= */
.machines-strip,
.clients-strip-full{
  position:relative;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
}

.machines-strip{
  margin-top:18px;
}

.machines-strip{
  background:inherit;
}

.clients-strip-full{
  margin-top:0;
  background:var(--bg-alt);
}

.machines-strip-inner,
.clients-strip-inner{
  overflow:hidden;
}

.machines-strip-inner{
  padding:14px 0 4px;
  background:inherit;
}

.clients-strip-inner{
  padding:16px 0;
  background:var(--bg-alt);
}

/* =========================================================
   09. LOGOS Y CARRUSELES
   ========================================================= */
.logo-track{
  display:flex;
  align-items:center;
  width:max-content;
}

/* =========================================================
   10. FEATURES
   ========================================================= */
.features{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:22px;
}

.feature{
  display:grid;
  grid-template-columns:26px 1fr;
  gap:14px;
  align-items:flex-start;
}

.feature-icon{
  width:20px;
  height:20px;
  margin-top:2px;
  color:var(--navy);
}

.feature-title{
  margin:0 0 4px;
  color:var(--coffee);
  font-size:18px;
  font-weight:700;
}

.feature-text{
  margin:0;
  color:var(--coffee-soft);
  font-size:14px;
  line-height:1.65;
}

/* =========================================================
   11. MÁQUINAS
   ========================================================= */
.machines-row{
  display:flex;
  align-items:flex-start;
  gap:28px;
  width:max-content;
  padding-left:14px;
  animation:scrollMachines 30s linear infinite;
}

.machines-row:hover{
  animation-play-state:paused;
}

.machine-card{
  flex:0 0 auto;
  width:110px;
  padding:0;
  text-align:center;
  background:transparent;
  border:none;
  box-shadow:none;
}

.machine-card img{
  width:100%;
  height:110px;
  margin-bottom:10px;
  object-fit:contain;
  object-position:center;
}

.machine-name{
  margin-bottom:4px;
  color:var(--coffee);
  font-size:14px;
  font-weight:600;
  line-height:1.25;
}

.machine-tag{
  color:var(--coffee-soft);
  font-size:12px;
  line-height:1.35;
}

/* =========================================================
   12. MÉTRICAS
   ========================================================= */
.stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin:22px 0 18px;
}

.stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:118px;
  padding:16px 12px;
  text-align:left;
  background:rgba(255,255,255,.42);
  border:1px solid var(--line);
  border-radius:20px;
}

.stat strong{
  display:block;
  margin-bottom:6px;
  color:var(--coffee);
  font-size:18px;
  font-weight:700;
  line-height:1.08;
}

.stat span{
  display:block;
  max-width:110px;
  color:var(--coffee-soft);
  font-size:12px;
  line-height:1.4;
}

/* =========================================================
   13. LOGOS
   ========================================================= */
.logo-track{
  gap:32px;
  animation:scrollLogos 24s linear infinite;
}

.logo-track img{
  width:auto;
  height:40px;
  object-fit:contain;
  background:transparent;
  opacity:1;
  filter:grayscale(100%) contrast(1);
}

/* =========================================================
   14. CONTACTO
   ========================================================= */
.contact-grid{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  margin-top:16px;
  text-align:center;
}

.contact-item{
  padding:16px 0;
  text-align:center;
}

.contact-item strong{
  display:block;
  margin-bottom:4px;
  color:var(--coffee);
  font-size:13px;
  font-weight:600;
  opacity:.6;
}

.contact-item span{
  display:block;
  color:var(--coffee-soft);
  font-size:14px;
  line-height:1.62;
}

/* =========================================================
   15. CIERRE VISUAL
   ========================================================= */
.brand-end{
  width:100%;
  overflow:hidden;
  background:var(--bg);
  margin-bottom:calc(-1 * var(--bottom-h) - 20px);
}

.brand-end img{
  display:block;
  width:100%;
  height:280px;
  object-fit:cover;
  object-position:center;
}

/* =========================================================
   16. FLOW
   ========================================================= */
.flow{
  display:block;
}

/* =========================================================
   17. CTA FIJO
   ========================================================= */
.bottom-bar{
  position:fixed;
  left:50%;
  bottom:0;
  z-index:120;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  width:100%;
  max-width:var(--maxw-mobile);
  height:var(--bottom-h);
  padding:12px 20px 0;
  background:rgba(255,255,255,.97);
  transform:translateX(-50%);
}

.bottom-cta{
  appearance:none;
  width:100%;
  max-width:320px;
  padding:14px 18px;
  cursor:pointer;
  background:var(--gold);
  border:0;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  color:#1a140f;
  font-size:15px;
  font-weight:600;
  letter-spacing:.2px;
  transition:.2s ease;
}

.bottom-cta:hover{
  background:var(--gold-dark);
  color:#fff;
}

/* =========================================================
   18. MODAL PRE-COTIZADOR
   ========================================================= */
.prequote-modal{
  position:fixed;
  inset:0;
  z-index:500;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:0;
  background:rgba(15,26,36,.45);
  backdrop-filter:blur(10px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.25s ease;
}

.prequote-modal.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.prequote-sheet{
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:var(--maxw-mobile);
  min-height:100svh;
  background:var(--bg);
  transform:translateY(18px);
  transition:.25s ease;
}

.prequote-modal.open .prequote-sheet{
  transform:translateY(0);
}

.prequote-top{
  padding:18px 18px 14px;
  background:rgba(255,255,255,.72);
  border-bottom:1px solid var(--line-soft);
  backdrop-filter:blur(8px);
}

.prequote-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.prequote-close{
  appearance:none;
  padding:4px;
  cursor:pointer;
  background:transparent;
  border:0;
  color:var(--navy);
  font-size:20px;
  line-height:1;
}

.prequote-progress{
  width:100%;
  height:6px;
  overflow:hidden;
  background:rgba(15,26,36,.08);
  border-radius:999px;
}

.prequote-progress-bar{
  width:0%;
  height:100%;
  background:var(--gold);
  transition:.25s ease;
}

.prequote-body{
  flex:1;
  padding:26px 22px 22px;
  overflow:auto;
}

.prequote-step{
  display:none;
}

.prequote-step.active{
  display:block;
}

.prequote-kicker{
  margin:-8px 0 8px;
  color:var(--micro);
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.prequote-title{
  max-width:320px;
  margin:0 0 10px;
  color:var(--coffee);
  font-size:30px;
  font-weight:700;
  line-height:1.05;
}

.prequote-sub{
  max-width:340px;
  margin:0 0 22px;
  color:var(--coffee-soft);
  font-size:15px;
  line-height:1.6;
}

.prequote-kicker:empty,
.prequote-title:empty,
.prequote-sub:empty{
  display:none;
}

.wizard-form{
  display:grid;
  gap:14px;
}

.wizard-field{
  display:grid;
  gap:6px;
}

.wizard-label{
  color:var(--coffee);
  font-size:13px;
  font-weight:600;
}

.wizard-input{
  width:100%;
  padding:14px;
  outline:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--coffee);
  font-size:15px;
}

.wizard-input:focus{
  border-color:rgba(201,168,106,.75);
  box-shadow:0 0 0 3px rgba(201,168,106,.12);
}

.wizard-error{
  display:none;
  margin-top:12px;
  color:var(--danger);
  font-size:13px;
  line-height:1.5;
}

.wizard-error:not(:empty){
  display:block;
}

.wizard-success{
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
}

.wizard-success-mark{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin-bottom:14px;
  background:rgba(31,122,82,.10);
  border-radius:50%;
  color:var(--success);
  font-size:22px;
}

.prequote-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px 18px;
  background:rgba(255,255,255,.92);
  border-top:1px solid var(--line-soft);
}

.prequote-btn{
  appearance:none;
  padding:14px 16px;
  cursor:pointer;
  border:0;
  border-radius:14px;
  font-size:15px;
  font-weight:600;
  transition:.2s ease;
}

.prequote-btn.secondary{
  flex:0 0 auto;
  min-width:120px;
  background:transparent;
  border:1px solid var(--line);
  color:var(--coffee);
}

.prequote-btn.primary{
  flex:1;
  background:var(--gold);
  color:#1a140f;
}

.prequote-btn.primary:hover{
  background:var(--gold-dark);
  color:#fff;
}

.prequote-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* =========================================================
   19. ANIMACIONES
   ========================================================= */
@keyframes scrollMachines{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

@keyframes scrollLogos{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* =========================================================
   20. DESKTOP
   ========================================================= */
@media (min-width:1100px){
  .app{
    width:100%;
    max-width:none;
    margin:0;
    padding-bottom:100px;
  }

  .entry-card{
    width:min(100%, 430px);
    padding:34px 26px 24px;
  }

  .entry-title{
    font-size:38px;
  }

  .entry-sub{
    font-size:15px;
  }

 .selector-block{
  min-height:48px;
  padding:5px 72px;
}

.toggle-btn{
  min-width:170px;
  padding:7px 18px;
  font-size:14px;
}

  .hero{
    height:82vh;
    min-height:680px;
    max-height:920px;
  }

  .hero-image{
    object-position:62% center;
  }

  .hero-content{
    padding:28px 72px 44px;
  }

  .hero-title{
    font-size:64px;
    line-height:.9;
    letter-spacing:0;
  }

  .hero-subtitle{
    max-width:420px;
    margin-top:10px;
    font-size:20px;
    line-height:1.62;
  }

  .hero-support{
    max-width:460px;
    color:rgba(255,255,255,.74);
    font-size:16px;
    line-height:1.72;
  }

  .section{
    padding:78px 72px;
  }

  .section > *{
    max-width:var(--content-max);
    margin-left:auto;
    margin-right:auto;
  }

  .section h2,
  .sub{
    text-align:left;
  }

  .section h2{
    max-width:900px;
    font-size:56px;
  }

  .sub{
    max-width:860px;
    font-size:17px;
  }

  .step-label{
    margin:-24px 0 8px;
  }

  .steps-desktop-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:0;
    align-items:start;
    max-width:var(--content-max);
    margin:0 auto 48px;
    background:#f1ebe5;
    border-radius:28px;
    overflow:hidden;
  }

  .steps-desktop-grid .section{
    display:flex;
    flex-direction:column;
    align-items:center;
    max-width:none;
    margin:0;
    padding:40px 28px;
    background:transparent;
  }

  .steps-desktop-grid .section.alt{
    background:transparent;
  }

  .steps-desktop-grid .section:nth-child(2){
    background:rgba(201,168,106,.08);
  }

  .steps-desktop-grid .section:not(:last-child){
    border-right:1px solid rgba(0,0,0,.06);
  }

  .steps-desktop-grid .section > *{
    width:100%;
    max-width:var(--content-step-max);
    margin-left:0;
    margin-right:0;
  }

  .steps-desktop-grid h2,
  .steps-desktop-grid .sub,
  .steps-desktop-grid .step-label{
    text-align:center;
  }

  .steps-desktop-grid h2{
    max-width:100%;
    font-size:36px;
  }

  .steps-desktop-grid .sub{
    max-width:100%;
    font-size:16px;
  }

  .steps-desktop-grid .step-label{
    margin:-10px 0 8px;
  }

  .features{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:28px 40px;
    max-width:var(--content-max);
  }

  .feature{
    gap:18px;
  }

  .feature-icon{
    width:22px;
    height:22px;
  }

  .feature-title{
    font-size:22px;
  }

  .feature-text{
    font-size:16px;
    line-height:1.7;
  }

  .machines-strip{
    left:auto;
    width:100%;
    transform:none;
    margin-top:28px;
  }

  .machines-strip-inner{
    padding:0;
    overflow:visible;
  }

  .machines-row{
    display:grid;
    grid-template-columns:repeat(3, minmax(220px, 1fr));
    gap:32px;
    align-items:start;
    justify-content:center;
    width:100%;
    max-width:1100px;
    margin:0 auto;
    padding-left:0;
    animation:none;
  }

  .machine-card{
    max-width:260px;
    width:100%;
    margin:0 auto;
    text-align:center;
  }

  .machine-card img{
    height:160px;
    margin-bottom:12px;
  }

  .machine-name{
    font-size:17px;
  }

  .machine-tag{
    font-size:14px;
  }

  .stats{
    gap:22px;
    max-width:var(--content-max);
    margin-top:28px;
  }

  .stat{
    min-height:180px;
    padding:26px 22px;
    border-radius:28px;
  }

  .stat strong{
    margin-bottom:10px;
    font-size:34px;
  }

  .stat span{
    max-width:170px;
    font-size:15px;
    line-height:1.5;
  }

  .clients-strip-inner{
    padding:22px 0;
  }

  .logo-track{
    gap:52px;
  }

  .logo-track img{
    height:52px;
  }

  .contact-grid{
    max-width:var(--content-max);
    margin-top:24px;
  }

  .contact-item{
    padding:0;
  }

  .contact-item strong{
    font-size:14px;
  }

  .contact-item span{
    font-size:16px;
  }


  .prequote-modal{
  align-items:center;
  justify-content:center;
  padding:24px;
}

.prequote-sheet{
  max-width:860px;
  min-height:auto;
  max-height:calc(100vh - 140px);
  margin:0;
  overflow:hidden;
  border-radius:28px;
  transform:translateY(-48px);
}

.prequote-modal.open .prequote-sheet{
  transform:translateY(-48px);
}

.prequote-top{
  padding:22px 24px 18px;
}

.prequote-body{
  padding:40px 40px 32px;
  overflow:auto;
}

.prequote-kicker{
  margin:-10px 0 8px;
}

.prequote-title{
  max-width:560px;
  font-size:42px;
}

.prequote-sub{
  max-width:600px;
  font-size:17px;
}

  .wizard-options{
    gap:14px;
  }

  .wizard-option{
    padding:18px 20px;
    border-radius:20px;
  }

  .wizard-option-title{
    font-size:18px;
  }

  .wizard-option-sub{
    font-size:14px;
  }

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

  .wizard-field:last-child:nth-child(odd){
    grid-column:1 / -1;
  }

  .wizard-input{
    padding:15px 16px;
    font-size:16px;
  }

  .prequote-actions{
    padding:18px 24px 24px;
  }

  .prequote-btn{
    padding:16px 18px;
    font-size:16px;
  }
}

/* =========================================================
   21. ACCESIBILIDAD
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  .logo-track,
  .machines-row{
    animation:none;
  }

  .entry-overlay,
  .prequote-modal,
  .prequote-sheet,
  .prequote-progress-bar{
    transition:none;
  }
}

.toggle-btn:focus-visible,
.entry-option:focus-visible,
.bottom-cta:focus-visible,
.prequote-btn:focus-visible,
.prequote-close:focus-visible,
.wizard-option:focus-visible,
.wizard-input:focus-visible{
  outline:2px solid rgba(201,168,106,.9);
  outline-offset:2px;
}
/* =========================================================
   ENDING IMAGE - SIN ZOOM (ALTURA FIJA)
   ========================================================= */
@media (min-width:1100px){

  .brand-end{
    height:274px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
  }

  .brand-end img{
    height:100%;        /* 🔥 manda la altura */
    width:auto;         /* 🔥 evita stretch */
    object-fit:contain; /* 🔥 evita zoom */
    display:block;
  }

}
/* =========================================================
   CTA ANIMADO SOLO CSS
   ========================================================= */

.bottom-cta{
  position:relative;
  z-index:1;
  animation:ctaPulse 2.4s ease-in-out infinite;
}

/* pulso suave */
@keyframes ctaPulse{
  0%,100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.03);
  }
}

/* halo suave */
.bottom-cta::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:inherit;
  background:rgba(201,168,106,.25);
  z-index:-1;
  opacity:0;
  animation:ctaGlow 2.4s ease-in-out infinite;
}

@keyframes ctaGlow{
  0%,100%{
    opacity:0;
    transform:scale(1);
  }
  50%{
    opacity:.5;
    transform:scale(1.08);
  }
}

/* UX: al interactuar se detiene */
.bottom-cta:hover,
.bottom-cta:active{
  animation:none;
}

.bottom-cta:hover::after,
.bottom-cta:active::after{
  animation:none;
  opacity:0;
}
/* =========================================================
   BOTTOM BAR PREMIUM (DESKTOP)
   ========================================================= */
@media (min-width:1100px){

  .bottom-bar{
    position:fixed;
    bottom:0;
    left:0;
    right:auto;
    width:100%;
    max-width:none;
    height:76px;

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

    padding:14px 24px;

    /* 🔥 estilo premium */
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border-top:1px solid rgba(0,0,0,.05);
    box-shadow:0 -8px 30px rgba(0,0,0,.08);

    transform:none;
    z-index:1000;
  }

  /* BOTÓN */
  .bottom-cta{
    width:auto;
    min-width:240px;
    max-width:none;
    height:52px;
    padding:0 34px;

    font-size:16px;
    font-weight:600;

    border-radius:16px;
    border:none;
    cursor:pointer;

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

    transition:all .25s ease;

    box-shadow:0 8px 22px rgba(201,168,106,.35);
  }

  /* hover elegante */
  .bottom-cta:hover{
    transform:translateY(-1px) scale(1.02);
    box-shadow:0 14px 30px rgba(201,168,106,.45);
  }

  /* click */
  .bottom-cta:active{
    transform:scale(0.97);
    box-shadow:0 6px 16px rgba(201,168,106,.25);
  }

}
/* =========================================================
   FLOW DESKTOP LIMPIO
   ========================================================= */
@media (min-width:1100px){

  .steps-desktop-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    width:100%;
    max-width:none;
    margin:0;
    border-radius:0;
    background:#f1ebe5;
    overflow:hidden;
  }

  .steps-desktop-grid > .section{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    min-height:430px;
    margin:0;
    padding:40px 28px;
    background:transparent;
    text-align:center;
  }

  .steps-desktop-grid > .section:not(:last-child){
    border-right:1px solid rgba(0,0,0,.06);
  }

  .steps-desktop-grid > .section > *{
    width:100%;
    max-width:340px;
  }

  .steps-desktop-grid .step-label{
    margin:0 0 10px 0;
    text-align:center;
  }

  .steps-desktop-grid h2{
    margin:0 0 14px 0;
    font-size:30px;
    line-height:.98;
    letter-spacing:0;
    text-align:center;
  }

  .steps-desktop-grid .sub{
    margin:0;
    max-width:320px;
    font-size:15px;
    line-height:1.55;
    text-align:center;
  }

  .step-visual{
    margin-top:auto;
    width:100%;
    min-height:170px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .step-flow-icon{
    width:64px;
    height:auto;
    object-fit:contain;
  }

}


/* ================= ICONOS ================= */

.flow-step .step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px; /* 🔥 más aire que antes */
}

.flow-step .step-flow-icon {
  width: 120px; /* 🔥 un poco más grande que versión compacta */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
}
@media (max-width: 768px) {

  .flow-step {
    text-align: center;
  }

  .flow-step h2,
  .flow-step .sub,
  .flow-step .step-label {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* ancho controlado para que se vea bien centrado */
  .flow-step h2 {
    max-width: 90%;
  }

  .flow-step .sub {
    max-width: 85%;
  }

  /* icono */
  .flow-step .step-visual {
    justify-content: center;
  }

}
/* =========================================================
   FEATURES (solo header centrado)
   ========================================================= */

#featuresTitle,
#featuresSub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* opcional pero recomendado: limitar ancho */
#featuresTitle {
  max-width: 520px;
  margin-bottom: 12px;
}

#featuresSub {
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0.9;
}
/* =========================================================
   HEADERS DE SECCIÓN (GLOBAL)
   ========================================================= */

.section > h2,
.section > .sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ancho controlado (clave para que se vea premium) */
.section > h2 {
  max-width: 520px;
  margin-bottom: 12px;
}

.section > .sub {
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0.9;
}
/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */

.whatsapp-float {
  position: fixed;
  right: 12px;
  bottom: 100px;

  width: 70px;
  height: 70px;

  background: #c9a86a; /* tu color */
  border-radius: 50%;

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

  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 999;

  opacity: 0.9;
  transition: all 0.2s ease;
}

body.entry-overlay-open .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.modal-open .whatsapp-float{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
body.modal-open .selector-block{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
/* 🔥 control directo del SVG */
.whatsapp-icon {
  width: 40px;
  height: 40px;
  fill: white; /* clave */
}

/* hover sutil */
.whatsapp-float:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}


/* mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 150px;
    right: 5px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
}

/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
  scroll-margin-top: 100px;
}

/* Header */
.faq-section > h2,
.faq-section > .sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-section > h2 {
  max-width: 760px;
  margin-bottom: 14px;
}

.faq-section > .sub {
  max-width: 760px;
  margin-bottom: 36px;
  opacity: 0.9;
  line-height: 1.55;
}

/* Lista */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

/* Item */
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 26, 36, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(15, 26, 36, 0.14);
  box-shadow: 0 8px 22px rgba(15, 26, 36, 0.06);
}

/* Summary */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 56px 22px 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f1a24;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Icono + / - */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: #c9a86a;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

/* Answer */
.faq-answer {
  padding: 0 22px 22px;
  border-top: 1px solid rgba(15, 26, 36, 0.06);
}

.faq-answer p {
  margin: 16px 0 0;
  line-height: 1.65;
  color: #2b1f18;
}

.faq-answer p:first-child {
  margin-top: 18px;
}

/* =========================================================
   FAQ MACHINES
   ========================================================= */

.faq-machines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.faq-machine-card {
  background: #faf7f3;
  border: 1px solid rgba(15, 26, 36, 0.06);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.faq-machine-card img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.faq-machine-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
}

.faq-machine-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6d5b4d;
}

/* =========================================================
   FAQ DRINKS
   ========================================================= */

.faq-drinks-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.faq-drinks-grid img {
  width: 100%;
  max-width: 74px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  background: #faf7f3;
  padding: 8px;
  border: 1px solid rgba(15, 26, 36, 0.05);
}

/* =========================================================
   FAQ LINKS O CTA DENTRO DE RESPUESTAS
   ========================================================= */

.faq-answer a {
  color: #0f1a24;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #c9a86a;
}

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

@media (max-width: 768px) {
  .faq-section > h2 {
    max-width: 92%;
    margin-bottom: 12px;
  }

  .faq-section > .sub {
    max-width: 92%;
    margin-bottom: 28px;
  }

  .faq-list {
    max-width: 100%;
    gap: 12px;
  }

  .faq-item summary {
    padding: 18px 48px 18px 18px;
    font-size: 15px;
  }

  .faq-item summary::after {
    right: 16px;
    font-size: 22px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
  }

  .faq-machines-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-machine-card img {
    max-width: 120px;
  }

  .faq-drinks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .faq-drinks-grid img {
    max-width: 68px;
  }
}



/* =========================================================
   TRANSICIÓN STEPS → SIGUIENTE SECCIÓN
   ========================================================= */
@media (min-width:1100px){

  .steps-desktop-grid{
    position:relative;
  }

  /* fade inferior suave */
  .steps-desktop-grid::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:60px;

    background:linear-gradient(
      to bottom,
      rgba(241,235,229,0) 0%,
      rgba(241,235,229,1) 100%
    );

    pointer-events:none;
  }

}
/* =========================================================
   FIX TITULOS DESKTOP - MÁS ANCHO / MENOS SALTOS DE LÍNEA
   ========================================================= */

@media (min-width:1100px){

  /* TITULOS GENERALES */
  .section h2{
    max-width: 820px !important;   /* 🔥 más ancho */
  }


}
.hero-cta-btn{
  appearance:none;
  padding:14px 22px;
  border-radius:14px;

  background:rgba(201,168,106,.6); /* 🔥 transparencia real */
  color:#fff;

  border:none; /* ❌ elimina línea blanca */

  font-size:14px;
  font-weight:600;

  cursor:pointer;
  transition:.25s ease;

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);

  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.hero-cta-btn:hover{
  background:rgba(255,255,255,.22); /* se ilumina */
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(0,0,0,.3);
}

/* =========================================================
   ANIMACIONES TIPO APPLE / STRIPE
   ========================================================= */

@keyframes overlayFadeIn{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

@keyframes overlayCardIn{
  from{
    opacity:0;
    transform:translateY(10px) scale(.985);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@keyframes overlayItemIn{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce){
  .entry-overlay,
  .entry-card,
  .entry-brand,
  .entry-title,
  .entry-sub,
  .entry-options,
  .entry-option{
    animation:none !important;
    transition:none !important;
  }
}

/* =========================================================
   SPLASH LOADER INICIAL
   ========================================================= */

.splash-loader{
  position:fixed;
  inset:0;
  z-index:3000;

  width:100vw;
  height:100vh;
  min-height:100svh;

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

  background:#f6f2ed;

  opacity:1;
  visibility:visible;
  pointer-events:auto;
  touch-action:none;
  overscroll-behavior:none;

  transition:
    opacity .55s ease,
    visibility .55s ease;
}

.splash-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.splash-content{
  width:100%;
  min-height:100svh;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  padding:32px 24px;
  text-align:center;

  animation:splashContentIn .7s cubic-bezier(.22,1,.36,1) both;
}

.splash-logo{
  width:min(78vw, 420px);
  height:auto;
  display:block;

  filter:drop-shadow(0 14px 34px rgba(43,31,24,.12));

  animation:splashLogoBreath 2.2s ease-in-out infinite;
}

.splash-text{
  position:relative;

  margin:26px 0 0;

  color:#2b1f18;
  font-size:clamp(22px, 5vw, 34px);
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.02em;

  animation:splashTextIn .75s cubic-bezier(.22,1,.36,1) .12s both;
}

/* Línea de carga sutil */
.splash-text::after{
  content:"";
  display:block;

  width:120px;
  height:4px;

  margin:22px auto 0;

  background:linear-gradient(
    90deg,
    rgba(43,31,24,.10),
    rgba(201,168,106,.95),
    rgba(43,31,24,.10)
  );

  border-radius:999px;

  background-size:220% 100%;
  animation:splashLoadingBar 1.25s ease-in-out infinite;
}

/* Puntitos suaves */
.splash-content::after{
  content:"";
  display:block;

  width:54px;
  height:10px;

  margin-top:18px;

  background:
    radial-gradient(circle, rgba(43,31,24,.65) 35%, transparent 38%) 0 50% / 10px 10px,
    radial-gradient(circle, rgba(43,31,24,.38) 35%, transparent 38%) 22px 50% / 10px 10px,
    radial-gradient(circle, rgba(43,31,24,.20) 35%, transparent 38%) 44px 50% / 10px 10px;

  background-repeat:no-repeat;

  animation:splashDots 1.1s ease-in-out infinite;
}

/* Desktop */
@media (min-width:1100px){
  .splash-logo{
    width:min(36vw, 520px);
  }

  .splash-text{
    margin-top:30px;
    font-size:38px;
  }

  .splash-text::after{
    width:150px;
    height:4px;
    margin-top:24px;
  }
}

/* Animaciones */
@keyframes splashContentIn{
  from{
    opacity:0;
    transform:translateY(12px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes splashTextIn{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes splashLogoBreath{
  0%,100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.025);
  }
}

@keyframes splashLoadingBar{
  0%{
    background-position:100% 0;
    opacity:.55;
  }
  50%{
    opacity:1;
  }
  100%{
    background-position:-100% 0;
    opacity:.55;
  }
}

@keyframes splashDots{
  0%{
    opacity:.35;
    transform:translateY(0);
  }
  50%{
    opacity:1;
    transform:translateY(-2px);
  }
  100%{
    opacity:.35;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion:reduce){
  .splash-content,
  .splash-logo,
  .splash-text,
  .splash-text::after,
  .splash-content::after{
    animation:none !important;
  }
}
/* =========================================================
   TOPBAR FIJO / SELECTOR ESPACIO-EVENTO
   ========================================================= */

.app{
  padding-top:46px;
}

.selector-block{
  position:fixed;
  top:0;
  left:50%;
  z-index:1100;

  width:100%;
  max-width:var(--maxw-mobile);
  min-height:46px;
  padding:5px 16px;

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

  background:rgba(246,242,237,.96);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);

  border-bottom:1px solid rgba(43,31,24,.08);
  box-shadow:0 6px 18px rgba(0,0,0,.04);

  transform:translateX(-50%);
}

.toggle{
  max-width:430px;
  margin:0 auto;
}

/* Desktop */
@media (min-width:1100px){
  .app{
    padding-top:54px;
  }

  .selector-block{
    left:0;
    transform:none;
    max-width:none;
    min-height:54px;
    padding:8px 24px;
  }

  .toggle{
    max-width:520px;
  }
}