/* ==============================================
   COVENANT PLUMBING — Stylesheet
   "When you pass through the waters, I will be with you."
   ============================================== */

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

/* --- Custom Properties --- */
:root {
  --black: #231f20;
  --black-rgb: 35, 31, 32;
  --blue: #79bfd5;
  --blue-rgb: 121, 191, 213;
  --blue-dark: #5a9fb5;
  --blue-darker: #4a8a9e;
  --blue-light: #a8d8e8;
  --blue-pale: #daeef4;
  --blue-glow: rgba(121, 191, 213, 0.2);
  --blue-bg: #f2f9fb;
  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #555;
  --gray-700: #374151;

  --font-logo: 'Alfa Slab One', serif;
  --font-body: 'Outfit', sans-serif;

  --max-width: 1200px;
  --section-pad: clamp(64px, 10vw, 120px);
  --header-h: 80px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 65ch;
}

.label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  margin-bottom: 12px;
  display: block;
}

.section-header p {
  margin: 16px auto 0;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(var(--blue-rgb), 0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 32px rgba(var(--blue-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(var(--black-rgb), 0.2);
}

.btn-dark:hover {
  box-shadow: 0 8px 32px rgba(var(--black-rgb), 0.35);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.btn-white:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header.scrolled .header-logo {
  color: var(--black);
}

.header.scrolled .nav-link {
  color: var(--black);
}

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

.header.scrolled .header-phone {
  color: var(--black);
}

.header.scrolled .header-phone:hover {
  color: var(--blue);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-logo);
  font-size: 1.375rem;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.header-logo span {
  color: var(--blue);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header.scrolled .nav-link:hover::after,
.header.scrolled .nav-link.active::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-phone:hover {
  color: var(--blue);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--black);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

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

.mobile-nav .mobile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.125rem;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Gradient light effect */
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(var(--blue-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 140px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 760px;
  text-wrap: balance;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero-verse {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-bottom: 12px;
  max-width: 550px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-verse .water {
  color: var(--blue);
  font-style: italic;
}

.hero-ref {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Animated wave at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Water line decorations */
.water-lines {
  position: absolute;
  bottom: 100px;
  right: 5%;
  width: 300px;
  height: 200px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.water-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  animation: waterLine 6s ease-in-out infinite;
}

.water-lines span:nth-child(1) { top: 0; animation-delay: 0s; }
.water-lines span:nth-child(2) { top: 30px; animation-delay: 0.5s; width: 80%; }
.water-lines span:nth-child(3) { top: 60px; animation-delay: 1s; width: 60%; }
.water-lines span:nth-child(4) { top: 90px; animation-delay: 1.5s; width: 90%; }
.water-lines span:nth-child(5) { top: 120px; animation-delay: 2s; width: 70%; }

@keyframes waterLine {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(20px); opacity: 1; }
}

/* ==============================================
   PAGE HERO (for inner pages)
   ============================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--black);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(var(--blue-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 1.125rem;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.page-hero-wave svg {
  width: 100%;
  height: 50px;
  display: block;
}

/* ==============================================
   SERVICES SECTION
   ============================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 16px 48px rgba(var(--blue-rgb), 0.1);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--blue);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 10px;
}

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

/* Services page — detailed cards */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-detail-icon svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
}

.service-detail h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-weight: 500;
}

.service-detail ul li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.service-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--blue-pale) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual svg {
  width: 80px;
  height: 80px;
  color: var(--blue);
  opacity: 0.4;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(var(--blue-rgb), 0.15), transparent 60%);
}

.service-visual:has(img)::after {
  display: none;
}

/* ==============================================
   TRUST / WHY US SECTION
   ============================================== */
.trust-section {
  background: var(--blue-bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.trust-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0 auto;
}

/* ==============================================
   SERVICE AREA
   ============================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.area-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  transition: all 0.4s var(--ease-out-expo);
}

.area-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(var(--blue-rgb), 0.1);
}

.area-card h3 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.area-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0 auto;
}

.area-card .area-pin {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-card .area-pin svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.area-counties {
  text-align: center;
  margin-top: 32px;
  font-size: 1rem;
  color: var(--gray-500);
}

.area-counties strong {
  color: var(--black);
  font-weight: 700;
}

/* ==============================================
   CTA BAND
   ============================================== */
.cta-band {
  background: var(--blue);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.cta-band p {
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ==============================================
   EMERGENCY CALLOUT
   ============================================== */
.emergency-callout {
  background: var(--black);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}

.emergency-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emergency-icon svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
}

.emergency-callout h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.emergency-callout p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

/* ==============================================
   ABOUT SECTION
   ============================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-visual {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--blue-pale) 50%, var(--blue-bg) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--blue);
  opacity: 0.3;
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(var(--blue-rgb), 0.3);
}

.about-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.about-badge .badge-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Verse feature section */
.verse-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.verse-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.verse-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.verse-quote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 16px;
}

.verse-quote .water {
  color: var(--blue);
}

.verse-ref {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.verse-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(var(--blue-rgb), 0.06);
  pointer-events: none;
}

.verse-decoration::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border-radius: 50%;
  border: 1px solid rgba(var(--blue-rgb), 0.04);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0 auto;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

/* ==============================================
   CONTACT SECTION
   ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 8px 24px rgba(var(--blue-rgb), 0.08);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.contact-info-card a {
  color: var(--blue);
  font-weight: 600;
}

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

/* Contact form */
.contact-form {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.375rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

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

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 12px;
  text-align: center;
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: var(--black);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.footer-brand .header-logo {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-verse {
  margin-top: 20px;
  font-style: italic;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer-verse .water {
  color: var(--blue);
}

.footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s ease;
}

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

/* ==============================================
   WAVE DIVIDERS
   ============================================== */
.wave-divider {
  line-height: 0;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 50px;
  display: block;
}

.wave-divider.flip {
  transform: scaleY(-1);
}

/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(8) { transition-delay: 560ms; opacity: 1; transform: translateY(0); }
.stagger.revealed > *:nth-child(9) { transition-delay: 640ms; opacity: 1; transform: translateY(0); }

/* Hero animations (on page load) */
.hero-content .hero-label {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.35s forwards;
}

.hero-content .hero-verse {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.5s forwards;
}

.hero-content .hero-ref {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-content .hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

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

/* Page hero animations */
.page-hero h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.page-hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.35s forwards;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .service-visual {
    max-height: 300px;
  }

  .about-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --header-h: 70px;
  }

  .header-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 40px 24px 120px;
  }

  .hero-wave svg {
    height: 50px;
  }

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

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

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

  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-badge {
    right: 16px;
    bottom: -12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .emergency-callout {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .verse-decoration {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
    width: 100%;
    justify-content: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .hero-cta {
    flex-direction: column;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .service-card {
    padding: 28px 20px;
  }
}

/* ==============================================
   UTILITY
   ============================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==============================================
   MISSION / VALUES VERSES / COVENANT PLEDGE (about page)
   ============================================== */
.mission-block {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.mission-block .label {
  margin-bottom: 28px;
  display: block;
}

.mission-headline {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--gray-700);
  margin: 0;
}

.mission-accent {
  color: var(--blue-darker);
  font-weight: 700;
}

.value-verse {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--gray-500);
  line-height: 1.55;
  text-wrap: balance;
}

.value-verse cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.covenant-pledge {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--blue-pale) 100%);
  border-radius: 20px;
  border-left: 4px solid var(--blue);
}

.covenant-pledge .label {
  margin-bottom: 20px;
  display: block;
}

.covenant-pledge p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.covenant-pledge p strong {
  color: var(--blue-darker);
  font-weight: 700;
}
