/* ============================= */
/* RESET */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

:root {
  --bg-page: #111822;
  --bg-section: #17212d;
  --bg-section-alt: #1c2734;
  --surface-1: #1a2431;
  --surface-2: #202d3c;
  --surface-3: #253446;
  --text-main: #f2f5f9;
  --text-muted: #bcc8d6;
  --text-soft: #95a4b8;
  --border-soft: rgba(149, 174, 201, 0.22);
  --brand: #73b9ff;
  --brand-hover: #9dd0ff;
  --brand-dark: #3e6f9e;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
}

.emergency-alert {
  position: fixed;
  top: 104px;
  right: 24px;
  z-index: 1400;
  width: min(380px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 157, 157, 0.34);
  background:
    linear-gradient(160deg, rgba(71, 17, 17, 0.96), rgba(34, 10, 10, 0.96)),
    radial-gradient(circle at top right, rgba(255, 167, 100, 0.2), transparent 36%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.emergency-alert.is-hidden {
  display: none;
}

.emergency-alert-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 107, 0.14);
  border: 1px solid rgba(255, 184, 107, 0.28);
  color: #ffd8aa;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.emergency-alert h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  max-width: 90%;
}

.emergency-alert p {
  color: #f4dcdc;
  line-height: 1.65;
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.emergency-alert-note {
  margin-top: -6px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 216, 170, 0.4);
  color: #ffd9b8;
  font-size: 0.88rem;
}

.emergency-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.emergency-alert-actions .btn {
  padding: 0.86rem 1.2rem;
}

.emergency-alert-actions .btn-secondary {
  border-color: rgba(255, 238, 238, 0.48);
  color: #fff2f2;
}

.emergency-alert-actions .btn-secondary:hover {
  background: rgba(255, 240, 240, 0.9);
  color: #2b1414;
}

.emergency-alert-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 235, 235, 0.88);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.emergency-alert-close:hover {
  color: #ffffff;
}

.emergency-alert-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.emergency-alert-links a {
  color: #ffd8aa;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 216, 170, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.emergency-alert-links a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
}

/* ============================= */
/* PAGE WRAPPER */
/* ============================= */
.page-wrapper {
  width: 100%; /* full width for hero image */
}

/* ============================= */
/* HEADER */
/* ============================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  transition: all 0.3s ease;
  background: rgba(17, 24, 34, 0.78);
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text-main);
}

.logo-main {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-sub {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav a:hover {
  color: var(--text-main);
}

.nav-btn {
  background: #314359;
  padding: 8px 18px;
  border-radius: 3px;
  font-weight: 600;
  color: #eff6ff;
  border: 1px solid rgba(157, 208, 255, 0.45);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-btn:hover {
  background: #3f5872;
  color: #ffffff;
}

/* SCROLLED HEADER */
.header.scrolled {
  background: rgba(17, 24, 34, 0.92);
  padding: 15px 40px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-soft);
}

/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
  position: relative;
  width: 100%; /* full width */
  height: 85vh;
  min-height: 600px;

  /* background image stretched */
  background:
    linear-gradient(rgba(9, 22, 39, 0.76), rgba(10, 28, 48, 0.76)),
    url('/photos/roofexample.png.jpg') center 32% no-repeat;
  background-size: cover;
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.page-wrapper-inner {
  padding-top: 88px;
}

.inner-page-body .header {
  background: rgba(17, 24, 34, 0.9);
}

.inner-hero {
  padding: 120px 40px 90px;
  background:
    linear-gradient(135deg, rgba(11, 24, 42, 0.96), rgba(24, 41, 65, 0.94)),
    radial-gradient(circle at top right, rgba(115, 185, 255, 0.2), transparent 36%);
  border-bottom: 1px solid var(--border-soft);
}

.inner-hero-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.inner-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 18px;
}

.inner-hero-content p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.media-overview,
.media-gallery,
.media-cta {
  padding: 90px 40px;
}

.media-overview {
  background: var(--bg-section);
}

