/* ═══════════════════════════════════════════════════════
   Studio 13 — main.css
   Design system + all page styles
   ═══════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
summary { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --bg:        #0d0d0d;
  --bg2:       #141414;
  --surface:   #1a1a1a;
  --surface2:  #222222;
  --border:    #2a2a2a;
  --accent:    #ff3d00;
  --accent2:   #ff6b35;
  --green:     #00c853;
  --blue:      #2979ff;
  --purple:    #7c3aed;
  --text:      #f0f0f0;
  --muted:     #888888;
  --muted2:    #555555;
  --white:     #ffffff;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-accent: 0 8px 32px rgba(255,61,0,.3);

  --header-h: 72px;
  --container: 1200px;
  --gap: 24px;
}

/* ── BASE ───────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(255,61,0,.1);
  border: 1px solid rgba(255,61,0,.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 560px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  border: none;
  outline: none;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #e63500;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

.btn svg { flex-shrink: 0; }

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* safe-area-inset-top: push content below status bar on notched devices */
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all .3s ease;
}
.header.scrolled {
  height: calc(60px + env(safe-area-inset-top, 0px));
  background: rgba(13,13,13,.98);
}

/* Give the container full header height so height:100% resolves correctly
   on .header-inner, enabling proper vertical centering with align-items */
.header > .container {
  height: 100%;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color .2s;
}
.header-phone:hover { color: var(--accent2); }

/* Burger: hidden on desktop, shown via mobile media query */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}
.nav-drawer a:hover { color: var(--text); background: var(--surface); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: linear-gradient(-45deg, #0d0d0d, #1a0800, #0d0d0d, #1f0400);
  background-size: 400% 400%;
  animation: heroGrad 10s ease infinite;
}

@keyframes heroGrad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,61,0,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid;
}
.hero-badge.red {
  background: rgba(255,61,0,.12);
  border-color: rgba(255,61,0,.3);
  color: var(--accent2);
}
.hero-badge.green {
  background: rgba(0,200,83,.1);
  border-color: rgba(0,200,83,.25);
  color: #4cde8a;
}
.hero-badge.pulse { animation: badgePulse 2s ease infinite; }
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,61,0,.35); }
  50%      { box-shadow: 0 0 0 8px rgba(255,61,0,0); }
}

