/* ==========================================================================
   Fence and Deck Pros — base styles
   ========================================================================== */

:root {
  --navy: #1a1a2e;
  --navy-light: #2a2a4e;
  --blue: #1a7fd4;
  --blue-hover: #1567b0;
  --blue-light: #4da6ff;
  --blue-tint-05: rgba(26, 127, 212, 0.05);
  --blue-tint-10: rgba(26, 127, 212, 0.1);
  --blue-tint-20: rgba(26, 127, 212, 0.2);
  --blue-100: #dbeafe;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --max-width: 1280px;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-body);
}

p {
  margin: 0;
}

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

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

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

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

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

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

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

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

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

.btn-lg {
  font-size: 1.125rem;
  padding: 1.1rem 1.75rem;
  border-radius: 0.9rem;
}

.btn-xl {
  font-size: 1.4rem;
  padding: 1.25rem 2.25rem;
  border-radius: 1rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-text {
  color: var(--gray-300);
  font-size: 0.75rem;
}

.topbar-text.long {
  display: none;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
  color: var(--blue-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.875rem;
}

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

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand img {
  height: 3rem;
  width: auto;
}

.brand-name {
  font-weight: 900;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy);
}

.mobile-toggle .icon {
  width: 24px;
  height: 24px;
}

.mobile-toggle .icon-close {
  display: none;
}

.site-header.menu-open .icon-menu {
  display: none;
}

.site-header.menu-open .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 0 1rem 1.5rem;
}

.site-header.menu-open .mobile-menu {
  display: block;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: var(--gray-50);
}

.mobile-nav-link.active {
  background: var(--blue);
  color: var(--white);
}

.mobile-call-btn {
  margin-top: 0.75rem;
}

/* ==========================================================================
   Layout / Main
   ========================================================================== */

main {
  flex: 1;
  padding-top: 105px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Section helpers
   ========================================================================== */

.section {
  padding: 6rem 0;
  background: var(--white);
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy);
}

.section-blue {
  background: var(--blue);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.eyebrow.on-dark {
  color: var(--blue-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.page-hero .eyebrow {
  color: var(--blue-light);
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* ==========================================================================
   Home — Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.9), rgba(26,26,46,0.6), transparent);
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1rem;
  width: 100%;
}

.hero-inner {
  max-width: 42rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 127, 212, 0.2);
  border: 1px solid rgba(26, 127, 212, 0.4);
  color: var(--blue-light);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--blue);
}

.hero-text {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-actions .btn {
  box-shadow: 0 10px 25px rgba(26, 127, 212, 0.3);
}

.hero-actions .btn:hover {
  box-shadow: 0 10px 25px rgba(26, 127, 212, 0.5);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  color: var(--white);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--blue-100);
  font-weight: 500;
}

/* ==========================================================================
   Services grid (Home)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}

.service-card-media {
  height: 14rem;
  overflow: hidden;
}

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

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card-body p {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.service-card-link {
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.service-card-link:hover {
  gap: 0.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   Trust section (Home)
   ========================================================================== */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.trust-text p {
  color: var(--gray-500);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.feature-icon {
  background: var(--blue-tint-10);
  padding: 0.625rem;
  border-radius: 0.5rem;
  color: var(--blue);
  display: flex;
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.feature-item span {
  font-weight: 600;
  color: var(--navy);
}

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

.trust-images img {
  border-radius: 1rem;
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.trust-images img.offset {
  margin-top: 2rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-name {
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* ==========================================================================
   Gallery preview (Home) / Projects grid
   ========================================================================== */

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

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--blue-100);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-banner-sm {
  padding: 2.5rem 0;
  text-align: center;
}

.cta-banner-sm p {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.footer-logo {
  display: inline-block;
  background: var(--white);
  border-radius: 0.75rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 4rem;
  width: auto;
}

.footer-location {
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray-400);
}

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

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact .icon {
  color: var(--blue-light);
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
}

/* ==========================================================================
   Services page
   ========================================================================== */

.service-rows {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.service-row-media {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-row-media img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.service-subtitle {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.service-row h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-row-desc {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
}

.checkmark {
  background: var(--blue-tint-10);
  border-radius: 999px;
  padding: 0.15rem;
  display: flex;
  color: var(--blue);
}

.checkmark .icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Projects page
   ========================================================================== */

.filter-tabs {
  position: sticky;
  top: 114px;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-btn {
  background: var(--gray-100);
  color: var(--navy);
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--gray-200);
}

.tab-btn.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}

.project-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.project-card:hover .project-card-media img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 1rem;
}

.project-card-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.875rem;
}

.project-card-location {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.15rem;
}

.project-card.hidden {
  display: none;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--gray-500);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.about-stat {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: var(--white);
  grid-column: span 2;
}

.about-stat-value {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.about-stat.blue {
  background: var(--blue);
}

.about-stat.blue .about-stat-label {
  color: var(--blue-100);
  font-weight: 600;
}

.about-stat.navy {
  background: var(--navy);
}

.about-stat.navy .about-stat-label {
  color: var(--gray-300);
  font-weight: 600;
}

.about-photo {
  grid-column: span 2;
  border-radius: 1rem;
  overflow: hidden;
  height: 14rem;
}

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

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-100);
  text-align: center;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-tint-10);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
}

.value-icon .icon {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
}

.area-section {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
}

.area-tag {
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

/* ==========================================================================
   FAQs page
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question span {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  padding-right: 1rem;
}

.faq-question .icon {
  color: var(--blue);
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-500);
  line-height: 1.6;
  border-top: 1px solid var(--gray-100);
}

.faq-answer p {
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-callout {
  max-width: 48rem;
  margin: 4rem auto 0;
  background: var(--blue-tint-05);
  border: 1px solid var(--blue-tint-20);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.faq-callout h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.faq-callout p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.contact-heading {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-detail-icon {
  background: var(--blue-tint-10);
  padding: 0.75rem;
  border-radius: 0.75rem;
  color: var(--blue);
  flex-shrink: 0;
  display: flex;
}

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

.contact-detail-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-detail a.phone-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.25rem;
}

.contact-detail a.phone-link:hover {
  text-decoration: underline;
}

.contact-detail-sub {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.contact-detail p {
  color: var(--gray-500);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.hours-row strong {
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.contact-form-card {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.5);
}

.form-success {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.form-success .icon {
  width: 56px;
  height: 56px;
  color: var(--blue);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   404 page
   ========================================================================== */

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--gray-50);
  text-align: center;
}

.notfound-code {
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.notfound-rule {
  height: 2px;
  width: 4rem;
  background: var(--gray-200);
  margin: 0 auto 1.5rem;
}

.notfound h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.notfound p {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

@media (min-width: 640px) {
  .topbar-text.long { display: block; }
  .topbar-text.short { display: none; }

  .hero-actions { flex-direction: row; }

  .about-stat { grid-column: span 1; }

  .footer-bottom-inner { flex-direction: row; text-align: left; }
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero-title { font-size: 4.5rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .section-title { font-size: 3rem; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: repeat(2, 1fr); }
  .service-row.reverse .service-row-content { order: 2; }
  .service-row.reverse .service-row-media { order: 1; }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
}
