/* =====================================================
   Thomas Roofing — slate / navy palette (roofing trade)
   Font: Outfit (Google Fonts)
   ===================================================== */

:root {
  /* Brand — slate / navy */
  --brand-900: #141a25;
  --brand-800: #1c2533;
  --brand-700: #263244;
  --brand-600: #324159;
  --brand-500: #455a73;
  --brand-300: #8696ad;
  --brand-100: #e3e8f0;
  --brand-50:  #eef1f6;

  /* Ink (text) */
  --ink-900: #131720;
  --ink-700: #2c3340;
  --ink-500: #5a6376;
  --ink-300: #9aa1b1;
  --ink-200: #c2c7d2;

  /* Surfaces — neutral cool paper */
  --paper:    #f4f5f8;
  --paper-2:  #ffffff;
  --paper-3:  #e8eaef;
  --line:     #dde1e8;
  --line-2:   #e8ebf0;

  /* Accents */
  --gold: #d4a955;
  --gold-soft: #e8c98b;
  --accent: #cc342f;
  --accent-hover: #a82622;
  --accent-light: #e85a55;
  --accent-50: #fbeaea;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(20,30,25,0.04);
  --shadow-sm: 0 2px 4px rgba(20,30,25,0.05), 0 4px 12px rgba(20,30,25,0.04);
  --shadow-md: 0 6px 16px rgba(20,30,25,0.07), 0 14px 40px rgba(20,30,25,0.06);
  --shadow-lg: 0 12px 28px rgba(20,30,25,0.10), 0 24px 60px rgba(20,30,25,0.10);

  --r-xs: 4px;
  --r-sm: 4px;
  --r-md: 4px;
  --r-lg: 4px;
  --r-xl: 4px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-700); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--brand-500); }

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--accent-light); }

.center { text-align: center; }
.muted { color: var(--ink-500); }

.section-head { max-width: 640px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head .section-sub {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin: 0;
}

/* -----------------------------------------------------
   Buttons
   ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-800);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-on-dark.btn-primary {
  background: #fff;
  color: var(--brand-900);
}
.btn-on-dark.btn-primary:hover { background: var(--paper-3); color: var(--brand-900); }
.btn-ghost {
  background: transparent;
  color: var(--brand-800);
  border-color: var(--ink-200);
}
.btn-ghost:hover {
  background: var(--brand-50);
  color: var(--brand-800);
  border-color: var(--brand-300);
}
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn-sm { padding: 0.55em 1em; font-size: 0.85rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn.full { width: 100%; }

.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }

/* -----------------------------------------------------
   Header
   ----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 248, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20,30,25,0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--brand-800);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: none; gap: 28px; }
.nav-links a {
  color: var(--ink-700);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand-800); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link {
  display: none;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.95rem;
}
.phone-link:hover { color: var(--brand-700); }

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .phone-link { display: inline-flex; }
}

/* -----------------------------------------------------
   Hero
   ----------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(134,150,173,0.18), transparent 60%),
    linear-gradient(180deg, #141a25 0%, #1c2533 100%);
  color: #f3f6f3;
  padding: 86px 0 106px;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.1;
}
.hero-accent {
  color: var(--brand-300);
  font-style: normal;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-sub {
  font-size: 1.12rem;
  color: rgba(243, 246, 243, 0.84);
  max-width: 540px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero .btn-primary {
  background: #fff;
  color: var(--brand-900);
  box-shadow: var(--shadow-md);
}
.hero .btn-primary:hover { background: var(--paper-3); color: var(--brand-900); }
.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-tagline li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(243, 246, 243, 0.75);
}
.hero-tagline .dot {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-block;
}

/* Full-bleed background image variant */
.hero-bg { position: relative; isolation: isolate; }
.hero-bg .container { position: relative; z-index: 2; }
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-swiper {
  width: 100%;
  height: 100%;
}
.hero-swiper .swiper-slide {
  overflow: hidden;
  background: #14202d;
}
.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.hero-swiper .swiper-slide-active img { transform: scale(1.0); }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,26,37,0.78) 0%, rgba(28,37,51,0.86) 60%, rgba(20,26,37,0.92) 100%),
    radial-gradient(900px 500px at 90% 0%, rgba(134,150,173,0.22), transparent 60%);
}

