/* ============================================
   AQUEDUCT DIGITAL — Main Stylesheet
   The Valley's source for digital growth
   ============================================ */

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

/* ============================================
   CSS Variables
   ============================================ */
:root {
  --green:       #1A6B3C;
  --blue:        #4AAFE0;
  --gold:        #C8A044;
  --white:       #FFFFFF;
  --dark-green:  #0F4A2A;
  --light-blue:  #7CCEF0;
  --soft-gold:   #D4B468;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --gray-900:    #0F172A;
  --font:        'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.25s ease;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: var(--font); }

/* ============================================
   Loading Screen
   ============================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: clamp(220px, 40vw, 340px);
  margin-bottom: 52px;
  opacity: 0;
  animation: loadLogoIn 0.7s ease 0.2s forwards;
}

@keyframes loadLogoIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loading-bar-wrap {
  width: clamp(260px, 50vw, 420px);
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 28px;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--light-blue));
  border-radius: 2px;
  animation: loadBar 2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes loadBar {
  0%   { width: 0%; }
  50%  { width: 60%; }
  80%  { width: 85%; }
  100% { width: 100%; }
}

.loading-tagline {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  opacity: 0;
  animation: loadTagIn 0.8s ease 0.6s forwards;
}

@keyframes loadTagIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background: var(--green);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  transition: box-shadow var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  margin-left: 10px;
  box-shadow: 0 4px 14px rgba(74,175,224,0.35);
}

.nav-cta:hover {
  background: #38a0d0 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,175,224,0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--dark-green);
  padding: 12px 16px 20px;
  z-index: 998;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Page offset */
.page-content { padding-top: 70px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::after { left: 150%; }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74,175,224,0.35);
}

.btn-blue:hover {
  background: #38a0d0;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(74,175,224,0.55), 0 0 0 1px rgba(74,175,224,0.2);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,107,60,0.3);
}

.btn-green:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26,107,60,0.5), 0 0 0 1px rgba(26,107,60,0.2);
}

.btn-lg { padding: 16px 40px; font-size: 1.0625rem; }

/* ============================================
   Hero — Home
   ============================================ */
.hero {
  background: var(--green);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 35%, rgba(74,175,224,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 75%, rgba(200,160,68,0.09) 0%, transparent 55%);
  pointer-events: none;
  animation: heroAura 12s ease-in-out infinite alternate;
}

@keyframes heroAura {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.08); }
}

/* Hero animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  will-change: transform;
}

.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(74,175,224,0.22), transparent 70%);
  top: -120px; right: -100px;
  animation: orbFloat1 11s ease-in-out infinite;
}

.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(200,160,68,0.18), transparent 70%);
  bottom: -80px; left: -80px;
  animation: orbFloat2 14s ease-in-out infinite;
}

.hero-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
  top: 45%; left: 10%;
  animation: orbFloat3 9s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-36px, 28px) scale(1.06); }
  66%      { transform: translate(18px, -22px) scale(0.94); }
}

@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(44px, -36px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0);       opacity: 0.5; }
  50%      { transform: translate(16px,-24px); opacity: 0.9; }
}

.hero-inner { position: relative; z-index: 1; max-width: 740px; }

.hero-logo {
  width: clamp(240px, 55vw, 400px);
  margin: 0 auto 44px;
  opacity: 0;
  animation: heroUp 0.9s ease 0.15s forwards;
}

.hero-tagline {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 18px;
  opacity: 0;
  animation: heroUp 0.9s ease 0.3s forwards;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.75;
  opacity: 0;
  animation: heroUp 0.9s ease 0.45s forwards;
}

.hero-actions {
  opacity: 0;
  animation: heroUp 0.9s ease 0.6s forwards;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Page Hero Banner
   ============================================ */
