/* =========================================================
   MELIDA'S CLEANING — PRO LAYOUT (100vh FIT + LIQUID GLASS)
   Goal:
   - The whole app fits the viewport height (desktop)
   - Only the CENTER column scrolls (desktop)
   - Mobile becomes a simple single-column page scroll
   - Premium “liquid-glass” look + soft gradient background
   - Sticky form header (no jump), safe-area aware
========================================================= */

/* ---------- Tokens ---------- */
:root{
  --ink:#0f2a33;
  --ink-strong:#053c48;
  --muted:#6c7b86;
  --estimator-site-nav-offset: 146px;

  --accent:#2bc4e3;
  --accent-2:#1fb1d1;

  --card:#ffffff;
  --line:#e7eef2;

  --radius:22px;
  --radius-lg:26px;

  --shadow-sm:0 6px 18px rgba(8,36,48,.06);
  --shadow-md:0 14px 36px rgba(8,36,48,.08);
  --shadow-lg:0 26px 68px rgba(8,36,48,.12);

  --side-w:360px;
  --gutter:16px;
  --field-h:44px;

  --ring:0 0 0 3px rgba(43,196,227,.20);
}

/* ---------- Base ---------- */
*,
*::before,
*::after{ box-sizing:border-box; }
html,body{ height:100%; margin:0; }

body{
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(43,196,227,.25), transparent 60%),
    radial-gradient(1000px 700px at 90% 80%, rgba(31,177,209,.18), transparent 55%),
    linear-gradient(180deg,#e8f8ff,#dff2fb 45%,#cfeaf4 100%);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body.estimator-page--site-nav .mobile-nav,
body.estimator-page--site-nav .mobile-nav-toggle{
  display:none !important;
}

/* soft bottom fade for readability */
body::after{ display:none; }

/* =========================================================
   DESKTOP LAYOUT — 100dvh frame
========================================================= */
.viewport{
  display:grid;
  grid-template-columns: 1fr var(--side-w);
  gap:24px;
  padding:24px;
  height:100dvh;                 /* ✅ the whole app fits viewport height */
  max-height:100dvh;
  overflow:hidden;               /* stop page scroll; center will scroll */
}

@media (min-width: 992px){
  body.estimator-page--site-nav .viewport{
    margin-top: var(--estimator-site-nav-offset);
    height: calc(100dvh - var(--estimator-site-nav-offset));
    max-height: calc(100dvh - var(--estimator-site-nav-offset));
  }

  body.estimator-page--site-nav .center{
    padding-top: 18px;
  }

  body.estimator-page--site-nav .home-btn{
    display:none;
  }
}

/* ---------- RIGHT: fixed info (no page scroll) ---------- */
.side{
  position:relative;
  height:100%;
  border-radius:24px;
  padding:18px;
  border:1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.68)),
    radial-gradient(90% 60% at 50% 0%, rgba(235,248,252,.55), transparent 70%);
  backdrop-filter:saturate(130%) blur(14px);
  -webkit-backdrop-filter:saturate(130%) blur(14px);
  box-shadow:var(--shadow-md);
  overflow:hidden;               /* keep this column static */
}

/* little inner scroll only if content truly overflows */
.side .card-list{
  height:100%;
  overflow:auto;
  padding-right:6px;
  -webkit-overflow-scrolling:touch;
}

/* cards inside the sidebar */
.card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 18px;
  background:#ffffffd9;
  box-shadow:var(--shadow-sm);
}
.card + .card{ margin-top:14px; }

