/* =========================================
   KRESKO — Unified Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand — Kresko deep forest green */
  --k-green-900: #04391f;
  --k-green-800: #05502c;
  --k-green-700: #066938;   /* primary */
  --k-green-600: #0a8a4a;
  --k-green-500: #14a861;
  --k-green-400: #3ec584;
  --k-green-300: #7dd6a8;
  --k-green-200: #bce8cd;
  --k-green-100: #dff3e7;
  --k-green-50:  #eff9f3;

  /* Warm earth accents */
  --k-sand-100: #f7f3ec;
  --k-sand-200: #ece4d2;

  /* Neutrals */
  --ink-900: #0b1712;
  --ink-800: #142521;
  --ink-700: #22332d;
  --ink-600: #3b4a44;
  --ink-500: #58655f;
  --ink-400: #7b867f;
  --ink-300: #a8b2ac;
  --ink-200: #d4dad6;
  --ink-100: #eaede9;
  --ink-50:  #f7f8f6;
  --white: #ffffff;

  /* System */
  --whatsapp: #25d366;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11,23,18,0.06), 0 1px 1px rgba(11,23,18,0.04);
  --shadow-md: 0 6px 18px -8px rgba(11,23,18,0.14), 0 2px 6px rgba(11,23,18,0.06);
  --shadow-lg: 0 20px 40px -20px rgba(11,23,18,0.25), 0 8px 20px -10px rgba(11,23,18,0.10);
  --shadow-xl: 0 40px 80px -30px rgba(4,57,31,0.35), 0 10px 30px -10px rgba(11,23,18,0.18);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', 'Inter', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 500ms;

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--k-green-700);
  padding: 6px 14px;
  background: var(--k-green-50);
  border: 1px solid var(--k-green-200);
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--k-green-500);
  box-shadow: 0 0 0 4px rgba(20,168,97,0.18);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0; color: var(--ink-600); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-600);
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), color var(--t-fast) var(--ease);
  will-change: transform;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--k-green-700);
  color: var(--white);
  box-shadow: 0 10px 20px -10px rgba(6,105,56,0.55), inset 0 -2px 0 rgba(0,0,0,0.12);
}
.btn-primary:hover {
  background: var(--k-green-800);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -10px rgba(6,105,56,0.55), inset 0 -2px 0 rgba(0,0,0,0.12);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--ink-200);
}
.btn-ghost:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* =========================================
   NAV / HEADER
   ========================================= */
.header-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 999;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.header-bar.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.logo-container { display: flex; align-items: center; }
.logo { height: 44px; width: auto; }

.menu-items {
  display: flex;
  gap: 4px;
  align-items: center;
}
.menu-items li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.menu-items li a:hover { color: var(--k-green-700); background: var(--k-green-50); }
.menu-items li a.is-active {
  color: var(--k-green-800);
  background: var(--k-green-100);
}
.menu-icon {
  width: 18px; height: 18px;
  opacity: 0.75;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--k-green-700);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 16px -8px rgba(6,105,56,0.55);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--k-green-800) !important; transform: translateY(-1px); }

.hamburger-button {
  display: none;
  background: var(--k-green-700);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
  .header-bar { padding: 0 16px; }
  .logo { height: 38px; }
  .hamburger-button { display: inline-flex; }
  .menu-items {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + 8px);
    right: 16px;
    flex-direction: column;
    gap: 2px;
    background: var(--white);
    padding: 10px;
    border-radius: var(--r-md);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
  }
  .menu-items.show { display: flex; }
  .menu-items li { width: 100%; }
  .menu-items li a { width: 100%; padding: 12px 14px; }
}