.media-overview-container,
.media-gallery-container,
.media-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.media-overview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.media-overview-copy h2,
.media-cta-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.media-overview-copy p,
.media-cta-inner p {
  color: var(--text-soft);
  line-height: 1.75;
}

.media-stats {
  display: grid;
  gap: 16px;
}

.media-stat-card {
  background: linear-gradient(180deg, rgba(37, 52, 70, 0.92), rgba(27, 39, 54, 0.92));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px;
}

.media-stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.media-stat-card span {
  color: var(--text-soft);
  line-height: 1.6;
}

.media-gallery {
  background: var(--bg-section-alt);
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.media-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface-1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.media-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(115, 185, 255, 0.14), rgba(17, 24, 34, 0.12)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 14px,
      rgba(255, 255, 255, 0.01) 14px,
      rgba(255, 255, 255, 0.01) 28px
    );
  border-bottom: 1px solid var(--border-soft);
}

.media-placeholder span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-hover);
}

.media-placeholder-large {
  height: 100%;
  min-height: 420px;
}

.media-card-copy {
  padding: 20px 20px 24px;
}

.media-card-copy span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brand-hover);
}

.media-card-copy h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.media-card-copy p {
  color: var(--text-soft);
  line-height: 1.65;
}

.media-cta {
  background: linear-gradient(180deg, #111925 0%, #152131 100%);
  border-top: 1px solid var(--border-soft);
}

.media-cta-inner {
  text-align: center;
}

.media-cta-inner p {
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero-content {
  max-width: 750px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(157, 208, 255, 0.45);
  background: rgba(115, 185, 255, 0.16);
  color: #d8ecff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.2rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-radius: 2px;
}

.btn-primary {
  background: var(--brand);
  color: #0e131a;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: var(--text-muted);
  color: #111822;
}

.trust-strip {
  background: #14202c;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 28px;
  overflow: hidden;
}

.trust-strip-track {
  display: flex;
  width: max-content;
  animation: trustTicker 36s linear infinite;
  will-change: transform;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 34px;
  padding-right: 34px;
}

.trust-strip-inner span {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.4px;
}

.trust-strip-inner span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--brand);
}

