/* ==========================================================================
   Rock Solid Tile — shared stylesheet
   ========================================================================== */

:root {
  --navy: #142338;
  --navy-mid: #1E3250;
  --blue: #1E6FD9;
  --blue-dark: #1857AD;
  --gold: #C9A84C;
  --gold-light: #E0C778;
  --off-white: #F7F9FC;
  --white: #FFFFFF;
  --ink: #16233A;
  --body-text: #435066;
  --border: #DCE3EE;
  --border-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(20, 35, 56, 0.12);
  --transition: 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0s;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* <picture> wrappers (WebP source + JPG fallback) must not affect layout —
   display:contents lets the inner <img> participate in its parent's layout
   exactly as it did before it was wrapped. */
picture {
  display: contents;
}

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

a:hover {
  text-decoration: underline;
}

/* Text links inside running body copy carry a persistent underline so they're
   distinguishable without relying on color alone (WCAG 1.4.1). Buttons and
   card links are excluded — they have their own non-color affordances. */
p a:not(.btn):not(.card-link) {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.3px;
}

h3 {
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--mid h1,
.section--mid h2,
.section--mid h3 {
  color: var(--white);
}

.section--mid {
  background: var(--navy-mid);
  color: rgba(255, 255, 255, 0.85);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 0.9rem;
  margin-bottom: 0.75em;
}

.section--navy .eyebrow,
.section--mid .eyebrow {
  color: var(--gold);
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.section-head p {
  color: var(--body-text);
  font-size: 1.05rem;
}

.section--navy .section-head p,
.section--mid .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  padding: 0.85em 1.75em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none !important;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-block {
  width: 100%;
}

/* ---------- Phone link ---------- */
.phone-link {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.phone-link svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
  font-family: var(--font-head);
  flex-shrink: 0;
}

.logo strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo strong span {
  color: var(--gold);
}

.logo small {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 2px;
}

.logo:hover {
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.3px;
  padding: 1.6rem 0.9rem;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.nav-item > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}

.dropdown a::after {
  content: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--off-white);
  color: var(--blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  border-radius: 6px;
  width: 46px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span {
  transform: translateY(-50%);
}

.nav-toggle::before {
  transform: translateY(calc(-50% - 8px));
}

.nav-toggle::after {
  transform: translateY(calc(-50% + 8px));
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at top right, rgba(30, 111, 217, 0.18), transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.5em 1em;
  border-radius: 999px;
  margin-bottom: 1.5em;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 0.4em;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2.5em;
}

/* Single centered CTA button dropped at the bottom of a content section,
   distinct from .hero-actions (which pairs two left-aligned buttons). */
.section-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ---------- Placeholder photo blocks ---------- */
.placeholder {
  border: 2px dashed rgba(20, 35, 56, 0.3);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    135deg,
    rgba(20, 35, 56, 0.035),
    rgba(20, 35, 56, 0.035) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--body-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 1.5em;
  min-height: 220px;
}

.placeholder svg {
  display: block;
  margin: 0 auto 12px;
  color: rgba(20, 35, 56, 0.35);
}

.hero .placeholder {
  min-height: 360px;
  border-color: rgba(255, 255, 255, 0.28);
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  color: rgba(255, 255, 255, 0.65);
}

.hero .placeholder svg {
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
}

.stat span {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
  margin-top: 4px;
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4em;
}

.card-body p {
  flex: 1;
  font-size: 0.98rem;
  color: var(--body-text);
}

.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.5em;
}

.card-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75em;
}

.testimonial-quote {
  flex: 1;
  font-size: 0.98rem;
  color: var(--body-text);
  margin-bottom: 1em;
}

.testimonial-author {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
}

.testimonial-cta {
  text-align: center;
  margin-top: 40px;
}

.testimonial-photo {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1em;
}

.testimonial-card--photo .testimonial-quote {
  font-size: 0.88rem;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 22px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-item .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(30, 111, 217, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2em;
}

.why-item p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- Work carousel ---------- */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  margin: 0 -4px;
}

.carousel-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.carousel-slide .placeholder {
  width: 280px;
  min-height: 190px;
}

/* Real photos size by height instead of width, so mixed portrait/landscape
   photos line up at a uniform height; a max-width caps how much wider
   landscape photos get, trimming the excess off the sides instead of
   letting them run much longer than the portrait photos next to them. */
.carousel-slide img {
  display: block;
  height: 300px;
  width: auto;
  max-width: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Service-page "See Our Work" carousels use a fixed aspect ratio instead of
   min-height, since every slide is a single project photo, not mixed content.
   Real photos (img) keep their native ratio instead of being cropped. */
.carousel--work-preview .carousel-slide .placeholder {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.carousel--work-preview.carousel--portrait .carousel-slide .placeholder {
  aspect-ratio: 5 / 7;
}

/* One-off crops for specific photos whose native ratio doesn't suit their slide. */
.carousel-slide img.crop-5-4 {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.carousel-slide img.crop-5-7-right {
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: 70% center;
}

.carousel-caption {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.carousel-caption span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--body-text);
  font-size: 0.85rem;
  margin-top: 2px;
}

.carousel-btn {
  position: absolute;
  top: 90px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  z-index: 2;
  transition: background var(--transition), color var(--transition);
}

.carousel-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.carousel-prev {
  left: -10px;
}

.carousel-next {
  right: -10px;
}

@media (max-width: 640px) {
  .carousel-btn {
    display: none;
  }
}

/* ---------- Service areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.area-card svg {
  margin: 0 auto 12px;
  color: var(--blue);
}

.area-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
  color: var(--ink);
}

.area-card p {
  font-size: 0.92rem;
  margin-bottom: 0.9em;
  color: var(--body-text);
}

.area-note {
  text-align: center;
  max-width: 760px;
  margin: 40px auto 0;
  font-size: 0.95rem;
  color: var(--body-text);
}

.section--navy .area-note,
.section--mid .area-note {
  color: rgba(255, 255, 255, 0.75);
}

.section--navy .area-note a,
.section--mid .area-note a {
  color: var(--gold);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-bottom: 1.5em;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-list a:hover {
  color: var(--gold);
}

.calendly-embed {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.calendly-embed .calendly-inline-widget {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

/* ---------- FAQ (details/summary) ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 18px;
  margin: 0;
  font-size: 0.98rem;
  color: var(--body-text);
}

/* ---------- Generic content sections (service/location pages) ---------- */
.content-block {
  max-width: 840px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 1.4em;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.content-block li {
  margin-bottom: 0.5em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.breadcrumbs {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--body-text);
}

.breadcrumbs a {
  color: var(--body-text);
  font-weight: 600;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
  text-decoration: none;
}

.related-card h3 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 0.2em;
}

.related-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--body-text);
}

.page-hero {
  padding: 56px 0 68px;
}

/* Full-bleed placeholder fills the hero behind the text; no card border/
   radius, and no visible "coming soon" label since it would overlap the H1. */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: none;
  border-radius: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(20, 35, 56, 0.92) 0%, rgba(20, 35, 56, 0.82) 45%, rgba(20, 35, 56, 0.55) 100%);
}

