/* assets/css/main.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--white); color: var(--n900); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-b); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section    { padding: 88px 0; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--n100);
  display: flex; align-items: center;
  padding: 0 40px; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--g700), var(--g500));
  display: flex; align-items: center; justify-content: center;
}
.nav-icon svg { width: 20px; height: 20px; }
.nav-brand { font-family: var(--font-h); font-size: 18px; font-weight: 800; color: var(--n950); }
.nav-brand span { color: var(--g600); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--n500); transition: color .2s; }
.nav-links a:hover { color: var(--g700); }
.nav-phone { font-size: 13px; font-weight: 600; color: var(--n700); display: flex; align-items: center; gap: 5px; }
.nav-cta {
  background: var(--g700); color: #fff;
  font-family: var(--font-h); font-size: 13.5px; font-weight: 700;
  padding: 9px 20px; border-radius: var(--r6);
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--g800); }

/* ── NAV HAMBURGER + MOBILE MENU ── */
.nav-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--n700); border-radius: 2px; transition: all .25s; }
.nav-mobile {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--n100); padding-bottom: 8px; z-index: 99;
}
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile ul a { display: block; padding: 13px 20px; font-size: 15px; font-weight: 500; color: var(--n700); border-bottom: 1px solid var(--n100); }
.nav-mobile.open { display: block; }

/* ── FOOTER ── */
.footer { background: var(--n950); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 32px; height: 32px; background: rgba(255,255,255,.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .2s; }
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-heading { font-family: var(--font-h); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col .footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col .footer-links a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col .footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-contact-list a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact-list a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.2); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── SECTION HEADINGS ── */
.section-label { font-size: 11.5px; font-weight: 700; color: var(--g600); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.section-title { font-family: var(--font-h); font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: var(--n950); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; }
.section-title em { font-style: normal; color: var(--g700); }
.section-sub  { font-size: 16px; color: var(--n500); max-width: 540px; line-height: 1.65; }
.section-header { margin-bottom: 52px; }
.deco-line { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 20px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: #fff;
  font-family: var(--font-h); font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: var(--r8);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s; cursor: pointer;
}
.btn-primary:hover { background: #b8861f; }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  font-family: var(--font-h); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--r8);
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-green {
  background: var(--g700); color: #fff;
  font-family: var(--font-h); font-size: 14.5px; font-weight: 700;
  padding: 13px 24px; border-radius: var(--r8); border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.btn-green:hover { background: var(--g800); }

/* ── HERO (home) ── */
.hero {
  min-height: 92vh;
  background: linear-gradient(140deg, var(--g950) 0%, var(--g900) 40%, var(--g800) 75%, var(--g700) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,181,112,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(46,181,112,.15); border: 1px solid rgba(46,181,112,.3);
  color: var(--g300); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: var(--r999); margin-bottom: 20px;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--g400); border-radius: 50%; }
.hero h1 {
  font-family: var(--font-h); font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--g400); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-family: var(--font-h); font-size: 28px; font-weight: 900; color: #fff; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ── CONFIGURADOR (dark section) ── */
.configurador-section { background: var(--n950); padding: 80px 0; }
.config-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.config-panel {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r16); padding: 32px;
}
.config-step-title { font-size: 11px; font-weight: 700; color: var(--g400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.config-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.config-pill {
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-radius: var(--r8); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); cursor: pointer; transition: all .15s;
}
.config-pill.active { background: var(--g700); color: #fff; border-color: var(--g700); }
.config-pill.gold-pill { border-color: rgba(196,148,48,.4); color: var(--gold-l); }
.config-pill.gold-pill.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.config-result-box {
  background: linear-gradient(135deg, var(--g900), var(--g800));
  border-radius: var(--r16); padding: 28px;
}
.config-result-label { font-size: 12px; color: var(--g300); font-weight: 600; margin-bottom: 6px; }
.config-result-price { font-family: var(--font-h); font-size: 44px; font-weight: 900; color: #fff; letter-spacing: -.02em; margin-bottom: 4px; }
.config-result-note { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 24px; }
.config-included { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.config-included-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.config-included-icon {
  width: 18px; height: 18px; background: rgba(46,181,112,.2);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.btn-config-cta {
  background: var(--gold); color: #fff;
  font-family: var(--font-h); font-size: 14.5px; font-weight: 700;
  padding: 13px 24px; border-radius: var(--r8); border: none;
  cursor: pointer; width: 100%; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: background .2s; text-align: center;
}
.btn-config-cta:hover { background: #b8861f; }

/* ── QUIZ CTA SECTION ── */
.quiz-cta-section {
  background: linear-gradient(135deg, var(--g950) 0%, var(--g900) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.quiz-cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(46,181,112,.12) 0%, transparent 70%);
  pointer-events: none;
}
.quiz-cta-inner { position: relative; z-index: 2; }
.quiz-cta-section h2 {
  font-family: var(--font-h); font-size: clamp(28px, 3vw, 44px);
  font-weight: 900; color: #fff; margin-bottom: 16px; letter-spacing: -.02em;
}
.quiz-cta-section h2 em { font-style: normal; color: var(--g400); }
.quiz-cta-section p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.quiz-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.quiz-steps { display: flex; justify-content: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.quiz-step { text-align: center; }
.quiz-step-num {
  width: 36px; height: 36px; background: rgba(46,181,112,.15);
  border: 1px solid rgba(46,181,112,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 14px; font-weight: 700;
  color: var(--g400); margin: 0 auto 8px;
}
.quiz-step-label { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── SLIDER ── */
.slider-wrap { background: #fff; border-radius: var(--r16); overflow: hidden; box-shadow: var(--sh-lg); }
.slider-header {
  background: var(--g50); padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--g200);
}
.slider-header-dot { width: 8px; height: 8px; border-radius: 50%; }
.slider-title { font-family: var(--font-h); font-size: 13px; font-weight: 700; color: var(--g900); margin-left: 4px; }
.slider-body { position: relative; height: 280px; overflow: hidden; cursor: ew-resize; user-select: none; }
.slider-before {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #8a9b8a 0%, #6b7b6b 100%);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.slider-after {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--g800) 0%, var(--g600) 50%, var(--g400) 100%);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: flex-end;
  clip-path: inset(0 45% 0 0);
}
.slider-handle {
  position: absolute; left: 55%; top: 0; bottom: 0;
  width: 3px; background: #fff; z-index: 10; transform: translateX(-50%);
}
.slider-handle-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: #fff; border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.slider-label {
  margin: 14px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; align-self: flex-end;
}
.slider-label-after { background: rgba(46,181,112,.8); }
.slider-chips { padding: 12px 14px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  footer { padding: 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .config-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-phone, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 20px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── FLOATING CONTACT BUTTONS ── */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s, padding .2s;
  white-space: nowrap;
  overflow: hidden;
  max-width: 56px;
}
.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  max-width: 200px;
  padding: 12px 20px 12px 14px;
}
.float-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.float-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .25s, max-width .25s;
}
.float-btn:hover .float-label {
  opacity: 1;
  max-width: 120px;
}
.float-whatsapp { background: #25D366; }
.float-whatsapp:hover { background: #1ebe5a; }
.float-telegram  { background: #229ED9; }
.float-telegram:hover  { background: #1a8abf; }
@media (max-width: 640px) {
  .float-contact { bottom: 20px; right: 16px; gap: 10px; }
  .float-btn { padding: 11px; max-width: 50px; }
  .float-btn:hover { max-width: 50px; padding: 11px; }
  .float-btn:hover .float-label { opacity: 0; max-width: 0; }
}