/* Get-in-touch CTA card */
.hero-cta-card {
  background: var(--paper-2);
  color: var(--ink-900);
  padding: 32px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
}
.hero-cta-card .eyebrow { color: var(--brand-700); margin-bottom: 4px; }
.hero-cta-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  margin: 0;
  color: var(--ink-900);
}
.hero-cta-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.98rem;
  line-height: 1.55;
}
.hero-cta-call {
  margin-top: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.hero-cta-microcopy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-500);
  text-align: center;
}
.hero-cta-secondary {
  margin-top: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-700);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.hero-cta-secondary:hover { color: var(--brand-500); }

.hero-bg .hero-cta-card .btn-primary {
  background: var(--brand-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.hero-bg .hero-cta-card .btn-primary:hover {
  background: var(--brand-900);
  color: #fff;
}

@media (min-width: 900px) {
  .hero { padding: 219px 0 243px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
}

/* -----------------------------------------------------
   Trust pillars
   ----------------------------------------------------- */
.trust-pillars {
  background: var(--paper-2);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--brand-100);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: 6px; }
.pillar p { color: var(--ink-500); margin: 0; max-width: 320px; }

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* -----------------------------------------------------
   About
   ----------------------------------------------------- */
.about { padding: 96px 0; background: var(--paper); }
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { max-width: 520px; }
.about-copy .lead { font-size: 1.08rem; color: var(--ink-700); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 28px;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-800);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
}

/* -----------------------------------------------------
   Services
   ----------------------------------------------------- */
.services {
  padding: 96px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}
.service-photo {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-3);
}
.service-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-body h3 { margin: 0; }
.service-body p { color: var(--ink-500); margin: 0; flex: 1; }
.card-cta {
  font-weight: 600;
  color: var(--brand-700);
  margin-top: 12px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}
.service-card:hover .card-cta { gap: 9px; color: var(--brand-800); }

.service-bullets {
  margin: 14px 0 4px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.service-bullets li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}
.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1000px) { .service-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .service-grid:not(.service-grid-3) { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* -----------------------------------------------------
   Portfolio
   ----------------------------------------------------- */
.portfolio { padding: 96px 0; background: var(--paper); }
.portfolio-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-auto-rows: 220px;
}
.portfolio-tile {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-3);
  cursor: pointer;
  isolation: isolate;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.portfolio-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.portfolio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,45,32,0.85) 100%);
  z-index: 1;
}
.portfolio-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.portfolio-tile:hover img { transform: scale(1.06); }
.portfolio-tile-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }
  .portfolio-tile-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* -----------------------------------------------------
   Mid-page CTA strip
   ----------------------------------------------------- */
.cta-strip {
  background:
    radial-gradient(700px 300px at 100% 50%, rgba(134,150,173,0.18), transparent 60%),
    var(--brand-900);
  color: #fff;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cta-strip-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cta-strip h2 { color: #fff; margin: 0 0 8px; }
.cta-strip p { color: rgba(255,255,255,0.72); margin: 0; max-width: 540px; }

@media (min-width: 768px) {
  .cta-strip-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

/* -----------------------------------------------------
   Reviews — Swiper carousel
   ----------------------------------------------------- */
.reviews { padding: 96px 0 88px; background: var(--paper); }
.reviews-aggregate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-top: 4px;
}
.stars-big { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.08em; }
.aggregate-meta { color: var(--ink-700); font-size: 0.92rem; }
.aggregate-meta strong { color: var(--ink-900); font-weight: 700; }

.review-swiper {
  padding: 16px 4px 60px;
  margin-top: 16px;
}
.review-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: auto;
  box-shadow: var(--shadow-xs);
}
.review-card .stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.06em; }
.review-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-700);
  flex: 1;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-name { font-weight: 600; color: var(--ink-900); font-size: 0.98rem; }
.review-role { color: var(--ink-500); font-size: 0.86rem; }

