/* Fast Glass DMV — clean local service design */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

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

:root {
  --ink: #0f172a;
  --navy: #0c4a6e;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --sky: #e0f2fe;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --muted: #64748b;
  --border: #e2e8f0;
  --max: 1140px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-announce {
  background: var(--teal-light);
  text-align: center;
  padding: 10px var(--pad);
  border-bottom: 1px solid #99f6e4;
}

.nav-announce p {
  font-size: 0.8125rem;
  color: var(--teal-dark);
  font-weight: 500;
}

.nav-announce a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(13, 148, 136, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    gap: 20px;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo:hover {
  opacity: 0.85;
}

.logo__img {
  display: block;
  height: 62px;
  width: auto;
  object-fit: contain;
  transform: scale(1.4);
  transform-origin: left center;
  position: relative;
  top: 2px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu > li > a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
  white-space: nowrap;
}

.menu > li > a:hover,
.menu > li > a:focus-visible {
  color: var(--teal);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px;
}

.nav-dropdown-trigger::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: 2px;
  opacity: 0.55;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(12, 74, 110, 0.12);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 210;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--bg-soft);
  color: var(--teal);
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.nav-phone:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav-toggle-label:hover {
  background: var(--bg-soft);
}

.nav-toggle-label span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* —— Buttons —— */
.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.full-width {
  width: 100%;
}

/* —— Heroes —— */
.hero-premium {
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 74, 110, 0.55) 0%,
      rgba(15, 118, 110, 0.7) 100%
    ),
    linear-gradient(160deg, #0c4a6e 0%, #115e59 45%, #0e7490 100%);
  color: var(--white);
  padding: 80px var(--pad);
  text-align: center;
}

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

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ccfbf1;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.125rem;
  color: #e0f2fe;
  line-height: 1.65;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #e0f2fe;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* —— Homepage (minimal premium) —— */
@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-animate {
  animation: home-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-animate--delay-1 {
  animation-delay: 0.08s;
}

.home-animate--delay-2 {
  animation-delay: 0.16s;
}

.home-animate--delay-3 {
  animation-delay: 0.24s;
}

.home-animate--delay-4 {
  animation-delay: 0.32s;
}

.home-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--pad) 80px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.45) 0%,
      rgba(12, 74, 110, 0.72) 100%
    ),
    /* Replace with your photo: url("../images/hero.jpg") center / cover no-repeat, */
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(30, 64, 175, 0.25) 50%,
    rgba(13, 148, 136, 0.2) 100%
  );
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.home-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(224, 242, 254, 0.9);
  margin-bottom: 16px;
}

.home-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.home-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: rgba(224, 242, 254, 0.92);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 32px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.home-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.home-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.home-trust {
  padding: 0 var(--pad);
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.home-trust__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-trust__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-trust__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(12, 74, 110, 0.12);
}

.home-trust__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.home-services,
.home-gallery {
  padding: 88px var(--pad);
}

.home-services {
  background: var(--white);
}

.home-gallery {
  background: var(--bg-soft);
}

.home-section-head {
  max-width: var(--max);
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.home-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.home-section-head__muted {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: -4px;
}

.home-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  transition: color 0.2s;
}

.home-link:hover {
  color: var(--navy);
}

.home-services__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.home-service-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky);
}

.home-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-service-card:hover .home-service-card__media img {
  transform: scale(1.06);
}

.home-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px 22px;
}

.home-service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.home-service-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.home-service-card__link {
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
}

.home-gallery__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.home-gallery__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.home-gallery__item:nth-child(1) {
  grid-column: span 2;
}

.home-gallery__item:nth-child(2) {
  grid-column: span 2;
}

.home-gallery__item:nth-child(3) {
  grid-column: span 2;
}

.home-gallery__item:nth-child(4) {
  grid-column: span 3;
}

.home-gallery__item--wide {
  grid-column: span 3;
}

.home-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-gallery__item:hover img {
  transform: scale(1.05);
}

.home-gallery__item:hover::after {
  opacity: 1;
}

