:root {
  --c1: #1F6F5F;
  --c2: #2FA084;
  --c3: #6FCF97;
  --c4: #EEEEEE;
  --text: #12322b;
  --bg: #f8fbf9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 34px rgba(31, 111, 95, 0.15);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3.5rem;
  --wrap: min(1120px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c1);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.8rem;
  top: 0.8rem;
}

a {
  color: var(--c1);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--c2);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 111, 95, 0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-2) 0;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: var(--space-3);
}

.menu a[aria-current="page"] {
  color: var(--c2);
}

.hero-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 72vh;
}

.hero-panel {
  padding: clamp(2rem, 4vw, 4rem);
  display: grid;
  align-content: center;
}

.hero-copy {
  background: linear-gradient(145deg, #f2fbf7, #e7f8ef);
}

.hero-media {
  background: #fff;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.7px;
  color: var(--c2);
  margin-bottom: 0.25rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.lead {
  font-size: 1.07rem;
  color: #2e4a43;
}

.section {
  padding: var(--space-5) 0;
}

.section-tight {
  padding: 2rem 0 0.5rem;
}

.alt {
  background: #fff;
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.btn {
  background: var(--c1);
  color: #fff;
  border: 1px solid var(--c1);
  border-radius: 999px;
  padding: 0.68rem 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover {
  background: var(--c2);
  transform: translateY(-1px);
}

.btn-light {
  background: transparent;
  color: var(--c1);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: #cfd8d5;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
}

.compass-grid,
.rhythm-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-btn,
.tile,
.guide-item {
  background: #fff;
  border: 1px solid rgba(31, 111, 95, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card-btn {
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
}

.card-btn:hover,
.tile:hover,
.guide-item:hover {
  border-color: var(--c2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.badge {
  background: #fff;
  border: 1px solid rgba(31, 111, 95, 0.18);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.highlight {
  background: linear-gradient(165deg, #ffffff, #f2fbf7);
  border: 1px solid rgba(31, 111, 95, 0.14);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.planner {
  background: #fff;
  border: 1px solid rgba(31, 111, 95, 0.2);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.planner-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.planner-result {
  background: #f4fcf8;
  border-left: 4px solid var(--c2);
  padding: 0.85rem 1rem;
  border-radius: 0 10px 10px 0;
}

.faq-item {
  border: 1px solid rgba(31, 111, 95, 0.14);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.faq-item p {
  padding: 0 1rem 1rem;
  margin: 0;
}

.policy-note {
  border-left: 4px solid var(--c3);
  padding: 0.7rem 1rem;
  background: #f4fcf8;
  border-radius: 0 10px 10px 0;
}

.tip-output {
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: #fff;
  border-left: 4px solid var(--c3);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.two-col {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.two-col img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 111, 95, 0.12);
}

.clean-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: var(--space-1);
}

.contact-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}

iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius-sm);
}

.page-main {
  min-height: 72vh;
}

form {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-3);
  border: 1px solid rgba(31, 111, 95, 0.14);
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #c7d8d1;
  margin-bottom: 0.25rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(47, 160, 132, 0.25);
  border-color: var(--c2);
}

.error {
  min-height: 1.2rem;
  margin: 0 0 0.5rem;
  color: #a13535;
  font-size: 0.9rem;
}

.consent-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: var(--space-1);
}

.consent-row input {
  width: auto;
  margin-top: 0.25rem;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(31, 111, 95, 0.15);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.guide-stack {
  display: grid;
  gap: var(--space-2);
}

.site-footer {
  border-top: 1px solid rgba(31, 111, 95, 0.12);
  text-align: center;
  padding: 0.9rem;
  font-size: 0.94rem;
  background: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-panel {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  background: #ffffff;
  border: 1px solid rgba(31, 111, 95, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: var(--space-2);
  z-index: 40;
}

.cookie-panel.hidden {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 50, 43, 0.45);
  display: none;
  place-items: center;
  z-index: 50;
}

.cookie-modal.open {
  display: grid;
}

.cookie-card {
  width: min(460px, 92vw);
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-3);
}

.switch-row {
  display: flex;
  justify-content: space-between;
  margin: 0.75rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.float-in {
  animation: floatIn 0.65s ease both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 960px) {

  .hero-split,
  .two-col,
  .compass-grid,
  .rhythm-grid,
  .contact-grid,
  .badge-row,
  .highlight-grid,
  .planner-options {
    grid-template-columns: 1fr;
  }

  .hero-split {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .menu {
    gap: 0.9rem;
    font-size: 0.92rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-footer {
    font-size: 0.82rem;
  }
}