/* Swiper UI tweaks */
.review-swiper .swiper-pagination {
  bottom: 16px;
}
.review-swiper .swiper-pagination-bullet {
  background: var(--ink-300);
  opacity: 0.4;
  width: 8px; height: 8px;
  transition: all 0.2s var(--ease);
}
.review-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
  width: 28px;
  border-radius: 4px;
}
.review-swiper .swiper-button-prev,
.review-swiper .swiper-button-next { display: none; }

.review-link-row { text-align: center; margin: 12px 0 0; }
.external-link {
  font-weight: 600;
  color: var(--brand-700);
  font-size: 0.95rem;
}

/* -----------------------------------------------------
   FAQ
   ----------------------------------------------------- */
.faq {
  padding: 96px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  gap: 48px;
}
.faq-intro p { color: var(--ink-500); }
.faq-intro a { font-weight: 600; color: var(--brand-700); }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.faq-item[open] { border-color: var(--brand-300); background: var(--paper-2); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-700);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 14px 0 4px;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 64px; } }

/* -----------------------------------------------------
   Service area
   ----------------------------------------------------- */
.area { padding: 88px 0; background: var(--paper); }
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 28px;
}
.area-list li {
  background: var(--paper-2);
  color: var(--ink-700);
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.area-list li:hover {
  border-color: var(--brand-300);
  color: var(--brand-800);
  background: var(--brand-50);
}
.area-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  margin: 0 auto 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--paper-3);
}
.area-map iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 600px) { .area-map { aspect-ratio: 4 / 5; max-height: none; } }

.area-microcopy { color: var(--ink-500); }
.area-microcopy a { font-weight: 600; }

/* -----------------------------------------------------
   Hours
   ----------------------------------------------------- */
.hours {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.hours-row {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hours h2 { margin: 0 0 8px; }
.hours-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 24px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { font-weight: 600; color: var(--ink-900); }
.hours-list span:last-child { color: var(--ink-500); }

@media (min-width: 768px) { .hours-row { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* -----------------------------------------------------
   Contact
   ----------------------------------------------------- */
.contact-section { padding: 96px 0; background: var(--paper); }
.contact-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.75rem, 3vw, 2.2rem); }
.contact-copy .lead { font-size: 1.05rem; color: var(--ink-700); max-width: 460px; }
.contact-list { margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-700); line-height: 1.5; }
.contact-list strong { color: var(--ink-900); font-weight: 600; }
.contact-list-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-100);
}
.contact-list-icon svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.005em;
  min-width: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; min-width: 0; max-width: 100%; }
@media (min-width: 560px) {
  .contact-form { grid-template-columns: 1fr 1fr; padding: 32px; gap: 18px; }
}
.contact-form label.full { grid-column: 1 / -1; }
.contact-form .opt { color: var(--ink-500); font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink-900);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  outline: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-300); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-500);
  background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(69, 90, 115, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button { margin-top: 6px; }
.form-microcopy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-500);
  text-align: center;
}

@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* -----------------------------------------------------
   Closing CTA
   ----------------------------------------------------- */
.closing-cta {
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(134,150,173,0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(134,150,173,0.18), transparent 60%),
    linear-gradient(180deg, #141a25 0%, #1c2533 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.closing-cta-inner { max-width: 640px; margin: 0 auto; }
.closing-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); }
.closing-cta p { color: rgba(255,255,255,0.78); margin: 0 0 28px; font-size: 1.05rem; }
.closing-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.closing-cta .btn-primary {
  background: #fff;
  color: var(--brand-900);
}
.closing-cta .btn-primary:hover { background: var(--paper-3); color: var(--brand-900); }

/* -----------------------------------------------------
   Footer
   ----------------------------------------------------- */