.home-reviews {
  padding: 64px var(--pad);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.home-reviews__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.home-reviews__stars {
  color: #d97706;
  letter-spacing: 4px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.home-reviews__quote {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 16px;
}

.home-final-cta {
  text-align: center;
  padding: 80px var(--pad);
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 45%, #0c4a6e 100%);
  color: var(--white);
}

.home-final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.badge-light {
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* —— Inner pages (shared design system) —— */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0c4a6e 100%);
  color: var(--white);
  padding: 56px var(--pad) 52px;
  text-align: center;
}

.page-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 242, 254, 0.85);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(224, 242, 254, 0.9);
  line-height: 1.55;
}

.page-section {
  padding: 72px var(--pad);
}

.page-section--white {
  background: var(--white);
}

.page-section--soft {
  background: var(--bg-soft);
}

.page-steps {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.page-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12, 74, 110, 0.1);
}

.page-step__num {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: var(--sky);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.page-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.page-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.home-why-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.home-services__grid--all {
  grid-template-columns: repeat(3, 1fr);
}

.home-gallery__grid--compact {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
}

.home-gallery__grid--compact .home-gallery__item:nth-child(n) {
  grid-column: span 1;
}

/* —— Sections —— */
.section {
  padding: 80px var(--pad);
}

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

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

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.page-section,
.social-proof,
.services-section,
.why-mini-section,
.why-section {
  padding: 72px var(--pad);
}

.social-proof {
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.social-proof h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.stars {
  color: #d97706;
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.social-proof p {
  color: var(--muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

.social-proof-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
}

.social-proof-link:hover {
  color: var(--teal-dark);
}

.services-page .home-section-head,
.reviews-page .home-section-head,
.service-detail-page .home-section-head {
  margin-bottom: 40px;
}

/* —— Reviews —— */
.reviews-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(12, 74, 110, 0.1);
}

.review-card__stars {
  color: #d97706;
  letter-spacing: 3px;
  font-size: 0.8125rem;
  margin-bottom: 14px;
}

.review-card blockquote {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
}

.review-card footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.review-card cite {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: normal;
  color: var(--navy);
}

.review-location {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}

.reviews-gallery {
  padding-top: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* —— Why section —— */
.why-section {
  background: var(--white);
}

.why-container {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-image {
  min-height: 360px;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(145deg, var(--sky) 0%, var(--teal-light) 100%);
  border: 1px solid var(--border);
}

.why-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.why-content ul {
  list-style: none;
}

.why-content li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: #475569;
}

.why-content li:last-child {
  border-bottom: none;
}

.why-content li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 10px;
}

/* —— About page —— */
.about-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.about-intro-text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 20px;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  aspect-ratio: 4 / 3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Service detail —— */
.service-detail-intro {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail-intro__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
}

.service-detail-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-intro__text h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.service-detail-intro__text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* —— CTA band —— */
.cta-section {
  text-align: center;
  padding: 72px var(--pad);
  background: var(--navy);
  color: var(--white);
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-section p {
  color: #94a3b8;
  margin-bottom: 20px;
}

.cta-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 24px;
}

.cta-phone:hover {
  color: #99f6e4;
}

.cta-section .btn-primary {
  background: var(--teal);
}

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

/* —— Contact —— */
.contact-page .contact-wrapper {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

/* —— Areas we serve —— */
.areas-serve__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.areas-serve h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.areas-serve__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.areas-serve__list li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.areas-serve--soft .areas-serve__list li,
.page-section--soft.areas-serve .areas-serve__list li {
  background: var(--white);
}

.areas-serve__note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.areas-serve__note a {
  color: #2563eb;
  font-weight: 600;
  white-space: nowrap;
}

.areas-serve__note a:hover {
  color: var(--navy);
}

.contact-value a[href^="mailto"] {
  color: #2563eb;
  font-weight: 600;
}

.contact-left .badge-light {
  margin-bottom: 12px;
}

.contact-left h2,
.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-intro,
.contact-form-lead {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-form-lead {
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-detail {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--sky);
  transition: border-color 0.2s, background 0.2s;
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail:hover {
  border-left-color: var(--teal);
  background: rgba(224, 242, 254, 0.35);
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.contact-value + .contact-value {
  margin-top: 4px;
}

.contact-value a {
  color: var(--teal);
  font-weight: 600;
}

.contact-value a:hover {
  color: var(--teal-dark);
}

.contact-form-card {
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(12, 74, 110, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #94a3b8;
}

.contact-form-card select {
  color: var(--ink);
  cursor: pointer;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.contact-form-card textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form-card .btn-primary {
  margin-top: 4px;
}

.messages-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad) 0;
}

.message {
  padding: 14px 18px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.why-mini-section {
  background: var(--white);
}

/* —— Footer —— */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0c4a6e 100%);
  color: #94a3b8;
  padding: 56px var(--pad) 0;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer-heading {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.footer-phone {
  display: inline-block;
  color: #5eead4;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-phone:hover {
  color: var(--white);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
}

/* —— Focus —— */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle-label:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* —— Responsive —— */
@media (max-width: 900px) {
    .logo__img {
        height: 42px;
        transform: none;
    }
  .nav-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
    gap: 12px 10px;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

.logo__img {
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
}

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-phone {
    padding: 9px 13px;
    font-size: 0.8125rem;
  }

  .nav-toggle-label {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .nav-center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav-center {
    max-height: 720px;
    padding-top: 4px;
  }

  .nav-toggle:checked ~ .nav-center .nav-dropdown-menu {
    max-height: 400px;
    padding: 4px 0 8px;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 4px;
  }

  .menu > li > a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--bg-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 10px 16px 10px 24px;
    font-size: 0.8125rem;
    border-bottom: none;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: var(--teal-light);
  }

  .why-container,
.contact-page .contact-wrapper,
.footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    width: 100%;
}

.contact-left,
.contact-form-card {
    width: 100%;
    max-width: 100%;
}

  .why-image {
    min-height: 240px;
  }

  .about-intro-inner,
  .service-detail-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-steps {
    grid-template-columns: 1fr;
  }

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

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

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

  .home-trust__grid {
    grid-template-columns: 1fr;
  }

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

  .home-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .home-gallery__item:nth-child(n) {
    grid-column: span 1;
  }

  .home-gallery__item--wide {
    grid-column: span 2;
  }
}

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

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

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .contact-form-card {
    padding: 24px;
  }

  .page-section,
  .page-hero,
  .social-proof,
  .services-section,
  .why-mini-section,
  .why-section,
  .home-services,
  .home-gallery {
    padding: 48px var(--pad);
  }

  .page-hero {
    padding: 48px var(--pad) 44px;
  }

  .home-why-grid--four {
    grid-template-columns: 1fr;
  }

  .home-services__grid--all {
    grid-template-columns: 1fr;
  }

  .home-gallery__grid--compact {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .home-hero {
    min-height: 72vh;
    padding: 88px var(--pad) 64px;
  }

  .home-trust {
    margin-top: -24px;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .home-gallery__item--wide {
    grid-column: span 1;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-final-cta {
    padding: 56px var(--pad);
  }

  .home-reviews {
    padding: 48px var(--pad);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }

  .home-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.success-message {
display: flex;
align-items: flex-start;
gap: 14px;
background: linear-gradient(135deg, #ecfdf3 0%, #f4fff8 100%);
border: 1px solid #b7ebc9;
border-radius: 18px;
padding: 18px;
margin-bottom: 24px;
animation: fadeInUp 0.4s ease;
box-shadow: 0 10px 25px rgba(16, 24, 40, 0.05);
}

.success-message__icon {
width: 38px;
height: 38px;
min-width: 38px;
border-radius: 50%;
background: #16a34a;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 16px;
}

.success-message__content h3 {
margin: 0 0 4px;
font-size: 16px;
color: #14532d;
}

.success-message__content p {
margin: 0;
color: #166534;
font-size: 14px;
line-height: 1.5;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(8px);
}


to {
    opacity: 1;
    transform: translateY(0);
}

}
html,
body {
    overflow-x: hidden;
    width: 100%;
}
.contact-page .contact-wrapper {
    width: 100%;
    overflow: hidden;
}

