/* ==========================================================================
   Monteros Inc. — Massachusetts General Contractor
   Clean Architectural Design System
   ========================================================================== */

:root {
  --navy-950: #0D1922;
  --navy-900: #13222E;
  --navy-800: #1D3140;
  --navy-700: #2B4558;

  --stone-50: #FAF9F6;
  --stone-100: #F3F1EC;
  --stone-200: #E5E2DA;
  --stone-300: #D1CDC2;

  --white: #FFFFFF;
  --text-primary: #13222E;
  --text-secondary: #435461;
  --text-muted: #687885;

  --accent: #C85A17;
  --accent-hover: #A8480F;
  --accent-soft: rgba(200, 90, 23, 0.10);
  --accent-border: rgba(200, 90, 23, 0.28);

  --gold-soft: #F7EFE5;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(13, 25, 34, 0.06), 0 1px 2px rgba(13, 25, 34, 0.04);
  --shadow-md: 0 10px 28px -6px rgba(13, 25, 34, 0.10), 0 4px 10px -4px rgba(13, 25, 34, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(13, 25, 34, 0.16);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- Sparse structural datum grid --%3E%3Cpath d='M160 0v480M320 0v480M0 160h480M0 320h480' stroke='%2313222E' stroke-opacity='0.045' stroke-width='0.8' stroke-dasharray='6 8'/%3E%3Cpath d='M480 0v480M0 480h480' stroke='%2313222E' stroke-opacity='0.075' stroke-width='1'/%3E%3C!-- Gable roof truss & elevation detail --%3E%3Cg stroke='%2313222E' stroke-opacity='0.085' stroke-width='1'%3E%3Cpath d='M46 132L122 72l76 60'/%3E%3Cpath d='M62 132h120M86 101h72M122 72v60M98 132l24-31 24 31'/%3E%3Cpath d='M46 146h152M46 141v10M198 141v10M42 150l8-8M194 150l8-8' stroke-width='0.9'/%3E%3C/g%3E%3C!-- Architectural floorplan door-swing & wall section --%3E%3Cg stroke='%2313222E' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M292 64h78M292 64v46M370 64v12'/%3E%3Cpath d='M292 110v44' stroke-width='1.2'/%3E%3Cpath d='M292 154a44 44 0 0 0 44-44' stroke-dasharray='4 4' stroke='%23C85A17' stroke-opacity='0.11'/%3E%3Cpath d='M336 110h34M370 110v56'/%3E%3C/g%3E%3C!-- Engineering elevation datum target & compass arc --%3E%3Cg%3E%3Ccircle cx='356' cy='316' r='11' stroke='%2313222E' stroke-opacity='0.085' stroke-width='1'/%3E%3Cpath d='M340 316h32M356 300v32' stroke='%2313222E' stroke-opacity='0.085' stroke-width='0.9'/%3E%3Ccircle cx='356' cy='316' r='44' stroke='%23C85A17' stroke-opacity='0.085' stroke-width='0.9' stroke-dasharray='3 5'/%3E%3Cpath d='M312 374h88M312 369v10M400 369v10' stroke='%2313222E' stroke-opacity='0.08' stroke-width='0.9'/%3E%3C/g%3E%3C!-- Timber framing / wall bay section --%3E%3Cg stroke='%2313222E' stroke-opacity='0.08' stroke-width='1'%3E%3Crect x='74' y='286' width='108' height='92'/%3E%3Cpath d='M74 294h108M74 370h108M110 294v76M146 294v76'/%3E%3Cpath d='M74 294l36 76M146 294l36 76' stroke-dasharray='4 4' stroke-opacity='0.06'/%3E%3Cpath d='M58 286v92M53 286h10M53 378h10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 480px 480px;
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--navy-900);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */

.utility-bar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.utility-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-item svg {
  width: 14px;
  height: 14px;
  color: #F59E56;
  flex-shrink: 0;
}

.utility-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-contact a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-links a[aria-current="page"] {
  font-weight: 700;
}

/* Subpage Architectural Header & CTA Band */
.page-banner {
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.65) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-bottom: 1px solid var(--stone-200);
  padding: 3.5rem 0 3rem;
}

.page-banner .section-lead {
  max-width: 680px;
}

.cta-band {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 3.5rem 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.45rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.overview-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

.overview-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.overview-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.overview-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy-900);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 90, 23, 0.30);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--stone-300);
}

.btn-secondary:hover {
  background-color: var(--stone-50);
  border-color: var(--navy-700);
}

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

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */

.section {
  padding: 5.5rem 0;
}

.section-stone {
  background-color: rgba(250, 249, 246, 0.62);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}

.section-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

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

.section-header {
  max-width: 680px;
  margin-bottom: 3.25rem;
}

.section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-navy .eyebrow {
  color: #F59E56;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--text-secondary);
}

.section-navy .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.65) 0%, rgba(255, 255, 255, 0.72) 100%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--stone-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gold-soft);
  color: var(--accent-hover);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--navy-900);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-200);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ==========================================================================
   Image Placeholders (with Stock Photo Guidance)
   ========================================================================== */

