/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
  /* Brand */
  --primary: #1e73be;
  --secondary: #0f2a44;

  /* Surfaces */
  --bg-page: #ffffff;
  --bg-section: #f8fafc;
  --bg-card: #ffffff;

  /* Text */
  --text: #1a1a1a;

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Header offsets */
  --header-offset-desktop: 88px;
  --header-offset-mobile: 200px;
}


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: var(--bg-page);
}


/* =========================================================
   SCROLL ANCHORS (HEADER-SAFE NAVIGATION)
========================================================= */

.scroll-anchor {
  display: block;
  position: relative;
  top: calc(var(--header-offset-desktop) * -1);
  height: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .scroll-anchor {
    top: calc(var(--header-offset-mobile) * -1) !important;
  }
}

/* =========================================================
   LAYOUT
========================================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

section {
  padding: 4rem 0;
  text-align: center;
}

section:nth-of-type(even) {
  background: var(--bg-section);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2rem;
}

h1, h2 { margin-bottom: 1rem; }

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

p {
  margin: 0.5rem auto;
  max-width: 42rem;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 100px;
  height: auto;
  display: block;
}

/* Nav */

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--secondary);
}

.site-nav a:hover {
  color: var(--primary);
}

/* Header actions */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn.light {
  background: var(--bg-card);
  color: var(--secondary);
}

/* =========================================================
   HERO — FULL BLEED IMAGE ONLY
========================================================= */

.hero {
  padding: 0;
  height: 70vh;
  max-height: 820px;
  overflow: hidden;
  background: none;
}

.hero-grid {
  max-width: none;
  padding: 0;
}

.hero-content,
.hero-buttons {
  display: none !important;
}

.hero-image img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: block;
  border-radius: 0;
}

/* =========================================================
   CARDS & GRIDS
========================================================= */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  list-style: none;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  min-height: 220px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}


.benefit-grid,
.trust-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  gap: 1.75rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.75rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30,115,190,0.08);
}

.service-icon img {
  width: 24px;
  height: 24px;
}


.price {
  color: var(--primary);
  font-weight: 600;
}

/* =========================================================
   CTA
========================================================= */

.cta {
  background: var(--primary);
  color: white;
}

.cta {
  margin-top: 60px;
}

.cta-inner {
  text-align: center;
}

/* =========================================================
   FORM EMBED
========================================================= */

.form-embed-wrapper iframe {
  width: 100%;
  height: 1200px;
  border: none;
  display: block;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
  justify-content: center;
  gap: 16px;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 260px);
  }
}

@media (min-width: 480px) and (max-width: 899px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.gallery-actions {
  margin-top: 3.5rem;
  text-align: center;
}

.gallery-toggle {
  padding: 1rem 2.75rem;
  border-radius: 8px;
  font-weight: 600;
}

.gallery-toggle:hover {
  background: var(--primary);
  color: white;
}

/* Modal */

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-modal > div {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
}

.gallery-modal img {
  width: 100%;
  border-radius: 8px;
}

.gallery-caption {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #374151;
}
/* =========================================================
   SERVICES — IMAGE CARDS
========================================================= */

#services-gallery {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.75rem;
}

#services-gallery li figure {
  margin: 0;
  height: 220px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

#services-gallery li figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

#services-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption overlay */

#services-gallery figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  opacity: 0;
  transition: opacity .3s ease;
}

#services-gallery figure:hover figcaption {
  opacity: 1;
}

#services-gallery h1 {
  margin: 0;
  font-size: 18px;
}

#services-gallery p {
  margin: 4px 0 0;
  font-size: 13px;
}

#services-gallery small {
  margin-top: 6px;
  font-weight: 600;
  color: #fff;
}

/* Mobile: captions always visible */

@media(max-width:768px){
  #services-gallery figcaption{
    opacity:1;
    background:rgba(0,0,0,.55);
  }
}

/* =========================================================
   FAQ — ACCORDION
========================================================= */

#faq {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

#faq .section-header {
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  background: #f9fafb;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform .25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #f9fafb;
  transition: max-height .3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 14px 0 18px;
  color: #4b5563;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.service-area {
  padding: 60px 0;
  background: #fff;
}

.map-wrapper {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e9f2;
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 600px) {
  .map-wrapper iframe {
    height: 240px;
  }
}

/* =========================================================
   HOURS
========================================================= */

.hours-grid {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f9fafb;
  font-weight: 600;
}

.hour-row span:last-child {
  color: var(--primary);
}

/* =========================================================
   SOCIAL STRIP
========================================================= */

.social-strip {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

.social-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.social-strip img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform .2s ease;
}

.social-strip a:hover img {
  transform: translateY(-3px);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: var(--secondary);
  color: white;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 768px) {
  .benefit-grid,
  .trust-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

  .brand {
    flex-direction: column;
  }
}
