:root {
  --bg: #F4F0E4;
  --primary: #44A194;
  --secondary: #537D96;
  --accent: #EC8F8D;
  --text: #1f2b33;
  --muted: #48606e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(83, 125, 150, 0.14);
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.2rem;
  --space-lg: 2rem;
  --space-xl: 3.4rem;
  --font-main: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(244, 240, 228, 0.94);
  border-bottom: 1px solid rgba(83, 125, 150, 0.15);
}

.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--secondary);
  color: #fff;
  font-size: 0.9rem;
}

.main-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) min(4vw, 2rem);
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.main-nav {
  display: flex;
  gap: var(--space-sm);
}

.main-nav a {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(83, 125, 150, 0.3);
  border-radius: 6px;
  transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(83, 125, 150, 0.3);
  background: transparent;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}

main {
  padding: var(--space-lg) min(5vw, 3rem) var(--space-xl);
}

.section {
  margin-bottom: var(--space-xl);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}

.eyebrow {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.hero-panels {
  display: grid;
  gap: var(--space-sm);
}

.hover-card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hover-card:hover,
.hover-card:focus {
  transform: translateY(-4px) scale(1.01);
  background: var(--secondary);
  color: #fff;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
}

.tile i {
  font-size: 1.3rem;
  color: var(--primary);
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.image-band img,
.image-cards img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.dual-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.check-list p {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.image-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.map-preview iframe,
.contact-grid iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.map-preview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}

.cta-panel {
  text-align: center;
  background: rgba(68, 161, 148, 0.1);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
}

.inner-main {
  max-width: 1100px;
  margin: 0 auto;
}

.inner-hero {
  margin-bottom: var(--space-lg);
}

.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.timeline-row span {
  font-weight: 700;
  color: var(--primary);
}

.quote h3 {
  color: var(--muted);
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: var(--space-sm);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(83, 125, 150, 0.4);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(68, 161, 148, 0.35);
  border-color: var(--primary);
}

.error-message {
  color: #b32435;
  font-size: 0.88rem;
  min-height: 1.1rem;
}

.gdpr-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.gdpr-check input {
  width: auto;
}

.thanks-wrap {
  min-height: 50vh;
  display: grid;
  place-items: center;
}

.site-footer {
  border-top: 1px solid rgba(83, 125, 150, 0.2);
  text-align: center;
  padding: var(--space-md);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  display: none;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: var(--space-xs);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 43, 51, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 45;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  width: min(420px, 92vw);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}

.legal-wrap {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
}

.section-title {
  margin-bottom: var(--space-md);
}

.nz-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
}

.pill {
  background: #fff;
  padding: var(--space-sm);
  border-radius: 999px;
  border: 1px solid rgba(83, 125, 150, 0.18);
  text-align: center;
  font-weight: 600;
  color: var(--secondary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
  background: rgba(68, 161, 148, 0.12);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.trust-strip article {
  background: rgba(236, 143, 141, 0.12);
  border: 1px solid rgba(236, 143, 141, 0.35);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.faq-list {
  display: grid;
  gap: var(--space-sm);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(83, 125, 150, 0.2);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: var(--space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 var(--space-md);
}

.faq-item.open .faq-panel {
  padding-bottom: var(--space-md);
}

.routine-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.routine-filter {
  border: 1px solid rgba(83, 125, 150, 0.25);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.routine-filter.active,
.routine-filter:hover {
  background: var(--secondary);
  color: #fff;
}

.notice-box {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: var(--space-md);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ad-safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.ad-safety .tile {
  position: relative;
  overflow: hidden;
}

.ad-safety .tile::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.ad-safety .tile:hover::after {
  left: 120%;
}

.micro-card {
  transform: translateY(8px);
  opacity: 0;
  animation: riseIn 0.7s ease forwards;
}

.micro-card:nth-child(2) {
  animation-delay: 0.08s;
}

.micro-card:nth-child(3) {
  animation-delay: 0.16s;
}

.micro-card:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {

  .hero,
  .image-band,
  .dual-layout,
  .map-preview,
  .contact-grid,
  .trust-strip,
  .ad-safety,
  .nz-pillars,
  .grid.three,
  .grid.two,
  .image-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 6.8rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}