/* =========================================================
   Ever Clean — Design tokens
========================================================= */
:root{
  --c-ink: #16212B;
  --c-ink-soft: #4E5C66;
  --c-ink-faint: #8B98A1;

  --c-blue: #0B6FB0;
  --c-blue-dark: #084C79;
  --c-blue-tint: #E9F3FB;

  --c-green: #5FA149;
  --c-green-dark: #3E7A30;
  --c-green-tint: #EFF7E9;

  --c-gold: #C99A3E;
  --c-gold-dark: #9C7627;
  --c-gold-tint: #FBF3E1;

  --c-cream: #FBF9F4;
  --c-white: #FFFFFF;
  --c-border: #E7E1D6;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;

  --shadow-sm: 0 4px 16px rgba(22, 33, 43, 0.06);
  --shadow-md: 0 16px 36px rgba(22, 33, 43, 0.10);
  --shadow-lg: 0 28px 64px rgba(22, 33, 43, 0.16);

  --max-width: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink-soft);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
svg{ display: block; }

h1, h2, h3{
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--c-ink);
  font-weight: 600;
}

h1{ font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; }
h2{ font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3{ font-size: 1.2rem; font-weight: 600; }

p{ line-height: 1.7; margin: 0 0 1em; }

a{ color: var(--c-blue); text-decoration: none; }

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

.section{ padding: 56px 0; }
.section-alt{ background: var(--c-blue-tint); }

.section-title{ text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-sub{ text-align: center; max-width: 620px; margin: 0 auto 36px; font-size: 1.02rem; }

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

@media (min-width: 700px){
  .section{ padding: 76px 0; }
  .section-sub{ margin-bottom: 44px; }
}
@media (min-width: 1000px){
  .section{ padding: 96px 0; }
  .section-sub{ margin-bottom: 48px; font-size: 1.06rem; }
}

/* =========================================================
   Buttons
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s ease, background-position .4s ease;
  text-decoration: none;
}
.btn-primary{
  background-image: linear-gradient(120deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--c-white);
  box-shadow: 0 14px 26px rgba(11, 111, 176, 0.28);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 111, 176, 0.36);
  background-position: 100% 50%;
}
.btn:active{ transform: translateY(0) scale(0.97); }
.btn-large{ padding: 18px 38px; font-size: 1.08rem; }
.btn-ghost{
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-ink);
}
.btn-ghost:hover{ border-color: var(--c-blue); color: var(--c-blue); }

.link-btn{
  background: none;
  border: none;
  padding: 0;
  color: var(--c-blue);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

/* =========================================================
   Header
========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled{ box-shadow: 0 4px 20px rgba(22,33,43,0.08); background: rgba(251, 249, 244, 0.97); }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  transition: height .3s ease;
}
.site-header.scrolled .header-inner{ height: 66px; }

.brand{ display: flex; align-items: center; gap: 10px; }
.brand-logo{ width: 40px; height: 40px; object-fit: contain; transition: width .3s ease, height .3s ease; }
.site-header.scrolled .brand-logo{ width: 34px; height: 34px; }
.brand-name{ font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--c-ink); }

.main-nav{ display: none; gap: 32px; }
.main-nav a{ color: var(--c-ink); font-weight: 500; font-size: 0.94rem; position: relative; padding-bottom: 4px; transition: color .2s ease; }
.main-nav a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--c-blue);
  transition: right .25s ease;
}
.main-nav a:hover{ color: var(--c-blue); }
.main-nav a:hover::after{ right: 0; }

.btn-nav-cta{ display: none; padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display: block; height: 2px; width: 100%; background: var(--c-ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  transition: max-height .35s ease;
}
.mobile-nav.is-open{ max-height: 400px; }
.mobile-nav a, .mobile-nav .btn{ margin: 8px 24px; }
.mobile-nav a{ color: var(--c-ink); font-weight: 500; padding: 8px 0; }

@media (min-width: 900px){
  .main-nav{ display: flex; }
  .btn-nav-cta{ display: inline-flex; }
  .nav-toggle{ display: none; }
  .mobile-nav{ display: none; }
}

/* =========================================================
   Hero — photo leads on narrow screens, framed photo sits
   beside the copy from ~760px up.
========================================================= */
.hero{ position: relative; background: var(--c-cream); overflow: hidden; }
.hero::before{
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-blue-tint) 0%, rgba(233,243,251,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero::after{
  content: '';
  position: absolute;
  bottom: -140px; left: -140px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-green-tint) 0%, rgba(239,247,233,0) 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-top{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 48px;
}

.hero-photo{ order: 1; position: relative; }
.hero-inner{ order: 2; text-align: left; max-width: 560px; }
.hero-inner h1{ color: var(--c-ink); margin-bottom: 0; }
.hero-accent{
  font-style: italic;
  color: var(--c-green-dark);
}

.hero-divider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 24px;
  max-width: 220px;
}
.hero-divider span{ flex: 1; height: 1px; background: var(--c-border); }
.hero-divider .divider-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

.hero-sub{ font-size: 1.08rem; margin: 0 0 30px; color: var(--c-ink-soft); }
.hero-microcopy{ margin-top: 16px; font-size: 0.88rem; color: var(--c-ink-faint); }

.hero-photo-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}
.hero-photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transform: scale(1.02);
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom{
  from{ transform: scale(1.02); }
  to{ transform: scale(1.09); }
}

.hero-badge{
  position: absolute;
  z-index: 2;
  top: -16px;
  right: 14px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  box-shadow: var(--shadow-lg);
  line-height: 1.55;
  border: 3px solid var(--c-white);
  animation: badgeFloat 4.5s ease-in-out infinite;
}

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

@media (min-width: 480px){
  .hero-badge{ width: 96px; height: 96px; font-size: 0.64rem; top: -18px; right: 20px; }
}

@media (min-width: 760px){
  .hero-top{
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero-photo{ order: 2; }
  .hero-inner{ order: 1; }
}

@media (min-width: 1000px){
  .hero-top{ gap: 56px; padding-top: 80px; padding-bottom: 80px; }
  .hero-badge{ width: 112px; height: 112px; font-size: 0.72rem; top: -22px; right: -18px; }
}

@media (prefers-reduced-motion: reduce){
  .hero-photo-frame img{ animation: none; transform: scale(1.01); }
  .hero-badge{ animation: none; }
}

/* =========================================================
   Trust bar — inline SVG icons, sized to text, never the
   platform's own emoji glyphs (which render huge on some
   systems regardless of font-size).
========================================================= */
.trust-bar{ position: relative; z-index: 1; background: var(--c-white); border-top: 1px solid var(--c-border); }
.trust-bar-inner{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
  padding: 26px 24px;
  text-align: center;
}
.trust-item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-ink);
  transition: transform .2s ease;
}
.trust-item:hover{ transform: translateY(-3px); }
.trust-icon{
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--c-blue);
}
.trust-item:nth-child(2) .trust-icon{ color: var(--c-green-dark); }
.trust-item:nth-child(4) .trust-icon{ color: var(--c-gold-dark); }

