/* =============================================
   SQ-806 Spa Masajeador — Style.css
   GEO: Colombia | Lang: es-CO
   ============================================= */

:root {
  --cream: #f5f0e8;
  --cream-deep: #ede7da;
  --off-black: #2c2c2c;
  --sage: #7a9e87;
  --sage-dark: #5c7f6a;
  --mint-pale: #c8dbd0;
  --terracotta: #a0522d;
  --terracotta-light: #c4724a;
  --text-body: #3a3a3a;
  --text-muted: #6b6b6b;
  --text-light: #8a8a8a;
  --white: #fafaf8;
  --border: rgba(44,44,44,0.12);
  --border-sage: rgba(122,158,135,0.35);
  --nav-h: 0px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --radius: 6px;
  --max-prose: 720px;
}

/* =============================================
   RESET & BASE
   ============================================= */

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

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

body {
  background-color: var(--cream);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

p { margin-bottom: 1.4rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--off-black);
  margin-bottom: 0.75rem;
}

/* =============================================
   CONTAINER
   ============================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.prose {
  max-width: var(--max-prose);
  margin-inline: auto;
}

/* =============================================
   DISCLOSURE BAR (top)
   ============================================= */

.disclosure-bar {
  background-color: var(--cream-deep);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  text-align: center;
}

.disclosure-bar__text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   ARTICLE HEADER
   ============================================= */

.article-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}

.article-header .prose { text-align: left; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.kicker__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.kicker__category {
  color: var(--sage-dark);
}

.article-header h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-header h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.article-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
  font-family: var(--font-display);
  font-style: italic;
}

/* =============================================
   AUTHOR BLOCK
   ============================================= */

.author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--sage-dark);
  flex: none;
}

.author-avatar svg {
  width: 26px;
  height: 26px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--off-black);
}

.author-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* =============================================
   LEAD HERO FIGURE
   ============================================= */

.figure-lead {
  margin: 36px 0;
}

.figure-lead img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.figure-caption {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
  font-family: var(--font-body);
}

/* =============================================
   ARTICLE BODY
   ============================================= */

.article-body {
  padding: 40px 0 60px;
}

.article-section {
  margin-bottom: 52px;
}

.article-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mint-pale);
}

.article-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 10px;
}

.figure-inline {
  margin: 28px 0;
}

.figure-inline img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 420px;
}

.figure-inline--half {
  float: right;
  width: 45%;
  margin: 6px 0 20px 28px;
}

.figure-inline--half img {
  max-height: 320px;
}

/* =============================================
   PULL QUOTE
   ============================================= */

.pull-quote {
  border-left: 4px solid var(--sage);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(122,158,135,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--sage-dark);
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   INLINE CTA (soft, bridge-style)
   ============================================= */

.inline-cta {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--sage);
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  margin-top: 8px;
}

.inline-cta:hover {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

/* =============================================
   PRODUCT CARD
   ============================================= */

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  margin: 36px 0;
  box-shadow: 0 2px 20px rgba(44,44,44,0.07);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.product-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--off-black);
  line-height: 1.3;
  margin: 0;
}

.product-card__model {
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: var(--font-body);
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--off-black);
  line-height: 1;
}

.product-card__shipping {
  font-size: 0.8rem;
  color: var(--sage-dark);
  font-weight: 600;
}

