/* ----------------------------------
   Responsive Form Styles
---------------------------------- */
.responsive-form {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.responsive-form iframe {
  width: 100%;
  border: none;
  display: block;
}
/* Adjustments for Google Form */
.responsive-form {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  /* allow the iframe to determine height, don't cut it off */
  overflow: visible;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(4,10,18,0.06);
  background: #fff;
  padding: 0.6rem;
}
.responsive-form iframe {
  width: 100%;
  min-height: 1500px; /* desktop baseline, Google form embeds can be tall */
  height: auto;      /* allow content to define height when possible */
  border: none;
  display: block;
}

/* On small screens give more vertical room so the form isn't cut */
@media (max-width: 768px) {
  .responsive-form { padding: 0.4rem; max-width: 100%; }
  .responsive-form iframe { min-height: 2200px; }
}

@media (max-width: 480px) {
  .responsive-form iframe { min-height: 2600px; }
}
/* ----------------------------------
   Variables de color
---------------------------------- */
:root {
  --green-dark: #2F5D3A;
  --green-main: #4B7F30;
  --green-light: #E6F4EA;
  --gray-light: #F5F5F5;
  --gray-mid: #DDD;
  --text-color: #333;
  --transition: 0.3s ease;
  --pistachio: #93C572;
  --radius: 10px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--gray-light);
  -webkit-text-size-adjust: 100%;
}

img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--green-main); transform: translateY(-1px); }

/* ----------------------------------
   Header & Navigation
---------------------------------- */
.header-content {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-image: url('../images/banner5.jpeg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.7);
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 7rem 0;
  z-index: 1;
}

nav ul.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul.nav li a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  position: relative;
  transition: color var(--transition);
}

nav ul.nav li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--green-main);
  transition: width var(--transition);
  position: absolute;
  bottom: -4px;
  left: 0;
}
nav ul.nav li a:hover::after { width: 100%; }

/* Logo centrado siempre */
.logo-banner {
  text-align: center;
  background: #fff;
  padding: 0.6rem 0 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.logo-large {
  max-width: 220px;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease;
}
.logo-large:hover { transform: scale(1.05); }

/* ABOUT PAGE STYLING (no HTML changes) */
.about-bg {
  position: relative;
  padding: 0.9rem 1rem 1.6rem;
  /* gentle gradient using the site's greens to blend with the header */
  background: linear-gradient(180deg, rgba(75,127,48,0.06), rgba(147,197,114,0.02));
}
.page-section.about-bg {
  padding: 0.35rem 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.about-content {
  max-width: 980px;
  margin: 0 auto;
  /* soft card with subtle warmth to stand out from page background */
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,250,244,0.98));
  padding: 2.75rem 2.25rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,30,20,0.08);
  color: rgba(12, 20, 14, 0.96);
  line-height: 1.8;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* decorative vertical accent on the left to tie with the pistachio/green palette */
.about-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--pistachio), var(--green-main));
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  box-shadow: 0 2px 10px rgba(75,127,48,0.06);
}

.about-content:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(12,28,18,0.10); }

.about-content h1 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.about-content p {
  margin-bottom: 1.05rem;
  font-size: 1rem;
  color: rgba(12,20,14,0.95);
}

.about-content strong {
  color: var(--green-main);
  font-weight: 700;
}

/* Last paragraph as a soft callout to emphasize mission/vision */
.about-content p:last-of-type {
  margin-top: 1rem;
  background: rgba(75,127,48,0.03);
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--pistachio);
  border-radius: 8px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .about-bg { padding: 0.8rem 0.75rem 1.35rem; }
  .page-section.about-bg { padding: 0.3rem 0.75rem 1rem; }
  .about-content { padding: 1.5rem 1rem; border-radius: 12px; }
  .about-content::before { width: 6px; border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
  .about-content h1 { font-size: 1.4rem; }
  .about-content p { font-size: 0.96rem; }
}