.page-hero {
  background: var(--green);
  padding: 120px 28px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(74,175,224,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
  margin-bottom: 20px;
}

.gold-underline {
  display: block;
  width: 72px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto;
}

/* ============================================
   Sections
   ============================================ */
section { padding: 96px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.section-title.white { color: var(--white); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 580px;
}

.section-sub.white { color: rgba(255,255,255,0.7); }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.accent-line {
  width: 52px;
  height: 4px;
  border-radius: 2px;
  margin: 16px 0 36px;
}

.accent-line.blue  { background: var(--blue); }
.accent-line.gold  { background: var(--gold); }
.accent-line.white { background: rgba(255,255,255,0.5); }
.accent-line.center { margin-left: auto; margin-right: auto; }

/* ============================================
   Brand Story — Home
   ============================================ */
.brand-story {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  padding: 80px 0 48px;
}

.story-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.story-inner p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 20px;
}

.story-highlight {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(26,107,60,0.06);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px;
  text-align: left;
  width: 100%;
  margin-top: 8px;
}

/* ============================================
   Services Grid — Home
   ============================================ */
.services-overview {
  background: var(--gray-100);
  padding: 64px 0 96px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(26,107,60,0.14), 0 0 0 1px rgba(74,175,224,0.18);
}

.card-head {
  background: var(--green);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-head h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-body {
  padding: 18px 20px;
  flex: 1;
}

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

.card-link {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform var(--transition);
}

.service-card:hover .card-link svg { transform: translateX(4px); }

/* Services CTA — Home */
.services-cta-home {
  background: linear-gradient(135deg, #eef4f8 0%, #f1f5f9 50%, #e8f0f7 100%);
  padding: 52px 0;
}

.services-cta-home-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.services-cta-home-inner .btn {
  margin-top: 36px;
}

/* ============================================
   Territory Map
   ============================================ */
.territory-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 96px 0;
}

.map-wrapper {
  margin-top: 56px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

#county-map {
  width: 100%;
  max-width: 620px;
  overflow: hidden;
}

#county-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.legend-swatch {
  width: 20px;
  height: 10px;
  border-radius: 3px;
}

.legend-swatch.service  { background: var(--blue); }
.legend-swatch.other    { background: #cbd5e1; }

.map-tooltip {
  position: fixed;
  background: var(--dark-green);
  color: var(--white);
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 500;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.map-tooltip.visible { opacity: 1; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--green);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 52px;
}

.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.footer-col li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-col li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* ============================================
   About Page
   ============================================ */
.about-story {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  padding: 96px 0;
}

.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-story-inner p {
  font-size: 1.125rem;
  line-height: 1.875;
  color: var(--gray-700);
  margin-bottom: 28px;
}

.about-story-inner p.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-900);
}

.why-section {
  background: linear-gradient(160deg, #f0f6fb 0%, #e8f2f8 50%, #f1f5f9 100%);
  padding: 96px 0;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(26,107,60,0.14), 0 0 0 1px rgba(74,175,224,0.15);
}

.why-card-head {
  background: var(--green);
  padding: 24px 28px;
}

.why-card-head .icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-card-head .icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card-head h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.why-card-body { padding: 24px 28px; }

.why-card-body p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.territory-callout {
  background: var(--green);
  padding: 96px 0 52px;
}

.county-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.county-region h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.county-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.county-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.county-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================
   Services Page
   ============================================ */
.services-intro {
  background: var(--white);
  padding: 64px 0 0;
  text-align: center;
}

.services-intro p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}

.services-block {
  padding: 72px 0;
}

.services-block.alt { background: var(--gray-100); }

.block-header { margin-bottom: 44px; }

.block-header .block-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.block-tag.one-time { background: rgba(26,107,60,0.1); color: var(--green); }
.block-tag.monthly  { background: rgba(74,175,224,0.1); color: #2a8ab8; }

.block-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.block-header p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 620px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.svc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(26,107,60,0.12), 0 0 0 1px rgba(74,175,224,0.2);
  border-color: transparent;
}

.svc-card-bar {
  height: 5px;
}

.svc-card-bar.green { background: linear-gradient(90deg, var(--green), var(--gold)); }
.svc-card-bar.blue  { background: linear-gradient(90deg, var(--blue), var(--light-blue)); }

.svc-card-body { padding: 28px 28px 24px; }

.svc-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.svc-card-body p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.monthly-intro {
  background: rgba(74,175,224,0.07);
  border: 1px solid rgba(74,175,224,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ============================================
   Services Accordion
   ============================================ */
.svc-accordion {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.svc-accord-item {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background 0.2s ease;
}

.svc-accord-item:last-child {
  border-bottom: none;
}

.svc-accord-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-left: 4px solid rgba(26,107,60,0.18);
  transition: border-color 0.25s ease, background 0.2s ease;
}

.svc-accord-trigger:hover {
  background: var(--gray-50);
}

.svc-accord-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.svc-accord-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: color 0.25s ease;
}

.svc-accord-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: color 0.25s ease;
  line-height: 1.4;
}

.svc-accord-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

/* Open state */
[data-accent="green"] .svc-accord-item.active .svc-accord-trigger {
  border-left-color: var(--green);
  background: rgba(26,107,60,0.04);
}

[data-accent="blue"] .svc-accord-item.active .svc-accord-trigger {
  border-left-color: var(--blue);
  background: rgba(74,175,224,0.04);
}

[data-accent="green"] .svc-accord-item.active .svc-accord-name,
[data-accent="green"] .svc-accord-item.active .svc-accord-icon {
  color: var(--green);
}