/* =========================================
   HERO — Home
   ========================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 40%, rgba(4,57,31,0.6) 0%, rgba(4,57,31,0) 60%),
    linear-gradient(180deg, rgba(4,57,31,0.5) 0%, rgba(4,57,31,0.7) 100%);
}
.hero__content {
  max-width: 760px;
  color: var(--white);
  animation: riseIn 900ms var(--ease) both;
}
.hero__content .eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #dff3e7;
  backdrop-filter: blur(6px);
}
.hero__content .eyebrow::before { background: var(--k-green-300); box-shadow: 0 0 0 4px rgba(125,214,168,0.2); }
.hero__title {
  color: var(--white);
  margin: 18px 0 18px;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
}
.hero__title em {
  font-style: italic;
  color: var(--k-green-300);
  font-weight: 500;
}
.hero__lead {
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 620px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.hero__actions .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
}
.hero__meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 620px;
}
.hero__stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}
.hero__stat .lbl {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--soft { background: var(--ink-50); }
.section--leaf { background: linear-gradient(180deg, var(--k-green-50) 0%, var(--white) 100%); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-500); }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--k-green-200);
}
.feature__icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--k-green-50);
  color: var(--k-green-700);
  margin-bottom: 20px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p { font-size: 0.975rem; }

/* =========================================
   SOLUCIONES — product cards
   ========================================= */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--k-green-50), var(--white));
  border-bottom: 1px solid var(--ink-100);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }

.category {
  padding-top: 48px;
}
.category-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 26px;
  padding-left: 0;
}
.category-title::before {
  content: '';
  width: 48px; height: 3px;
  background: var(--k-green-600);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 22px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--k-green-500), var(--k-green-700));
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--k-green-200); }
.product-card:hover::before { opacity: 1; }
.product-card img {
  width: 100%;
  max-width: 200px;
  height: 140px;
  object-fit: contain;
  transition: transform var(--t-med) var(--ease);
}
.product-card:hover img { transform: scale(1.04); }
.product-card button {
  width: 100%;
  padding: 11px 18px;
  background: var(--white);
  color: var(--k-green-800);
  border: 1px solid var(--k-green-200);
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.product-card:hover button { background: var(--k-green-700); color: var(--white); border-color: var(--k-green-700); }

/* =========================================
   NOSOTROS — mission/vision/values
   ========================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.value-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--k-green-100), var(--k-green-50));
  color: var(--k-green-800);
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px var(--k-green-200);
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.value-card p { color: var(--ink-600); font-size: 1rem; }
.value-card__list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-card__list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.value-card__list li svg {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  color: var(--k-green-600);
  margin-top: 3px;
}
.value-card__list strong { color: var(--ink-900); }

/* =========================================
   CONTACTO — form
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.3fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 920px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
.contact-aside h1 { margin-bottom: 18px; }
.contact-aside p { margin-bottom: 28px; color: var(--ink-500); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--k-green-50);
  border: 1px solid var(--k-green-100);
  border-radius: var(--r-md);
}
.contact-list li svg {
  width: 22px; height: 22px;
  color: var(--k-green-700);
  flex: 0 0 auto;
  margin-top: 2px;
}
.contact-list .lbl { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 2px; }
.contact-list .val { font-weight: 600; color: var(--ink-900); font-size: 0.975rem; }
.contact-list .val a:hover { color: var(--k-green-700); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}
.form-group input,
.form-group textarea {
  font-family: inherit;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.975rem;
  color: var(--ink-900);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-400); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--k-green-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20,168,97,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ink-50);
  border: 1px dashed var(--ink-200);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.form-file:hover { border-color: var(--k-green-500); background: var(--k-green-50); }
.form-file svg { width: 22px; height: 22px; color: var(--k-green-700); }
.form-file input { display: none; }
.form-file .ff-text { font-size: 0.9rem; color: var(--ink-600); }
.form-file .ff-text strong { color: var(--ink-900); }

.form-submit {
  width: 100%;
  margin-top: 20px;
  padding: 15px 20px;
  background: var(--k-green-700);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 24px -12px rgba(6,105,56,0.55);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.form-submit:hover { background: var(--k-green-800); transform: translateY(-1px); }

/* =========================================
   FOOTER
   ========================================= */
footer.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 72px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 840px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: var(--ink-300); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-300);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink-200);
  font-size: 0.95rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--k-green-300); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--ink-200);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.social-row a:hover { background: var(--k-green-700); color: var(--white); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink-400);
  font-size: 0.85rem;
}

/* =========================================
   PRODUCT PAGE (tecnologias/*.html)
   ========================================= */