@keyframes trustTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-strip-track {
    animation: none;
  }

  .service-card.is-pop {
    animation: none;
  }

  .service-modal,
  .service-modal-overlay,
  .service-modal-card {
    transition: none;
  }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  .page-wrapper {
    padding-top: 118px;
  }

  .page-wrapper-inner {
    padding-top: 118px;
  }

  .header {
    padding: 16px 20px;
  }

  .emergency-alert {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: min(420px, calc(100vw - 24px));
  }

  .header.scrolled {
    padding: 12px 20px;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    width: 100%;
  }

  .hero {
    height: 75vh;
    background-size: cover; /* keep image covering */
  }

  .inner-hero {
    padding: 90px 24px 70px;
  }

  .inner-hero-content h1 {
    font-size: 2.25rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .nav {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .nav-btn {
    padding: 7px 14px;
  }

  .logo-main {
    font-size: 0.92rem;
  }

  .logo-sub {
    font-size: 0.62rem;
    letter-spacing: 0.9px;
  }

  .hero-kicker {
    font-size: 0.72rem;
  }

}

@media (max-width: 560px) {
  .page-wrapper {
    padding-top: 164px;
  }

  .header {
    padding: 14px 14px;
  }

  .emergency-alert {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .emergency-alert h3 {
    font-size: 1.12rem;
    max-width: 86%;
  }

  .emergency-alert p {
    font-size: 0.92rem;
  }

  .emergency-alert-note {
    font-size: 0.84rem;
  }

  .emergency-alert-actions {
    flex-direction: column;
  }

  .emergency-alert-actions .btn {
    width: 100%;
    text-align: center;
  }

  .emergency-alert-links {
    flex-direction: column;
    gap: 8px;
  }

  .header.scrolled {
    padding: 10px 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
  }

  .nav-btn {
    width: 100%;
    min-height: 40px;
  }

  .logo-main {
    font-size: 0.84rem;
  }

  .logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.75px;
  }
}
/* ============================= */
/* SERVICES SECTION */
/* ============================= */
.services {
  background: var(--bg-section-alt);
  padding: 120px 40px 111px; /* more bottom space */
}

.services-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.services h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.services-subtext {
  color: var(--text-soft);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

.service-areas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -28px 0 34px;
}

.service-areas span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

/* Cards */
.service-card {
  position: relative;
  background: var(--surface-1);
  padding: 40px 30px 32px;
  text-align: left;
  border-left: 4px solid var(--brand);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.service-card::after {
  content: "View details";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--brand-hover);
  background: rgba(115, 185, 255, 0.08);
  border: 1px solid rgba(157, 208, 255, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  pointer-events: none;
}

.service-card h3 {
  margin-bottom: 15px;
  padding-right: 116px;
  min-height: 48px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

/* Hover effect */
.service-card:hover {
  background: var(--surface-2);
  border-left: 4px solid var(--brand-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.service-card:focus-visible {
  outline: 2px solid var(--brand-hover);
  outline-offset: 2px;
}

.service-card.is-pop {
  animation: serviceCardPop 0.24s ease-out;
}

@keyframes serviceCardPop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.985);
  }
  100% {
    transform: scale(1);
  }
}

body.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, visibility 0s linear 0.26s;
}

.service-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s ease, visibility 0s linear 0s;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.open .service-modal-overlay {
  opacity: 1;
}

.service-modal-card {
  position: relative;
  width: min(92vw, 640px);
  margin: 10vh auto 0;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(28px) scale(0.95);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.26s ease;
}

.service-modal.open .service-modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-modal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.service-modal-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-modal-card ul {
  padding-left: 20px;
  color: var(--text-main);
}

.service-modal-card li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.service-modal-close:hover {
  color: var(--text-main);
}

.why-us {
  background: var(--bg-section-alt);
  padding: 100px 40px;
}

.why-us-container {
  max-width: 1200px;
  margin: auto;
}

.why-us h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  text-align: center;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-us-card {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px 20px;
}

.why-us-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.why-us-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

.process {
  background: var(--bg-section);
  padding: 100px 40px;
}

.process-container {
  max-width: 1200px;
  margin: auto;
}

.process h2 {
  font-size: 2rem;
  margin-bottom: 26px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-hover);
  font-weight: 700;
  letter-spacing: 1px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-soft);
  line-height: 1.6;
}

.seo-faq {
  background: var(--bg-section-alt);
  padding: 96px 40px;
  border-top: 1px solid var(--border-soft);
}

.seo-faq-container {
  max-width: 1200px;
  margin: auto;
}

.seo-faq h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  text-align: center;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-faq-card {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
}

.seo-faq-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.seo-faq-card p {
  color: var(--text-soft);
  line-height: 1.65;
}

.cta-band {
  background: linear-gradient(100deg, #152131 0%, #1f3045 100%);
  padding: 56px 40px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.cta-band-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-band-inner h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta-band-inner p {
  color: var(--text-soft);
}

.cta-band-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* ============================= */
/* ABOUT SECTION */
/* ============================= */
.about {
  background: var(--bg-section);
  padding: 180px 40px 120px;
  border-top: 1px solid var(--border-soft);
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.about-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--brand);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.about-highlight {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.about-stats h3 {
  font-size: 1.8rem;
  color: var(--text-main);
}

.about-stats span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .why-us,
  .process,
  .seo-faq,
  .cta-band {
    padding: 76px 24px;
  }

  .why-us-grid,
  .seo-faq-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 350px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .service-modal-card {
    margin-top: 12vh;
    padding: 24px 20px;
  }
}
/* ============================= */
/* CONTACT SECTION */
/* ============================= */
.contact {
  background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--bg-section) 100%);
  padding: 160px 40px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.contact-container > * {
  min-width: 0;
}

.contact h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  line-height: 1.2;
}

.contact h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: var(--brand);
  position: absolute;
  left: 0;
  bottom: -10px;
}

.section-tag {
  display: inline-block;
  background: rgba(115, 185, 255, 0.16);
  border: 1px solid rgba(157, 208, 255, 0.45);
  color: #deefff;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.contact-info {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 40px 34px;
}