.site-footer {
  background: #0d111a;
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--brand-300); }
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.footer-blurb { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 280px; margin-bottom: 18px; }
.footer-phone { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.footer-phone a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}
.footer-grid ul { display: grid; gap: 9px; font-size: 0.94rem; }
.footer-base {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

@media (min-width: 600px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 768px) {
  .footer-base { flex-direction: row; justify-content: space-between; }
}

/* -----------------------------------------------------
   Chat Widget — floating bottom-right contact panel
   ----------------------------------------------------- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  font-family: 'Outfit', sans-serif;
}
.chat-widget .vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.chat-widget [hidden] { display: none !important; }

/* Launcher (closed state) */
.chat-launcher {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
  position: relative;
}
.chat-launcher:hover { background: var(--brand-900); transform: translateY(-2px); }
.chat-launcher:focus-visible {
  outline: 0;
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(204, 52, 47, 0.45);
}
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .chat-launcher-icon-close { display: none; }
.chat-widget.is-open .chat-launcher .chat-launcher-icon-open { display: none; }
.chat-widget.is-open .chat-launcher .chat-launcher-icon-close { display: block; }

/* Panel (open state) */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;        /* 60 launcher + 16 gap */
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatSlideIn 0.22s var(--ease);
}
@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--brand-800);
  color: #fff;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-700);
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-300);
  flex-shrink: 0;
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-titles { flex: 1; min-width: 0; }
.chat-title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.005em;
}
.chat-subtitle {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.chat-close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.chat-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.chat-close:focus-visible { outline: 0; color: #fff; background: rgba(255,255,255,0.12); }
.chat-close svg { width: 18px; height: 18px; }

/* Body */
.chat-body { padding: 18px; }

/* Intro speech bubble */
.chat-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.chat-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-bubble-avatar svg { width: 16px; height: 16px; }
.chat-bubble-text {
  margin: 0;
  background: var(--paper-3);
  color: var(--ink-700);
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Form */
.chat-form { display: flex; flex-direction: column; gap: 10px; }
.chat-form input,
.chat-form textarea {
  font: inherit;
  width: 100%;
  font-size: 0.95rem;
  color: var(--ink-900);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  outline: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.chat-form input::placeholder,
.chat-form textarea::placeholder { color: var(--ink-300); }
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--brand-500);
  background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(69, 90, 115, 0.18);
}
.chat-form textarea { resize: vertical; min-height: 70px; }

.chat-compliance {
  margin: 4px 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--ink-500);
}
.chat-compliance a { color: var(--brand-700); font-weight: 600; }
.chat-compliance a:hover { color: var(--brand-500); }

.chat-send svg,
.chat-cta-call svg,
.chat-cta-whatsapp svg { width: 16px; height: 16px; }

/* CTA row — single (default) or call+whatsapp side-by-side */
.chat-cta-row { display: block; }
.chat-cta-row > .btn { width: 100%; }
.chat-cta-call-short { display: none; }
.chat-cta-whatsapp { display: none; }

.chat-widget[data-cta-mode="call-whatsapp"] .chat-cta-row {
  display: flex;
  gap: 8px;
}
.chat-widget[data-cta-mode="call-whatsapp"] .chat-cta-row > .btn {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0.85em 0.6em;
}
.chat-widget[data-cta-mode="call-whatsapp"] .chat-cta-call-full { display: none; }
.chat-widget[data-cta-mode="call-whatsapp"] .chat-cta-call-short { display: inline; }
.chat-widget[data-cta-mode="call-whatsapp"] .chat-cta-whatsapp { display: inline-flex; }

/* WhatsApp brand button */
.chat-cta-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.chat-cta-whatsapp:hover {
  background: #128c7e;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.chat-cta-whatsapp:focus-visible {
  outline: 0;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(37, 211, 102, 0.35);
}

.chat-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 2px;
}
.chat-divider::before,
.chat-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.chat-divider span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
}

/* Success state */
.chat-success {
  text-align: center;
  padding: 12px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.chat-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-success-icon svg { width: 24px; height: 24px; }
.chat-success h3 { margin: 4px 0 0; font-size: 1.08rem; }
.chat-success p { color: var(--ink-500); font-size: 0.92rem; margin: 0; }
.chat-success a { color: var(--brand-700); font-weight: 600; }

/* Mobile tweaks */
@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-launcher { width: 56px; height: 56px; }
  .chat-launcher svg { width: 24px; height: 24px; }
  .chat-panel {
    width: calc(100vw - 32px);
    bottom: 70px;
    right: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}