/* ----------------------------------
   Accommodations specific styles
---------------------------------- */
.accommodations-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 0.5rem 1.5rem;
}
.accommodations-content .intro-text {
  background: linear-gradient(180deg, rgba(242,250,244,0.95), rgba(255,255,255,0.98));
  border-left: 8px solid var(--pistachio);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(6,18,30,0.04);
  color: rgba(12,20,14,0.96);
  line-height: 1.7;
}

.accommodations-content h1 {
  color: var(--green-dark);
  margin-bottom: 1rem;
}

/* Carousel caption tweaks to match About styling */
.carousel-caption {
  background: rgba(6,18,30,0.6);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.98rem;
  max-width: 88%;
  left: 1rem;
  right: auto;
}

/* make sure caption sits above gradient overlay and is readable on mobile */
.carousel-item .carousel-caption {
  bottom: 12px;
}

/* Slight spacing for the carousel area so the caption/card breathe */
.carousel-container { padding-bottom: 0.6rem; }

@media (max-width: 768px) {
  .accommodations-content { padding: 0 0.5rem 1rem; }
  .accommodations-content .intro-text { padding: 0.85rem; border-left-width: 6px; }
  .carousel-caption { font-size: 0.92rem; max-width: 94%; left: 50%; transform: translateX(-50%); }
}
.about-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
  letter-spacing: 0.4px;
}
.about-content p { margin-bottom: 1.125rem; font-size: 1.05rem; }
.about-content strong { color: var(--green-dark); }

/* subtle left accent bar for desktop */
@media (min-width: 900px) {
  .about-content { padding-left: 2.5rem; position: relative; }
  .about-content::before {
    content: '';
    position: absolute; left: 0; top: 1.25rem; bottom: 1.25rem; width: 8px;
    /* richer gradient for the accent bar */
    background: linear-gradient(180deg, var(--pistachio), var(--green-dark));
    border-radius: 6px;
    transform: translateX(-20px);
  }
}

/* make long paragraphs more readable on very wide screens */
@media (min-width: 1400px) {
  .about-content { max-width: 1100px; }
}

/* small screens adjustments */
@media (max-width: 600px) {
  .about-content { padding: 1.25rem; border-radius: 10px; }
  .about-content h1 { font-size: 1.6rem; }
  .about-content p { font-size: 0.98rem; }
}

/* Accessibility: increase contrast for link-like elements if present */
.about-content a { color: var(--green-main); font-weight: 700; text-decoration: none; }
.about-content a:hover { color: var(--green-dark); text-decoration: underline; }

/* RESOURCES PAGE */
.resources-bg {
  background: linear-gradient(180deg, rgba(75,127,48,0.05), rgba(255,255,255,0));
}
.resources-content {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,30,20,0.08);
  color: rgba(12, 20, 14, 0.96);
}
.resources-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.resources-hero h1 {
  color: var(--green-dark);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.6rem;
}
.resources-hero p {
  max-width: 780px;
  margin: 0.6rem auto 1.1rem;
  color: rgba(12,20,14,0.92);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.resource-card {
  background: #f9fbf8;
  border: 1px solid rgba(47,93,58,0.08);
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 6px 16px rgba(6,18,30,0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6,18,30,0.08);
}
.resource-card h2 {
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.resource-card p {
  font-size: 0.98rem;
  color: rgba(12,20,14,0.92);
}
.resource-card a {
  color: var(--green-main);
  font-weight: 700;
  text-decoration: none;
}
.resource-card a:hover { color: var(--green-dark); text-decoration: underline; }

.content-backlog {
  margin-top: 2rem;
  background: rgba(75,127,48,0.05);
  border-left: 4px solid var(--pistachio);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.content-backlog h2 {
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
.content-backlog ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.content-backlog li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(47,93,58,0.15);
}
.content-backlog li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .resources-content { padding: 1.6rem 1rem; border-radius: 12px; }
  .resource-card { padding: 1.1rem; }
  .resources-hero h1 { font-size: 1.6rem; }
}

/* ----------------------------------
   Mobile Navigation
---------------------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2001;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(6,18,30,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 24px rgba(4,10,18,0.28);
  backdrop-filter: blur(6px);
  gap: 6px;
}
.menu-toggle .bar {
  height: 2px;
  width: 20px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

html.nav-open .menu-toggle .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html.nav-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
html.nav-open .menu-toggle .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------
   Hero
---------------------------------- */
#hero {
  background: var(--green-light);
  padding: 4rem 1rem;
  text-align: center;
}
#hero h1 {
  font-size: 2.4rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
#hero p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ----------------------------------
   Testimonials
---------------------------------- */
#testimonials {
  padding: 3rem 1rem;
  background: var(--green-light);
  text-align: center;
}
#testimonials h2 {
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 2rem;
}
.testimonial-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.testimonial-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
  max-width: 350px;
  text-align: left;
}
.quote { font-style: italic; margin-bottom: 1rem; font-size: 0.95rem; }
.author { font-weight: 600; color: var(--green-main); text-align: right; font-size: 0.9rem; }

