﻿:root {
  --navy: #0a2d63;
  --blue: #1e4fa8;
  --red: #c62032;
  --white: #ffffff;
  --ink: #172033;
  --muted: #5a6780;
  --bg: #f4f7fc;
  --line: #d9e2f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #f4f8ff 0%, #ffffff 32%, #eef3ff 100%);
  line-height: 1.65;
}

.topbar {
  background: linear-gradient(90deg, #0a2d63, #1f4fa8);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  text-align: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(10, 45, 99, 0.15);
}

.brand strong { font-size: 1rem; }
.brand span { font-size: 0.8rem; color: var(--muted); display: block; }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover { color: var(--blue); }

.btn, .btn-outline {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
  background: linear-gradient(135deg, var(--red), #e23b49);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(198, 32, 50, 0.25);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: var(--white);
}

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

main section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.2rem 1rem;
}

.page-hero {
  max-width: 100%;
  padding: 0;
  min-height: 58vh;
  position: relative;
  display: grid;
  place-items: end start;
  background-size: cover;
  background-position: center;
  border-bottom: 6px solid #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5,24,58,0.8), rgba(11,45,99,0.45), rgba(198,32,50,0.35));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 6rem 1rem 3rem;
  color: #fff;
}

.page-hero__content h2 {
  color: #fff;
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
}

.page-hero__content p {
  max-width: 700px;
  margin: 0;
  font-size: 1.1rem;
}

.page-hero .kicker {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.home-hero { background-image: url("images/home-hero.jpg"); }
.about-hero { background-image: url("images/photo-05.jpg"); }
.contact-hero { background-image: url("images/photo-11.jpg"); }
.services-hero { background-image: url("../images/photo-08.jpg"); }
.service-general-hero { background-image: url("../images/photo-25.jpg"); }
.service-drywall-hero { background-image: url("../images/photo-33.jpg"); }
.service-tv-hero { background-image: url("../images/photo-17.jpg"); }

.hero {
  max-width: 100%;
  padding: 0;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.7rem 1rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.flag-card {
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(10, 45, 99, 0.18);
}

.flag-card img { width: 100%; display: block; }

h1, h2, h3 {
  line-height: 1.22;
  color: #0b1f4c;
}

h1 { font-size: clamp(2rem, 3.9vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); margin-top: 0; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); }

.kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: #e8effd;
  color: var(--blue);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 12px 28px rgba(10,45,99,0.1);
}

.home-compact { background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%); }

.home-quick-strip {
  max-width: 100%;
  padding: 1.2rem 0 0;
}

.stat-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  background: linear-gradient(145deg, #0a2d63, #1e4fa8);
  color: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 14px 28px rgba(10, 45, 99, 0.24);
}

.stat-card strong {
  display: block;
  font-size: 1.08rem;
}

.stat-card span {
  font-size: 0.9rem;
  opacity: 0.95;
}

.service-cards-home .card {
  padding: 0.8rem;
}

.service-link-card {
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(10,45,99,0.16);
}

.service-link-card .cover {
  margin-bottom: 0.6rem;
}

.service-link-card h3 {
  margin: 0.35rem 0;
  color: #0b2d63;
}

.service-link-card p {
  margin: 0;
  color: var(--muted);
}

.area-blocks {
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.25), transparent 35%),
    linear-gradient(120deg, #0a2d63, #1e4fa8 60%, #c62032);
  color: #fff;
  box-shadow: 0 20px 36px rgba(10, 45, 99, 0.25);
}

.area-blocks__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.area-blocks .kicker {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.area-blocks h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 0.8rem;
}

.area-card {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.area-blocks a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.area-map {
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.area-map iframe {
  width: 100%;
  height: 330px;
  border: 0;
  display: block;
}

.service-list {
  columns: 2;
  gap: 2rem;
  padding-left: 1.2rem;
}

.process-step { border-left: 4px solid var(--red); padding-left: 1rem; margin: 1rem 0; }

.cover {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(10,45,99,0.13);
}

.cta-band {
  background: linear-gradient(120deg, #0b2d63, #1f4fa8);
  color: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 38px rgba(10, 45, 99, 0.28);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.embed-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 360px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

form iframe { min-height: 700px; }

.photo-ribbon {
  max-width: 100%;
  padding: 0;
  margin-top: 2rem;
}

.photo-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.photo-ribbon__grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.05);
}

footer {
  margin-top: 0;
  background: #081938;
  color: #d9e6ff;
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.2rem 1rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
}

footer a { color: #d9e6ff; }

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.5rem;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-wrap, .photo-ribbon__grid, .stat-grid, .area-grid { grid-template-columns: 1fr; }
  .service-list { columns: 1; }
  .mobile-toggle { display: inline-block; }
  .page-hero { min-height: 50vh; }
  .page-hero__content { padding-top: 5rem; }
  .photo-ribbon__grid img { height: 180px; }
  nav ul {
    display: none;
    position: absolute;
    right: 1rem;
    top: 72px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }
  nav ul.open { display: flex; }
}


