/* ── RESET & BASE ────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --beige: #f2ede0;
  --beige-dark: #e8e0cc;
  --green-dark: #5a9e35;
  --green-mid: #6db842;
  --green-light: #80cc50;
  --brown: #8b6333;
  --brown-dark: #7a5a2a;
  --text-dark: #3a3028;
  --text-mid: #4a3e34;
  --text-light: #7a6a5a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--beige);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── UTILITIES ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(90, 158, 53, 0.35);
}

.btn-primary:hover {
  background: #4a8a28;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 158, 53, 0.45);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--brown-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--brown-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(242, 237, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 99, 51, 0.12);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav-logo-icon {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 50px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-dark);
  background: rgba(90, 158, 53, 0.1);
}

.nav-links .nav-cta {
  background: var(--green-dark);
  color: var(--white);
  margin-left: 8px;
  padding: 10px 20px;
}

.nav-links .nav-cta:hover {
  background: #4a8a28;
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--beige);
  background-image:
    radial-gradient(ellipse at 15% 70%, rgba(109, 184, 66, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(109, 184, 66, 0.08) 0%, transparent 55%);
  overflow: hidden;
  padding-top: 68px;
}

/* 3-column layout: tree | content | tree */
.hero-inner {
  display: flex;
  align-items: stretch;
  /* all columns fill full height */
  height: calc(100vh - 68px);
  /* fixed height = viewport minus navbar */
  width: 100%;
}

/* Side tree columns: fill full hero height, SVG fills from bottom */
.hero-side {
  flex: 0 0 clamp(150px, 18vw, 280px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  pointer-events: none;
}

.hero-tree-svg {
  height: calc(100vh - 68px);
  width: auto;
  display: block;
  flex-shrink: 0;
  overflow: visible;
  /* allow vines to extend beyond viewBox if needed */
}

/* Monkey — sits inside the right tree column at the top */
.monkey-wrap {
  position: absolute;
  top: 76px;
  right: calc(clamp(150px, 18vw, 280px) / 2 - 45px);
  /* centered in right column */
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: swing 3.2s ease-in-out infinite;
  transform-origin: top center;
  pointer-events: none;
  z-index: 5;
}

.vine-svg {
  display: block;
}

@keyframes swing {

  0%,
  100% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(12deg);
  }
}

/* Center content column */
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 60px 72px 40px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Zero out block margins — gap handles spacing */
.hero-heading .hero-eyebrow { margin-bottom: 0; }
.hero-heading .hero-title   { margin-bottom: 0; }

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-body .hero-subtitle      { margin-bottom: 0; }
.hero-body .hero-contact-info  { margin-bottom: 0; }

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 24px;
}

.hero-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-contact-info span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: rgba(139, 99, 51, 0.08);
  padding: 7px 14px;
  border-radius: 50px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Doctor photo */
.hero-photo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-photo-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #9aabb8;
}

.hero-photo-frame img {
  width: clamp(220px, 26vw, 400px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ── SERVICES ────────────────────────────────────────── */
.section-services {
  background: var(--white);
  position: relative;
}

/* Subtle leaf decorations in the section corners */
.section-services::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 95%, rgba(109, 184, 66, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 95% 75%, rgba(90, 158, 53, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* 2-column section layout: text left, cards right */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.services-text .section-eyebrow {
  display: inline-flex;
}

.services-text .section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
}

.services-description {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 400px;
}

/* Extra services listed simply below the description */
.services-extras {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.services-extras li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-extras li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

/* 2×2 card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Filled green card */
.service-card {
  background: linear-gradient(145deg, #5faa38 0%, #4a8828 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 1 / 1;
  justify-content: center;
}

/* Radial highlight */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 55%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(74, 136, 40, 0.45);
}

/* Circular frosted icon */
.service-icon {
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Title: white, uppercase */
.service-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.97);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin: 0;
}

.service-card p {
  display: none;
}

/* ── ABOUT ───────────────────────────────────────────── */
.section-about {
  background: var(--beige);
  position: relative;
  overflow: hidden;
  display: none;
  /* Hidden — hero covers this content; restore to show */
}

/* No wave separator for about section */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-photo-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
}

.about-decoration {
  position: absolute;
  bottom: -24px;
  right: -24px;
  pointer-events: none;
  opacity: 0.7;
}

.about-text .section-eyebrow {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
}

.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-text p strong {
  color: var(--text-dark);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  background: linear-gradient(135deg, #ffffff 0%, #f0fae4 100%);
  border: 1.5px solid rgba(90, 158, 53, 0.3);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  transition: background var(--transition), box-shadow var(--transition);
}

.badge:hover {
  background: linear-gradient(135deg, #f0fae4 0%, #e0f5c8 100%);
  box-shadow: 0 2px 8px rgba(90, 158, 53, 0.15);
}

/* ── WHY US ──────────────────────────────────────────── */
/* ── CONSEJO DEL MES ─────────────────────────────── */
.section-consejo {
  background: var(--beige);
  position: relative;
}

/* No wave separator for consejo section */

.consejo-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.10);
}

.consejo-illustration {
  background: linear-gradient(145deg, #1a4010 0%, #2d6b1a 55%, #3d8525 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 360px;
}

.consejo-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.consejo-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.consejo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green-mid);
  background: rgba(90, 158, 53, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}

.consejo-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

.consejo-excerpt {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

.btn-consejo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-mid);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: fit-content;
  margin-top: 6px;
}

.btn-consejo:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-consejo-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Full article — collapsed by default */
.consejo-full {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.65s ease, opacity 0.4s ease;
}

.consejo-full--open {
  max-height: 1200px;
  opacity: 1;
}

.consejo-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  margin-top: 28px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.consejo-article h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 28px 0 12px;
}

