:root {
  --navy: #1B5E3A;
  --blue: #24784A;
  --cyan: #4CC179;
  --teal-dark: #1F9D55;
  --green: #1B5E3A;
  --pale: #F5FAF7;
  --bg: #F6FBF8;
  --white: #ffffff;
  --text: #1B2E22;
  --text-muted: #567362;
  --shadow: 0 8px 24px rgba(27, 94, 58, 0.14);
  --radius: 14px;
  --bubbles: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDAiIGhlaWdodD0iMTQwIj4KPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMUI1RTNBIiBzdHJva2Utd2lkdGg9IjEuNiIgb3BhY2l0eT0iMC4xMCI+CjxjaXJjbGUgY3g9IjIyIiBjeT0iMjQiIHI9IjExIi8+CjxjaXJjbGUgY3g9Ijg1IiBjeT0iNTUiIHI9IjciLz4KPGNpcmNsZSBjeD0iMTEyIiBjeT0iMTA1IiByPSIxNiIvPgo8Y2lyY2xlIGN4PSI0NSIgY3k9IjExMCIgcj0iNiIvPgo8Y2lyY2xlIGN4PSI2MCIgY3k9IjIwIiByPSI0Ii8+CjwvZz4KPC9zdmc+");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pale);
  box-shadow: 0 2px 10px rgba(14, 61, 44, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.header-whatsapp {
  background: var(--green);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-whatsapp:hover { background: #115F3F; }

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 10px;
  scrollbar-width: thin;
  max-width: 1200px;
  margin: 0 auto;
}

.category-nav::-webkit-scrollbar { height: 5px; }
.category-nav::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 5px; }

@media (min-width: 960px) {
  .header-inner,
  .category-nav,
  .category-title,
  .product-row-wrap,
  .footer-inner {
    max-width: 1400px;
  }

  .category-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding: 4px 20px 14px;
  }
}

.nav-pill {
  flex: 0 0 auto;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(14, 61, 44, 0.06);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(14, 61, 44, 0.15);
  transition: background 0.2s, color 0.2s;
}

.nav-pill:hover { background: rgba(14, 61, 44, 0.12); }

.nav-pill.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #0B281A;
  background-image:
    linear-gradient(160deg, rgba(11, 40, 26, 0.72), rgba(11, 40, 26, 0.5) 55%, rgba(11, 40, 26, 0.78)),
    url("../assets/hero-facade.jpg");
  background-position: center, center;
  background-size: cover, contain;
  background-repeat: no-repeat, no-repeat;
  color: var(--white);
  padding: 90px 20px 70px;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    background-size: cover, cover;
  }
}

.hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
}

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, opacity 0.15s;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid transparent;
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-primary:hover {
  box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(14, 61, 44, 0.5);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(14, 61, 44, 0.06);
}

.hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Video intro ---------- */
.video-intro {
  background: var(--pale);
  padding: 48px 20px;
  text-align: center;
}

.video-intro-inner { max-width: 860px; margin: 0 auto; }

@media (min-width: 768px) {
  .video-intro-inner { max-width: 420px; }
}

.video-intro h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 20px;
}

.video-wrap {
  position: relative;
}

.video-intro video {
  width: 100%;
  max-height: 70vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--pale), #CBEFD6);
  object-fit: contain;
  display: block;
}

.video-end-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  text-align: center;
  background: rgba(11, 77, 46, 0.86);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.video-end-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.video-end-overlay p {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
  padding: 48px 20px;
  text-align: center;
}

.about-inner { max-width: 720px; margin: 0 auto; }

.about h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 14px;
}

.about p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0 0 14px;
}

.about p:last-of-type { margin-bottom: 0; }

.credentials-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text);
}

.credential-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- Why us ---------- */
.why-us {
  background: var(--bg);
  padding: 48px 20px 56px;
  text-align: center;
}

.why-us-inner { max-width: 800px; margin: 0 auto; }

.why-us h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 14px;
}

.why-us > .why-us-inner > p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0 0 32px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  transition: border-color 0.2s, transform 0.2s;
}

.reason-item:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.reason-check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--pale);
  padding: 48px 20px;
  text-align: center;
}

.testimonials-inner { max-width: 1000px; margin: 0 auto; }