.page-hero-inner {
  max-width: 700px;
}

.page-hero .hero-lede {
  margin-bottom: 1.5em;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.materials-grid .material {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.material-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.materials-grid h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35em;
}

.materials-grid p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.3em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5em;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.1em;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a:not(.btn) {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.94rem;
}

.footer-col a:not(.btn):hover {
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.footer-contact svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav,
  .header-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    gap: 14px;
  }

  .site-header .container {
    min-height: 72px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .nav-item > a::after {
    float: right;
    margin-top: 8px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.75);
  }

  .dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
  }

  .why-grid,
  .contact-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .area-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid .placeholder--wide {
    grid-column: span 2;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    gap: 10px;
    min-height: 60px;
  }

  .logo small {
    display: none;
  }

  .logo strong {
    font-size: 1.1rem;
  }

  .header-cta {
    gap: 10px;
  }

  .phone-link {
    font-size: 0.85rem;
  }

  .nav-toggle {
    width: 38px;
    height: 34px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-eyebrow {
    margin-bottom: 1em;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5em;
  }

  .hero-lede {
    font-size: 0.9rem;
    margin-bottom: 1.25em;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 1.5em;
  }

  .section-cta {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .section-cta .btn {
    flex: 1 1 0;
    padding: 0.75em 0.5em;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    padding: 0.75em 0.5em;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .trust-badges {
    gap: 10px 20px;
    padding-top: 1em;
  }

  .trust-badge {
    font-size: 0.85rem;
  }

  .hero .placeholder {
    min-height: 200px;
  }

  .section {
    padding: 40px 0;
  }

  .section--tight {
    padding: 32px 0;
  }

  .cta-band {
    padding: 40px 0;
  }

  .stats-grid {
    padding: 28px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    margin-bottom: 0.5em;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .area-grid,
  .testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 4px 14px;
    margin: 0 -4px;
  }

  .card-grid .card,
  .area-grid .area-card,
  .testimonial-grid .testimonial-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }

  .area-card {
    padding: 20px 18px;
  }

  .area-card svg {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
  }

  .area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25em;
  }

  .area-card p {
    font-size: 0.85rem;
    margin-bottom: 0.6em;
  }

  .card-photo {
    height: 90px;
  }

  .card-body {
    padding: 16px;
  }

  .card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25em;
  }

  .card-body p {
    font-size: 0.88rem;
  }

  .card-link {
    font-size: 0.9rem;
    margin-top: 0.25em;
  }

  .portfolio-grid .placeholder--wide {
    grid-column: span 1;
  }

  .why-grid {
    gap: 24px;
  }

  .why-grid > div:first-child > p {
    font-size: 0.88rem;
  }

  .why-grid .hero-actions {
    margin-bottom: 0;
  }

  .why-grid .hero-actions .btn {
    font-size: 1.05rem;
  }

  .why-list {
    gap: 14px;
  }

  .why-item {
    gap: 12px;
  }

  .why-item .icon {
    width: 36px;
    height: 36px;
  }

  .why-item .icon svg {
    width: 18px;
    height: 18px;
  }

  .why-item h3 {
    font-size: 1rem;
    margin-bottom: 0.15em;
  }

  .why-item p {
    font-size: 0.85rem;
  }

  .site-footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-brand .logo {
    margin-bottom: 10px;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6em;
  }

  .footer-col ul {
    gap: 6px;
  }

  .footer-col a {
    font-size: 0.88rem;
  }

  .footer-contact li {
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.78rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