.product-card__cta {
  display: inline-block;
  background: var(--sage-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid var(--sage-dark);
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.product-card__cta:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

/* =============================================
   FACTS TABLE
   ============================================= */

.facts {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  background: var(--white);
}

.facts__row {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.facts__row:last-child { border-bottom: none; }

.facts__row dt {
  width: 40%;
  padding: 12px 16px;
  background: var(--cream-deep);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.facts__row dd {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-body);
  flex: 1;
}

/* =============================================
   BADGE ROW (5 icons)
   ============================================= */

.badge-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 24px;
  background: var(--cream-deep);
  border-radius: var(--radius);
}

.badge-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.badge-row__item svg {
  width: 28px;
  height: 28px;
  color: var(--sage-dark);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-row__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  text-align: center;
}

/* =============================================
   SAFETY NOTE
   ============================================= */

.safety-note {
  background: rgba(160, 82, 45, 0.07);
  border: 1px solid rgba(160, 82, 45, 0.22);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.safety-note__title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.safety-note ul {
  padding-left: 1.2rem;
  margin: 0;
}

.safety-note li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 6px;
  line-height: 1.55;
}

.safety-note li:last-child { margin-bottom: 0; }

/* =============================================
   HOW TO USE STEPS
   ============================================= */

.steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.steps__item {
  counter-increment: step-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.steps__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.steps__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  padding-top: 4px;
}

/* =============================================
   HONEST NOTE BLOCK
   ============================================= */

.honest-note {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.honest-note__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 12px;
  font-style: italic;
}

.honest-note p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

/* =============================================
   DISCLAIMER INLINE
   ============================================= */

.disclaimer-inline {
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 28px 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.faq-section {
  padding: 8px 0 40px;
}

.faq-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--off-black);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mint-pale);
  font-family: var(--font-display);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--off-black);
  transition: color 0.18s;
}

.faq-question:hover { color: var(--sage-dark); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  stroke-width: 2.2;
  transition: transform 0.3s ease;
  fill: none;
}

.faq-item.faq--open .faq-icon {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.faq-item.faq--open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.faq--open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 4px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer-inner p { margin-bottom: 0.6rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* =============================================
   CLOSING CTA BLOCK
   ============================================= */

.closing-cta {
  text-align: center;
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
}

.closing-cta p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 580px;
  margin: 0 auto 24px;
}

.closing-cta__link {
  display: inline-block;
  background: var(--sage-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid var(--sage-dark);
  transition: background 0.2s, border-color 0.2s;
}

.closing-cta__link:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.closing-cta__note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
  font-style: normal;
  font-family: var(--font-body);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
}

.footer-links {
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--sage-dark); }

.footer-links span {
  color: var(--text-light);
  margin: 0 8px;
}

.footer-disclosure {
  max-width: 680px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.65;
  font-family: var(--font-body);
}

.footer-disclosure p { margin-bottom: 0.5rem; }
.footer-disclosure p:last-child { margin-bottom: 0; }

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-body);
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */

.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--off-black);
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  display: none;
}

.cc-banner.cc-visible { display: block; }

.cc-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cc-banner__text { flex: 1; min-width: 200px; }

.cc-banner__text a { color: var(--mint-pale); }

.cc-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cc-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #fff;
}

.cc-btn--accept {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.cc-btn--accept:hover { background: var(--sage); border-color: var(--sage); }
.cc-btn--reject:hover { background: rgba(255,255,255,0.1); }
.cc-btn--config:hover { background: rgba(255,255,255,0.1); }

.cc-panel {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  width: 100%;
}

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

.cc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cc-toggle-label { font-size: 0.82rem; color: rgba(255,255,255,0.85); }

.cc-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cc-toggle:checked { background: var(--sage); }

.cc-toggle::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
}

.cc-toggle:checked::after { left: 19px; }
.cc-toggle:disabled { opacity: 0.5; cursor: not-allowed; }

.cc-save-btn {
  margin-top: 12px;
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cc-save-btn:hover { background: var(--sage-dark); }

/* =============================================
   SCROLL REVEAL
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   LEGAL PAGE SPECIFICS
   ============================================= */

.legal-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.legal-header h1 {
  font-size: clamp(26px, 4vw, 38px);
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 6px;
  margin-bottom: 0;
}

.legal-body { padding-bottom: 60px; }
.legal-body h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--off-black);
}

.legal-body p, .legal-body li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.legal-body ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.4rem; }

.legal-body a { color: var(--sage-dark); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 700px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card__img {
    height: 240px;
    object-fit: cover;
  }

  .badge-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .badge-row__item:nth-child(4),
  .badge-row__item:nth-child(5) {
    grid-column: auto;
  }

  .figure-inline--half {
    float: none;
    width: 100%;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .badge-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}