.photo-placeholder {
  position: relative;
  background: linear-gradient(135deg, #E9E6DE 0%, #DFDBD0 100%);
  border: 2px dashed #B5B0A3;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.75rem;
  color: var(--navy-800);
}

.showcase-photo {
  width: 100%;
  display: block;
  object-fit: cover;
  background-color: var(--stone-50);
  border: 1px solid var(--stone-200);
}

.showcase-photo-hero {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

.showcase-photo-card {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
}

.showcase-photo-portrait {
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(19, 34, 46, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 34, 46, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.photo-placeholder-hero {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

.photo-placeholder-card {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
}

.photo-placeholder-portrait {
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
}

.photo-placeholder-content {
  position: relative;
  z-index: 1;
  max-width: 380px;
}

.photo-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--stone-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.photo-icon svg {
  width: 22px;
  height: 22px;
}

.photo-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--navy-900);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.photo-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.photo-suggestion {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.photo-specs {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust / Credentials Bar
   ========================================================================== */

.trust-bar {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E56;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-card h3 {
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.trust-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

.service-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-200);
  background-color: var(--stone-50);
  margin-bottom: 1rem;
}

.sector-media .showcase-photo-card {
  height: auto;
  aspect-ratio: 6 / 5;
}

.project-media .showcase-photo-card {
  height: auto;
  aspect-ratio: 6 / 5;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-100);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Residential & Commercial Split
   ========================================================================== */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sector-card {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.sector-media {
  padding: 1.25rem 1.25rem 0;
}

.sector-body {
  padding: 1.75rem 2rem 2.25rem;
}

.sector-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.sector-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.sector-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.sector-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.sector-points li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sector-points svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Featured Projects Grid
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.project-media {
  padding: 1rem 1rem 0;
}

.project-body {
  padding: 1.35rem 1.5rem 1.6rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-hover);
  background-color: var(--gold-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.project-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.45rem;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.process-num {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #F59E56;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  display: block;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   About / Confidence Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-highlights {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.highlight-box {
  background-color: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}

.highlight-box strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.highlight-box span {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact / Estimate Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background-color: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-card > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-detail-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: #F59E56;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.58);
}

.contact-detail-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
}

.insurance-callout {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.84);
}

.estimate-form-card {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.estimate-form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.estimate-form-card > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-900);
  background-color: var(--stone-50);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.76);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box {
  background-color: var(--white);
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.footer-brand-box img {
  height: 40px;
  width: auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: #F59E56;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

@media (max-width: 768px) {
  .utility-bar {
    display: none;
  }

  .nav-links,
  .header-actions .btn-secondary {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--stone-200);
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 4rem 0;
  }

  .services-grid,
  .sector-grid,
  .projects-grid,
  .trust-grid,
  .process-grid,
  .about-highlights,
  .form-grid,
  .footer-grid,
  .sector-points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Materials Estimator
   ========================================================================== */

.estimator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.estimator-tab {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-300);
  background-color: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  transition: all 0.15s ease;
}

.estimator-tab:hover {
  border-color: var(--navy-700);
}

.estimator-tab.is-active {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.estimator-panel,
.estimator-results {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.estimator-results {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-800);
  position: sticky;
  top: 5.5rem;
}

.estimator-results h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.estimator-results-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.estimator-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.estimator-kpi {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.estimator-kpi span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.estimator-kpi strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  color: var(--white);
  margin-top: 0.15rem;
}

.materials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.materials-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.materials-list li span {
  color: rgba(255, 255, 255, 0.82);
}

.materials-list li strong {
  color: #ffd5b5;
  text-align: right;
  white-space: nowrap;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 0.5rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.check-item input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.estimator-group-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 1.35rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-200);
}

@media (max-width: 960px) {
  .estimator-layout {
    grid-template-columns: 1fr;
  }

  .estimator-results {
    position: static;
  }
}

@media (max-width: 600px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}
   ========================================================================== */

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--stone-300);
  background-color: var(--white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.gallery-filter-btn.is-active {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--stone-100);
  color: var(--text-secondary);
}

.gallery-filter-btn.is-active .filter-count {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.gallery-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background-color: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.gallery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--stone-100);
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(13, 25, 34, 0.84);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.gallery-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.gallery-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Lightbox Modal */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(13, 25, 34, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  max-width: min(1320px, 94vw);
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background-color: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #070e14;
  max-height: 78vh;
  min-height: 280px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.showcase-photo[data-lightbox-title],
.service-thumb[data-lightbox-title] {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-photo[data-lightbox-title]:hover,
.service-thumb[data-lightbox-title]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(13, 25, 34, 0.78);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(13, 25, 34, 0.72);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.lightbox-prev {
  left: 0.85rem;
}

.lightbox-next {
  right: 0.85rem;
}

.lightbox-caption {
  padding: 1.15rem 1.5rem 1.35rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lightbox-caption-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}

.lightbox-counter {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.68);
}

.lightbox-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-top: 0.15rem;
}

.lightbox-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 0.75rem;
  }
}