[data-accent="blue"] .svc-accord-item.active .svc-accord-name,
[data-accent="blue"] .svc-accord-item.active .svc-accord-icon {
  color: var(--blue);
}

[data-accent="green"] .svc-accord-item.active .svc-accord-chevron {
  color: var(--green);
  transform: rotate(180deg);
}

[data-accent="blue"] .svc-accord-item.active .svc-accord-chevron {
  color: var(--blue);
  transform: rotate(180deg);
}

/* Panel animation using CSS grid trick */
.svc-accord-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-accord-panel.open {
  grid-template-rows: 1fr;
}

.svc-accord-panel-inner {
  overflow: hidden;
}

.svc-accord-panel-inner p {
  padding: 0 28px 24px 32px;
  font-size: 0.9875rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .svc-accord-trigger { padding: 20px; }
  .svc-accord-left { gap: 12px; }
  .svc-accord-name { font-size: 1rem; }
  .svc-accord-panel-inner p { padding: 0 20px 20px 24px; }
}

/* ============================================ */

.services-cta-banner {
  background: var(--green);
  padding: 80px 0;
  text-align: center;
}

.services-cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.services-cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  background: var(--white);
  padding: 80px 0 100px;
}

.contact-intro {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.contact-intro p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 12px;
}

.consult-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-bottom: 52px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.consult-box p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.07);
  padding: 52px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group label .req { color: #e53e3e; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,175,224,0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

.error-msg {
  font-size: 0.8125rem;
  color: #e53e3e;
  display: none;
  margin-top: 2px;
}

.error-msg.visible { display: block; }

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 32px; text-align: center; }

.contact-after {
  max-width: 780px;
  margin: 16px auto 0;
  text-align: center;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
}

.contact-after a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-after a:hover { color: var(--green); }

.contact-after p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ============================================
   Contact Info Section (new Contact page)
   ============================================ */
.contact-info-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  padding: 80px 0 60px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 52px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  background: rgba(74,175,224,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}

.contact-info-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.contact-info-card a,
.contact-info-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  line-height: 1.5;
}

.contact-info-card a:hover { color: var(--blue); }

.contact-info-cta {
  text-align: center;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  background: linear-gradient(160deg, #f0f6fb 0%, #e8f2f8 50%, #f1f5f9 100%);
  padding: 80px 0 100px;
}

.faq-list {
  max-width: 800px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-item[open] .faq-question {
  color: var(--green);
  background: rgba(26,107,60,0.04);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  position: relative;
  transition: border-color 0.2s ease, transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gray-500);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.3s ease;
}

.faq-icon::before {
  width: 10px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon {
  border-color: var(--green);
  transform: rotate(45deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--green);
}

.faq-answer {
  padding: 0 28px 24px;
  border-top: 1px solid var(--gray-100);
}

.faq-answer p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; max-width: 400px; }
  .faq-question { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 20px; }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-up {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left.visible,
.fade-right.visible,
.scale-up.visible {
  opacity: 1;
  transform: none;
}

.fade-up.d1, .fade-left.d1, .fade-right.d1, .scale-up.d1 { transition-delay: 0.08s; }
.fade-up.d2, .fade-left.d2, .fade-right.d2, .scale-up.d2 { transition-delay: 0.16s; }
.fade-up.d3, .fade-left.d3, .fade-right.d3, .scale-up.d3 { transition-delay: 0.24s; }
.fade-up.d4, .fade-left.d4, .fade-right.d4, .scale-up.d4 { transition-delay: 0.32s; }
.fade-up.d5, .fade-left.d5, .fade-right.d5, .scale-up.d5 { transition-delay: 0.40s; }
.fade-up.d6, .fade-left.d6, .fade-right.d6, .scale-up.d6 { transition-delay: 0.48s; }
.fade-up.d7, .fade-left.d7, .fade-right.d7, .scale-up.d7 { transition-delay: 0.56s; }
.fade-up.d8, .fade-left.d8, .fade-right.d8, .scale-up.d8 { transition-delay: 0.64s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: calc(100svh - 70px); padding: 60px 20px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .county-columns { grid-template-columns: 1fr; gap: 32px; }
  .county-list { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: 1; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  section { padding: 70px 0; }
  .about-story { padding: 70px 0; }
  .why-section { padding: 70px 0; }
  .territory-callout { padding: 70px 0; }
  .services-block { padding: 56px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .map-wrapper { padding: 20px; }
  .hero-tagline { font-size: 1.75rem; }
  .page-hero h1 { font-size: 2.125rem; }
  .btn { padding: 13px 26px; font-size: 0.9375rem; }
  .contact-form-wrap { padding: 20px 16px; }
}
