@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Nunito:wght@400;600;700&display=swap');

:root {
  --bg: #eef2ee;
  --paper: #f8fbf7;
  --ink: #192b24;
  --muted: #4d6359;
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #52b788;
  --accent: #e07b39;
  --accent2: #d4a843;
  --sky: #b7d5e0;
  --snow: #ffffff;
  --line: #c8d8c8;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(18, 42, 28, 0.13);
  --shadow-sm: 0 4px 16px rgba(18, 42, 28, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Nunito', 'Segoe UI', Verdana, sans-serif;
  line-height: 1.7;
  background: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%23d0e4d8' fill-opacity='0.45' d='M0 160L80 140L200 170L360 100L520 155L680 85L840 140L1000 75L1160 130L1320 90L1440 115V220H0Z'/%3E%3Cpath fill='%23b8cfbc' fill-opacity='0.25' d='M0 190L120 165L280 190L480 130L660 175L880 110L1080 160L1260 120L1440 145V220H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
}

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

a {
  color: inherit;
}

/* ─── Accessibility ─────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0; left: 0;
  width: auto; height: auto;
  padding: 8px 16px;
  background: var(--primary-dark);
  color: #fff;
  z-index: 9999;
  font-size: 1rem;
  outline: none;
}

h1, h2, h3 {
  line-height: 1.15;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 2.5vw + 1.3rem, 3.4rem);
  margin: 0.4rem 0 1rem;
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.4rem);
  margin: 0.2rem 0 1rem;
  color: var(--primary-dark);
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  color: var(--primary-dark);
  margin: 0.5rem 0;
}

p {
  margin: 0 0 1rem;
}

/* ─── Layout ────────────────────────────────────────── */
.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

/* ─── Navigation ────────────────────────────────────── */
.site-header {
  padding: 0 0 3rem;
  background: linear-gradient(160deg, #1b4332 0%, #2d6a4f 45%, #40916c 100%);
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 500'%3E%3Cpath fill='%23ffffff' fill-opacity='0.04' d='M0 320L120 260L280 340L480 200L640 300L800 180L960 280L1120 160L1280 240L1440 180V500H0Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0 380L160 310L360 390L560 260L720 360L920 230L1120 320L1320 210L1440 270V500H0Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(27, 67, 50, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform 0.2s ease;
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

.hero-copy {
  color: #fff;
}

.hero-copy h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-copy p {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
}

.eyebrow {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.3rem 0;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c9652a;
  border-color: #c9652a;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
}

.metrics {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.metrics li {
  min-width: 140px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(6px);
}

.metrics strong {
  display: block;
  font-size: 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent2);
}

.metrics span {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
}

/* ─── Section wave dividers ─────────────────────────── */
.section-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

/* ─── Image frames ──────────────────────────────────── */
.image-frame {
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #c8dfc8, #a8c4a8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-intro {
  max-width: 68ch;
  color: var(--muted);
}

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

.check-list li {
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 0.85rem;
  top: 0.55rem;
}

/* ─── Cards ─────────────────────────────────────────── */
.card-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card,
.quote-card,
.placeholder-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-media {
  --ratio: 16 / 10;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8f0e4, #c3e8d3);
  color: var(--primary-dark);
  padding: 0.3rem 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.placeholder-card {
  display: grid;
  place-content: center;
  min-height: 240px;
  text-align: left;
  border-style: dashed;
  border-color: var(--primary-light);
  background: linear-gradient(135deg, #f0f7f2, #e8f4ec);
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── About section ─────────────────────────────────── */
.credibility {
  background: linear-gradient(135deg, #f0f7f2 0%, #e4f0e8 100%);
}

/* ─── Products section ──────────────────────────────── */
.products {
  background: var(--paper);
}

/* ─── Testimonials ──────────────────────────────────── */
.testimonials {
  background: linear-gradient(160deg, #1b4332 0%, #2d6a4f 60%, #40916c 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0 200L180 140L400 210L620 100L840 180L1060 90L1280 160L1440 110V320H0Z'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.testimonials .eyebrow {
  color: var(--accent2);
}

.testimonials h2 {
  color: #fff;
}

.quote-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.quote-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.55;
}

.quote-card p::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--accent2);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.2rem;
}

.quote-card cite {
  color: rgba(255,255,255,0.65);
  font-style: normal;
  font-size: 0.88rem;
  display: block;
  margin-top: 0.8rem;
}

/* ─── Gallery ───────────────────────────────────────── */
.gallery {
  background: linear-gradient(180deg, #e8f4ec 0%, var(--bg) 100%);
}

.gallery-slider {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.gallery-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-slide {
  --ratio: 16 / 9;
  min-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.slider-btn {
  border: 2px solid var(--primary);
  background: var(--paper);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: var(--primary);
  color: #fff;
}

.gallery-dots {
  display: flex;
  gap: 0.5rem;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-dot.active {
  background: var(--primary);
}

/* ─── Contact ───────────────────────────────────────── */
.contact {
  background: linear-gradient(135deg, #f0f7f2 0%, #e4f0e8 100%);
}

.contact-wrap {
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  padding: 0.35rem 0;
  color: var(--muted);
}

.contact-list a {
  color: var(--primary);
  font-weight: 600;
}

.whatsapp-btn {
  margin-top: 1.2rem;
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  background: #1da851 !important;
  border-color: #1da851 !important;
  color: #fff !important;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  margin-bottom: 0.9rem;
  background: var(--bg);
  transition: border-color 0.2s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

.form-status.success {
  color: var(--primary-dark);
  background: #d8f0e4;
}

.form-status.error {
  color: #7f2314;
  background: #fde8e4;
}

/* ─── Footer ────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, #1b4332 0%, #2d6a4f 100%);
  padding: 2rem 0;
  color: rgba(255,255,255,0.75);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .text-link {
  color: var(--accent2);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 960px) {
  .hero,
  .split,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  /* Remove backdrop-filter on mobile — it creates a containing block that breaks
     position:fixed children, causing the drawer to render inside the nav bar */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--primary-dark);
  }

  .nav-toggle {
    display: inline-block;
  }

  /* Dim overlay behind the drawer */
  .nav-menu::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
    pointer-events: none;
  }

  .nav-menu {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    background: #1b4332;
    background-image: none;
    padding: 4.5rem 1.4rem 1.4rem;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 300;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
  }

  /* Keep toggle button above the open drawer so it stays tappable */
  .nav-toggle {
    position: relative;
    z-index: 400;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
}