/* ----------------------------------
   Services Grid
---------------------------------- */
#services {
  padding: 3rem 1rem;
}
#services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--green-dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-item {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform var(--transition);
}
.service-item:hover { transform: translateY(-5px); }
.service-item h3 { color: var(--green-dark); margin-bottom: 0.4rem; font-size: 1.2rem; }
.service-item p { font-size: 0.95rem; margin-bottom: 1rem; }
.service-item a {
  text-decoration: none;
  font-weight: 600;
  color: var(--green-main);
}

/* ----------------------------------
   Page Sections & Forms
---------------------------------- */
.page-section,
.auth-section {
  background: #fff;
  padding: 3rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.page-section h1,
.auth-section h1 {
  margin-bottom: 1.5rem;
  color: var(--green-dark);
  text-align: center;
}
.contact-form,
.auth-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea,
.auth-form input {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 1rem;
}
.contact-form button {
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius);
  background: var(--green-main);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.contact-form button:hover { background: var(--green-dark); }

/* Resources section should not inherit card styling from .page-section */
.page-section.resources-bg {
  background: linear-gradient(180deg, rgba(75,127,48,0.05), rgba(255,255,255,0));
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
}

/* ----------------------------------
   Carousel (Accommodations) - polished, responsive
---------------------------------- */
.carousel-container {
  position: relative;
  width: min(1200px, 96%);
  margin: 2.25rem auto;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(8,24,32,0.12);
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.02));
}
.carousel {
  display: flex;
  transition: transform 0.55s cubic-bezier(.2,.9,.2,1);
  aspect-ratio: 16/9;
  height: auto;
  position: relative;
  will-change: transform;
}
.carousel-item {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle dark gradient to help captions read on bright photos */
.carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(0,0,0,0.38);
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.98rem;
  display: block; /* always visible but subtle */
  max-width: calc(100% - 2rem);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(2,8,12,0.18);
  transition: transform 220ms ease, opacity 200ms ease;
  transform: translateY(6px);
  opacity: 0.98;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 0.75rem;
  pointer-events: none;
}
.carousel-btn {
  background: rgba(6,18,30,0.7);
  border: none;
  border-radius: 50%;
  font-size: 1.05rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 6px 16px rgba(4,10,18,0.25);
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  transition: transform 160ms ease, background 160ms ease;
}
.carousel-btn:hover { transform: translateY(-2px) scale(1.03); background: rgba(6,18,30,0.85); }

