/* AloeVita K — Colombian K-Beauty Editorial Site */
:root {
  --green-dark: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --gold: #c9a227;
  --cream: #faf8f5;
  --text: #2c2c2c;
  --text-muted: #5c5c5c;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
  --radius: 12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

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

a { color: var(--green-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(45, 106, 79, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-dark);
}

.logo img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  margin: 5px 0;
  transition: 0.3s;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active { color: var(--green-mid); }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(27,67,50,0.88) 0%, rgba(27,67,50,0.55) 55%, rgba(27,67,50,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 620px;
  padding: 4rem 0;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-light);
  color: var(--white);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 183, 136, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 0.75rem;
}

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

/* Disclosure bar */
.disclosure-bar {
  background: var(--green-pale);
  padding: 0.65rem 0;
  font-size: 0.82rem;
  color: var(--green-dark);
  text-align: center;
  border-bottom: 1px solid rgba(45,106,79,0.15);
}

/* Sections */
section { padding: 4.5rem 0; }

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-grid.reverse { direction: rtl; }
.story-grid.reverse > * { direction: ltr; }

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.story-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.story-text p { color: var(--text-muted); margin-bottom: 1rem; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

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

.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1.5rem; }

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 0.65rem;
}

.card-body p { font-size: 0.95rem; color: var(--text-muted); }

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Benefits */
.benefits {
  background: var(--white);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-light);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.benefits-list h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.benefits-list p { font-size: 0.9rem; color: var(--text-muted); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--green-pale);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--green-light);
  border-radius: 50%;
  border: 3px solid var(--cream);
}

.timeline-year {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.timeline-item h4 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Tips */
.tip-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.tip-block h3 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tip-number {
  background: var(--green-mid);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
}

.tip-block p, .tip-block ul { color: var(--text-muted); font-size: 0.95rem; }
.tip-block ul { margin: 0.75rem 0 0 1.25rem; }

/* Product specs */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-info h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.product-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.spec-table th {
  color: var(--green-dark);
  font-weight: 600;
  width: 40%;
}

.disclaimer-box {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: var(--green-dark);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--green-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--green-light);
  border-color: transparent;
}

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Legal pages */
.legal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.legal-content h2 {
  font-size: 1.25rem;
  color: var(--green-dark);
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }

.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-header p { opacity: 0.85; margin-top: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 1.25rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 280px;
}

.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--green-mid);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
}

/* Promo banner — envío gratis */
.promo-banner {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green-mid) 45%, var(--green-light) 100%);
  background-size: 200% 100%;
  animation: promo-gradient 6s ease infinite;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  animation: promo-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promo-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes promo-shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.promo-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(201, 162, 39, 0); }
}

.promo-text {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.promo-text strong {
  color: var(--green-pale);
  font-weight: 700;
}

.promo-marquee-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 200px;
  max-width: 420px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.promo-marquee {
  display: flex;
  gap: 2.5rem;
  animation: promo-marquee 18s linear infinite;
  white-space: nowrap;
}

.promo-marquee span {
  font-size: 0.82rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

@keyframes promo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.promo-cta:hover {
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Production stages — vertical checkerboard */
.production-section {
  background: var(--white);
  padding: 5rem 0 6rem;
}

.production-timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.production-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.production-row.reverse {
  direction: rtl;
}

.production-row.reverse > * {
  direction: ltr;
}

.production-step-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.production-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.production-row:hover .production-step-img img {
  transform: scale(1.04);
}

.production-step-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.35);
  z-index: 1;
}

.production-step-body {
  padding: 1rem 0.5rem;
}

.production-step-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--green-dark);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.production-step-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.production-step-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .production-timeline { gap: 3rem; }
  .production-row { gap: 2rem; }
}

@media (max-width: 900px) {
  .story-grid,
  .cards-grid,
  .benefits-list,
  .product-hero,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-grid.reverse { direction: ltr; }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: none;
    padding: 1rem 0;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.25rem;
  }

  .main-nav li { border-bottom: 1px solid rgba(0,0,0,0.05); }
  .main-nav a { display: block; padding: 0.85rem 0; }

  .btn-outline { margin-left: 0; margin-top: 0.75rem; }

  .legal-content { padding: 1.75rem; }

  .production-row,
  .production-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.25rem;
  }

  .production-step-body { padding: 0.5rem 0; }
  .production-step-body p { max-width: none; }

  .promo-inner { flex-direction: column; gap: 0.65rem; padding: 0.85rem 1rem; }
  .promo-marquee-wrap { max-width: 100%; }
}
