@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

:root {
  --bg: #F5EDE0;
  --text: #2A3520;
  --text-light: #5a6a4a;
  --cream: #FAF5EE;
  --white: #FFFFFF;
  --defend: #C85A1A;
  --reset: #8A9A3A;
  --recover: #3B4A25;
  --border: rgba(42, 53, 32, 0.12);
  --shadow: 0 8px 40px rgba(42, 53, 32, 0.10);
  --radius: 16px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(245, 237, 224, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(42,53,32,0.08); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-brand svg { width: 32px; height: 32px; flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--text);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-content {
  padding: 6rem 6% 6rem 8%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--text-light);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--text-light);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 420px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 60px;
  border: 2px solid var(--text);
  transition: all 0.25s;
  align-self: flex-start;
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--text);
}
.btn-primary svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.hero-image {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

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

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 20%);
}

/* ── SECTION COMMONS ── */
section { padding: 7rem 5%; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  text-align: center;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--text-light);
  margin: 1.2rem auto 3.5rem;
  opacity: 0.5;
}

/* ── PRODUCTS ── */
.products { background: var(--cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(42,53,32,0.15);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-body {
  padding: 1.8rem 1.6rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.65;
  margin-bottom: 0.4rem;
}

.product-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0 1rem;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.benefit-icon svg { width: 12px; height: 12px; }

/* product color themes */
.card-defend .product-name { color: var(--defend); }
.card-defend .benefit-icon { background: rgba(200, 90, 26, 0.12); color: var(--defend); }

.card-reset .product-name { color: var(--reset); }
.card-reset .benefit-icon { background: rgba(138, 154, 58, 0.12); color: var(--reset); }

.card-recover .product-name { color: var(--recover); }
.card-recover .benefit-icon { background: rgba(59, 74, 37, 0.12); color: var(--recover); }

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-content { display: flex; flex-direction: column; gap: 1.5rem; }

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

.about-content .section-divider { margin-left: 0; }

.about-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.value-icon svg { width: 20px; height: 20px; }

.value-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.value-text p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 7rem 5%;
}

.contact .section-label { color: rgba(255,255,255,0.5); }

.contact .section-title { color: var(--white); }

.contact .section-divider { background: rgba(255,255,255,0.25); opacity: 1; }

.contact-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 60px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-wa:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 60px;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-ig:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-ig svg { width: 20px; height: 20px; }

/* ── FOOTER ── */
footer {
  background: #1e2918;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 2.5rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.footer-brand svg { width: 22px; height: 22px; opacity: 0.7; }

.footer-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-copy { font-size: 0.75rem; opacity: 0.5; margin-top: 0.3rem; }

/* ── FLOATING WHATSAPP ── */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab-wa::before,
.fab-wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  animation: wa-ping 2s ease-out infinite;
}
.fab-wa::after {
  animation-delay: 0.75s;
  opacity: 0.3;
}
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: 0.5; }
  80%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
.fab-wa svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.fab-wa:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

/* ── MOBILE MENU ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    padding: 1rem 0;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li a { display: block; padding: 0.9rem 8%; font-size: 0.9rem; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content { padding: 4rem 6% 3rem; order: 2; }
  .hero-image { height: 55vw; min-height: 280px; order: 1; }
  .hero-image::after { background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }

  /* Products */
  .products-grid { grid-template-columns: 1fr; max-width: 480px; }

  /* About */
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap { aspect-ratio: 4/3; }
  .about-content .section-title,
  .about-content .section-label { text-align: center; }
  .about-content .section-divider { margin: 1.2rem auto 2rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
