/* ==========================================================================
   JL Handyman - San Francisco
   Light theme, flat colors only. No gradients anywhere in this file.

   Radius system (one documented rule, applied everywhere):
     --r-sm   8px   buttons, inputs, selects, small controls
     --r-md  16px   cards, images, media frames, panels
     --r-pill 999px badges and pills only
   ========================================================================== */

:root{
  /* Palette - flat, no gradients.
     Page rhythm: dark hero, warm sand and white body sections, two red CTA
     bands, dark footer. Three surface families, nothing random. */
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F4EFE7;   /* warm sand, replaces the old cold grey */
  --color-text:        #1C1C1C;
  --color-text-muted:  #5F5F5F;
  --color-accent:      #C1272D;
  --color-accent-dark: #9E1F24;
  --color-accent-soft: #FAEBEA;   /* flat tint of the accent for icon plates */
  --color-border:      #DFD4C4;   /* warm hairline, matched to the sand */
  --color-border-cool: #E7E4E1;   /* hairline for use on pure white */
  --color-success:     #2E7D32;

  /* Dark surfaces: hero veil and footer only */
  --color-ink:         #16181C;
  --color-ink-line:    rgba(255, 255, 255, .14);
  --color-on-ink:      rgba(255, 255, 255, .74);
  /* #C1272D is too dark to read on ink, so accent text on dark uses this */
  --color-accent-on-ink: #F26A66;

  /* Type */
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;

  /* Shadows tinted to the warm background, never pure black */
  --shadow-sm: 0 1px 2px rgba(31, 26, 22, .05);
  --shadow-md: 0 10px 28px rgba(31, 26, 22, .08);
  --shadow-lg: 0 22px 60px rgba(31, 26, 22, .12);

  /* Rhythm */
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Layering scale. The scrim sits BELOW the header so the close button
     inside the header stays reachable while the drawer is open. */
  --z-scrim: 40;
  --z-header: 50;
  --z-drawer: 60;
  --z-fab: 70;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference){ html{ scroll-behavior: smooth; } }

