/* ============================================================
   t01.css — Template 01 styling for Tony's Property Maintenance.
   Recreates the customer-approved preview design 1:1 on top of
   the starter-kit's EJS + Express foundation.

   All colors via the tokens in tokens.css. All sizes via tokens
   or local clamp()-driven values. No JS-applied styling, so the
   strict CSP (no unsafe-inline) holds.
   ============================================================ */


/* ── Reset & shared ──────────────────────────────────────────── */

ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* The hero uses cover-image styling that conflicts with layout.css's
   gradient .hero — we override it entirely. */
.navbar a, .hero a, .section a, .footer a { text-decoration: none; }


/* ============================================================
   1. NAVIGATION BAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(12, 35, 64, 0.14); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo--footer .logo-img {
  width: 80px;
  height: 80px;
}
.logo-text {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.logo-accent { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.18s ease;
}
.nav-links > a:hover,
.nav-links > a.is-active { color: var(--navy); }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}
.nav-links > a:hover::after,
.nav-links > a.is-active::after { width: 100%; }

.nav-social { display: flex; gap: 0.4rem; }
.social-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--gray-100);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.social-icon:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
}
.social-icon svg { width: 20px; height: 20px; }

.nav-cta {
  margin-left: 0.4rem;
  /* Slightly extra horizontal breathing room so the label clears the pill edge. */
  padding-left: 1.85rem;
  padding-right: 1.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 22px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 3px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff;
  padding: .6rem 1rem; z-index: 2000;
}
.skip-link:focus { left: 0; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-accent:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 22px rgba(244, 180, 0, 0.4);
  transform: translateY(-2px);
  color: var(--navy);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }


/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-image: url("/assets/gallery/hero-property.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 26, 48, 0.92) 0%, rgba(8, 26, 48, 0.62) 60%, rgba(8, 26, 48, 0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem;
  color: var(--white);
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: var(--fs-hero);
  max-width: 16ch;
  margin-bottom: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.pagehead {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--blue) 100%);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.pagehead__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.pagehead__title {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  max-width: 22ch;
}
.pagehead__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0;
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--gray-100); }
.section--navy { background: var(--navy); color: var(--white); }
.section--white { background: var(--white); }
.section-head { margin-bottom: 3rem; max-width: 720px; }
.section-head--center { margin: 0 auto 3rem; text-align: center; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section--navy .section-eyebrow { color: var(--gold); }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section--navy .section-title { color: var(--white); }
.section-intro {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 620px;
}
.section--navy .section-intro { color: rgba(255, 255, 255, 0.8); }


/* ============================================================
   3. SERVICES SECTION (cards)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  position: absolute;
  top: 1.3rem; right: 1.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-300);
}
.service-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 1.3rem;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.97rem;
  flex-grow: 1;
  margin-bottom: 0;
}

.service-card--cta {
  background: var(--navy);
  border-color: var(--navy);
  justify-content: center;
  align-items: flex-start;
  gap: 0.4rem;
}
.service-card--cta:hover { border-color: var(--gold); }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}


/* ============================================================
   3b. RECENT WORK / GALLERY
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.work-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  margin: 0;
  background: var(--gray-100);
}
.work-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.work-item:hover img { transform: scale(1.05); }
.work-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem 1rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
  background: linear-gradient(to top, rgba(8, 26, 48, 0.92), rgba(8, 26, 48, 0));
}


/* ============================================================
   4. ABOUT / WHY CHOOSE US
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-media {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  min-height: 320px;
  overflow: hidden;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}
.about-copy > p { color: var(--gray-500); margin-bottom: 1.8rem; }

.value-props {
  display: grid;
  gap: 1.1rem;
  padding: 0;
}
.value-props li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.vp-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
}
.vp-icon svg { width: 22px; height: 22px; }
.value-props strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.value-props span { color: var(--gray-500); font-size: 0.92rem; }


/* ============================================================
   5. SERVICE AREA
   ============================================================ */
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.service-area-copy > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.8rem;
}
.county-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
  padding: 0;
}
.county-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}
.county-list svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.service-area-map { display: block; }
.service-area-map img,
.service-area-map svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--navy-deep);
}