.testimonials h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border-radius: 4px 26px 4px 26px;
  border-left: 4px solid var(--blue);
  box-shadow: none;
  padding: 30px 24px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  color: rgba(46, 139, 87, 0.12);
  line-height: 1;
  pointer-events: none;
}

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

.testimonial-quote {
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0 0 20px;
  position: relative;
}

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

.testimonial-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 2px 0 0;
}

/* ---------- Category sections ---------- */
.category-section {
  padding: 40px 0 8px;
  scroll-margin-top: 130px;
}

.category-section:nth-child(odd) { background: var(--bg); }
.category-section:nth-child(even) { background: var(--white); }

.category-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
  font-size: 1.5rem;
  color: var(--navy);
  border-left: 5px solid var(--teal-dark);
  padding-left: 14px;
}

.product-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 20px 28px;
  scrollbar-width: none;
}

.product-row::-webkit-scrollbar { display: none; }

.product-row-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  opacity: 1;
  background: var(--blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-prev { left: 6px; }
.carousel-arrow-next { right: 6px; }

.product-row-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44px;
  pointer-events: none;
}

.category-section:nth-child(odd) .product-row-wrap::after {
  background: linear-gradient(to right, rgba(246, 251, 248, 0), var(--bg));
}

.category-section:nth-child(even) .product-row-wrap::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white));
}

.product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eaeef1;
}

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

.product-card-body h3 {
  font-size: 0.98rem;
  margin: 0;
  color: var(--navy);
  line-height: 1.3;
}

.product-card-body p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.product-presentacion {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(76,193,121,0.18);
  padding: 4px 9px;
  border-radius: 6px;
  align-self: flex-start;
}

.product-uso-extra {
  font-size: 0.76rem;
  font-weight: 600;
  font-style: italic;
  color: #8A6D1D;
  background: rgba(212, 168, 44, 0.16);
  padding: 4px 9px;
  border-radius: 6px;
  align-self: flex-start;
}

.aroma-toggle {
  border: none;
  background: none;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  padding: 2px 0;
  cursor: pointer;
}

.aroma-toggle:hover { text-decoration: underline; }

.aroma-panel {
  display: none;
  padding: 0 14px 14px;
}

.aroma-panel.open { display: block; }

.aroma-panel img {
  border-radius: 8px;
  margin-bottom: 8px;
}

.aroma-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.aroma-list li {
  font-size: 0.72rem;
  background: var(--bg);
  border: 1px solid #dde6ea;
  color: var(--text);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Shipping info ---------- */
.shipping-info {
  background: var(--white);
  padding: 48px 20px;
  text-align: center;
}

.shipping-info-inner { max-width: 1100px; margin: 0 auto; }

.shipping-info h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 28px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.shipping-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
}

.shipping-item h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.shipping-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.shipping-item p a {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Quote CTA ---------- */
.quote-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 52px 20px;
}

.quote-cta-inner { max-width: 640px; margin: 0 auto; }

.quote-cta h2 { font-size: 1.5rem; margin: 0 0 12px; color: var(--white); }
.quote-cta p { color: rgba(255, 255, 255, 0.88); margin: 0 0 24px; }

.quote-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.quote-cta .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.quote-cta .btn-primary:hover {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  color: var(--text);
  padding: 40px 20px 20px;
  border-top: 3px solid var(--blue);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-map {
  flex: 1 1 280px;
  max-width: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.footer-map iframe {
  display: block;
}

.footer-logo { height: 50px; }

.footer-info p { margin: 4px 0; font-size: 0.9rem; }
.footer-info a:hover { color: var(--blue); }

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(14, 61, 44, 0.55);
  margin: 28px 0 0;
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 200;
  border: none;
  cursor: pointer;
}

.fab-whatsapp {
  bottom: 20px;
  background: #25D366;
  color: var(--white);
}

.fab-top {
  bottom: 82px;
  background: var(--navy);
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}

.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .header-whatsapp { font-size: 0.75rem; padding: 7px 12px; }
  .brand-logo { height: 36px; }
  .hero { padding: 48px 16px; }
  .product-card { flex-basis: 190px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .shipping-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 28px; }
}

@media (max-width: 860px) and (min-width: 641px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .shipping-grid { grid-template-columns: repeat(2, 1fr); }
}