.hero h1 { margin-bottom: 20px; word-break: break-word; overflow-wrap: break-word; }
.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Hero visual (right side) */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .3s;
}
.hero-card:hover { transform: translateX(-4px); }
.hero-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-card-icon.orange { background: rgba(255,61,0,.15); }
.hero-card-icon.green  { background: rgba(0,200,83,.12); }
.hero-card-icon.blue   { background: rgba(41,121,255,.12); }
.hero-card-title { font-weight: 700; font-size: 15px; }
.hero-card-sub   { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hero-card-badge {
  margin-left: auto;
  background: rgba(0,200,83,.12);
  color: #4cde8a;
  border: 1px solid rgba(0,200,83,.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── BENEFITS ───────────────────────────────────────────── */
.benefits {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.benefit-item:last-child { border-right: none; }
.benefit-item:hover { background: var(--surface); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,61,0,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.benefit-icon svg { display: block; }
.benefit-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.benefit-sub { font-size: 13px; color: var(--muted); }

/* ── SERVICES ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  line-height: 0;
}
.service-icon svg { display: block; }

.sc-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  line-height: 0;
}
.sc-icon svg { display: block; }
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.service-link:hover { gap: 8px; }

/* ── CALCULATOR SECTION ─────────────────────────────────── */
#calculator { background: var(--bg2); }

.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 6px;
}
.calc-tab {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r);
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.calc-tab:hover { color: var(--text); }
.calc-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.calc-tab-icon { font-size: 18px; display: inline-flex; align-items: center; line-height: 0; }

.calc-panel { display: none; }
.calc-panel.active { display: block; animation: fadeUp .3s ease; }

/* Calculator shared components */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.calc-progress {
  display: flex;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.calc-progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color .3s;
}
.calc-progress-step .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  transition: all .3s;
}
.calc-progress-step.active { color: var(--text); }
.calc-progress-step.done { color: var(--green); }
.calc-progress-step.active .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.calc-progress-step.done .num { background: var(--green); border-color: var(--green); color: #fff; }
.calc-progress-step.done .num::before { content: '✓'; }
.calc-progress-step.done .lbl { display: none; }
.calc-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 24px;
  background: var(--border);
}

.calc-body { padding: 28px 24px; }
.calc-step { display: none; }
.calc-step.active { display: block; animation: fadeUp .3s ease; }

.calc-step-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.calc-step-title span { color: var(--accent2); }

/* Option cards in calc */
.opt-grid { display: grid; gap: 12px; }
.opt-grid.c2 { grid-template-columns: 1fr 1fr; }
.opt-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid.c4 { grid-template-columns: repeat(4, 1fr); }

.opt-card {
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--r);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  position: relative;
}
.opt-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.opt-card.selected { border-color: var(--accent); background: rgba(255,61,0,.07); }
.opt-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 10px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}
.opt-icon { margin-bottom: 8px; display: flex; justify-content: center; align-items: center; min-height: 40px; }
.opt-label { font-size: 14px; font-weight: 700; line-height: 1.3; }
.opt-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.opt-price { font-size: 13px; color: var(--accent2); margin-top: 6px; font-weight: 700; }

/* Density buttons */
.density-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.density-btn {
  padding: 10px 16px;
  border-radius: var(--r);
  border: 2px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  line-height: 1.3;
}
.density-btn:hover { border-color: var(--accent2); }
.density-btn.selected { border-color: var(--accent); background: rgba(255,61,0,.08); color: var(--accent2); }
.density-note {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: var(--r);
  border-left: 3px solid var(--accent);
  margin-bottom: 4px;
}

/* Quantity */
.qty-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.qty-btn {
  padding: 9px 18px;
  border-radius: var(--r);
  border: 2px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.qty-btn:hover { border-color: var(--accent2); }
.qty-btn.selected { border-color: var(--accent); background: rgba(255,61,0,.08); color: var(--accent2); }

.qty-input-wrap label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.qty-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  outline: none;
  transition: border-color .2s;
}
.qty-input:focus { border-color: var(--accent); }
.qty-input::placeholder { color: var(--muted); font-weight: 400; font-size: 15px; }

/* Dimensions (wide + interior) */
.dim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.dim-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dim-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  outline: none;
  transition: border-color .2s;
}
.dim-input:focus { border-color: var(--accent); }
.dim-input::placeholder { color: var(--muted); font-weight: 400; font-size: 15px; }
.dim-unit { font-size: 12px; color: var(--muted); margin-top: 5px; }