.product-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background: linear-gradient(180deg, var(--k-green-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--k-green-100);
  overflow: hidden;
  isolation: isolate;
}
.product-hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--k-green-200) 0%, transparent 70%);
  opacity: 0.6;
  filter: blur(40px);
  z-index: -1;
}
.product-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .product-hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.product-hero__logo {
  max-width: 340px;
  height: auto;
  margin-bottom: 28px;
}
@media (max-width: 900px) { .product-hero__logo { margin-left: auto; margin-right: auto; } }
.product-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-500);
  margin-bottom: 22px;
  transition: color var(--t-fast) var(--ease);
}
.product-hero__back:hover { color: var(--k-green-700); }
.product-hero__back svg { width: 14px; height: 14px; }
.product-hero__desc {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 560px;
}
@media (max-width: 900px) { .product-hero__desc { margin-left: auto; margin-right: auto; } }
.product-hero__desc em, .product-hero__desc i {
  color: var(--k-green-800);
  font-style: italic;
  font-weight: 500;
}
.product-hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--k-green-100), var(--k-green-50));
  box-shadow: inset 0 0 0 1px var(--k-green-200), 0 30px 60px -30px rgba(6,105,56,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-hero__media img {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
}

.product-section {
  padding: clamp(72px, 10vw, 120px) 0;
}
.product-section--soft { background: var(--ink-50); }

.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .product-split { grid-template-columns: 1fr; gap: 48px; }
  .product-split--reverse .product-split__visual { order: -1; }
}
.product-split__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 28px;
  color: var(--ink-900);
}
.product-split__title::before {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: var(--k-green-600);
  border-radius: 2px;
  margin-bottom: 18px;
}
.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-benefits li {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  font-size: 0.975rem;
  color: var(--ink-700);
  line-height: 1.55;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.product-benefits li:hover { border-color: var(--k-green-300); transform: translateX(4px); }
.product-benefits li svg {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  color: var(--k-green-600);
  margin-top: 2px;
}
.product-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--k-green-50) 0%, var(--white) 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--k-green-100);
  box-shadow: var(--shadow-lg);
}
.product-mockup img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(11,23,18,0.18));
  transition: transform var(--t-med) var(--ease);
}
.product-mockup:hover img { transform: translateY(-6px) scale(1.02); }

.product-usage {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 44px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--k-green-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.product-usage .eyebrow { margin-bottom: 18px; }
.product-usage h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--ink-900);
  margin-bottom: 14px;
}
.product-usage p { color: var(--ink-600); font-size: 1.05rem; line-height: 1.7; }

.product-cta {
  padding: clamp(56px, 8vw, 80px) 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--k-green-800), var(--k-green-700));
  color: var(--white);
  border-radius: var(--r-xl);
  max-width: 1000px;
  margin: 0 auto clamp(48px, 8vw, 80px);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.product-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(62,197,132,0.35) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.product-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.product-cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.product-cta .btn-primary {
  background: var(--white);
  color: var(--k-green-800);
  box-shadow: 0 16px 30px -10px rgba(0,0,0,0.35);
}
.product-cta .btn-primary:hover { background: var(--k-green-100); color: var(--k-green-900); }

/* =========================================
   RELATED PRODUCTS
   ========================================= */
.related {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
}
.related__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.related__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ink-900);
  margin-bottom: 10px;
}
.related__head p { color: var(--ink-500); font-size: 1rem; }
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.related__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.related__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--k-green-500), var(--k-green-700));
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.related__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--k-green-200);
}
.related__card:hover::before { opacity: 1; }
.related__card__label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--k-green-700);
  font-weight: 600;
  padding: 4px 10px;
  background: var(--k-green-50);
  border-radius: var(--r-pill);
}
.related__card img {
  width: 100%;
  max-width: 180px;
  height: 90px;
  object-fit: contain;
  transition: transform var(--t-med) var(--ease);
}
.related__card:hover img { transform: scale(1.05); }
.related__card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--k-green-800);
}
.related__card__cta svg {
  width: 14px; height: 14px;
  transition: transform var(--t-fast) var(--ease);
}
.related__card:hover .related__card__cta svg { transform: translateX(4px); }

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(37,211,102,0.55), 0 4px 10px rgba(0,0,0,0.15);
  z-index: 998;
  transition: transform var(--t-fast) var(--ease);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.45;
  animation: pulse 2.4s var(--ease) infinite;
  z-index: -1;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.05); }
.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.5; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