@media (min-width: 700px){
  .trust-bar-inner{ grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Services
========================================================= */
.services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px){
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
}

.service-card{
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 111, 176, 0.3);
}
.service-icon{
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--c-blue-tint);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), background .35s ease, color .35s ease;
}
.service-icon svg{ width: 18px; height: 18px; }
.service-card:hover .service-icon{
  transform: scale(1.08) rotate(-4deg);
  background: var(--c-blue);
  color: var(--c-white);
}
.service-card h3{ font-size: 1.08rem; }
.service-card p{ font-size: 0.94rem; }
.service-link{ font-weight: 700; font-size: 0.92rem; display: inline-block; margin-top: 6px; transition: transform .2s ease; }
.service-link:hover{ transform: translateX(4px); }

.services-grid .service-card:nth-child(1){ transition-delay: .04s; }
.services-grid .service-card:nth-child(2){ transition-delay: .1s; }
.services-grid .service-card:nth-child(3){ transition-delay: .16s; }
.services-grid .service-card:nth-child(4){ transition-delay: .22s; }
.services-grid .service-card:nth-child(5){ transition-delay: .28s; }

/* =========================================================
   How it works
========================================================= */
.steps-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 800px){
  .steps-grid{ grid-template-columns: repeat(3, 1fr); }
}
.step-card{ text-align: center; }
.step-number{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-green));
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1.05rem;
  margin: 0 auto 16px;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.step-card:hover .step-number{ transform: scale(1.12); box-shadow: 0 10px 22px rgba(11,111,176,0.32); }
