/* ══════════════════════════════════════════════════════════════
   SAN SEBASTIAN FOREST — Design v2  ·  Professional overhaul
   100 % aditivo. forest-site green theme. No rompe nada base.
   ══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. TIPOGRAFÍA GLOBAL
   ───────────────────────────────────────────────────────────── */

/* Mejores ligaduras en los titulares de display */
h1, h2, h3 {
  font-feature-settings: "liga" 1, "kern" 1;
}

/* ─────────────────────────────────────────────────────────────
   2. EYEBROW — LÍNEA DISTINTIVA ANTES DEL LABEL
   Una línea horizontal de 20 px precede cada etiqueta.
   ───────────────────────────────────────────────────────────── */

/* Fondos oscuros (hero, story, process, CTA, newsletter) */
.forest-hero-copy .eyebrow::before,
.forest-story-panel .eyebrow::before,
.forest-process .eyebrow::before,
.forest-project-cta .eyebrow::before,
.newsletter-section .eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: #c99a60;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.82;
}

/* Fondos claros (colecciones, sección centrada) */
.section-heading-center .eyebrow::before,
.blog-content-section .eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: #9c6f35;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.7;
}

/* ─────────────────────────────────────────────────────────────
   3. HERO — CINEMATOGRÁFICO
   ───────────────────────────────────────────────────────────── */

/* Titular más contundente */
.forest-hero-copy h1 {
  font-size: clamp(3.8rem, 9.2vw, 9.2rem) !important;
  line-height: 0.84 !important;
  letter-spacing: -0.025em !important;
}

.forest-hero-copy h1 em {
  font-size: 0.88em !important;
  letter-spacing: 0.005em !important;
  color: rgba(255, 248, 236, 0.88) !important;
}

/* La regla dorada más dramática */
.forest-hero-copy .story-title-rule {
  height: 1.5px !important;
  background: linear-gradient(90deg, #c99a60 0%, rgba(201, 154, 96, 0)) !important;
  margin: 28px 0 22px !important;
}

html body .forest-hero-copy .story-title-rule.is-drawn {
  width: 80px !important;
}

/* Párrafo del hero */
.forest-hero-copy p:not(.eyebrow) {
  font-size: 1.04rem !important;
  line-height: 1.78 !important;
  color: rgba(255, 250, 240, 0.86) !important;
  max-width: 46ch !important;
}

/* ── CTA primario: transparente con borde gold ── */
.hero-cta {
  font-size: 0.7rem !important;
  letter-spacing: 0.18em !important;
  padding: 0.98rem 2.1rem !important;
  background: rgba(201, 154, 96, 0.1) !important;
  border: 1px solid rgba(201, 154, 96, 0.55) !important;
  color: #fff8ec !important;
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    background: rgba(201, 154, 96, 0.22) !important;
    border-color: rgba(201, 154, 96, 0.88) !important;
    color: #fff8ec !important;
    transform: translateY(-2px) !important;
  }
}

