﻿:root {
  color-scheme: light;
  --bg: #f4f1ec;
  --bg-alt: #efe8e1;
  --card: #ffffff;
  --text: #2a2a2a;
  --muted: #5b5b5b;
  --teal: #1f8a8a;
  --teal-dark: #166b6b;
  --red: #c94b3e;
  --line: #ded7cf;
  --shadow: 0 18px 40px rgba(18, 24, 28, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --space-1: clamp(0.5rem, 1vw, 0.75rem);
  --space-2: clamp(0.75rem, 1.2vw, 1rem);
  --space-3: clamp(1rem, 1.8vw, 1.5rem);
  --space-4: clamp(1.5rem, 2.4vw, 2.25rem);
  --space-5: clamp(2rem, 3vw, 3rem);
  --space-6: clamp(2.5rem, 4vw, 4rem);
  --max: 1120px;
  --font-body: "Alegreya Sans", "Trebuchet MS", sans-serif;
  --font-head: "Marcellus", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(31, 138, 138, 0.08), transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(201, 75, 62, 0.06), transparent 35%),
              linear-gradient(180deg, var(--bg), var(--bg-alt));
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--teal-dark);
}

p {
  margin: 0 0 var(--space-2);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.container {
  width: min(var(--max), calc(100% - 2 * var(--space-4)));
  margin: 0 auto;
}

.section {
  padding: var(--space-6) 0;
}

.section.muted {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  margin-bottom: var(--space-4);
}

.section-header.split {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 900px) {
  .section-header.split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.gallery figure {
  flex: 0 0 320px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 520px) {
  .gallery figure { flex-basis: 260px; }
  .gallery img { height: 200px; }
}

.hero {
  padding: var(--space-6) 0 var(--space-5);
}

.hero-grid {
  display: grid;
  gap: var(--space-4);
}

.hero-secondary {
  padding-top: var(--space-5);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: var(--space-2);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  padding: var(--space-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-card .mini-cta {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--line);
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(31, 138, 138, 0.2);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-3);
}

.badge {
  background: rgba(31, 138, 138, 0.12);
  color: var(--teal-dark);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-red {
  background: rgba(201, 75, 62, 0.12);
  color: var(--red);
}

.card {
  background: var(--card);
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(30, 34, 40, 0.08);
}

.card.compact {
  padding: var(--space-2) var(--space-3);
}

.card ul {
  margin: var(--space-2) 0 0;
  padding-left: 1.1rem;
}

.card ul li {
  margin-bottom: 0.45rem;
}

.card.testimonial {
  font-style: italic;
}

.step {
  background: rgba(255, 255, 255, 0.85);
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(31, 138, 138, 0.12);
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.cta-block {
  background: linear-gradient(135deg, rgba(31, 138, 138, 0.08), rgba(255, 255, 255, 0.9));
}

.cta-inner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr auto;
  }
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.callout {
  background: var(--card);
  padding: var(--space-4);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.bundle-list {
  margin: var(--space-3) 0;
  padding-left: 1rem;
}

.faq-grid {
  display: grid;
  gap: var(--space-2);
}

.faq-grid details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--line);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.brand {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

/* ✅ NEW: real logo image styling */
.brand-logo {
  width: auto;
  height: 50px;
  display: block;
  object-fit: contain;
}

/* ❌ REMOVED: .brand-mark and .brand-mark::after (placeholder symbol) */

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.site-nav a[aria-current="page"] {
  background: rgba(31, 138, 138, 0.12);
  color: var(--teal-dark);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    right: var(--space-3);
    top: 72px;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3);
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: var(--space-2);
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--red);
}

.btn-outline:hover {
  color: var(--red);
  border-color: var(--red);
}

.btn-small {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

.form {
  background: var(--card);
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: var(--space-2);
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
summary:focus {
  outline: 3px solid rgba(31, 138, 138, 0.3);
  outline-offset: 2px;
}

.form-error {
  color: var(--red);
  font-size: 0.85rem;
  min-height: 1rem;
}

.form-success {
  margin-top: var(--space-2);
  background: rgba(31, 138, 138, 0.12);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 138, 138, 0.3);
  color: var(--teal-dark);
}

.split-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.aside-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: var(--space-3);
  border: 1px solid var(--line);
}

.note {
  margin-top: var(--space-3);
  padding: var(--space-2);
  border-left: 3px solid var(--red);
  background: rgba(201, 75, 62, 0.08);
}

.site-footer {
  padding: var(--space-5) 0 var(--space-4);
  border-top: 1px solid var(--line);
  background: #f7f3ef;
}

.footer-grid {
  display: grid;
  gap: var(--space-3);
}

.footer-grid h4 {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem var(--space-3);
  background: rgba(247, 243, 239, 0.95);
  border-top: 1px solid var(--line);
  gap: var(--space-2);
  justify-content: center;
}

@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 74px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid.cards {
    grid-template-columns: 1fr;
  }
  .grid.steps {
    grid-template-columns: 1fr;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-header.split {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    justify-content: stretch;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery figure {
    width: 100%;
    margin: 0;
  }
  .gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .container {
    width: min(var(--max), calc(100% - 2 * var(--space-3)));
  }
  .brand-text,
  .site-nav,
  .header-inner {
    min-width: 0;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 100;
}

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

.muted-text {
  color: var(--muted);
}