.step-card h3{ font-size: 1.06rem; }
.step-card p{ font-size: 0.94rem; }
.center-cta{ text-align: center; }

.steps-grid .step-card:nth-child(1){ transition-delay: .04s; }
.steps-grid .step-card:nth-child(2){ transition-delay: .14s; }
.steps-grid .step-card:nth-child(3){ transition-delay: .24s; }

/* =========================================================
   The Ever Clean Standard — checklist + draggable
   before/after comparison
========================================================= */
.standard-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 44px;
}
@media (min-width: 860px){
  .standard-grid{ grid-template-columns: 0.8fr 1.2fr; gap: 44px; }
}

.standard-checklist{
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.standard-checklist .eyebrow{
  color: var(--c-green-dark);
  background: var(--c-green-tint);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.standard-checklist h3{ font-size: 1.32rem; margin-bottom: 20px; }
.checklist{ list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li{
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--c-ink);
}
.check-badge{
  flex-shrink: 0;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--c-blue-tint);
  color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.check-badge svg{ width: 13px; height: 13px; }
.checklist li:hover .check-badge{
  background: var(--c-blue);
  color: var(--c-white);
  transform: scale(1.1);
}
.checklist-tagline{
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--c-green-dark);
  font-size: 1.15rem;
  margin: 0;
  padding-top: 18px;
  border-top: 1px dashed var(--c-border);
}

.before-after{ position: relative; }
.ba-hint{
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ink-faint);
}
.ba-hint::before{
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-ink-faint);
  border-top-color: transparent;
}