.area-display {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.area-label { font-size: 13px; color: var(--muted); }
.area-val { font-size: 26px; font-weight: 800; }
.area-val small { font-size: 14px; font-weight: 400; color: var(--muted); }
.area-dim { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Presets (wide + interior) */
.preset-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.preset-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.preset-btn {
  padding: 8px 14px;
  border-radius: var(--r);
  border: 2px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.preset-btn:hover { border-color: var(--accent2); }
.preset-btn.selected { border-color: var(--accent); background: rgba(255,61,0,.08); color: var(--accent2); }

/* Discount tiers */
.disc-tiers { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.disc-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r);
  background: var(--surface2);
  font-size: 13px;
  transition: all .3s;
}
.disc-tier .dt-label { flex: 1; color: var(--muted); }
.disc-tier .dt-pct { font-weight: 700; color: var(--green); }
.disc-tier .dt-check { font-size: 14px; opacity: 0; }
.disc-tier.active { background: rgba(0,200,83,.09); border: 1px solid rgba(0,200,83,.25); }
.disc-tier.active .dt-label { color: var(--green); }
.disc-tier.active .dt-check { opacity: 1; }

/* Live preview */
.live-preview {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-label { font-size: 13px; color: var(--muted); }
.lp-info  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lp-price { font-size: 26px; font-weight: 800; color: var(--accent2); }
.lp-price small { font-size: 14px; font-weight: 400; color: var(--muted); }

/* Cart (digital calc) */
.cart-wrap { margin-bottom: 20px; }
.cart-title { font-size: 13px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.cart-items { display: flex; flex-direction: column; gap: 8px; }
.cart-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0,200,83,.06);
  border: 1px solid rgba(0,200,83,.2);
  border-radius: var(--r);
  font-size: 13px;
  animation: fadeUp .3s ease;
}
.ci-info { flex: 1; }
.ci-name   { font-weight: 700; }
.ci-detail { color: var(--muted); font-size: 12px; margin-top: 2px; }
.ci-price  { font-weight: 700; color: var(--green); margin: 0 12px; white-space: nowrap; }
.ci-remove {
  background: none; border: none;
  color: var(--muted); font-size: 20px;
  cursor: pointer; transition: color .2s;
  padding: 2px 6px;
}
.ci-remove:hover { color: var(--accent); }
.add-more-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.add-more-btn:hover { border-color: var(--accent2); color: var(--accent2); }

/* Result */
.result-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  animation: fadeUp .4s ease;
}
.result-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.result-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  background: var(--surface);
  border-radius: var(--r);
  font-size: 14px;
}
.rr-key { color: var(--muted); }
.rr-val { font-weight: 600; }
.result-total {
  background: rgba(255,61,0,.08);
  border: 1px solid rgba(255,61,0,.2);
  border-radius: var(--r);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.rt-label { font-size: 16px; font-weight: 600; }
.rt-price { font-size: 38px; font-weight: 800; color: var(--accent2); }
.rt-price small { font-size: 18px; font-weight: 400; }
.rt-economy { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 4px; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.result-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--r);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* Calc nav buttons */
.calc-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-back {
  padding: 12px 20px;
  border-radius: var(--r);
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-back:hover { border-color: var(--text); color: var(--text); }
.btn-next {
  flex: 1;
  padding: 14px 24px;
  border-radius: var(--r);
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.btn-next:hover:not(:disabled) { background: #e63500; transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-next:disabled { background: var(--border); color: var(--muted2); cursor: not-allowed; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--muted2);
  position: relative;
  overflow: hidden;
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,61,0,.06), transparent 70%);
}
.about-text p { color: var(--muted); margin-bottom: 20px; line-height: 1.8; font-size: 16px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── PROCESS ────────────────────────────────────────────── */
.process { background: var(--bg2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.process-step {
  background: var(--surface);
  padding: 40px 28px;
  position: relative;
  transition: background .2s;
}
.process-step:hover { background: var(--surface2); }
.process-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,61,0,.12);
  line-height: 1;
  margin-bottom: 16px;
}
.process-icon { font-size: 32px; margin-bottom: 16px; display: block; line-height: 0; }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { border-color: var(--accent); background: var(--accent); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .25s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item.hidden { display: none; }
.gallery-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: var(--surface2);
  transition: all .3s;
}
.gallery-item:hover .gallery-thumb { transform: scale(1.08); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-title { font-size: 14px; font-weight: 700; color: #fff; }
.gallery-overlay-cat   { font-size: 12px; color: var(--accent2); margin-top: 2px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content {
  font-size: 80px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews { background: var(--bg2); }
.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track {
  display: flex;
  transition: transform .4s ease;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  min-width: 100%;
}
.review-stars { color: #fbbf24; font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.review-text { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-date { font-size: 13px; color: var(--muted); margin-top: 2px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { border-color: var(--accent); background: var(--accent); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── PAIN POINTS ────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.pain-problem {
  padding-right: 20px;
  border-right: 1px solid var(--border);
}
.pain-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
}
.pain-problem p { font-size: 15px; color: var(--muted); }
.pain-solution p { font-size: 15px; font-weight: 600; }
.pain-solution .pain-label { color: var(--accent2); }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1a0800, #0d0d0d);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,61,0,.1), transparent);
}
.cta-section .container { position: relative; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACTS ───────────────────────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacts-grid > * { min-width: 0; overflow: hidden; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .2s;
}
.contact-item:hover { border-color: var(--accent); }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,61,0,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item-icon svg { display: block; }
.contact-item-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-item-val { font-size: 16px; font-weight: 700; }
.contact-item-val a { color: var(--text); transition: color .2s; }
.contact-item-val a:hover { color: var(--accent2); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-form h3 { font-size: 20px; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.form-input, .form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--green);
  font-weight: 600;
}

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  max-width: 100%;
  width: 100%;
}
.map-wrap iframe,
.map-wrap > div,
.map-wrap > table { display: block; max-width: 100% !important; width: 100% !important; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 16px 0; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all .2s;
  text-decoration: none;
}
.social-btn svg { display: block; flex-shrink: 0; }
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,61,0,.35);
}
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--text); }