/* ============================================================
   6. CONTACT / QUOTE FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap .section-intro { margin-bottom: 2rem; }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.req { color: var(--error); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 9px;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 78, 128, 0.12);
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--error);
}
.field.invalid .error-msg { display: block; }

.form-success {
  grid-column: 1 / -1;
  background: var(--blue-light);
  color: var(--navy);
  border: 1.5px solid var(--blue);
  border-radius: 9px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.form-error {
  grid-column: 1 / -1;
  background: #fdecea;
  color: var(--error);
  border: 1.5px solid var(--error);
  border-radius: 9px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}
.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.contact-list { display: grid; gap: 1.3rem; margin-bottom: 1.8rem; padding: 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
  font-weight: 700;
}
.contact-list a,
.contact-list div > span:last-child {
  color: var(--white);
  font-weight: 500;
  word-break: break-word;
}
.contact-list a:hover { color: var(--gold); }

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-social__note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  display: block;
}
.contact-social__inline {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.contact-social__inline:hover { color: var(--white); }
.contact-social__hint { color: rgba(255, 255, 255, 0.55); }
.contact-social__icons { display: flex; gap: 0.6rem; }
.contact-social .social-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.contact-social .social-icon:hover {
  background: var(--gold);
  color: var(--navy);
}


/* ============================================================
   7. FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.22s ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: var(--blue-light); }
.faq-body {
  padding: 0 1.5rem 1.3rem;
  color: var(--gray-700);
  font-size: 0.97rem;
  line-height: 1.7;
}


/* ============================================================
   8. CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--blue) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
}
.cta-band__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.cta-band__sub {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}
.cta-band__btns {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}


/* ============================================================
   9. SERVICES DETAIL PAGE
   ============================================================ */
.service-detail-grid {
  display: grid;
  gap: 1.5rem;
}
.service-detail {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: start;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.service-detail:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-detail__icon {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.service-detail__icon svg { width: 34px; height: 34px; }
.service-detail__name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.service-detail__desc {
  color: var(--gray-700);
  font-size: 0.98rem;
  margin: 0;
  max-width: 62ch;
}
.service-detail__cta { align-self: center; }


/* ============================================================
   10. ABOUT PAGE
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-hero__copy h2 { color: var(--navy); margin-bottom: 1rem; }
.about-hero__copy p { color: var(--gray-700); margin-bottom: 1.1rem; font-size: 1.02rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.stat-card__num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-card__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.4rem;
  font-weight: 500;
}


/* ============================================================
   11. TRANSFORMATIONS PAGE (before/after pairs + singles grid)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.gallery-grid .work-item img { height: 280px; }

.transform-stack {
  display: grid;
  gap: 3rem;
}
.transform-pair {
  display: grid;
  gap: 1.4rem;
}
.transform-pair__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.transform-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  background: var(--gray-100);
}
.transform-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.transform-card figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
}
.transform-card__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(4px);
}
.transform-card__tag--before {
  background: rgba(63, 69, 77, 0.85);
}
.transform-card__tag--after {
  background: rgba(244, 180, 0, 0.95);
  color: var(--navy);
}
.transform-pair__copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.transform-pair__copy h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  font-weight: 800;
}
.transform-pair__copy p {
  color: var(--gray-700);
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 680px) {
  .transform-pair__media { grid-template-columns: 1fr; }
  .transform-card img { height: 280px; }
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 2.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo--footer .logo-text { color: var(--white); }
.logo--footer .logo-accent { color: var(--gold); }
.footer-tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact span { font-size: 0.9rem; }
.footer-area { color: rgba(255, 255, 255, 0.5); margin-top: 0.4rem; }

.footer-social-icons { display: flex; gap: 0.6rem; }
.footer-social-icons .social-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.footer-social-icons .social-icon:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.3rem 0;
}
.footer-bottom .container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0;
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .about-hero,
  .service-area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-media { order: -1; }
  .about-media img { max-height: 360px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .service-detail { grid-template-columns: 72px 1fr; }
  .service-detail__cta { grid-column: 1 / -1; align-self: stretch; }
  .service-detail__cta .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 680px) {
  .hero { background-attachment: scroll; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links > a::after { display: none; }
  .nav-social { padding-top: 1rem; }
  .nav-cta { margin: 1.2rem 0 0; width: 100%; margin-left: 0; }

  .card-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; padding: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-content { padding: 3.5rem 1.5rem; }

  .cta-band__btns { flex-direction: column; align-items: stretch; }
  .cta-band__btns .btn { width: 100%; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