.info h3{ margin:0 0 8px; font-size:18px; color:var(--ink-strong); }
.info p{ margin:0; color:#27424c; }
.info ul{ margin:8px 0 0 18px; padding:0; }
.info li{ margin:6px 0; color:#1f3640; }

/* ---------- CENTER: the only scrollable column ---------- */
.center{
  min-width:0;                   /* prevent overflow */
  height:100%;
  overflow:auto;                 /* ✅ only this column scrolls */
  -webkit-overflow-scrolling:touch;
  padding: 8px 2px 12px;         /* small gutters so header can stick */
  scroll-behavior:smooth;
}

/* ---------- Form Card (Liquid-glass) ---------- */
.form-card{
  max-width:760px;
  margin:0 auto;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.66)),
    radial-gradient(100% 60% at 50% 0%, rgba(235,248,252,.55), transparent 70%),
    #fff;
  backdrop-filter:saturate(130%) blur(10px);
  -webkit-backdrop-filter:saturate(130%) blur(10px);
  box-shadow:var(--shadow-md);
  padding: 16px 18px 18px;
  position:relative;
}

/* ---------- Sticky header inside scroll ---------- */
.header{
  position:sticky;
  top:max(8px, env(safe-area-inset-top));   /* safe-area on iOS */
  z-index:3;
  margin:-6px -4px 16px;
  padding:16px 8px 12px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.92) 60%, rgba(255,255,255,.86));
  border:1px solid color-mix(in srgb, var(--line) 85%, #fff 15%);
  backdrop-filter:saturate(120%) blur(8px);
  -webkit-backdrop-filter:saturate(120%) blur(8px);
  box-shadow:0 6px 20px rgba(8,36,48,.06);
}