.contact-subtext {
  color: var(--text-muted);
  margin-bottom: 34px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9fb4cd;
  font-weight: 700;
}

.contact-details a,
.contact-details p {
  color: var(--text-main);
  font-size: 1.02rem;
  text-decoration: none;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--brand-hover);
}

/* FORM */
.contact-form {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 34px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-field label {
  font-size: 0.83rem;
  letter-spacing: 0.2px;
  color: var(--text-muted);
  font-weight: 600;
}

.quote-target {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-status[data-tone="success"] {
  color: #cfe6d4;
}

.form-status[data-tone="error"] {
  color: #f2c6c6;
}

.form-status[data-tone="pending"] {
  color: var(--text-muted);
}

.status-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.status-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.status-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.66);
}

.status-modal-card {
  position: relative;
  width: min(92vw, 520px);
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 26px 24px 22px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  text-align: left;
  animation: statusIn 0.16s ease-out;
}

.status-modal-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}

.status-modal-icon::before {
  content: "✓";
  font-weight: 800;
  font-size: 1.25rem;
  color: #cfe6d4;
}

.status-modal[data-tone="error"] .status-modal-icon::before {
  content: "!";
  color: #f2c6c6;
}

.status-modal-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.status-modal-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

.status-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.status-modal-close:hover {
  color: var(--text-main);
}

@keyframes statusIn {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-form input,
.contact-form textarea {
  background: var(--surface-3);
  border: 1px solid #3e5168;
  padding: 13px 14px;
  width: 100%;
  max-width: 100%;
  color: var(--text-main);
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input[type="file"] {
  padding: 10px 12px;
}

.contact-form input[type="file"]::file-selector-button {
  background: #314359;
  border: 1px solid rgba(157, 208, 255, 0.45);
  color: #eff6ff;
  border-radius: 6px;
  padding: 8px 12px;
  margin-right: 12px;
  cursor: pointer;
}

.contact-form input[type="file"]::file-selector-button:hover {
  background: #3f5872;
}

.form-help {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #97a8be;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-hover);
  box-shadow: 0 0 0 3px rgba(115, 185, 255, 0.24);
}

.contact-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-submit:hover {
  filter: brightness(1.08);
}

.site-footer {
  background: linear-gradient(180deg, #101722 0%, #0d131c 100%);
  border-top: 1px solid var(--border-soft);
  padding: 34px 40px 18px;
}

.site-footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 96px;
  height: 62px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  margin: 0;
}

.footer-brand p,
.footer-contact p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-main);
}

.footer-links a,
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand-hover);
}

.footer-bottom {
  max-width: 1200px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(149, 174, 201, 0.12);
}

.footer-bottom p {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact {
    padding: 120px 24px;
  }

  .contact-info,
  .contact-form {
    padding: 26px 22px;
  }

  .contact h2 {
    font-size: 1.95rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form input[type="file"] {
    font-size: 0.95rem;
  }

  .contact-form input[type="file"]::file-selector-button {
    display: block;
    width: 100%;
    margin: 0 0 10px;
  }

  .site-footer {
    padding: 28px 24px 18px;
  }

  .site-footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-logo {
    width: 82px;
    height: 54px;
  }
}

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

  .service-card h3 {
    padding-right: 106px;
  }

  .contact {
    padding: 104px 16px;
  }

  .contact-info,
  .contact-form {
    padding: 22px 16px;
  }

  .contact h2 {
    font-size: 1.7rem;
  }

  .contact-subtext,
  .contact-details a,
  .contact-details p,
  .contact-form input,
  .contact-form textarea {
    font-size: 0.96rem;
  }
}

@media (max-width: 900px) {
  .media-overview,
  .media-gallery,
  .media-cta {
    padding: 72px 24px;
  }

  .media-overview-container,
  .media-gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-placeholder,
  .media-placeholder-large {
    min-height: 0;
    height: 320px;
  }
}
section {
  scroll-margin-top: 120px;
}
