/* =========================================================
   MarceWeb · Marcelino García
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --paper: #faf7f2;
  --paper-2: #f3ede4;
  --surface: #ffffff;
  --ink: #16181d;
  --ink-2: #464b55;
  --ink-3: #6c717c;
  --line: #e7e0d5;
  --line-strong: #d6ccbd;

  --accent: #c9461f;
  --accent-hover: #ad3b18;
  --accent-bright: #ec6a3f;
  --accent-soft: #fbe8de;
  --green: #1a7f4b;
  --green-soft: #e2f2e9;

  --dark: #15171c;
  --dark-2: #1e2128;
  --dark-line: #2e323b;
  --on-dark: #f4efe7;
  --on-dark-2: #b9b3a9;

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, .05), 0 2px 8px rgba(22, 24, 29, .04);
  --shadow: 0 2px 6px rgba(22, 24, 29, .06), 0 14px 34px rgba(22, 24, 29, .08);
  --shadow-lg: 0 4px 12px rgba(22, 24, 29, .08), 0 30px 70px rgba(22, 24, 29, .16);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 9vw, 120px); }
.section-white { background: var(--surface); }
.section-tint { background: var(--paper-2); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.title { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.lead {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 70, 31, .25);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--accent); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .96875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px 16px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu-open .nav { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
    color: var(--ink);
  }
  .nav .btn { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -200px;
  width: 820px;
  height: 820px;
  background: radial-gradient(closest-side, rgba(236, 106, 63, .17), transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 24, 29, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.price-chip b {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero h1 .hl {
  color: var(--accent);
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) no-repeat 0 88% / 100% .26em;
}
.hero .lead { max-width: 540px; margin-top: 24px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }

/* --- Maqueta del hero --- */
.hero-visual { position: relative; padding: 30px 0 56px; }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #f3eee6;
  border-bottom: 1px solid var(--line);
}
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e3d9cb; }
.mock-bar > span:nth-child(1) { background: #f0705f; }
.mock-bar > span:nth-child(2) { background: #f4bd50; }
.mock-bar > span:nth-child(3) { background: #61c454; }
.mock-url {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 300px;
  height: 24px;
  margin-left: 10px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  color: var(--ink-3);
  overflow: hidden;
  white-space: nowrap;
}
.mock-url .icon { width: 11px; height: 11px; }

.mock-browser {
  position: relative;
  width: 88%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  container-type: inline-size;
}

.ms { background: #fffdf9; color: #1c1714; font-family: var(--font-body); }
.ms-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 4cqw; }
.ms-brand {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-family: var(--font-display);
  font-size: 3cqw;
  font-weight: 800;
  letter-spacing: -.05cqw;
}
.ms-brand i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: linear-gradient(135deg, #ff8a3d, #c9461f); }
.ms-links { display: flex; gap: 3cqw; margin-left: auto; font-size: 2.1cqw; font-weight: 500; color: #7a7067; }
.ms-btn { padding: 1.2cqw 2.6cqw; border-radius: 99cqw; background: #c9461f; color: #fff; font-size: 2cqw; font-weight: 600; }

.ms-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 36cqw;
  margin: 0 3cqw;
  padding: 4.4cqw;
  overflow: hidden;
  border-radius: 2.4cqw;
  background:
    radial-gradient(circle 20cqw at 80% 70%, rgba(255, 170, 80, .95) 0, rgba(255, 110, 40, .55) 40%, transparent 100%),
    radial-gradient(circle 16cqw at 95% 25%, rgba(255, 120, 50, .35), transparent 100%),
    linear-gradient(120deg, #1d120d 0%, #35190f 45%, #5a2412 100%);
}
.ms-hero::after {
  content: "";
  position: absolute;
  right: 5cqw;
  bottom: 4cqw;
  width: 32cqw;
  height: 12cqw;
  border-radius: 1cqw;
  background: repeating-linear-gradient(90deg, rgba(25, 12, 6, .7) 0 .7cqw, transparent .7cqw 3cqw);
  transform: perspective(40cqw) rotateX(58deg);
}
.ms-hero-txt { position: relative; z-index: 1; max-width: 56%; }
.ms-hero small {
  display: block;
  font-size: 1.7cqw;
  font-weight: 600;
  letter-spacing: .35cqw;
  text-transform: uppercase;
  color: #ffc59c;
}
.ms-hero strong {
  display: block;
  margin: 1.4cqw 0 2.6cqw;
  font-family: var(--font-display);
  font-size: 5.4cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.15cqw;
  color: #fff;
}
.ms-hero-btns { display: flex; gap: 1.4cqw; }
.ms-hero-btns span { padding: 1.2cqw 2.4cqw; border-radius: 99cqw; background: #fff; color: #1c1714; font-size: 1.9cqw; font-weight: 600; }
.ms-hero-btns span + span { background: transparent; color: #fff; box-shadow: inset 0 0 0 .2cqw rgba(255, 255, 255, .5); }

.ms-strip { display: flex; gap: 1.6cqw; padding: 2.6cqw 3cqw 0; }
.ms-strip span {
  display: flex;
  align-items: center;
  gap: .9cqw;
  padding: .9cqw 1.8cqw;
  border-radius: 99cqw;
  background: #f6efe6;
  font-size: 1.75cqw;
  font-weight: 500;
  color: #5d5249;
}
.ms-strip i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #2fa36b; }
.ms-strip span:nth-child(2) i { background: #c9461f; }
.ms-strip span:nth-child(3) i { background: #f2b33d; }

.ms-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 3cqw; }
.ms-dish { overflow: hidden; border: 1px solid #f0e6da; border-radius: 1.8cqw; background: #fff; }
.ms-dish i { display: block; height: 13cqw; }
.ms-dish div {
  display: flex;
  justify-content: space-between;
  gap: 1cqw;
  padding: 1.4cqw 1.6cqw;
  font-size: 1.8cqw;
  font-weight: 600;
  white-space: nowrap;
}
.ms-dish em { font-style: normal; color: #c9461f; }
.d1 i {
  background:
    radial-gradient(ellipse 3.2cqw 2.1cqw at 48% 52%, #9a3a22 0 62%, #6d2414 64% 100%, transparent 100%),
    radial-gradient(circle 5.4cqw at 50% 52%, #f7f2eb 0 78%, #dcd0c1 80% 100%, transparent 100%),
    linear-gradient(135deg, #3b2a20, #251a14);
}
.d2 i {
  background:
    radial-gradient(circle .8cqw at 36% 40%, #5f8f3a 0 100%, transparent 100%),
    radial-gradient(circle .7cqw at 62% 66%, #7aa94a 0 100%, transparent 100%),
    radial-gradient(ellipse 3.4cqw 1.6cqw at 52% 52%, #b2553a 0 66%, #7e3322 68% 100%, transparent 100%),
    radial-gradient(circle 5.4cqw at 50% 52%, #f7f2eb 0 78%, #dcd0c1 80% 100%, transparent 100%),
    linear-gradient(135deg, #4a3527, #2c1f17);
}
.d3 i {
  background:
    radial-gradient(circle 1.4cqw at 40% 44%, #d9412b 0 100%, transparent 100%),
    radial-gradient(circle 1.3cqw at 58% 40%, #e9b52e 0 100%, transparent 100%),
    radial-gradient(circle 1.4cqw at 52% 62%, #4f8a35 0 100%, transparent 100%),
    radial-gradient(circle 1.1cqw at 38% 62%, #6c3f8f 0 100%, transparent 100%),
    radial-gradient(circle 5.4cqw at 50% 52%, #f7f2eb 0 78%, #dcd0c1 80% 100%, transparent 100%),
    linear-gradient(135deg, #3b2a20, #251a14);
}

/* Móvil de la maqueta */
.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 29%;
  container-type: inline-size;
  filter: drop-shadow(0 24px 40px rgba(22, 24, 29, .28));
}
.phone { padding: 3.6cqw; border-radius: 15cqw; background: #15171c; }
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  border-radius: 11.5cqw;
  background: #fffdf9;
  font-family: var(--font-body);
  color: #1c1714;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 3.2cqw;
  left: 50%;
  z-index: 2;
  width: 26cqw;
  height: 7cqw;
  border-radius: 99cqw;
  background: #15171c;
  transform: translateX(-50%);
}
.ps-nav { display: flex; justify-content: space-between; align-items: center; padding: 14cqw 7cqw 5cqw; }
.ps-nav b {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  font-family: var(--font-display);
  font-size: 7.4cqw;
  font-weight: 800;
  letter-spacing: -.2cqw;
}
.ps-nav b i { width: 6.4cqw; height: 6.4cqw; border-radius: 1.8cqw; background: linear-gradient(135deg, #ff8a3d, #c9461f); }
.ps-burger { display: flex; flex-direction: column; gap: 1.4cqw; width: 7cqw; }
.ps-burger span { height: .9cqw; border-radius: 1cqw; background: #1c1714; }
.ps-hero {
  display: flex;
  align-items: flex-end;
  height: 48cqw;
  margin: 0 5cqw;
  padding: 6cqw;
  border-radius: 6cqw;
  background:
    radial-gradient(circle 40cqw at 85% 80%, rgba(255, 170, 80, .9) 0, rgba(255, 110, 40, .5) 40%, transparent 100%),
    linear-gradient(120deg, #1d120d 0%, #35190f 45%, #5a2412 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 8.4cqw;
  font-weight: 800;
  line-height: 1.02;
}
.ps-btn {
  margin: 5cqw 5cqw 3cqw;
  padding: 3.8cqw;
  border-radius: 99cqw;
  background: #c9461f;
  color: #fff;
  text-align: center;
  font-size: 6cqw;
  font-weight: 600;
}
.ps-list { display: flex; flex-direction: column; padding: 0 7cqw; }
.ps-list span {
  display: flex;
  justify-content: space-between;
  padding: 3cqw 0;
  border-bottom: .4cqw dashed #eadfd1;
  font-size: 5.6cqw;
  font-weight: 500;
}
.ps-list em { font-style: normal; font-weight: 700; color: #c9461f; }
.ps-wa {
  position: absolute;
  right: 6cqw;
  bottom: 6cqw;
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 2cqw 5cqw rgba(37, 211, 102, .45);
}

/* Etiquetas flotantes */
.float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-badge .ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
}
.float-badge .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.b1 { top: 0; right: 4%; }
.b2 { bottom: 30%; left: -28px; animation-delay: -2s; }
.b3 { bottom: 10px; left: 10%; animation-delay: -4s; }
.b3 .ic { background: var(--accent-soft); color: var(--accent); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Problemas ---------- */
.problems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.problem-card .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.problem-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.problem-card p { font-size: .96875rem; color: var(--ink-2); }

/* ---------- Antes / Después ---------- */
.ba-window {
  max-width: 1040px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  container-type: inline-size;
  user-select: none;
  -webkit-user-select: none;
}
.ba-layer { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 0 18px rgba(0, 0, 0, .3);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}
.ba-knob .icon { width: 22px; height: 22px; }
.ba-frame:has(.ba-range:focus-visible) .ba-knob {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 48px; }
.ba-range::-moz-range-thumb { width: 2px; height: 48px; border: 0; }

.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 24, 29, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.tag-before { left: 14px; }
.tag-after { top: calc(7cqw + 10px); right: 14px; background: var(--accent); }

.ba-caption { margin-top: 16px; text-align: center; font-size: .875rem; color: var(--ink-3); }

/* Web antigua */
.old {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #efeacd;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.6cqw;
  line-height: 1.3;
}
.old-banner {
  padding: 1.8cqw 2cqw 1.4cqw;
  border-bottom: .4cqw ridge #c9c9c9;
  background: linear-gradient(#2546b8, #0d2a7d);
  text-align: center;
}
.old-banner strong {
  display: block;
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  font-size: 3.6cqw;
  color: #ffef3a;
  text-shadow: .25cqw .25cqw 0 #c00000;
}
.old-banner span { color: #fff; font-size: 1.5cqw; font-style: italic; }
.old-ticker {
  padding: .6cqw 1.5cqw;
  overflow: hidden;
  background: #000;
  color: #ff3b3b;
  font-family: "Courier New", monospace;
  font-size: 1.4cqw;
  font-weight: 700;
  white-space: nowrap;
}
.old-body { display: flex; flex: 1; min-height: 0; }
.old-side {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  width: 21%;
  padding: 1.8cqw 1.4cqw;
  border-right: .3cqw outset #eee;
  background: #c8c8c8;
}
.old-link { color: #0000ee; text-decoration: underline; font-size: 1.6cqw; }
.old-link.visited { color: #551a8b; }
.old-counter { margin-top: auto; text-align: center; font-size: 1.3cqw; }
.old-counter code {
  display: block;
  margin-top: .5cqw;
  padding: .4cqw;
  border: .2cqw inset #888;
  background: #000;
  color: #3f3;
  font-family: "Courier New", monospace;
  font-size: 2cqw;
  letter-spacing: .3cqw;
}
.old-main { display: flex; flex-direction: column; gap: 1.5cqw; flex: 1; padding: 2cqw 2.6cqw; overflow: hidden; }
.old-h { font-size: 2.7cqw; font-weight: 700; color: #b00000; text-decoration: underline; }
.old-p { font-size: 1.7cqw; }
.old-p.small { font-size: 1.35cqw; color: #444; }
.old-row { display: flex; align-items: flex-start; gap: 2cqw; }
.old-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6cqw;
  flex: none;
  width: 24cqw;
  height: 15cqw;
  border: .3cqw inset #999;
  background: #fff;
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 1.3cqw;
}
.old-img i {
  width: 2.4cqw;
  height: 2.4cqw;
  border: .2cqw solid #999;
  color: #d00;
  font-style: normal;
  font-size: 1.8cqw;
  font-weight: 700;
  line-height: 2cqw;
  text-align: center;
}
.old-table { border-collapse: collapse; background: #fff; font-size: 1.5cqw; }
.old-table th { padding: .4cqw 1cqw; border: .2cqw solid #777; background: #ffff99; font-size: 1.4cqw; }
.old-table td { padding: .4cqw 1cqw; border: .2cqw solid #777; }
.old-uc {
  padding: .2cqw .8cqw;
  border: .25cqw dashed #000;
  background: #ffd400;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 1.2cqw;
  font-weight: 700;
}
.old-foot {
  padding: 1cqw;
  border-top: .2cqw solid #aaa;
  background: #d8d3b5;
  color: #333;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 1.25cqw;
}

/* Web nueva */
.new {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fffaf3;
  color: #1d1a16;
  font-family: var(--font-body);
}
.new-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; border-bottom: 1px solid #f0e6d6; }
.new-brand {
  display: flex;
  align-items: center;
  gap: 1cqw;
  font-family: var(--font-display);
  font-size: 2.1cqw;
  font-weight: 800;
  letter-spacing: -.03cqw;
}
.new-brand i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3c47a, #c9832e); }
.new-links { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 1.35cqw; font-weight: 500; color: #6b6257; }
.new-cta { padding: 1cqw 2cqw; border-radius: 99cqw; background: #1a7f4b; color: #fff; font-size: 1.3cqw; font-weight: 600; }

.new-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4cqw; align-items: center; padding: 3.4cqw 4cqw 2.6cqw; }
.new-hero > div > span { display: block; }
.new-eyebrow { font-size: 1.15cqw; font-weight: 700; letter-spacing: .15cqw; text-transform: uppercase; color: #b4651c; }
.new-title {
  margin: 1.4cqw 0 1.6cqw;
  font-family: var(--font-display);
  font-size: 4.5cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.15cqw;
}
.new-text { max-width: 40cqw; font-size: 1.5cqw; line-height: 1.5; color: #5f574c; }
.new-hero .new-btns { display: flex; gap: 1.2cqw; margin-top: 2.4cqw; }
.new-btns span { padding: 1.2cqw 2.2cqw; border-radius: 99cqw; background: #1d1a16; color: #fff; font-size: 1.35cqw; font-weight: 600; }
.new-btns span + span { background: transparent; color: #1d1a16; box-shadow: inset 0 0 0 .15cqw #d9cbb6; }
.new-hero .new-info { display: flex; gap: 1cqw; margin-top: 2.4cqw; }
.new-info span {
  display: flex;
  align-items: center;
  gap: .6cqw;
  padding: .6cqw 1.3cqw;
  border: 1px solid #efe3d1;
  border-radius: 99cqw;
  background: #fff;
  font-size: 1.15cqw;
  color: #5f574c;
}
.new-info i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #2fa36b; }
.new-info span + span i { background: #c9832e; }

.new-photo {
  position: relative;
  height: 31cqw;
  overflow: hidden;
  border-radius: 2.4cqw;
  background:
    radial-gradient(circle 14cqw at 75% 15%, rgba(255, 240, 210, .8), transparent 100%),
    linear-gradient(160deg, #ecc995, #c1813a 60%, #7d4519);
}
.new-photo::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7%;
  height: 16%;
  border-radius: 50%;
  background: linear-gradient(#8a5a2b, #5e3a19);
  box-shadow: 0 1.4cqw 2.4cqw rgba(50, 20, 5, .35);
}
.loaf {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 14%;
  z-index: 1;
  height: 44%;
  border-radius: 50% 50% 44% 44% / 64% 64% 36% 36%;
  background: radial-gradient(ellipse at 40% 30%, #f4c886 0, #d28c40 40%, #9c5420 75%, #6e3712 100%);
  box-shadow: 0 2cqw 3cqw rgba(60, 25, 5, .4), inset 0 -1.4cqw 2cqw rgba(70, 30, 5, .35);
}
.loaf::before {
  content: "";
  position: absolute;
  inset: 20% 18% 30%;
  border-radius: 50%;
  background: repeating-linear-gradient(-60deg, transparent 0 3.2cqw, rgba(255, 236, 200, .8) 3.2cqw 3.8cqw);
}

.new-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 4cqw 3cqw; }
.new-card {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1cqw;
  border: 1px solid #f0e4d2;
  border-radius: 1.6cqw;
  background: #fff;
}
.new-card i { flex: none; width: 7cqw; height: 7cqw; border-radius: 1.1cqw; }
.new-card b { display: block; font-size: 1.35cqw; font-weight: 600; }
.new-card small { font-size: 1.2cqw; font-weight: 700; color: #b4651c; }
.new-card .p1 { background: radial-gradient(ellipse 2.6cqw 1.8cqw at 50% 55%, #c27a35 0 70%, #8a4a1c 100%, transparent 100%), #f2e3cc; }
.new-card .p2 { background: radial-gradient(ellipse 2.8cqw 1.3cqw at 50% 55%, #e7a94f 0 60%, #b9702a 100%, transparent 100%), #f6ead8; }
.new-card .p3 { background: radial-gradient(circle 2.6cqw at 50% 52%, #f1d79a 0 70%, #d9b066 72% 100%, transparent 100%), #efe2cf; }

/* ---------- Precios ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan-name { font-size: 1.4rem; }
.plan-desc { min-height: 3.2em; margin-top: 8px; font-size: .96875rem; color: var(--ink-2); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 26px 0 6px;
  font-family: var(--font-display);
}
.plan-price .amount { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.plan-price .cur { font-size: 1.7rem; font-weight: 700; }
.plan-price .from { margin-right: 6px; font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.plan-terms { font-size: .875rem; color: var(--ink-3); }

.plan-features {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 13px;
  margin: 26px 0 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.plan-features li { display: flex; gap: 12px; font-size: .96875rem; line-height: 1.45; color: var(--ink-2); }
.plan-features .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--green); stroke-width: 2.6; }
.plan-features strong { color: inherit; font-weight: 600; }

.plan-note {
  display: flex;
  gap: 10px;
  margin: -10px 0 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: .875rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.plan-note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.plan-note strong { color: var(--ink); }

.plan-featured {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  translate: 0 -10px;
}
.plan-featured .plan-desc,
.plan-featured .plan-terms,
.plan-featured .plan-features li { color: var(--on-dark-2); }
.plan-featured .plan-features { border-top-color: var(--dark-line); }
.plan-featured .plan-features strong { color: #fff; }
.plan-featured .plan-features .icon { color: var(--accent-bright); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 44px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
}
.pricing-notes li { display: inline-flex; align-items: center; gap: 10px; }
.pricing-notes .icon { color: var(--accent); }

/* Otros servicios */
.extras-head { margin: clamp(72px, 9vw, 104px) 0 32px; }
.subtitle { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.extras-head .lead { margin-top: 10px; }

.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.extra:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.extra-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.extra .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--ink);
}
.extra .price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.extra .price small { margin-left: 2px; font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.extra h4 { font-size: 1.15rem; }
.extra p { font-size: .9375rem; color: var(--ink-2); }
.extra .tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
}
.extra p + .tag { margin-top: 6px; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 66px;
  right: -12px;
  border-top: 2px dashed var(--line-strong);
}
.step h3 { margin-bottom: 8px; font-size: 1.3rem; }
.step p { font-size: .96875rem; color: var(--ink-2); }

/* ---------- Sobre mí ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.profile {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 60%, #8f2f12);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 0 12px 30px rgba(201, 70, 31, .3);
}
.profile h3 { margin-top: 22px; font-size: 1.7rem; }
.profile .role { margin-top: 4px; font-weight: 500; color: var(--ink-3); }

.creds { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.cred {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.cred .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cred b { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.cred span span { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
}

.about-text p:not(.eyebrow) { margin-top: 18px; font-size: 1.0625rem; color: var(--ink-2); }
.about-text .title + p { margin-top: 24px; }
.about-text strong { color: var(--ink); font-weight: 600; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.value { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.value .ic { width: 26px; height: 26px; margin-bottom: 14px; color: var(--accent); }
.value h4 { margin-bottom: 6px; font-size: 1.1rem; }
.about-text .value p { margin-top: 0; font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro .btn { margin-top: 28px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq-item summary .icon { color: var(--ink-3); transition: transform .25s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.answer { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: clip; background: var(--dark); color: var(--on-dark); }
.contact::before {
  content: "";
  position: absolute;
  top: -300px;
  left: -260px;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(236, 106, 63, .18), transparent);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact .eyebrow { color: var(--accent-bright); }
.contact .title { color: #fff; }
.contact .lead { color: var(--on-dark-2); }

.contact-direct { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.direct {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  background: var(--dark-2);
  transition: border-color .2s, transform .2s;
}
.direct:hover { border-color: #4a4f5b; transform: translateX(3px); }
.direct .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
}
.direct-info { border-style: dashed; background: transparent; }
.direct-info:hover { border-color: var(--dark-line); transform: none; }
.direct-info b { font-size: .96875rem; font-weight: 500; line-height: 1.45; }
.direct small { display: block; font-size: .8125rem; color: var(--on-dark-2); }
.direct b { font-size: 1.05rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.direct .arrow { margin-left: auto; color: var(--on-dark-2); }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 6px; font-size: 1.55rem; }
.form-card > p { margin-bottom: 26px; font-size: .9375rem; color: var(--ink-2); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c717c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #9a9ea7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(201, 70, 31, .14);
}
.field.has-error input { border-color: #c62828; }
.form-hint { margin-top: -6px; font-size: .8125rem; color: var(--ink-3); }
.form-hint.full { grid-column: 1 / -1; }

/* Campo trampa anti-spam (invisible para las personas) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-actions .btn { flex: 1 1 200px; }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--green); }
.form-status:empty { display: none; }
.form-status.is-error { color: #c62828; }
.form-status a { text-decoration: underline; overflow-wrap: anywhere; }
.form-note { display: flex; gap: 8px; margin-top: 16px; font-size: .8125rem; color: var(--ink-3); }
.form-note .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- Pie ---------- */
.site-footer { padding: 52px 0 32px; background: #0f1114; color: var(--on-dark-2); font-size: .9375rem; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: var(--accent-bright); }
.footer-tagline { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .875rem; }

/* ---------- Botón flotante "Pide presupuesto" ---------- */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(201, 70, 31, .38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.9);
  transition: opacity .3s, transform .3s, background-color .2s;
}
.float-cta:hover { background: var(--accent-hover); }
.float-cta .icon { width: 26px; height: 26px; }
.float-cta.is-visible,
html:not(.js) .float-cta { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .container { width: min(100% - 48px, var(--container)); }
}

@media (max-width: 1023px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .step::after { display: none; }
}

@media (max-width: 959px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; gap: 32px; }
  .plan-featured { translate: none; }
  .plan-desc { min-height: 0; }
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 580px; margin-inline: auto; }
  .about-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .profile,
  .faq-intro { position: static; }
}

@media (max-width: 599px) {
  :root { --header-h: 64px; }
  .problems-grid,
  .extras-grid,
  .steps,
  .values,
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { flex-direction: column; }
  .hero-visual { padding: 26px 0 44px; }
  .mock-browser { width: 92%; }
  .mock-phone { width: 31%; }
  .float-badge { padding: 6px 10px 6px 6px; font-size: .75rem; gap: 7px; border-radius: 11px; }
  .float-badge .ic { width: 24px; height: 24px; border-radius: 7px; }
  .float-badge .icon { width: 13px; height: 13px; }
  .b1 { right: 0; }
  .b2 { left: -6px; }
  .b3 { left: 4%; bottom: 6px; }
  .ba-tag { top: 8px; padding: 4px 9px; font-size: 10px; }
  .tag-before { left: 8px; }
  .tag-after { top: calc(7cqw + 6px); right: 8px; }
  .ba-knob { width: 38px; height: 38px; }
  .plan { padding: 30px 22px 24px; }
  .profile { padding: 24px; }
  .float-cta { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .direct { gap: 14px; padding: 14px 16px; }
  .direct .arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