/* ── CALCULATOR MODAL ───────────────────────────────────── */
.calc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.82);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.calc-modal.open { display: flex; align-items: flex-start; justify-content: center; }
.calc-modal-panel {
  background: var(--bg);
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.calc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.calc-modal-title {
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
  line-height: 1;
}
.calc-modal-close:hover { background: var(--surface2); }
.calc-modal-body { padding: 20px; flex: 1; }
.calc-step-hint {
  font-size: 13px;
  color: var(--muted);
  margin: -10px 0 18px;
  line-height: 1.5;
}
@media (min-width: 769px) {
  .calc-modal.open { align-items: center; padding: 40px 20px; }
  .calc-modal-panel { min-height: auto; border-radius: var(--r-xl); box-shadow: 0 24px 80px rgba(0,0,0,.6); }
  .calc-modal-body { padding: 24px; }
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .hero-inner          { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual         { display: none; }
  .about-grid          { grid-template-columns: 1fr; gap: 40px; }
  .about-img           { max-width: 500px; }
  .process-grid        { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid       { grid-template-columns: repeat(3, 1fr); }
  .benefit-item:nth-child(3) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  section { padding: 60px 0; }
  .nav            { display: none !important; }
  .header-phone   { display: none !important; }
  .burger         { display: flex !important; }
  .logo           { flex-shrink: 1; min-width: 0; }
  .logo > div     { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }

  .hero-inner     { padding: 28px 0 40px; }
  .hero-content   { min-width: 0; width: 100%; }
  .hero-sub       { font-size: 16px; }
  .hero-stats     { gap: 20px; }
  .hero-actions .btn { flex: 1; }

  .benefits-grid  { grid-template-columns: 1fr 1fr; }
  .benefit-item:nth-child(2n) { border-right: none; }
  .benefit-item:nth-child(3)  { border-right: 1px solid var(--border); }

  .services-grid  { grid-template-columns: 1fr; }

  .calc-tabs      { flex-direction: column; }
  .calc-tab       { justify-content: flex-start; }
  .opt-grid.c4    { grid-template-columns: 1fr 1fr; }
  .opt-grid.c3    { grid-template-columns: 1fr 1fr; }
  .dim-grid       { grid-template-columns: 1fr; }
  .result-total   { flex-direction: column; align-items: flex-start; gap: 8px; }
  .calc-body      { padding-left: 12px; padding-right: 12px; }
  .result-card    { padding: 16px; }
  .result-actions .btn-whatsapp { flex: 1 1 100%; min-width: 0; padding-left: 16px; padding-right: 16px; }

  .pain-grid      { grid-template-columns: 1fr; }
  .pain-card      { grid-template-columns: 1fr; }
  .pain-problem   { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 16px; }

  .contacts-grid  { grid-template-columns: 1fr; }
  .contact-form   { padding: 20px; }
  .map-wrap       { max-width: 100%; overflow: hidden; }

  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }

  .process-grid   { grid-template-columns: 1fr; }

  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .cta-actions    { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .benefits-grid  { grid-template-columns: 1fr; }
  .benefit-item   { border-right: none; border-bottom: 1px solid var(--border); }
  .benefit-item:last-child { border-bottom: none; }
  .about-stats    { grid-template-columns: 1fr 1fr; }
  .opt-grid.c2    { grid-template-columns: 1fr; }
  .opt-grid.c3    { grid-template-columns: 1fr; }
  .calc-progress-step .lbl { display: none; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section { padding: 80px 0; }

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] { border-color: var(--accent); }

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--fg);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus { outline: none; }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}

.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.faq-answer p { margin: 0; }
