/* ===== WellKeepers — Brand Variables ===== */
:root {
  --black: #0c1017;
  --navy: #17355d;
  --navy-light: #1d4373;
  --blue: #1078a6;
  --light-blue: #50c3e9;
  --yellow: #fed23f;
  --teal: #37bfbb;
  --white: #ffffff;
  --off-white: #f5f8fa;
  --gray: #5c6b7a;
  --border: #e1e8ee;

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 4px 20px rgba(12, 16, 23, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 16, 23, 0.16);
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== Typography ===== */
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "✦";
  display: inline-block;
  color: var(--yellow);
  font-size: 0.85em;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.eyebrow.light { color: var(--light-blue); }
.eyebrow.center { display: block; text-align: center; }

h1, h2, h3 {
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 40px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.section { padding: 90px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(55, 191, 187, 0.35);
}
.btn-primary:hover { background: var(--light-blue); }

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

.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; max-width: none; flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.main-nav a:hover { color: var(--blue); }
.nav-cta {
  color: var(--black) !important;
  padding: 10px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(254, 210, 63, 0.18), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(55, 191, 187, 0.25), transparent 45%),
    linear-gradient(135deg, var(--black) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-text { max-width: 680px; }

.hero-visual { display: flex; justify-content: center; }
.hero-logo-card {
  position: relative;
  background: none;
  border-radius: 20px;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 380px;
}
.hero-logo-img { width: 100%; height: auto; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.hero-trust li { position: relative; padding-left: 20px; }
.hero-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.services-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 36px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}
.visual-cta {
  text-align: center;
  margin-top: 20px;
}

/* ===== Service Area Map ===== */
.map-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.map-img { width: 100%; height: auto; display: block; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 120, 166, 0.1);
  color: var(--blue);
  border-radius: 50%;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.95rem; }
.card-price {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
}
a.card-price:hover { text-decoration: underline; color: var(--navy); }

.price-tiers {
  list-style: none;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.price-tiers li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.92rem;
}
.price-tiers span { color: var(--gray); }
.price-tiers strong { color: var(--navy); font-weight: 700; }
.price-tiers strong a { color: var(--blue); text-decoration: none; }
.price-tiers strong a:hover { text-decoration: underline; color: var(--navy); }

.size-chart-link {
  display: inline-block;
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--font);
}
.size-chart-link:hover { color: var(--navy); }

/* ===== Size Chart Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 23, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.modal-overlay[hidden] { display: none; }
.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.modal-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.modal-close:hover { background: var(--blue); }

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch;
}
.why-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 50px;
}
.why-text p { color: var(--gray); margin-bottom: 24px; font-size: 1.02rem; }
.why-text p a { color: var(--blue); font-weight: 700; text-decoration: none; }
.why-text p a:hover { text-decoration: underline; color: var(--navy); }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.why-list li {
  padding-left: 28px;
  position: relative;
  color: var(--black);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--teal);
}
.why-list strong { color: var(--navy); }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ba-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.ba-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
}
.ba-before { background: rgba(12, 16, 23, 0.75); }
.ba-after { background: var(--teal); color: var(--black); }

/* ===== Process Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step { text-align: center; }
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 18px;
  font-size: 1.1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p { color: var(--gray); margin-bottom: 26px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-details li { color: var(--black); }
.contact-details a { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; color: var(--navy); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success, .form-error {
  display: none;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-success {
  background: rgba(55, 191, 187, 0.12);
  border: 1px solid var(--teal);
  color: var(--navy);
}
.form-success strong { display: block; margin-bottom: 4px; color: var(--navy); }
.form-error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid #dc3545;
  color: #a12030;
}
.form-row { margin-bottom: 18px; }
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.optional-tag {
  font-weight: 400;
  color: var(--gray);
  text-transform: none;
  letter-spacing: normal;
}
input, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--off-white);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 36px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-inner p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; font-size: 0.85rem; }
.footer-links a { color: var(--blue); font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--light-blue); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 240px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .logo-img { height: 32px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; }
}
