:root {
  --verde: #5B7553;
  --verde-claro: #8DB580;
  --crema: #F0EDE7;
  --terracota: #C47D5A;
  --carbon: #3D3229;
  --hoja: #8DB580;
  --blanco: #FAFAF5;
  --dorado: #C4A882;
  --gris-suave: #8A7B6B;
  --font-display: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(61, 50, 41, 0.08);
  --shadow-hover: 0 8px 28px rgba(61, 50, 41, 0.14);
  --transition: 0.2s ease-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61, 50, 41, 0.05);
  transition: box-shadow 0.3s ease-out;
}

nav.scrolled { box-shadow: 0 1px 8px rgba(61, 50, 41, 0.08); }

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

nav .logo-nav { height: 34px; width: auto; }

nav .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

nav .nav-links a {
  color: var(--gris-suave);
  transition: color var(--transition);
  position: relative;
}

nav .nav-links a:hover,
nav .nav-links a.active { color: var(--verde); }

nav .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--verde);
  border-radius: 1px;
}

nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verde);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 10px;
  transition: background var(--transition);
}

nav .nav-cta:hover { background: #4a6344; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--carbon);
  margin: 5px 0;
  transition: transform 0.3s ease-out, opacity 0.2s ease-out;
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 130px 0 60px;
  background: var(--crema);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-hero-text .section-label {
  margin-bottom: 12px;
}

.page-hero-text h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--carbon);
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gris-suave);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.page-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

/* ─── SECTION BASICS ─── */
.section { padding: 80px 0; }
.section-dark { background: var(--carbon); color: var(--blanco); }
.section-cream { background: var(--crema); }

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--verde);
  margin-bottom: 12px;
}

.section-dark .section-label { color: var(--hoja); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-dark .section-title { color: var(--blanco); }

.section-desc {
  color: var(--gris-suave);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.section-dark .section-desc { color: var(--dorado); }
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease-out, color var(--transition);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--verde);
  color: var(--blanco);
}
.btn-primary:hover { background: #4a6344; }

.btn-secondary {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-secondary:hover { background: var(--verde); color: var(--blanco); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1fb855; }

.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; }

.btn-sm {
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
}

/* ─── PRODUCT CARDS ─── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.section-cream .product-card { background: #fff; }

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

.product-card-image {
  height: 200px;
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.product-card-icon {
  width: 72px;
  height: 72px;
  background: var(--verde);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blanco);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--verde);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product-card-body p {
  color: var(--gris-suave);
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--verde);
}

/* ─── FEATURE CARDS (why zoima) ─── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(250, 250, 245, 0.6);
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.section-dark .feature-card { background: rgba(255, 255, 255, 0.06); }

.feature-card:hover { transform: translateY(-2px); }

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--verde);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-dark .feature-icon { background: rgba(141, 181, 128, 0.2); }

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blanco);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-dark .feature-icon svg { stroke: var(--hoja); }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-card p {
  color: var(--gris-suave);
  font-size: 0.875rem;
  line-height: 1.6;
}

.section-dark .feature-card h3 { color: var(--blanco); }
.section-dark .feature-card p { color: var(--dorado); }

/* ─── IMAGE + TEXT SECTIONS ─── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.split-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.split-text p {
  color: var(--gris-suave);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.split-text blockquote {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--verde);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--carbon);
  line-height: 1.4;
}

/* ─── STATS ROW ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(91, 117, 83, 0.06);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gris-suave);
  font-weight: 500;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 64px 0;
  background: var(--verde);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--blanco);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(250, 250, 245, 0.8);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--blanco);
  color: var(--verde);
}

.cta-banner .btn:hover { background: var(--crema); }

/* ─── SOCIAL LINKS ─── */
.redes {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--carbon);
  color: var(--blanco);
  transition: background var(--transition), transform 0.15s ease-out;
}

.redes a:hover { background: var(--verde); transform: translateY(-2px); }
.redes a svg { width: 20px; height: 20px; fill: currentColor; }

/* ─── FOOTER ─── */
footer {
  padding: 24px 0 16px;
  background: var(--carbon);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .footer-logo {
  width: 80px;
}

.footer-brand p {
  font-size: 0.75rem;
  color: var(--dorado);
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250, 250, 245, 0.08);
  color: var(--dorado);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--verde);
  color: var(--blanco);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 245, 0.08);
  padding-top: 12px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--gris-suave);
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── CONTACT FORM AREA ─── */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--blanco);
  box-shadow: var(--shadow);
  text-align: center;
}

.section-cream .contact-card { background: #fff; }

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--verde);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gris-suave);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── RESPONSIVE ─── */
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .page-hero .container { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-image { order: -1; }
}

@media (min-width: 1024px) {
  .section { padding: 100px 0; }
  .page-hero { padding: 140px 0 80px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  nav .nav-links { display: none; }
  .hamburger { display: block; }
  nav .nav-cta { display: none; }

  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--blanco);
    padding: 24px 20px;
    border-bottom: 1px solid rgba(61, 50, 41, 0.08);
    gap: 16px;
  }
}

nav.open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
nav.open .hamburger span:nth-child(2) { opacity: 0; }
nav.open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── PRODUCT FILTER TABS ─── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid rgba(61, 50, 41, 0.1);
  background: transparent;
  color: var(--gris-suave);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
}

/* ─── IMAGE GRID (about page) ─── */
.image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.image-mosaic .mosaic-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.image-mosaic .mosaic-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

/* ─── TESTIMONIAL ─── */
.testimonial {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
}

.testimonial .leaf-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--carbon);
  line-height: 1.4;
}

.section-dark .testimonial blockquote { color: var(--blanco); }