.ba-frame{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-img-after{ z-index: 0; }
.ba-clip{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  will-change: clip-path;
}
.ba-clip .ba-img-before{ position: absolute; inset: 0; width: 100%; height: 100%; }

.ba-tag{
  position: absolute;
  z-index: 2;
  bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
.ba-tag-before{ left: 14px; background: var(--c-ink); }
.ba-tag-after{ right: 14px; background: var(--c-blue); }

.ba-handle{
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  z-index: 3;
  width: 3px;
  background: var(--c-white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(22,33,43,0.08);
  cursor: ew-resize;
}
.ba-handle-grip{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ba-handle-grip svg{ width: 20px; height: 20px; }
.ba-handle:hover .ba-handle-grip,
.ba-handle:focus-visible .ba-handle-grip{
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.ba-handle:focus-visible{ outline: none; }
.ba-handle:focus-visible .ba-handle-grip{ box-shadow: 0 0 0 4px rgba(11,111,176,0.3), var(--shadow-lg); }

/* =========================================================
   More of our work
========================================================= */
.work-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
}
.work-item{
  margin: 0;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, transform .35s var(--ease);
}
.work-item:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.work-item-photo{ overflow: hidden; }
.work-item-photo img{
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.work-item:hover .work-item-photo img{ transform: scale(1.06); }
.work-item figcaption{
  padding: 15px 20px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-ink);
}

.work-grid .work-item:nth-child(1){ transition-delay: .04s; }
.work-grid .work-item:nth-child(2){ transition-delay: .14s; }

/* =========================================================
   Service area — auto-scrolling marquee
========================================================= */
.area-marquee{
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.area-marquee-track{
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.area-marquee:hover .area-marquee-track{ animation-play-state: paused; }
.area-marquee-group{
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding-right: 12px;
}
.area-marquee-group span{
  background: var(--c-green-tint);
  color: var(--c-green-dark);
  border: 1px solid rgba(95,161,73,0.3);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .area-marquee-track{ animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .area-marquee-group:last-child{ display: none; }
}

.area-note{ text-align: center; }

/* =========================================================
   Reviews
========================================================= */
.reviews-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 800px){
  .reviews-grid{ grid-template-columns: repeat(3, 1fr); }
}
.review-card{
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.review-card::before{
  content: '\201C';
  position: absolute;
  top: -18px; right: 14px;
  font-family: var(--font-heading);
  font-size: 5.5rem;
  color: var(--c-blue-tint);
  z-index: 0;
  line-height: 1;
}
.review-head, .stars, .review-card p{ position: relative; z-index: 1; }
.review-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.review-name{ display: block; font-weight: 700; font-size: 0.92rem; color: var(--c-ink); }
.review-author{ display: block; font-size: 0.78rem; color: var(--c-ink-faint); }
.stars{ color: var(--c-gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.92rem; }
.review-card p{ font-size: 0.95rem; }

/* =========================================================
   Quote Form
========================================================= */
.quote-section{ background: linear-gradient(180deg, var(--c-blue-tint), var(--c-cream) 60%); }

.form-card{
  max-width: 620px;
  margin: 0 auto;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 22px;
  border: 1px solid var(--c-border);
}
@media (min-width: 640px){ .form-card{ padding: 40px; } }

.progress-wrap{ margin-bottom: 26px; }
.progress-bar{ height: 7px; background: var(--c-border); border-radius: 999px; overflow: hidden; }
.progress-fill{
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--c-blue), var(--c-green));
  transition: width .35s ease;
}
.progress-label{ display: block; margin-top: 8px; font-size: 0.82rem; color: var(--c-ink-faint); font-weight: 600; }

.hp-field{ position: absolute; left: -9999px; top: -9999px; }

.form-step{ display: none; }
.form-step.is-active{ display: block; animation: stepIn .35s ease; }
@keyframes stepIn{ from{ opacity: 0; transform: translateX(12px);} to{ opacity: 1; transform: translateX(0);} }

.form-step h3{ font-size: 1.18rem; }
.form-step label{ display: block; font-weight: 600; margin: 18px 0 8px; font-size: 0.9rem; color: var(--c-ink); }
.form-step input, .form-step select{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--c-white);
  color: var(--c-ink);
}
.form-step input:focus, .form-step select:focus{
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(11,111,176,0.15);
}

.choice-group{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.choice-group-vertical{ grid-template-columns: 1fr; }
.choice-btn{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.choice-btn svg{ width: 19px; height: 19px; flex-shrink: 0; color: var(--c-ink-faint); transition: color .18s ease; }
.choice-btn:hover{ border-color: var(--c-blue); transform: translateY(-1px); }
.choice-btn.is-selected{
  border-color: var(--c-blue);
  background: var(--c-blue-tint);
  color: var(--c-blue-dark);
}
.choice-btn.is-selected svg{ color: var(--c-blue); }

.privacy-microcopy{ font-size: 0.8rem; margin-top: 20px; }

.form-success{ text-align: center; padding: 16px 0; }
.success-icon{
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--c-green-tint);
  color: var(--c-green-dark);
  display: flex; align-items: center; justify-content: center;
}
.success-icon svg{ width: 28px; height: 28px; }

.form-error{
  display: none;
  color: #A5402F;
  background: #FBEBE7;
  border: 1px solid #F0C3B8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.88rem;
}
.form-error.is-visible{ display: block; }

.form-nav{ display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav .btn{ flex: 1; }
#btn-back{ visibility: hidden; }
#btn-submit{ display: none; }

/* =========================================================
   Footer
========================================================= */
.site-footer{ background: var(--c-ink); color: #C6D0D6; padding: 48px 0 28px; }
.footer-inner{ text-align: center; }
.footer-brand{ display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img{ border-radius: 8px; }
.footer-brand span{ font-family: var(--font-heading); font-size: 1.12rem; font-weight: 600; color: var(--c-white); }
.footer-links{ display: flex; justify-content: center; gap: 20px; margin: 16px 0; flex-wrap: wrap; }
.footer-links a, .footer-links .link-btn{ color: #C6D0D6; }
.footer-copy{ font-size: 0.8rem; color: #7C8790; margin-top: 20px; }

/* =========================================================
   Modal
========================================================= */
.modal{ position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open{ display: block; }
.modal-backdrop{ position: absolute; inset: 0; background: rgba(22,33,43,0.6); }
.modal-content{
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 8vh auto;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 32px;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-close{
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--c-ink-soft);
}

/* =========================================================
   Scroll reveal
========================================================= */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Interaction transitions — declared after .reveal so cards
   that combine ".reveal" with a hover effect (same element)
   keep both their entrance animation AND a snappy hover speed.
========================================================= */
.service-card.reveal{
  transition: opacity .6s ease, transform .35s var(--ease),
              box-shadow .35s ease, border-color .35s ease;
}
.work-item.reveal{
  transition: opacity .6s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.hero-inner.reveal{
  transition: opacity .8s ease, transform .8s var(--ease);
}
.hero-photo.reveal{
  transition: opacity .8s ease, transform .8s var(--ease);
}