.brand-row{
  display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; text-align:center;
}
.logo{
  width:72px;height:72px; object-fit:contain; border-radius:16px;
  background:linear-gradient(180deg,#f2fbfe,#eef9ff);
  border:1px solid var(--line); padding:8px; box-shadow:var(--shadow-sm);
}
.brand-block{ display:flex; flex-direction:column; align-items:flex-start; }
.brand{ margin:0; font-size:22px; font-weight:800; color:var(--ink-strong); letter-spacing:.2px; }
.subtitle{ margin:2px 0 0; font-size:13.5px; color:var(--muted); font-weight:600; }

.price{ text-align:center; margin:10px 0 0; line-height:1.1; }
#priceValue{ font-size:42px; font-weight:900; color:var(--accent); display:block; text-shadow:0 1px 0 rgba(255,255,255,.65); }
.price-note{ color:var(--muted); font-size:12px; }

/* crisp estimate stamp */
.stamp{
  display:inline-block;
  margin-top:10px;
  padding:4px 10px;
  border:2px solid #cf2a2a;
  color:#cf2a2a; background:#fff;
  font-size:11.5px; font-weight:800; letter-spacing:.55px;
  border-radius:8px; box-shadow:0 2px 0 rgba(207,42,42,.1);
}

/* ---------- Form block ---------- */
.wrapform{
  border:1px solid color-mix(in srgb, var(--line) 85%, #fff 15%);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.82)),
    radial-gradient(100% 55% at 50% 0%, rgba(235,248,252,.50), transparent 70%);
  box-shadow:var(--shadow-sm);
  padding:12px 10px 14px;
}

.form{ display:grid; grid-template-columns:1fr; gap:12px; }
.form label{ font-weight:700; font-size:14px; color:var(--ink); }

.form select,
.form input[type="number"]{
  width:100%; height:var(--field-h);
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:14px;
  background:linear-gradient(180deg,#fbfeff,#f8fdff);
  outline:none;
  transition:border .18s ease, box-shadow .18s ease, transform .06s ease;
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset;
}
.form select:focus,
.form input[type="number"]:focus{ border-color:#cbeff6; box-shadow:var(--ring); }

.grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }

/* toggle */
.toggle{ display:flex; align-items:center; justify-content:space-between; margin:6px 0 8px; }
.toggle input[type="checkbox"]{
  width:50px; height:26px; appearance:none; cursor:pointer; border-radius:26px;
  background:linear-gradient(180deg,#e6f2f6,#dbe9ee);
  border:1px solid rgba(8,36,48,.06);
  box-shadow:inset 0 1px 3px rgba(8,36,48,.06);
  position:relative; transition:background .18s ease;
}
.toggle input[type="checkbox"]::after{
  content:""; position:absolute; top:2px; left:2px; width:22px; height:22px; border-radius:50%;
  background:linear-gradient(180deg,#fff,#f5fbff); box-shadow:0 2px 6px rgba(0,0,0,.15);
  transition:transform .18s ease;
}
.toggle input[type="checkbox"]:checked{ background:linear-gradient(180deg,var(--accent),var(--accent-2)); }
.toggle input[type="checkbox"]:checked::after{ transform:translateX(24px); }

/* buttons */
.btn{
  display:inline-block; padding:12px 16px; border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#f4fdff,#eefbff);
  color:#0f5563; font-weight:800; cursor:pointer;
  transition:transform .12s ease, background .18s ease, box-shadow .18s ease;
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset;
}
.btn:hover{ transform:translateY(-1px); }
.btn--primary{
  width:100%; border:none; color:#fff;
  background:
    radial-gradient(120% 120% at 50% -20%, rgba(255,255,255,.25), transparent 30%),
    linear-gradient(180deg,var(--accent),var(--accent-2));
  box-shadow:0 8px 20px rgba(31,177,209,.28);
}
.btn--primary:hover{
  background:linear-gradient(180deg,var(--accent-2),var(--accent));
  box-shadow:0 10px 26px rgba(31,177,209,.32);
}

.btn--secondary{
  width:100%;
  color:#0f5563;
  background:linear-gradient(180deg,#ffffff,#ecf9fd);
  border:1px solid rgba(15, 85, 99, .12);
  box-shadow:0 8px 20px rgba(8,36,48,.08);
}

.btn--secondary:hover{
  background:linear-gradient(180deg,#f8fdff,#e6f7fc);
}

.btn[disabled]{
  opacity:.65;
  cursor:not-allowed;
  transform:none !important;
}

.estimator-actions{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.35fr);
  gap:12px;
  align-items:stretch;
}

.estimator-actions--review{
  grid-template-columns:1fr;
}

.estimator-review-banner,
.estimator-readonly-note{
  margin:0 0 12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(10, 107, 124, .12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(241,250,252,.92)),
    radial-gradient(circle at top right, rgba(43,196,227,.10), transparent 42%);
  color:#215161;
  font-size:13px;
  line-height:1.58;
}

.estimator-review-banner{
  box-shadow:0 10px 22px rgba(10, 54, 83, .06);
}

.estimator-review-banner--error{
  border-color:rgba(197, 53, 53, .18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,244,244,.94)),
    radial-gradient(circle at top right, rgba(207,42,42,.08), transparent 42%);
  color:#8c2727;
}

.estimator-readonly-note{
  margin-bottom:2px;
  border-style:dashed;
  color:#34606c;
}

.estimator-discount-status{
  display:grid;
  gap:6px;
  margin:12px 0 2px;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid rgba(10, 107, 124, .10);
  background:linear-gradient(180deg, rgba(248,252,253,.95), rgba(240,249,251,.92));
  color:#2f5560;
  font-size:13px;
  line-height:1.58;
}

.estimator-discount-status strong{
  color:#0d4556;
  font-size:13px;
  font-weight:800;
}

.estimator-discount-status--available{
  border-color:rgba(15, 109, 128, .12);
  background:
    linear-gradient(180deg, rgba(249,253,255,.95), rgba(240,249,251,.92)),
    radial-gradient(circle at top right, rgba(43,196,227,.08), transparent 40%);
}

.estimator-discount-status--applied{
  border-color:rgba(12, 116, 70, .16);
  background:
    linear-gradient(180deg, rgba(245,253,248,.96), rgba(237,248,241,.94)),
    radial-gradient(circle at top right, rgba(26, 167, 97, .10), transparent 42%);
  color:#245947;
}

.estimator-discount-status--applied strong{
  color:#0d6548;
}

.estimator-form--locked select:disabled,
.estimator-form--locked input:disabled{
  opacity:1;
  color:#27424b;
  background:
    linear-gradient(180deg, rgba(246,251,253,.96), rgba(238,247,250,.94));
  border-color:rgba(136, 178, 191, .34);
  cursor:not-allowed;
}

.estimator-form--locked .toggle input[type="checkbox"]:disabled{
  opacity:.82;
}

.estimate-gate{
  position:fixed;
  inset:0;
  z-index:20000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.estimate-gate.is-active{
  display:flex;
}

.estimate-gate__backdrop{
  position:absolute;
  inset:0;
  background:rgba(9, 23, 35, .28);
  backdrop-filter:blur(18px) saturate(115%);
  -webkit-backdrop-filter:blur(18px) saturate(115%);
}

.estimate-gate__dialog{
  position:relative;
  width:min(100%, 540px);
  border-radius:28px;
  padding:28px 26px;
  border:1px solid rgba(255,255,255,.6);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,253,255,.9)),
    radial-gradient(90% 60% at 50% 0%, rgba(43,196,227,.16), transparent 72%);
  box-shadow:0 34px 84px rgba(8,36,48,.24);
  text-align:left;
}

.estimate-gate__eyebrow{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:rgba(43,196,227,.11);
  color:#0e6d7b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.estimate-gate__dialog h2{
  margin:0 0 10px;
  color:var(--ink-strong);
  font-size:30px;
  line-height:1.05;
}

.estimate-gate__meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:2px 0 14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(10, 101, 114, .08);
  color:#0b6774;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.estimate-gate__message{
  margin:0;
  color:#27424c;
  font-size:15px;
  line-height:1.7;
}

.estimate-gate__message p{
  margin:0 0 10px;
}

.estimate-gate__message p:last-child{
  margin-bottom:0;
}

.estimate-gate__message strong{
  color:var(--ink-strong);
}

.estimate-gate__message a{
  color:#0e6d7b;
  font-weight:800;
  text-decoration:none;
}

.estimate-gate__message a:hover{
  text-decoration:underline;
}

.estimate-gate__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.estimate-gate__actions .btn{
  min-width:180px;
  text-align:center;
  text-decoration:none;
}

/* Stripe card (glass) */
.payment-card{
  padding:16px; border-radius:16px; border:1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.74)),
    radial-gradient(90% 60% at 50% 0%, rgba(235,248,252,.55), transparent 70%);
  backdrop-filter:saturate(130%) blur(10px);
  -webkit-backdrop-filter:saturate(130%) blur(10px);
  box-shadow:var(--shadow-sm);
}
#payment-element{ margin:12px 0 16px; }
#payBtn[disabled]{ opacity:.6; cursor:not-allowed; }
/*======================== CODIGO DE DESCUENTOS*/
/* ===== Discount UI (input + button + message) ===== */

/* ===== Discount Block (lighter than primary CTA) ===== */
.discount-box {
  --c-bg: #ffffff;
  --c-text: #1d2b2d;
  --c-muted: #7a8a8f;
  --c-border: #b9cfd5;
  --c-border-focus: #e74c3c;   /* red focus (dotted) */
  --c-btn: #1aa7c3;            /* toned down vs Book Now */
  --c-btn-2: #2bc4e3;
  --c-success: #0a7a4b;
  --c-error: #b00020;

  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 6px 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.discount-box input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--c-text);
  background: var(--c-bg);
  border: 2px dotted var(--c-border);
  border-radius: 10px;
  text-transform: uppercase;           /* always UPPERCASE */
  letter-spacing: .6px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.discount-box input::placeholder { color: #8ca2a8; }
.discount-box input:focus {
  border-color: var(--c-border-focus);
  outline: 2px dotted var(--c-border-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(231,76,60,.12);
}

.discount-box button {
  height: 42px;                         /* smaller than Book Now */
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--c-btn-2), var(--c-btn));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(43,196,227,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.discount-box button:hover { filter: brightness(1.02); }
.discount-box button:active { transform: translateY(1px); }
.discount-box button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* Button busy state: subtle top progress + shimmer on label */
.discount-box button.is-busy .btn-label { opacity: .7; }
.discount-box button .btn-progress {
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-100%);
  animation: discount-progress 1.25s linear infinite;
}
@keyframes discount-progress {
  to { transform: translateX(100%); }
}

/* Small dot loader beside label (appears only when busy) */
.discount-box button .btn-dots {
  width: 14px; height: 14px;
  display: none;
  margin-left: 8px;
  position: relative;
}
.discount-box button.is-busy .btn-dots { display: inline-block; }
.discount-box button .btn-dots::before,
.discount-box button .btn-dots::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  animation: dots-pulse 900ms ease-in-out infinite;
}
.discount-box button .btn-dots::after { animation-delay: .18s; }
@keyframes dots-pulse {
  0%, 100% { opacity: .3; transform: translate(-50%,-50%) scale(.9); }
  50%      { opacity: 1;  transform: translate(-50%,-50%) scale(1.25); }
}

/* Message below, low emphasis */
.discount-msg {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-muted);
  padding: 6px 2px 0;
}
.discount-msg.success { color: var(--c-success) !important; }
.discount-msg.error   { color: var(--c-error)   !important; }