.carousel-indicators {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 30;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.dot.active { background: #fff; transform: scale(1.25); box-shadow: 0 6px 18px rgba(8,24,32,0.18); }

/* Make captions slightly larger on wide screens */
@media (min-width: 992px) {
  .carousel-caption { font-size: 1.05rem; max-width: 70%; left: 2rem; right: auto; }
  .carousel-btn { width: 52px; height: 52px; font-size: 1.15rem; }
}

/* Mobile: shorter carousel, captions remain readable and centered */
@media (max-width: 480px) {
  .carousel { aspect-ratio: 4/3; height: auto; }
  .carousel-caption {
    left: 50%;
    transform: translate(-50%, 6px);
    max-width: 92%;
    font-size: 0.92rem;
    bottom: 12px;
  }
  .carousel-btn { width: 44px; height: 44px; }
  .dot { width: 10px; height: 10px; }
}

/* ----------------------------------
   Footer
---------------------------------- */
footer {
  background: var(--green-dark);
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.social-icons-footer {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.social-icons-footer a {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.social-icons-footer a:hover { color: var(--green-main); }

/* ----------------------------------
   Responsive Adjustments
---------------------------------- */
@media (max-width: 992px) {
  .header-content { min-height: 300px; padding: 4rem 0; }
}

@media (max-width: 768px) {
  .header-content {
    min-height: 180px;
    padding: 2rem 0 !important;
    background-position: center center !important;
  }
  .logo-banner { padding: 0.35rem 0 0.55rem !important; }
  .logo-large { max-width: 120px !important; margin: 0 auto; }

  #hero h1 { font-size: 1.6rem; }
  #hero p { font-size: 0.9rem; }
  .testimonial-item { max-width: 100%; }
  .carousel { height: 320px; }
  .service-item h3 { font-size: 1rem; }
  .service-item p { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  body { font-size: 0.85rem; }
  #hero h1 { font-size: 1.4rem; }
  #hero p { font-size: 0.85rem; }
  .service-item { padding: 0.9rem; }
  .carousel { height: 250px; }
}

@media (min-width: 1200px) {
  .container { max-width: 100%; }
  #hero h1 { font-size: 2.8rem; }
}


/* ----------------------------------
   Mobile & Tablet Navigation
---------------------------------- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 2.25rem);
    right: 1.25rem;
    z-index: 2001;
  }

  nav { position: relative; }
  nav::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6,18,30,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1900;
  }
  html.nav-open nav::before {
    opacity: 1;
    pointer-events: auto;
  }

  nav ul.nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 96px);
    left: 50%;
    transform: translate(-50%, -8px) scale(0.98);
    width: min(420px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    background: #f7fbf7;
    border: 1px solid rgba(47,93,58,0.12);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(6,18,30,0.2);
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: max-height var(--transition), opacity var(--transition), transform var(--transition), padding var(--transition), visibility var(--transition);
    z-index: 2000;
  }

  nav ul.nav.active {
    max-height: calc(100vh - 120px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    padding: 0.55rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  nav ul.nav li { width: 100%; text-align: center; }

  nav ul.nav li a {
    color: var(--green-dark) !important;
    font-size: clamp(1rem, 2.6vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(47,93,58,0.08);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  }
  nav ul.nav li a:hover,
  nav ul.nav li a:focus-visible {
    background: rgba(75,127,48,0.08);
    color: var(--green-dark);
    box-shadow: inset 0 0 0 1px rgba(47,93,58,0.18);
    transform: translateY(-1px);
  }
}

@media (max-width: 600px) {
  .menu-toggle {
    right: 0.9rem;
    top: calc(env(safe-area-inset-top, 0px) + 2rem);
  }
  nav ul.nav { width: calc(100vw - 1.5rem); }
}

/* Prevent background scroll when the menu is open */
@media (max-width: 1024px) {
  html.nav-open, html.nav-open body {
    overflow: hidden;
    height: 100%;
  }
}

/* ----------------------------------
   WhatsApp Floating Button
---------------------------------- */
.whatsapp-float {
  position: fixed;
  right: calc(env(safe-area-inset-right, 0px) + 22px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(2,12,8,0.25);
  z-index: 2100;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(2,12,8,0.3);
  background: #20C05C;
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 28px;
    right: calc(env(safe-area-inset-right, 0px) + 16px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  }
}

