/* WaterControl — light theme */
:root {
  --bg-deep: #f0f4f8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-dim: rgba(2, 132, 199, 0.1);
  --warm: #b45309;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(2, 132, 199, 0.06), transparent 55%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--accent);
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.brand-text {
  line-height: 1;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav-main a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  justify-content: center;
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-logo-wrap img {
  max-height: 72px;
  width: auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 3px solid #3b82f6;
  border-radius: 10px;
  padding: 10px 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page title (inner pages) */
.page-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-intro .section-desc {
  margin: 0;
  max-width: 52ch;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.section-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  margin: 0;
}

.section-follow {
  margin-top: 2rem;
  color: var(--text-muted);
  max-width: 50ch;
}

/* Link grid (home) */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.link-tile {
  display: block;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.link-tile:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.link-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.link-tile p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.link-tile .tile-more {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Cards grid */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}

.partner-cell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.partner-cell:hover {
  background: var(--accent-dim);
}

.partner-cell img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

/* Team */
.team-region {
  margin-bottom: 3.5rem;
}

.team-region:last-child {
  margin-bottom: 0;
}

.region-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.region-bar h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--text);
}

.region-hours {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.region-actions {
  display: flex;
  gap: 0.75rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.team-card:hover {
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  aspect-ratio: 1;
  background: #e2e8f0;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 1rem 1.15rem 1.25rem;
}

.team-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 0.35rem;
}

.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.25;
  color: var(--text);
}

/* About */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  vertical-align: middle;
}

.quote-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* Causes */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.cause-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  box-shadow: var(--shadow);
}

.cause-item img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--text);
}

.contact-card h3 i {
  margin-right: 0.45rem;
  color: var(--accent);
}

.contact-line {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.contact-line strong {
  color: var(--text);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.note-small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-elevated);
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover {
  color: var(--accent-hover);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
    max-height: 320px;
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid .service-detail-media {
    order: -1;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-main.is-open {
    display: block;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta .phone-link {
    display: none;
  }

  .cards-4 {
    grid-template-columns: 1fr;
  }
}

/* Services page — long-form content */
.intro-prose {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.intro-prose-inner {
  max-width: 100%;
}

.intro-prose p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
}

.intro-prose p:last-child {
  margin-bottom: 0;
}

.service-toc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.service-toc-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.service-toc-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.service-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.service-toc a {
  font-weight: 600;
}

.service-detail {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.service-detail-body {
  min-width: 0;
}

.service-stacked-title {
  font-family: var(--font-display);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

.service-stacked-kicker {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.service-stacked-main {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-detail-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.service-detail-body p:last-child {
  margin-bottom: 0;
}

.service-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #e2e8f0;
}

.service-detail-media img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.service-detail-grid.is-reverse .service-detail-media {
  order: -1;
}