/* Price animation (kept from your previous version, slightly toned) */
.price-anim {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px 12px; width: 100%; margin: 0 auto;
}
.price-anim .old-price { color:#6c8a92; font-weight:700; opacity:0; transform:translateY(6px); transition:opacity .35s, transform .35s; font-size:.85em; position:relative; }
.price-anim.show .old-price { opacity:1; transform:translateY(0); }
.price-anim .old-price.strike::after{ content:""; position:absolute; left:0; right:0; top:50%; height:2px; background:#e74c3c; transform:scaleX(0); transform-origin:left; transition:transform .35s .05s; }
.price-anim.show .old-price.strike::after{ transform:scaleX(1); }
.price-anim .arrow{ opacity:0; transform:translateY(6px); transition:opacity .35s .05s, transform .35s .05s; color:#7aa; font-weight:600; }
.price-anim.show .arrow{ opacity:1; transform:translateY(0); }
.price-anim .new-price{ font-weight:900; color:#2bc4e3; opacity:0; transform:translateY(8px); transition:opacity .35s .15s, transform .35s .15s; }
.price-anim.show .new-price{ opacity:1; transform:translateY(0); }
.price-anim .chip{ display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; background:#eef8f3; color:#0a7a4b; font-size:12px; font-weight:700; white-space:nowrap; opacity:0; transform:translateY(6px); transition:opacity .35s .2s, transform .35s .2s; }
.price-anim.show .chip{ opacity:1; transform:translateY(0); }

@media (max-width: 760px) {
  .discount-box { grid-template-columns: 1fr; }
  .discount-box button { width: 100%; }
}

/* =========================================================
   MOBILE — collapse to one column, normal page scroll
========================================================= */
@media (max-width: 1080px){
  .viewport{
    grid-template-columns: 1fr;
    gap:16px;
    height:auto;              /* let page scroll */
    max-height:none;
    padding:16px;
    overflow:visible;
  }

  .center{
    height:auto;
    overflow:visible;         /* regular page flow */
    padding:0;
  }

  .form-card{
    max-width:680px;
    border-radius:22px;
    padding:16px 14px 18px;
  }

  .side{
    height:auto;
    overflow:visible;
    border-radius:22px;
    padding:16px;
  }

  .grid{ grid-template-columns:1fr; }
  .estimator-actions{ grid-template-columns:1fr; }

  .brand{ font-size:20px; }
  .logo{ width:64px; height:64px; }
  #priceValue{ font-size:34px; }

  /* mobile bottom CTA stays reachable above home bar */
  .btn--primary{
    position:sticky;
    bottom:max(8px, env(safe-area-inset-bottom));
    z-index:4;
  }
}

/* tiny phones */
@media (max-width:380px){
  .brand{ font-size:19px; }
  #priceValue{ font-size:30px; }
}

@media (max-width:640px){
  .estimate-gate{
    padding:16px;
  }

  .estimate-gate__dialog{
    padding:24px 18px;
    border-radius:24px;
  }

  .estimate-gate__dialog h2{
    font-size:25px;
  }

  .estimate-gate__meta{
    margin-bottom:12px;
    font-size:11px;
    letter-spacing:.1em;
  }

  .estimate-gate__actions{
    flex-direction:column;
  }

  .estimate-gate__actions .btn{
    width:100%;
    min-width:0;
  }
}

/* ---------- Estimator page flow overrides ---------- */
.viewport{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
  padding:24px 0 0;
  height:auto;
  max-height:none;
  overflow:visible;
  display:block;
}

.center{
  overflow:visible;
  height:auto;
  padding:0;
}

.form-card{
  max-width:940px;
}

.estimator-support{
  width:min(1180px, calc(100% - 40px));
  margin:28px auto 42px;
}

.estimator-support__inner{
  border-radius:28px;
  padding:24px;
  border:1px solid rgba(255,255,255,.48);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68)),
    radial-gradient(100% 70% at 50% 0%, rgba(235,248,252,.52), transparent 72%);
  box-shadow:var(--shadow-md);
  backdrop-filter:saturate(130%) blur(12px);
  -webkit-backdrop-filter:saturate(130%) blur(12px);
}

.estimator-support__header{
  max-width:760px;
  margin-bottom:20px;
}

.estimator-support__eyebrow{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(43,196,227,.12);
  color:#0e6d7b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.estimator-support__header h2{
  margin:14px 0 10px;
  font-size:34px;
  line-height:1.04;
  color:var(--ink-strong);
}

.estimator-support__header p{
  margin:0;
  color:#33515a;
  line-height:1.7;
}

.estimator-support__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.estimator-support__grid .card{
  height:100%;
}

.estimator-support__grid .card + .card{
  margin-top:0;
}

#melidas-firstclean-promo{
  grid-column:span 2;
}

#melidas-about-card,
#melidas-why-card,
#melidas-areas-card{
  padding-top:20px;
}

.melidas-card-title{
  margin-bottom:10px !important;
}

.melidas-card-text,
.melidas-card-list{
  color:#27424c;
  line-height:1.7;
}

#melidas-firstclean-promo .melidas-firstclean-feedback{
  min-height:18px;
  margin-top:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  color:#ffe082;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease;
}