.consejo-article h4:first-child {
  margin-top: 0;
}

.consejo-article>p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

.sleep-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 24px;
}

.sleep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: var(--beige);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--green-mid);
}

.sleep-age {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
}

.sleep-hours {
  font-size: 15px;
  font-weight: 900;
  color: var(--green-dark);
}

.consejo-tips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 20px;
}

.consejo-tips li {
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.consejo-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green-mid);
  font-weight: 900;
  font-size: 13px;
}

.consejo-tips li strong {
  color: var(--text-dark);
}

.consejo-note {
  background: rgba(90, 158, 53, 0.08);
  border-left: 4px solid var(--green-mid);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.65;
  margin-top: 8px;
}

/* ── CONTACT ─────────────────────────────────────────── */
.section-contact {
  background: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Hero social icons ──────────────────────────────── */
.hero-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-social-icons {
  display: flex;
  gap: 8px;
}

.hero-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  opacity: 0.88;
  flex-shrink: 0;
}

.hero-social-icon:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.hero-social-fb { background: #1877F2; }
.hero-social-ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.hero-social-wa { background: #25D366; }

/* ── Social CTA in contact column ───────────────────── */
.contact-social-cta {
  margin-top: 8px;
  padding: 18px 20px;
  background: rgba(90, 158, 53, 0.08);
  border-left: 4px solid var(--green-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-social-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.contact-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-social-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.contact-social-btn.csb-fb { background: #1877F2; }
.contact-social-btn.csb-ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.contact-social-btn.csb-wa { background: #25D366; }

/* Contact form */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--beige);
  padding: 48px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--green-dark);
  min-height: 200px;
}

.contact-success svg {
  color: var(--green-mid);
}

.contact-success h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}

.contact-success p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--beige);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid rgba(139, 99, 51, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(90, 158, 53, 0.12);
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--white);
}

/* ── NEWSLETTER SECTION ──────────────────────────────── */
.section-newsletter {
  background: linear-gradient(135deg, #1e4d0f 0%, #2d6b1a 45%, #3d8525 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
}

/* No wave separator for newsletter section */

/* Subtle background radials */
.section-newsletter::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 92% 25%, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.section-newsletter .section-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.section-newsletter .section-eyebrow::before,
.section-newsletter .section-eyebrow::after {
  background: rgba(255, 255, 255, 0.35);
}

.newsletter-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin: 14px 0 18px;
}

.newsletter-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background var(--transition), border-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.newsletter-form button {
  padding: 16px 28px;
  background: var(--white);
  color: var(--green-dark);
  border: none;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

.newsletter-success {
  font-size: 15px;
  font-weight: 700;
  color: #9de87a;
  display: none;
}

.newsletter-privacy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: white;
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-text .section-title {
    font-size: clamp(28px, 5vw, 40px);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    aspect-ratio: auto;
    padding: 32px 20px 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-frame img {
    height: 340px;
  }

  .about-decoration {
    display: none;
  }

  .consejo-card {
    grid-template-columns: 1fr;
  }

  .consejo-illustration {
    min-height: 280px;
  }

  .consejo-content {
    padding: 36px 32px;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Hero — tablet: shrink tree columns, keep layout */
  .hero-inner {
    height: auto;
    min-height: calc(100vh - 68px);
  }

  .hero-side {
    flex-basis: clamp(90px, 11vw, 140px);
  }

  .hero-content {
    gap: 28px;
    padding: 36px 12px;
  }

  .monkey-wrap {
    right: clamp(95px, 12vw, 150px);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  /* Navbar */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--beige);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(139, 99, 51, 0.12);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

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

  .nav-links .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  /* Hero — mobile: hide side trees, stack content */
  .hero-side {
    display: none;
  }

  .hero-inner {
    height: auto;
    min-height: calc(100vh - 68px);
  }

  /* Mobile hero: eyebrow+title → photo+badge → subtitle+contact+buttons */
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 96px;
    gap: 20px;
  }

  /* Dissolve hero-text wrapper so heading+body join hero-content flex directly */
  .hero-text {
    display: contents;
  }

  .hero-heading {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .hero-photo-wrap {
    order: 2;
  }

  .hero-body {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  /* Compact photo on mobile */
  .hero-photo-frame img {
    width: 180px;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .hero-photo-badge {
    font-size: 13px;
  }

  .hero-contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .monkey-wrap {
    right: 12px;
    top: 84px;
  }

  .monkey-wrap .monkey-svg {
    width: 56px;
    height: 64px;
  }

  .monkey-wrap .vine-svg {
    height: 36px;
    width: 10px;
  }

  /* Services — keep 2-column grid, compact cards */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 24px 14px 20px;
  }

  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
  }

  .service-icon svg {
    width: 34px;
    height: 34px;
  }

  .service-card h3 {
    font-size: 11px;
  }

  .consejo-article {
    padding: 32px 24px;
  }

  /* Contact form */
  .contact-form {
    padding: 24px 20px;
  }

  /* Social CTA buttons: stack on mobile */
  .contact-social-links {
    flex-direction: column;
    gap: 8px;
  }

  .contact-social-btn {
    justify-content: center;
  }

  /* Footer */
  .footer-brand {
    flex-direction: column;
  }

  /* WhatsApp — smaller on mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float::before {
    width: 52px;
    height: 52px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-photo-frame img {
    width: 170px;
    height: 210px;
  }
}