/* ── CTA secundario/outline ── */
.hero-outline-btn {
  font-size: 0.7rem !important;
  letter-spacing: 0.14em !important;
  padding: 0.98rem 1.9rem !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

@media (hover: hover) and (pointer: fine) {
  .hero-outline-btn:hover {
    border-color: rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   4. STORY SPLIT — EDITORIAL
   ───────────────────────────────────────────────────────────── */

/* Título del panel */
.forest-story-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5.2rem) !important;
  line-height: 0.91 !important;
  letter-spacing: -0.018em !important;
}

.forest-story-panel h2 em {
  display: block;
}

/* Cuerpo del texto */
.forest-story-panel p:not(.eyebrow) {
  font-size: clamp(0.96rem, 1.3vw, 1.04rem) !important;
  line-height: 1.88 !important;
  color: rgba(255, 250, 240, 0.76) !important;
  margin-top: 22px !important;
}

/* Botón text-arrow más editorial */
.text-arrow-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font: 700 0.66rem/1 var(--font-sans) !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: rgba(201, 154, 96, 0.88) !important;
  border-bottom: 1px solid rgba(201, 154, 96, 0.25) !important;
  padding-bottom: 4px !important;
  margin-top: 32px !important;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .text-arrow-btn:hover {
    color: #c99a60 !important;
    border-color: rgba(201, 154, 96, 0.65) !important;
    gap: 12px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   5. SECCIÓN DE COLECCIONES — HEADING MÁS EDITORIAL
   ───────────────────────────────────────────────────────────── */

.section-heading-center {
  margin-bottom: 44px !important;
}

.section-heading-center h2 {
  font-size: clamp(2.6rem, 5.5vw, 5.6rem) !important;
  letter-spacing: -0.022em !important;
  line-height: 0.92 !important;
}

.section-heading-center h2 em {
  color: #9c6f35 !important;
}

.section-heading-center > p:last-child {
  font-size: 1.01rem !important;
  line-height: 1.72 !important;
  margin-top: 18px !important;
  color: #3a4a3c !important;
}

/* ─────────────────────────────────────────────────────────────
   6. COLLECTION CARDS — TIPOGRAFÍA ARTESANAL
   ───────────────────────────────────────────────────────────── */

/* Nombre de categoría con display font */
.collection-card span {
  font: 500 1.06rem/1.2 var(--font-display) !important;
  letter-spacing: 0.01em !important;
  margin-top: 14px !important;
  display: block !important;
}

/* "View more" más refinado */
.collection-card small {
  font: 700 0.62rem/1 var(--font-sans) !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin-top: 7px !important;
  display: block !important;
}

/* Elevación sutil al hacer hover */
@media (hover: hover) and (pointer: fine) {
  .collection-card {
    transition: transform 0.42s cubic-bezier(0.22, 0.6, 0.36, 1) !important;
    will-change: transform !important;
  }
  .collection-card:hover {
    transform: translateY(-5px) !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   7. PROCESS SECTION — ARTESANAL Y NARRATIVO
   ───────────────────────────────────────────────────────────── */

/* Más espacio respirable */
.forest-process {
  padding: 58px 0 64px !important;
}

/* Eyebrow más prominente */
.forest-process .eyebrow {
  font-size: 0.72rem !important;
  letter-spacing: 0.28em !important;
  margin-bottom: 46px !important;
  display: block !important;
  text-align: center !important;
}

/* Icono: más grande, con más presencia */
.forest-process .process-step i {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.5rem !important;
  background: rgba(201, 154, 96, 0.06) !important;
  border: 1px solid rgba(201, 154, 96, 0.18) !important;
  transition: border-color 0.35s ease, background 0.35s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .forest-process .process-step:hover i {
    background: rgba(201, 154, 96, 0.12) !important;
    border-color: rgba(201, 154, 96, 0.42) !important;
  }
}

/* Título del paso */
.forest-process .process-step h3 {
  font: 600 1.06rem/1.2 var(--font-display) !important;
  letter-spacing: 0.02em !important;
  margin: 18px 0 10px !important;
  color: #fff8ec !important;
}

/* Descripción del paso */
.forest-process .process-step p {
  font-size: 0.8rem !important;
  line-height: 1.58 !important;
  color: rgba(255, 248, 236, 0.58) !important;
  max-width: 20ch !important;
  margin: 0 auto !important;
}

/* Cards de proceso: altura flexible */
.forest-process .process-step {
  height: auto !important;
  min-height: 210px !important;
  padding: 24px 16px 28px !important;
}

/* ─────────────────────────────────────────────────────────────
   8. PROJECT CTA — MÁS IMPACTANTE
   ───────────────────────────────────────────────────────────── */

.forest-project-cta h2 {
  font-size: clamp(2.6rem, 5.5vw, 6.2rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.022em !important;
  margin-bottom: 32px !important;
}

.forest-project-cta .eyebrow {
  font-size: 0.7rem !important;
  letter-spacing: 0.26em !important;
  margin-bottom: 20px !important;
  display: block !important;
}

.forest-project-cta .hero-outline-solid {
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
  padding: 1rem 2rem !important;
}

/* ─────────────────────────────────────────────────────────────
   9. NEWSLETTER — PREMIUM
   ───────────────────────────────────────────────────────────── */

.newsletter-section h2 {
  font-size: clamp(2rem, 4vw, 3.8rem) !important;
  line-height: 1.0 !important;
  letter-spacing: -0.012em !important;
}

.newsletter-sub {
  font-size: 1.02rem !important;
  line-height: 1.76 !important;
}

/* Botón newsletter: ghost-style gold */
.newsletter-btn {
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
  padding: 14px 34px !important;
  background: transparent !important;
  border: 1px solid rgba(201, 154, 96, 0.55) !important;
  color: #c99a60 !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.newsletter-btn:hover {
  background: rgba(201, 154, 96, 0.12) !important;
  border-color: rgba(201, 154, 96, 0.85) !important;
  color: #e0bb82 !important;
}

/* ─────────────────────────────────────────────────────────────
   10. FOOTER — BRAND STATEMENT + REFINADO
   ───────────────────────────────────────────────────────────── */

/* Statement grande encima del grid */
.footer-statement {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 40px 44px;
  border-bottom: 1px solid rgba(201, 154, 96, 0.1);
}

.footer-statement p {
  font: 400 clamp(1.8rem, 3.5vw, 3.2rem)/1.1 var(--font-display) !important;
  color: rgba(255, 248, 236, 0.82) !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  max-width: 22ch !important;
}

.footer-statement p em {
  color: rgba(201, 154, 96, 0.8);
  font-style: italic;
}

/* Logo en footer más definido */
.footer-logo {
  width: min(100%, 200px) !important;
  margin-bottom: 22px !important;
}

/* Tagline del footer con display font */
.footer-tagline {
  font: 400 0.98rem/1.65 var(--font-display) !important;
  font-style: italic !important;
  color: rgba(223, 232, 216, 0.68) !important;
  max-width: 30ch !important;
}

/* Headings del footer */
.footer-heading {
  font: 700 0.6rem/1 var(--font-sans) !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
  color: rgba(255, 248, 236, 0.52) !important;
}

/* Lista de links */
.footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links li + li {
  margin-top: 11px !important;
}

.footer-links a {
  font: 400 0.94rem/1 var(--font-sans) !important;
  color: rgba(223, 232, 216, 0.72) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: rgba(201, 154, 96, 0.85) !important;
  }
}

/* Barra inferior del footer */
.footer-bottom {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 20px 40px 28px !important;
  border-top: 1px solid rgba(201, 154, 96, 0.09) !important;
  font: 400 0.74rem/1 var(--font-sans) !important;
  color: rgba(223, 232, 216, 0.38) !important;
  letter-spacing: 0.04em !important;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
    padding: 18px 20px 24px !important;
  }

  .footer-statement {
    padding: 36px 20px 32px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   11. NAVEGACIÓN — MÁS REFINADA
   ───────────────────────────────────────────────────────────── */

/* Links del nav */
.nav-link {
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
}

/* Logo más prominente */
.topbar .brand img {
  max-height: 48px !important;
  width: auto !important;
}

/* La línea activa del nav: más elegante */
.nav-link::after {
  height: 1px !important;
  background: rgba(201, 154, 96, 0.8) !important;
}

/* ─────────────────────────────────────────────────────────────
   12. PRODUCT GRID / DETAIL — TIPOGRAFÍA
   ───────────────────────────────────────────────────────────── */

.product-details h2 {
  font: 500 1.95rem/1.1 var(--font-display) !important;
  letter-spacing: 0.01em !important;
}

/* Quick-view button */
.quick-view {
  font: 600 0.74rem/1 var(--font-sans) !important;
  letter-spacing: 0.14em !important;
}

/* ─────────────────────────────────────────────────────────────
   13. SHOP HEADING (catálogo)
   ───────────────────────────────────────────────────────────── */

.shop-heading h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem) !important;
  letter-spacing: -0.015em !important;
  line-height: 0.95 !important;
}

/* ─────────────────────────────────────────────────────────────
   14. ABOUT PAGE — CONSISTENCIA CON EL REDISEÑO
   ───────────────────────────────────────────────────────────── */

.about-story-hero h1 {
  font-size: clamp(4rem, 8.5vw, 8rem) !important;
  line-height: 0.84 !important;
  letter-spacing: -0.025em !important;
}

.about-story-hero .eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: #c99a60;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.8;
}

/* ─────────────────────────────────────────────────────────────
   15. STAGGER SUTIL EN TRUST BAR
   ───────────────────────────────────────────────────────────── */

.ssf-trust-bar .ssf-trust-item:nth-child(1) { animation-delay: 0s; }
.ssf-trust-bar .ssf-trust-item:nth-child(2) { animation-delay: 0.05s; }
.ssf-trust-bar .ssf-trust-item:nth-child(3) { animation-delay: 0.1s; }
.ssf-trust-bar .ssf-trust-item:nth-child(4) { animation-delay: 0.15s; }

/* ─────────────────────────────────────────────────────────────
   16. RESPONSIVO
   ───────────────────────────────────────────────────────────── */

@media (max-width: 780px) {
  .forest-hero-copy h1 {
    font-size: clamp(3.2rem, 12.5vw, 5.2rem) !important;
    letter-spacing: -0.02em !important;
    line-height: 0.86 !important;
  }

  .forest-story-panel h2 {
    font-size: clamp(2.2rem, 9vw, 3.8rem) !important;
  }

  .section-heading-center h2 {
    font-size: clamp(2.2rem, 8.5vw, 3.8rem) !important;
  }

  .forest-project-cta h2 {
    font-size: clamp(2.2rem, 9vw, 4rem) !important;
  }

  .footer-statement p {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }
}

@media (max-width: 480px) {
  .forest-hero-copy h1 {
    font-size: clamp(2.8rem, 14.5vw, 4rem) !important;
    line-height: 0.88 !important;
  }

  .forest-process .process-step {
    padding: 20px 14px 24px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   17. PREFERS REDUCED MOTION
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .collection-card {
    transition: none !important;
    transform: none !important;
  }
  .text-arrow-btn:hover {
    gap: 7px !important;
  }
}