#melidas-firstclean-promo .melidas-firstclean-feedback.is-visible{
  opacity:1;
  transform:translateY(0);
}

#melidas-firstclean-promo .melidas-firstclean-feedback.is-error{
  color:#ffd4d4;
}

@media (min-width: 992px){
  body.estimator-page--site-nav .viewport{
    margin-top:var(--estimator-site-nav-offset);
  }

  body.estimator-page--site-nav .center{
    padding-top:0;
  }
}

@media (max-width: 1080px){
  .viewport{
    width:min(100%, calc(100% - 32px));
    padding:16px 0 0;
  }

  .form-card{
    max-width:680px;
  }

  .estimator-support{
    width:min(100%, calc(100% - 32px));
    margin:20px auto 30px;
  }

  .estimator-support__inner{
    padding:18px;
  }

  .estimator-support__grid{
    grid-template-columns:1fr;
  }

  #melidas-firstclean-promo{
    grid-column:auto;
  }
}

/* ---------- Runtime layout redesign ---------- */
body.estimator-layout-ready .viewport{
  width:min(1180px, calc(100% - 40px));
  margin:var(--estimator-site-nav-offset) auto 0;
  padding:18px 0 0;
  height:auto;
  max-height:none;
  overflow:visible;
  display:block;
}

body.estimator-layout-ready .center{
  height:auto;
  overflow:visible;
  padding:0;
}

