:root {
  --green: #0070c4;
  --green-dark: #062a62;
  --green-light: #dceffc;
  --mint: #eff8fe;
  --cream: #f6faff;
  --ink: #08285d;
  --muted: #607188;
  --line: #d9e6f1;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(6, 42, 98, .13);
}

::selection { background: #b7e1fc; color: var(--green-dark); }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; box-shadow: 0 0 0 6px #062a62; }
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body { background: #fbfdff; }

.site-header {
  height: 90px;
  border-bottom-color: rgba(6, 42, 98, .08);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { height: 78px; box-shadow: 0 10px 35px rgba(6, 42, 98, .08); }
.brand { color: var(--green-dark); letter-spacing: -.02em; }
.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.brand small { color: var(--green); font-size: 7px; letter-spacing: .14em; }
.brand-mark { background: linear-gradient(145deg, var(--green), #24aeff); }
.site-nav { gap: 25px; }
.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transition: right .2s ease;
}
.site-nav > a.active:not(.button)::after,
.site-nav > a:not(.button):hover::after { right: 0; }

.button {
  min-height: 48px;
  border-radius: 11px;
  box-shadow: 0 10px 25px rgba(7, 135, 227, .22);
  background: linear-gradient(135deg, #0070c4, #005ca8);
}
.button-small { min-height: 43px; }
.button-outline { box-shadow: none; background: #fff; border-color: #89bbe0; }
.button-light { background: #fff; color: var(--green-dark); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }

.hero {
  position: relative;
  padding: 76px 0 90px;
  background:
    radial-gradient(circle at 9% 16%, rgba(36, 174, 255, .11) 0 6px, transparent 7px),
    radial-gradient(circle at 12% 22%, rgba(36, 174, 255, .08) 0 12px, transparent 13px),
    linear-gradient(120deg, #fff 0%, #f8fbff 54%, #eaf6ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 120px;
  left: -140px;
  bottom: -70px;
  border: 22px solid rgba(7, 135, 227, .08);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: var(--green-dark); font-size: clamp(49px, 6vw, 78px); }
.hero h1 em { color: var(--green); }
.eyebrow { color: var(--green); }
.hero-visual { isolation: isolate; }
.hero-visual::before { background: linear-gradient(145deg, #d9effd, #f4faff); }
.hero-visual img {
  height: 590px;
  border-radius: 28px 120px 28px 28px;
  object-position: 58% center;
  box-shadow: 0 30px 80px rgba(6, 42, 98, .2);
}
.floating-card { border: 1px solid rgba(7, 135, 227, .14); }
.floating-card .stars { color: #f2a900; }
.trust-row span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 7px 11px; }

.trust-strip { background: var(--green-dark); position: relative; overflow: hidden; }
.trust-strip::after { content: ""; position: absolute; inset: auto -5% -80px; height: 95px; border-radius: 50%; border: 16px solid rgba(36, 174, 255, .12); }
.trust-grid { position: relative; z-index: 1; }
.trust-grid b { color: #47baf9; font-size: 18px; }
.trust-grid span { color: #d7e8f5; }

.service-card, .price-card, .estimate-form { background: rgba(255, 255, 255, .96); }
.service-card { border-color: #dbe8f2; }
.service-card.featured { background: linear-gradient(145deg, var(--green-dark), #084483); box-shadow: 0 20px 45px rgba(6, 42, 98, .2); }
.service-card:hover, .price-card:hover { border-color: #91c9ed; }
.icon { background: var(--mint); }
.soft-section { background: linear-gradient(135deg, #f7fbff, #eef7fd); }
.result-badge { background: var(--green-dark); }
.cta-box { background: linear-gradient(125deg, #062a62, #087fd7); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; width: 260px; height: 260px; border: 35px solid rgba(255, 255, 255, .08); border-radius: 50%; right: -90px; bottom: -170px; }
.cta-box > * { position: relative; z-index: 1; }
.site-footer { background: #041d46; }
.footer-brand .brand-logo { width: 60px; height: 60px; }
.social-links,
.contact-socials { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.social-links a,
.contact-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.contact-socials a { color: var(--green-dark); background: #fff; border-color: #b9d9ef; }
.social-links a:hover,
.contact-socials a:hover { color: #fff; background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.social-icon { display: grid; place-items: center; width: 22px; height: 22px; line-height: 1; }
.social-icon-facebook { font: 800 26px/1 Arial, sans-serif; transform: translateY(3px); }
.social-icon-instagram { position: relative; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 6px; }
.social-icon-instagram::before { content: ""; width: 7px; height: 7px; border: 2px solid currentColor; border-radius: 50%; }
.social-icon-instagram::after { content: ""; position: absolute; top: 3px; right: 3px; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.social-icon-instagram i { display: none; }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 5%, #f2f9ff 100%);
}
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; border: 20px solid rgba(7, 135, 227, .07); width: 360px; height: 100px; }
.page-hero::before { left: -150px; bottom: -45px; transform: rotate(8deg); }
.page-hero::after { right: -160px; top: -45px; transform: rotate(-8deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--green-dark); }
.detail-card img, .image-stack img { box-shadow: 0 24px 55px rgba(6, 42, 98, .12); }
.team-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 26px 92px 26px 26px; }
.team-image .result-badge { right: -18px; }
.price-card.featured { border-color: var(--green); box-shadow: 0 22px 50px rgba(6, 42, 98, .12); }
.note-box small { display: block; margin-top: 10px; color: var(--green-dark); font-size: 12px; line-height: 1.5; }
.filter { min-height: 44px; }

.comparison {
  --position: 50%;
  display: block;
  position: relative;
  isolation: isolate;
  background: #eaf3fa;
  box-shadow: 0 18px 45px rgba(6, 42, 98, .12);
}
.comparison > .before,
.comparison > .after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.comparison > .before { filter: none; }
.comparison > .after { z-index: 1; filter: none; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.gallery-sofa-before { background-image: url("gallery/sofa-before-optimized.jpg"); }
.gallery-sofa-after { background-image: url("gallery/sofa-after-optimized.jpg"); }
.gallery-mattress-before { background-image: url("gallery/mattress-before-optimized.jpg"); }
.gallery-mattress-after { background-image: url("gallery/mattress-after-optimized.jpg"); }
.gallery-armchair-before { background-image: url("gallery/armchair-before-optimized.jpg"); }
.gallery-armchair-after { background-image: url("gallery/armchair-after-optimized.jpg"); }
.gallery-dining-before { background-image: url("gallery/dining-before-optimized.jpg"); }
.gallery-dining-after { background-image: url("gallery/dining-after-optimized.jpg"); }
.comparison > .before span { left: auto; right: 15px; }
.comparison > .after span { left: 15px; }
.comparison::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(6, 42, 98, .12);
  pointer-events: none;
}
.compare-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-handle {
  position: absolute !important;
  z-index: 3;
  left: var(--position) !important;
  top: 50% !important;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0 !important;
  color: var(--green-dark);
  background: #fff !important;
  border: 3px solid var(--green);
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 25px rgba(6, 42, 98, .22);
  pointer-events: none;
}
.compare-range:focus-visible ~ .compare-handle { outline: 4px solid #f2a900; outline-offset: 4px; }
.gallery-item h2 { color: var(--green-dark); }

.accordion button { min-height: 68px; }
.accordion article:has(button[aria-expanded="true"]) { background: linear-gradient(90deg, var(--mint), transparent); }
.upload-zone { min-height: 150px; }
.preview-list { margin: -4px 0 18px; align-items: center; }
.preview-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: min(100%, 220px);
  min-height: 58px;
  padding: 4px 9px 4px 4px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
}
.preview-item img,
.preview-item .file-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 50px;
  object-fit: cover;
  color: var(--green-dark);
  background: var(--green-light);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}
.preview-item > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-count { color: var(--green-dark); font-size: 12px; font-weight: 700; }
.photo-error { color: #9d2727; font-size: 13px; font-weight: 700; }
.field-help { margin: -10px 0 20px; color: var(--muted); font-size: 11px; }
.turnstile-wrap {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-height: 76px;
  margin: 2px 0 20px;
}
.turnstile-wrap p { margin: 0; color: var(--muted); font-size: 11px; }
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.submit-button { min-height: 54px; }
.submit-button:disabled { cursor: wait; opacity: .68; transform: none; }
.form-status { border-radius: 10px; }
.form-status.success { color: #075b3b; background: #e3f6ec; }
.form-status.error { color: #8b2020; background: #fff0f0; }
.footer-grid a, .contact-card a { overflow-wrap: anywhere; }

.mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header, .site-header.scrolled { height: 78px; }
  .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .site-nav { top: 77px; gap: 12px; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero-visual img { height: 520px; }
  .team-image .result-badge { right: 10px; }
}

@media (max-width: 700px) {
  body:not([data-page="Contact"]) { padding-bottom: 82px; }
  .mobile-cta {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 60px;
    padding: 10px 17px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(120deg, #062a62, #0787e3);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(6, 42, 98, .35);
  }
  .mobile-cta span { font-size: 12px; opacity: .82; }
  .mobile-cta b { font-size: 14px; }
  body[data-page="Contact"] .mobile-cta { display: none; }
  .brand span:last-child { font-size: 14px; }
  .brand small { font-size: 6px; letter-spacing: .08em; }
  .hero { padding-top: 48px; }
  .hero-visual img { height: 430px; border-radius: 22px 80px 22px 22px; object-position: 59% center; }
  .hero .lead { font-size: 17px; }
  .trust-row span { width: 100%; }
  .comparison { height: 315px; }
  .turnstile-wrap, .cf-turnstile { width: 100%; max-width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise-in .65s cubic-bezier(.2,.75,.25,1) both; }
  .hero-visual { animation: rise-in .8s .1s cubic-bezier(.2,.75,.25,1) both; }
  .service-card, .price-card, .detail-card img { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .price-card:hover { transform: translateY(-5px); }
  @keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

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