body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, iframe{ display: block; max-width: 100%; }
img{ height: auto; }
ul{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0 0 1rem; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--color-text);
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-weight: 700;
}
h1{ font-size: clamp(2rem, 4.4vw, 3.05rem); }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3{ font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
h4{ font-size: .95rem; font-weight: 600; }

:focus-visible{
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--color-accent); color: #fff;
  padding: .75rem 1.25rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus{ left: 0; }

.container{
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section{ padding-block: var(--section-y); }
.section-alt{ background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.35rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease),
              box-shadow .22s var(--ease);
}
.btn :is(i, svg){ width: 18px; height: 18px; flex: none; }

.btn-accent{ background: var(--color-accent); color: #FFFFFF; }
.btn-accent:hover{ background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent:active{ transform: translateY(0) scale(.985); box-shadow: none; }

.btn-ghost{ background: var(--color-bg); color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover{ border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn-ghost:active{ transform: translateY(0) scale(.985); }

/* Buttons that sit on the red CTA bands */
.btn-on-accent{ background: #FFFFFF; color: var(--color-accent); }
.btn-on-accent:hover{ background: #F7EBEB; color: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-on-accent:active{ transform: translateY(0) scale(.985); box-shadow: none; }

.btn-outline-light{ background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover{ background: #FFFFFF; color: var(--color-accent); border-color: #FFFFFF; transform: translateY(-2px); }
.btn-outline-light:active{ transform: translateY(0) scale(.985); }

.btn-block{ width: 100%; }

/* Loading state */
.btn-spinner{
  display: none; width: 16px; height: 16px; flex: none;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #FFFFFF;
  border-radius: var(--r-pill);
}
.btn.is-loading{ pointer-events: none; opacity: .85; }
.btn.is-loading .btn-spinner{ display: block; animation: spin .7s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ---------- Eyebrow ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: var(--r-pill);
  padding: .45rem .9rem;
  margin: 0 0 1.15rem;
}
.eyebrow :is(i, svg){ width: 15px; height: 15px; }
.eyebrow-plain{
  background: none; padding: 0;
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  margin-bottom: .6rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#header-sentinel{ position: absolute; top: 0; height: 1px; width: 1px; }

.site-header{
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck{
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner{
  display: flex; align-items: center; gap: 1.5rem;
  height: 76px;
  transition: height .25s var(--ease);
}
.site-header.is-stuck .header-inner{ height: 64px; }

.brand{
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -.02em; color: var(--color-accent);
  margin-right: auto; flex: none;
}
.brand span{ color: var(--color-text); margin-left: .3rem; }

.nav{ display: flex; align-items: center; gap: 1.5rem; }
.nav a{
  position: relative; font-size: .93rem; font-weight: 500;
  color: var(--color-text-muted);
  padding-block: .35rem;
  transition: color .2s var(--ease);
}
.nav a::after{
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover{ color: var(--color-text); }
.nav a:hover::after, .nav a.is-active::after{ transform: scaleX(1); }
.nav a.is-active{ color: var(--color-text); }

.header-call{ flex: none; }
.nav-toggle{
  display: none; flex: none;
  background: none; border: 1px solid var(--color-border);
  border-radius: var(--r-sm); padding: .5rem;
  color: var(--color-text); cursor: pointer;
}
.nav-toggle :is(i, svg){ width: 22px; height: 22px; display: block; }

.nav-scrim{
  position: fixed; inset: 0; z-index: var(--z-scrim);
  background: rgba(28, 28, 28, .45);
}

/* ==========================================================================
   HERO - asymmetric split
   ========================================================================== */
.hero{
  position: relative;
  isolation: isolate;
  background: var(--color-ink);
  color: #FFFFFF;
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

/* Photo layer plus one flat color veil. Deliberately not a gradient. */
.hero-bg{ position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-veil{
  position: absolute; inset: 0;
  background: rgba(18, 20, 24, .85);
}

.hero h1{ color: #FFFFFF; }
.hero .eyebrow{
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  color: #FFFFFF;
}
.hero .eyebrow :is(i, svg){ color: var(--color-accent-on-ink); }

/* Left column carries the message, right column carries the estimate form. */
.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-form-col{ width: 100%; max-width: 500px; margin-left: auto; }

.hero h1{ margin-bottom: 1rem; }
.typed-line{ display: block; color: var(--color-accent-on-ink); min-height: 1.12em; }
.typed-line .typed-cursor{ color: var(--color-accent-on-ink); font-weight: 400; }

.hero-sub{
  color: var(--color-on-ink);
  font-size: 1.075rem;
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

/* Quick estimate form */
.quote-form{
  background: var(--color-bg);
  border: 1px solid var(--color-border-cool);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.quote-form-title{
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  margin: 0 0 1rem;
}

.field{ display: grid; gap: .4rem; margin-bottom: .9rem; }
.field label{
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--color-text);
}
.field input, .field select, .field textarea{
  width: 100%;
  font-family: var(--font-body); font-size: .95rem; color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border-cool);
  border-radius: var(--r-sm);
  padding: .72rem .85rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea{ resize: vertical; min-height: 104px; }
/* Placeholder contrast: #6B6B6B on white is 5.3:1, clears WCAG AA */
.field input::placeholder, .field textarea::placeholder{ color: #6B6B6B; opacity: 1; }
.field select{ appearance: none; background-image: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, .16);
}
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--color-accent); }

.field-error{
  margin: 0; font-size: .8rem; font-weight: 500;
  color: var(--color-accent-dark);
}

.form-status{
  margin: .9rem 0 0; font-size: .88rem; font-weight: 500;
  border-radius: var(--r-sm); padding: .7rem .85rem;
}
.form-status.is-ok{ color: var(--color-success); background: #EDF5ED; }
.form-status.is-err{ color: var(--color-accent-dark); background: var(--color-accent-soft); }

.trust-row{
  display: flex; flex-wrap: wrap; gap: .65rem 1.5rem;
  margin-top: 0;
}
.trust-row li{
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; color: #FFFFFF;
}
.trust-row :is(i, svg){ width: 17px; height: 17px; color: var(--color-accent-on-ink); flex: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media img{
  width: 100%; border-radius: var(--r-md);
  object-fit: cover; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.about-content p{ color: var(--color-text-muted); max-width: 62ch; }

.check-list{
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.5rem; margin-top: 1.5rem;
}
.check-list li{
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .93rem; font-weight: 500;
}
.check-list :is(i, svg){ width: 18px; height: 18px; color: var(--color-accent); flex: none; margin-top: .22rem; }

/* Counters - hairline separated, no card boxes */
.stats{
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--color-border-cool);
}
.stat{ padding: 2rem 1.5rem 0; }
.stat + .stat{ border-left: 1px solid var(--color-border-cool); }
.stat-num{
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1;
  color: var(--color-accent); letter-spacing: -.03em;
}
.stat-num-text{ font-size: clamp(1.5rem, 2.8vw, 2rem); }
.stat-label{ display: block; margin-top: .55rem; font-size: .88rem; color: var(--color-text-muted); }

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-head{
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2{ margin-bottom: 0; }
.section-head-simple{ display: block; max-width: 46rem; }
.section-head-simple p{ color: var(--color-text-muted); margin-top: 1.1rem; margin-bottom: 0; max-width: 56ch; }

/* Short accent rule under every section heading. This is the page's divider
   motif, used instead of full-width hairlines between sections. */
.section-head h2::after,
.section-head-simple h2::after{
  content: "";
  display: block;
  width: 54px; height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: 1.15rem;
}

/* ==========================================================================
   CTA BANDS - full accent, low height, centered
   ========================================================================== */
.cta-band{
  background: var(--color-accent);
  color: #FFFFFF;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-band-inner{
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.4rem;
}
.cta-band h2{
  color: #FFFFFF; margin: 0;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  max-width: 24ch;
}
.cta-band h2::after{ content: none; }
.cta-band p{
  margin: -.65rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: .98rem;
  max-width: 56ch;
}
.cta-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ==========================================================================
   SERVICES - 3 x 2 grid
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.service-card{
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.service-media{ overflow: hidden; }
.service-media img{
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .55s var(--ease);
}
.service-card:hover .service-media img{ transform: scale(1.04); }

.service-body{ padding: 1.4rem 1.4rem 1.6rem; }
.service-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--color-accent-soft);
  border-radius: var(--r-sm);
  margin-bottom: .9rem;
}
.service-icon :is(i, svg){ width: 21px; height: 21px; color: var(--color-accent); }
.service-body p{ margin: 0; color: var(--color-text-muted); font-size: .93rem; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-shell{ padding-block: 0; }
.gallery-swiper{
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.gallery-swiper .swiper-slide{ height: auto; }
.gallery-swiper .swiper-slide img{
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.gallery-swiper .swiper-pagination{ bottom: 0; }
.gallery-swiper .swiper-pagination-bullet{
  width: 8px; height: 8px; background: #C9C4BF; opacity: 1;
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.gallery-swiper .swiper-pagination-bullet-active{
  background: var(--color-accent); width: 26px; border-radius: var(--r-pill);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next{
  width: 46px; height: 46px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover{
  background: var(--color-accent); color: #FFFFFF; border-color: var(--color-accent);
}
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after{ font-size: 16px; font-weight: 700; }

/* ==========================================================================
   WHY US - hairline grid, no card boxes
   ========================================================================== */
/* No boxes. Each item is introduced by its own top rule, which turns accent
   on hover. Same divider language as the section headings. */
.reasons{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 3rem);
}
.reason{
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
  transition: border-color .3s var(--ease);
}
.reason:hover{ border-top-color: var(--color-accent); }
.reason > :is(i, svg){ width: 26px; height: 26px; color: var(--color-accent); margin-bottom: 1rem; display: block; }
.reason h3{ margin-bottom: .45rem; }
.reason p{ margin: 0; color: var(--color-text-muted); font-size: .92rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap{ max-width: 880px; }
.acc-item{ border-bottom: 1px solid var(--color-border-cool); }
.acc-trigger{
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 1.35rem 0;
  font-family: var(--font-head); font-size: 1.03rem; font-weight: 600;
  color: var(--color-text);
  transition: color .22s var(--ease);
}
.acc-trigger:hover{ color: var(--color-accent); }
.acc-trigger :is(i, svg){
  width: 20px; height: 20px; flex: none; color: var(--color-accent);
  transition: transform .3s var(--ease);
}
.acc-trigger[aria-expanded="true"] :is(i, svg){ transform: rotate(45deg); }

.acc-panel{
  max-height: 0; overflow: hidden;
  transition: max-height .38s var(--ease);
}
.acc-panel-inner{ padding-bottom: 1.35rem; }
.acc-panel-inner p{ margin: 0; color: var(--color-text-muted); max-width: 68ch; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.map-frame{
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe{ width: 100%; height: 100%; min-height: 420px; border: 0; }

.contact-panel{
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.contact-details{ display: grid; gap: 1.15rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
.contact-details li{ display: flex; gap: .85rem; align-items: flex-start; }
.contact-details :is(i, svg){ width: 20px; height: 20px; color: var(--color-accent); flex: none; margin-top: .3rem; }
.contact-label{ display: block; font-size: .78rem; color: var(--color-text-muted); }
.contact-strong{
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  transition: color .2s var(--ease);
}
a.contact-strong:hover{ color: var(--color-accent); }

/* Form sits on --color-bg-alt here, so inputs stay white for contrast */
.contact-form .field input,
.contact-form .field textarea{ background: var(--color-bg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* Dark footer, bookending the dark hero. The only other ink surface. */
.site-footer{
  background: var(--color-ink);
  color: var(--color-on-ink);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer-brand p{ color: var(--color-on-ink); font-size: .92rem; max-width: 32ch; margin-top: .9rem; }
.footer-brand .brand{ margin: 0; color: var(--color-accent-on-ink); }
.footer-brand .brand span{ color: #FFFFFF; }

.socials{ display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--color-ink-line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
  color: #FFFFFF;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.socials a:hover{ background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }
.socials :is(i, svg){ width: 18px; height: 18px; }

.footer-col{ display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4{ margin-bottom: .5rem; color: #FFFFFF; }
.footer-col a, .footer-col p{
  font-size: .92rem; color: var(--color-on-ink); margin: 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover{ color: #FFFFFF; }
.footer-phone{
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem !important;
  color: var(--color-accent-on-ink) !important;
}
.footer-phone:hover{ color: #FFFFFF !important; }

.footer-bottom{
  border-top: 1px solid var(--color-ink-line);
  padding-block: 1.5rem;
}
.footer-bottom p{ margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .58); }

/* ==========================================================================
   STICKY CALL BUTTON + BACK TO TOP
   ========================================================================== */
.call-fab{
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: #FFFFFF;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.call-fab :is(i, svg){ width: 24px; height: 24px; }
.call-fab:hover{ background: var(--color-accent-dark); transform: translateY(-3px); }

/* Flat opacity pulse ring, no gradient glow */
.call-fab::after{
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-pill);
  border: 2px solid var(--color-accent);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference){
  .call-fab::after{ animation: pulse-ring 2.4s var(--ease) infinite; }
}
@keyframes pulse-ring{
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.to-top{
  position: fixed;
  right: 20px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-bg); color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.to-top :is(i, svg){ width: 18px; height: 18px; }
.to-top:hover{ color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .nav{ gap: 1.1rem; }
  .nav a{ font-size: .88rem; }
}

/* Tablet */
@media (max-width: 980px){
  .nav-toggle{ display: inline-flex; }
  .header-call span{ display: none; }
  .header-call{ padding: .7rem .8rem; }

  .nav{
    position: fixed; top: 0; right: 0; z-index: var(--z-drawer);
    height: 100dvh; width: min(320px, 84vw);
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform .34s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open{ transform: translateX(0); }
  .nav a{
    font-size: 1.05rem; font-weight: 500; color: var(--color-text);
    padding: .95rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav a::after{ display: none; }

  .hero-grid,
  .about-grid,
  .contact-grid{ grid-template-columns: minmax(0, 1fr); }

  .hero-form-col{ max-width: 540px; margin-left: 0; }

  .about-media{ max-width: 460px; }
  .about-media img{ aspect-ratio: 3 / 2; }

  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3){ border-left: 0; }
  .stat:nth-child(n+3){ border-top: 1px solid var(--color-border); margin-top: 2rem; }

  .footer-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-frame, .map-frame iframe{ min-height: 320px; }
}

/* Mobile */
@media (max-width: 640px){
  body{ font-size: 1rem; }
  .header-inner{ height: 66px; gap: .75rem; }
  .site-header.is-stuck .header-inner{ height: 60px; }
  .brand{ font-size: 1.15rem; }

  .hero{ padding-top: 2rem; }
  .hero-sub{ font-size: 1rem; }
  .trust-row{ gap: .55rem 1.1rem; }

  .check-list{ grid-template-columns: minmax(0, 1fr); }
  .services-grid{ grid-template-columns: minmax(0, 1fr); }
  .reasons{ grid-template-columns: minmax(0, 1fr); }
  .stats{ grid-template-columns: minmax(0, 1fr); }
  .stat{ padding: 1.5rem 0 0; }
  .stat + .stat{ border-left: 0; border-top: 1px solid var(--color-border); margin-top: 1.5rem; }
  .stat:nth-child(n+3){ margin-top: 1.5rem; }

  .section-head{ align-items: flex-start; }
  .acc-trigger{ font-size: .98rem; gap: 1rem; }
  .footer-grid{ grid-template-columns: minmax(0, 1fr); gap: 2rem; }

  .call-fab{ width: 54px; height: 54px; right: 16px; }
  .to-top{ right: 16px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .service-card:hover{ transform: none; }
  .service-card:hover .service-media img{ transform: none; }
  .btn-accent:hover, .btn-ghost:hover, .call-fab:hover, .to-top:hover, .socials a:hover{ transform: none; }
  .acc-panel{ transition: none; }
}