body.estimator-layout-ready .form-card{
  max-width:none;
  width:100%;
  padding:14px;
  border-radius:28px;
}

body.estimator-layout-ready .estimator-main-grid{
  display:grid;
  grid-template-columns:minmax(0, 61%) minmax(340px, 39%);
  gap:14px;
  align-items:stretch;
  min-height:unset;
}

body.estimator-layout-ready .estimator-form-panel,
body.estimator-layout-ready .estimator-summary-panel{
  min-width:0;
}

body.estimator-layout-ready .estimator-form-panel{
  display:flex;
}

body.estimator-layout-ready .estimator-summary-panel{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:stretch;
}

body.estimator-layout-ready .header.estimator-summary-head{
  position:static;
  top:auto;
  margin:0;
  padding:16px 14px 13px;
  border-radius:20px;
}

body.estimator-layout-ready .estimator-summary-brand{
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:12px;
  text-align:left;
}

body.estimator-layout-ready .brand-block{
  align-items:flex-start;
}

body.estimator-layout-ready .brand{
  font-size:clamp(1.35rem, 1.8vw, 1.75rem);
}

body.estimator-layout-ready .subtitle{
  font-size:12px;
}

body.estimator-layout-ready .logo{
  width:56px;
  height:56px;
  padding:6px;
}

body.estimator-layout-ready .price{
  margin-top:12px;
}

body.estimator-layout-ready #priceValue{
  font-size:clamp(2.6rem, 4vw, 3.6rem);
}

body.estimator-layout-ready .price-note{
  font-size:11px;
}

body.estimator-layout-ready .stamp{
  display:block;
  margin-top:10px;
  width:100%;
  text-align:center;
  font-size:10px;
  letter-spacing:.16em;
}

body.estimator-layout-ready .wrapform{
  padding:12px;
}

body.estimator-layout-ready .estimator-form-panel .wrapform{
  flex:1;
}

body.estimator-layout-ready .form.estimator-form{
  display:grid;
  gap:10px;
  width:100%;
  align-content:start;
}

body.estimator-layout-ready .estimator-row{
  display:grid;
  gap:10px;
  align-items:end;
}

body.estimator-layout-ready .estimator-row--triple{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

body.estimator-layout-ready .estimator-row--dual{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

body.estimator-layout-ready .field-group{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

body.estimator-layout-ready .field-group > label,
body.estimator-layout-ready .field-label{
  margin:0;
  font-weight:700;
  font-size:12.5px;
  color:var(--ink);
}

body.estimator-layout-ready .field-group--pet{
  justify-content:space-between;
}

body.estimator-layout-ready .field-group--pet .toggle{
  margin:0;
  padding:0;
  min-height:44px;
  align-items:center;
}

body.estimator-layout-ready .form select,
body.estimator-layout-ready .form input[type="number"]{
  height:40px;
  padding:8px 11px;
  font-size:13px;
}

body.estimator-layout-ready .estimator-summary-tools{
  display:grid;
  gap:12px;
  align-content:start;
  flex:1;
}

body.estimator-layout-ready .discount-box{
  max-width:none;
  margin:0;
}

body.estimator-layout-ready .discount-box input{
  min-width:0;
}

body.estimator-layout-ready .discount-note{
  grid-column:1 / -1;
  margin:0;
  font-size:11px;
  line-height:1.38;
  color:#33515a;
}

body.estimator-layout-ready .estimator-actions{
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.4fr);
  gap:10px;
}

body.estimator-layout-ready .btn{
  padding:10px 14px;
}

@media (max-width: 1180px){
  body.estimator-layout-ready .viewport{
    width:min(100%, calc(100% - 28px));
  }

  body.estimator-layout-ready .estimator-main-grid{
    grid-template-columns:minmax(0, 58%) minmax(320px, 42%);
  }
}

@media (max-width: 980px){
  body.estimator-layout-ready .estimator-main-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }
}

@media (max-width: 760px){
  body.estimator-layout-ready .estimator-row--triple,
  body.estimator-layout-ready .estimator-row--dual{
    grid-template-columns:1fr;
  }

  body.estimator-layout-ready .estimator-actions{
    grid-template-columns:1fr;
  }
}

/* ---------- Utilities ---------- */
:focus-visible{ outline:none; box-shadow:var(--ring); }
.hr{ height:1px; background:linear-gradient(90deg,transparent,#e7eef2,transparent); margin:10px 2px; }

/* Optional: style the three info cards stack on desktop */
.side .card.info + .card.info{ margin-top:12px; }
