/* Suelos SPC + WPC (GT Flooring). Base: pavimentos.css (cabecera, pie, reset) + bloques propios al final. */
/* ─── RESET ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font: inherit; }

    /* ─── TOKENS ─────────────────────────────────────────── */
    :root {
      --dark:     #1b2124;
      --white:    #ffffff;
      --light:    #f7f8f8;
      --gray:     #ececec;
      --dim1:     #e6e7e8;
      --dim2:     #666d76;
      --dim-title:#1a2431;
      --divider:  #bfc2c6;
      --link:     #333d48;
      --orange:   #f04e0a;
      --grid: 1184px;
      --ease:     cubic-bezier(0.16, 1, 0.3, 1);
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ─── BASE TYPOGRAPHY ────────────────────────────────── */
    body {
      font-family: 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
      background: var(--white);
      color: var(--dark);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* ─── HEADER ─────────────────────────────────────────── */
      position: sticky; top: 0; z-index: 100;
      display: flex; align-items: center; justify-content: center;
      background: var(--white);
      padding: 12px 12px 12px 24px;
      border-bottom: 1px solid var(--gray);
    }
    .header-inner {
      width: 100%; max-width: 1184px;
      display: flex; align-items: center; justify-content: space-between;
    }
      position: relative;
      display: flex; align-items: center; gap: 8px;
      font-family: 'DM Sans', 'Neue Haas Grotesk Display Pro', sans-serif;
      font-weight: 500; font-size: 14px; line-height: 20px;
      color: #404953;
      padding: 12px 14px; border-radius: 12px;
      transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
    }
    .nav-item:hover { background: rgba(0,0,0,0.045); }
    .nav-item.active { color: #000000; }
      content: ""; position: absolute; left: 18px; right: 18px; bottom: 0;
      height: 3px; background: #000000; border-radius: 3px 3px 0 0;
    }

      display: flex; align-items: center; gap: 10px;
      background: var(--dark); color: var(--white);
      height: 48px; padding: 6px 6px 6px 20px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
      transition: background 0.25s var(--ease-out);
    }
    .header-cta-label { font-weight: 300; font-size: 16px; letter-spacing: 0.05em; white-space: nowrap; }
      display: flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; background: var(--white); flex-shrink: 0;
    }


    /* ─── MOBILE NAV ─────────────────────────────────────── */
      position: fixed; inset: 0; background: var(--white); z-index: 999;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
    }
    .mobile-nav-item {
      font-size: 32px; font-weight: 300; text-transform: uppercase;
      letter-spacing: 0.02em; color: var(--dark); padding: 12px 24px; transition: opacity 0.2s;
    }
    .mobile-nav-item:hover { opacity: 0.5; }
      position: absolute; top: 24px; right: 24px; font-size: 28px; color: var(--dark); padding: 8px;
    }

    /* ─── PAGE / LAYOUT ──────────────────────────────────── */
    .section { display: flex; flex-direction: column; align-items: center; }
    .section-inner { width: 100%; max-width: var(--grid); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); box-sizing: border-box; }
    .pad { padding: 64px 24px; }

    /* ─── HERO / INTRO ───────────────────────────────────── */
    .hero { padding: 64px 24px 0; }
    .hero-inner { display: flex; flex-direction: column; gap: 24px; padding-inline: clamp(20px, 4vw, 32px); box-sizing: border-box; }


    .hero-title { font-size: 48px; font-weight: 700; line-height: 56px; color: var(--dark); }
    .hero-lead { max-width: 100%; font-size: 18px; font-weight: 500; line-height: 24px; color: var(--dark); overflow-wrap: break-word; }

    /* Carrusel — Card scroll */
    .carrusel::-webkit-scrollbar { display: none; }
    .carrusel { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
    .scroll-card { display: flex; flex-direction: column; width: 165px; max-width: 165px; }
    .scroll-card .scroll-img { width: 165px; height: 165px; overflow: hidden; background: var(--gray); }
    .scroll-card .scroll-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
    .scroll-card:hover .scroll-img img { transform: scale(1.05); }
    .scroll-label {
      padding: 4px 3.5px 2px; font-size: 16px; line-height: 24px; letter-spacing: 0.04em; color: var(--dim-title);
      text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1px;
      transition: text-decoration-color 0.2s var(--ease-out);
    }
    .scroll-card:hover .scroll-label,
    .scroll-card:focus-visible .scroll-label { text-decoration-color: currentColor; }

    /* ─── ABOUT (Puertas de interior) ────────────────────── */
    .about { padding: 64px 24px; }
    .about-inner { display: flex; flex-direction: column; gap: 24px; padding-inline: clamp(20px, 4vw, 32px); box-sizing: border-box; }
    .about-title { font-size: 40px; font-weight: 300; line-height: 48px; color: var(--dark); }
    .about-text { font-size: 18px; font-weight: 400; line-height: 26px; color: var(--dark); max-width: 1048px; overflow-wrap: break-word; }

    /* ─── DECK CARDS (Card_subcategory) ──────────────────── */
    .decks { padding: 0 24px 64px; }
    .deck-list { display: flex; flex-direction: column; gap: 37px; }
    .deck-card {
      display: flex; align-items: stretch; height: 365px; min-height: 365px;
      transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    }
    .deck-card:hover { box-shadow: 0 18px 40px rgba(27,33,36,0.12); transform: translateY(-2px); }
    .deck-media { width: 200px; flex: 0 0 200px; overflow: hidden; background: var(--gray); }
    .deck-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
    .deck-card:hover .deck-media img { transform: scale(1.04); }
    .deck-panel { flex: 1 1 auto; width: auto; background: var(--dim1); padding: 40px; display: flex; }
    .deck-inner { display: flex; flex-direction: column; gap: 27px; }
    .deck-title {
      font-size: 28px; font-weight: 700; line-height: 1.12; text-transform: uppercase;
      color: var(--dark); max-width: 323px;
    }
    .deck-desc { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--dark); max-width: 352px; }
    .deck-arrow { color: var(--dark); transition: transform 0.35s var(--ease-out); }
    .deck-card:hover .deck-arrow { transform: translateX(10px); }
    .deck-arrow svg { display: block; width: 54px; height: 20.66px; transform: rotate(180deg); }

    /* ─── EXPLORA OTRAS CATEGORÍAS ───────────────────────── */


    /* ─── FOOTER ─────────────────────────────────────────── */
    #footer { background: var(--dark); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,0.08); }
    .footer-grid { max-width: var(--grid); margin: 0 auto; padding: 0 24px; }
    .footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 64px; }
    .footer-col-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
    .footer-col-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-link { font-size: 16px; font-weight: 300; color: #bfc2c6; transition: color 0.2s; }
    .footer-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
    .footer-social { display: flex; gap: 16px; margin-top: 16px; }
    .footer-social-link { color: #bfc2c6; transition: color 0.2s; }
    .footer-social-link:hover { color: var(--white); }
    .footer-social-link svg { width: 20px; height: 20px; }
    .footer-wordmark {
      display: block; width: 100%; font-size: clamp(72px, 15vw, 179px); font-weight: 700;
      line-height: 0.85; letter-spacing: -0.01em; color: var(--white); margin-bottom: 32px;
    }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
      border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0 24px;
    }
    .footer-legal { font-size: 16px; font-weight: 400; color: var(--white); }

    /* ─── WORD-BY-WORD REVEAL (mismo patrón que la home) ── */
    .word-reveal {
      display: inline-block;
      opacity: 0;
      transform: translateY(10px);
      filter: blur(10px);
      transition:
        opacity   0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms),
        transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms),
        filter    0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--wd, 0ms);
    }
    .anim-title.in-view .word-reveal { opacity: 1; transform: translateY(0); filter: blur(0); }
    @media (prefers-reduced-motion: reduce) {
      .word-reveal { opacity: 1; transform: none; filter: none; transition: none; }
    }

    /* ─── RESPONSIVE ─────────────────────────────────────── */
    @media (max-width: 1120px) { :root { --grid: 100%; } }

    @media (max-width: 900px) {
      .header-nav { display: none; }
      .header-cta { display: none; }
      .menu-toggle { display: flex; }
      .footer-nav { grid-template-columns: repeat(2, 1fr); }

      .hero-title { font-size: 36px; line-height: 44px; }
      .about-title { font-size: 30px; line-height: 38px; }
      .section-inner,
      .hero-inner,
      .about-inner,
      .deck-list,
      .hero-title,
      .hero-lead,
      .about-title,
      .about-text {
        width: min(100%, calc(100vw - 40px));
        max-width: calc(100vw - 40px);
      }
      .hero-inner, .about-inner { padding-right: 0; }
      .carrusel::-webkit-scrollbar { display: none; }
    .carrusel { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
      .scroll-card { width: 100%; max-width: 100%; }
      .scroll-card .scroll-img { width: 100%; height: auto; aspect-ratio: 1; }

      .deck-card { flex-direction: column; height: auto; min-height: 0; }
      .deck-media { width: 100%; height: 240px; }
      .deck-panel { width: 100%; padding: 28px 24px; }
      .deck-title { max-width: none; }
      .deck-desc { max-width: none; }
    }

    @media (max-width: 640px) {
      .hero, .about, .decks { padding-left: 20px; padding-right: 20px; }
      .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

body.cantovi-inner-page #header { position: sticky; top: 0; left: 0; z-index: 1000; width: 100%; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; background: var(--white); border-bottom: 1px solid var(--gray); box-shadow: none; opacity: 1; pointer-events: auto; }
    body.cantovi-inner-page .header-logo, body.cantovi-inner-page #header.scrolled .header-logo, body.cantovi-inner-page #header.products-menu-open .header-logo { color: var(--dark); font-size: 16px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 0; }
    body.cantovi-inner-page .header-nav, body.cantovi-home .header-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
    body.cantovi-inner-page .nav-item, body.cantovi-inner-page #header.scrolled .nav-item, body.cantovi-inner-page #header.products-menu-open .nav-item { position: relative; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 10px 14px; border-radius: 12px; background: transparent; border: 0; color: #404953; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; cursor: pointer; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
    body.cantovi-inner-page .nav-item:hover, body.cantovi-inner-page .nav-item:focus-visible, body.cantovi-inner-page #header.scrolled .nav-item:hover, body.cantovi-inner-page #header.products-menu-open .nav-item:hover { background: rgba(0,0,0,0.05); color: var(--dark); text-decoration: none; outline: none; }
    .nav-item.active::after, .nav-products-trigger.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: currentColor; border-radius: 3px 3px 0 0; }
    .nav-products-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
    body.cantovi-inner-page .nav-dropdown, body.cantovi-home .nav-dropdown { position: fixed; top: calc(var(--products-mega-top, 72px) - 1px); left: 0; right: 0; z-index: 999; width: 100vw; background: var(--white); border-radius: 0; padding: 24px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; box-shadow: 0 8px 32px rgba(0,0,0,0.12); cursor: default; }
    .products-mega-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: #26313d; font: inherit; font-size: 15px; font-weight: 300; line-height: 20px; text-align: left; text-decoration: none; cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
    .products-mega-category:hover, .products-mega-category:focus-visible, .products-mega-category.active { background: var(--gray); color: var(--dark); outline: none; }
    .products-mega-category.active { box-shadow: inset 2px 0 0 var(--dark); }
    .products-mega-chevron, .products-mega-arrow { flex: 0 0 auto; font-size: 22px; line-height: 1; color: currentColor; }
    .products-mega-subcats { padding-top: 50px; }
    .products-mega-subcat, .products-mega-selected-cta, .products-mega-global-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; color: #404953; font-size: 15px; font-weight: 300; line-height: 20px; text-decoration: none; text-underline-offset: 4px; transition: color 0.18s var(--ease), opacity 0.18s var(--ease); }
    .products-mega-subcat:hover, .products-mega-subcat:focus-visible, .products-mega-selected-cta:hover, .products-mega-selected-cta:focus-visible, .products-mega-global-cta:hover, .products-mega-global-cta:focus-visible { color: var(--dark); text-decoration: underline; outline: none; }
    .products-mega-selected-cta, .products-mega-global-cta { margin-top: 18px; font-weight: 500; color: var(--dark); }
    .products-mega-preview-link:hover img { transform: scale(1.035); }
    .products-mega-preview-link.is-changing img { opacity: 0; }
    .products-mega-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(27,33,36,0.14); }
    .products-mega-bottom .products-mega-global-cta { width: 100%; margin-top: 0; }
    body.cantovi-inner-page .header-cta, body.cantovi-inner-page #header.scrolled .header-cta, body.cantovi-inner-page #header.products-menu-open .header-cta { display: flex; align-items: center; gap: 0; height: 48px; padding: 10px 10px 10px 20px; border-radius: 0; background: var(--dark); color: var(--white); box-shadow: 0 8px 16px rgba(0,0,0,0.2); font-size: 14px; font-weight: 300; letter-spacing: 0.05em; white-space: nowrap; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
    body.cantovi-inner-page .header-cta:hover { background: var(--orange); }
    body.cantovi-inner-page .header-cta-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 12px; background: var(--white); color: var(--dark); }
    body.cantovi-inner-page .header-cta-icon svg { width: 16px; height: 16px; }
    body.cantovi-inner-page .menu-toggle, body.cantovi-home .menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 8px; color: var(--dark); z-index: 1001; }
    body.cantovi-home .menu-toggle span { background: currentColor; }
    .mobile-nav-item.active, .mobile-products-toggle.active { font-weight: 500; }
    .mobile-products-toggle svg { width: 24px; height: 24px; transition: transform 0.2s var(--ease-out); }
    .mobile-products-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .mobile-product-link.active { color: var(--dark); font-weight: 700; box-shadow: inset 2px 0 0 var(--dark); }
    @media (max-width: 1024px) { body.cantovi-inner-page #header { padding: 12px 20px; } body.cantovi-inner-page .header-nav, body.cantovi-home .header-nav, body.cantovi-inner-page .header-cta, body.cantovi-home .header-cta { display: none !important; } body.cantovi-inner-page .menu-toggle, body.cantovi-home .menu-toggle { display: flex !important; margin-left: auto; } body.cantovi-home #header.revealed .menu-toggle, body.cantovi-home #header.scrolled .menu-toggle, body.cantovi-home #header.products-menu-open .menu-toggle { color: var(--dark); } .breadcrumb .crumb-link, .breadcrumb .crumb-sep, .breadcrumb .crumb-current { font-size: 16px !important; line-height: 24px !important; } }
    @media (max-width: 700px) { .products-mega-content { grid-template-columns: 1fr; } .products-mega-preview-link { height: 220px; } #mobile-nav { padding-left: 24px; padding-right: 24px; } .breadcrumb { gap: 8px !important; } .breadcrumb .crumb-link, .breadcrumb .crumb-sep, .breadcrumb .crumb-current { font-size: 16px !important; line-height: 24px !important; } }

/* ═══════════════════════════════════════════════════════════
   SUELOS SPC + WPC (GT Flooring) — bloques propios
   Diseño: Figma CANTOVI UI › "Nueva pantalla - 9 nov" › design
   ═══════════════════════════════════════════════════════════ */
.spc-page {
  --spc-dark: #1b2124;
  --spc-black: #050505;
  --spc-light: #f7f8f8;
  --spc-beige: #f3f0ea;
  --spc-tile: #ececec;
  --spc-text: #333d48;
  --spc-muted: #666d76;
  --spc-gold: #b08a4f;
  --spc-peach: #fed7aa;
  --spc-line: rgba(255,255,255,.18);
  background: var(--spc-light);
  color: var(--spc-dark);
}
.spc-page img { width: 100%; height: 100%; object-fit: cover; }
.spc-page figure { margin: 0; overflow: hidden; }
.spc-container { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 24px; }

/* Tipografía común */
.spc-h2 { font-size: 40px; line-height: 48px; font-weight: 300; letter-spacing: 0; color: var(--spc-dark); }
.spc-h2--inverse { color: var(--spc-light); }
.spc-text { font-size: 18px; line-height: 26px; font-weight: 400; color: var(--spc-text); }
.spc-text--inverse { color: rgba(247,248,248,.85); max-width: 640px; }
.spc-eyebrow { display: flex; align-items: center; gap: 32px; width: 100%; font-size: 12px; line-height: 12px; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; color: var(--spc-peach); }
.spc-eyebrow > span { flex: 0 0 auto; }
.spc-eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: #d9d9d9; opacity: .7; }
.spc-eyebrow--logo { gap: 14px; }
.spc-eyebrow--logo img { width: 150px; height: auto; object-fit: contain; flex: 0 0 auto; }
.spc-eyebrow--logo::after { display: none; }
.spc-eyebrow--gold { color: var(--spc-gold); }
.spc-eyebrow--gold::after { display: none; }

/* Botones */
.spc-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.spc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: .01em; border: 1.5px solid transparent; transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out); }
.spc-btn--light { background: #fff; color: var(--spc-dark); border-color: #fff; }
.spc-btn--light:hover { background: transparent; color: #fff; }
.spc-btn--ghost-light { background: rgba(0,0,0,.05); color: #fff; border-color: #fff; }
.spc-btn--ghost-light:hover { background: #fff; color: var(--spc-dark); }
.spc-btn--outline { align-self: flex-start; background: transparent; color: var(--spc-dark); border-color: var(--spc-dark); font-size: 14px; min-height: 40px; padding: 8px 14px; }
.spc-btn--outline:hover { background: var(--spc-dark); color: #fff; }

/* ─── Intro ─── */
.spc-intro { padding: 64px 0 48px; background: var(--spc-light); }
.spc-intro .spc-container { display: flex; flex-direction: column; gap: 32px; }
.spc-title { font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: 0; color: var(--spc-dark); }
.spc-lead { margin-top: -8px; font-size: 16px; line-height: 24px; color: var(--spc-text); }

/* ─── Tira de 3 imágenes ─── */
.spc-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 16px 16px; background: var(--spc-light); }
.spc-strip__item { aspect-ratio: 483 / 420; background: var(--spc-tile); }

/* ─── Hero GT Flooring ─── */
.spc-hero { background: var(--spc-dark); color: var(--spc-light); padding: 80px 0; }
.spc-hero__grid { display: grid; grid-template-columns: minmax(0, 464px) minmax(0, 560px); justify-content: space-between; align-items: center; gap: 56px; }
.spc-hero__text { display: flex; flex-direction: column; gap: 24px; }
.spc-hero__title { font-size: 40px; line-height: 48px; font-weight: 300; text-transform: uppercase; color: var(--spc-light); }
.spc-hero__lead { font-size: 18px; line-height: 24px; color: var(--spc-light); }
.spc-hero__media { aspect-ratio: 560 / 397; background: #000; }

/* ─── Qué son SPC y WPC ─── */
.spc-what { padding: 96px 0; background: var(--spc-beige); }
.spc-what__grid { display: grid; grid-template-columns: minmax(0, 638px) minmax(0, 442px); justify-content: space-between; gap: 64px; align-items: stretch; }
.spc-what__intro { display: flex; flex-direction: column; gap: 32px; }
.spc-what__intro .spc-h2 { max-width: 420px; }
.spc-what__media { width: 100%; max-width: 561px; aspect-ratio: 561 / 383; }
.spc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; border-top: 1px solid #bfc2c6; border-left: 1px solid #bfc2c6; align-self: start; height: 100%; }
.spc-feature { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; padding: 24px; border-right: 1px solid #bfc2c6; border-bottom: 1px solid #bfc2c6; }
.spc-feature__num { font-size: 64px; line-height: 64px; font-weight: 400; color: var(--spc-text); }
.spc-feature__body { display: flex; flex-direction: column; gap: 12px; }
.spc-feature h3 { font-size: 20px; line-height: 24px; font-weight: 700; color: var(--spc-dark); }
.spc-feature p { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--spc-muted); }
.spc-feature--accent { background: #402419; border-color: #402419; }
.spc-feature--accent .spc-feature__num, .spc-feature--accent h3, .spc-feature--accent p { color: var(--spc-light); }

/* ─── Destacado Antarctica ─── */
.spc-featured { background: var(--spc-dark); color: var(--spc-light); padding: 96px 0; }
.spc-featured__grid { display: grid; grid-template-columns: 456px minmax(0, 1fr); gap: 56px; align-items: stretch; }
.spc-featured__media { min-height: 520px; background: #111; }
.spc-featured__info { display: flex; flex-direction: column; gap: 24px; padding: 8px 0; }
.spc-featured__info .spc-eyebrow { color: #ffedd5; }
.spc-featured__title { font-size: 40px; line-height: 48px; font-weight: 300; color: var(--spc-light); }
.spc-featured__lead { font-size: 16px; line-height: 24px; color: var(--spc-light); }
.spc-featured__art { aspect-ratio: 568 / 317; background: #000; }
.spc-specs { display: flex; flex-direction: column; margin: 0; }
.spc-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--spc-line); font-size: 14px; line-height: 20px; }
.spc-specs dt { font-weight: 300; }
.spc-specs dd { margin: 0; font-weight: 700; text-align: right; }

/* Muestras de modelo */
.spc-swatches { display: flex; flex-wrap: wrap; gap: 16px 12px; list-style: none; margin: 0; padding: 0; }
.spc-swatch { display: flex; flex-direction: column; gap: 6px; width: 80px; }
.spc-swatch img { width: 80px; height: 80px; }
.spc-swatch strong { font-size: 12px; line-height: 16px; font-weight: 700; }
.spc-swatch span { font-size: 11px; line-height: 12px; font-weight: 300; opacity: .8; }
.spc-swatches--lg { gap: 16px; }
.spc-swatches--lg .spc-swatch { width: 128px; }
.spc-swatches--lg .spc-swatch img { width: 128px; height: 128px; }
.spc-swatches--lg .spc-swatch strong { font-size: 14px; line-height: 20px; }

/* ─── Galería de animales (propuesta B) ─── */
.spc-animals { background: #050505; padding: 112px 0; }
.spc-animals__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.spc-animals__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.spc-animal { display: flex; flex-direction: column; background: #0f0f0f; border: 1px solid rgba(176,138,79,.25); color: var(--spc-light); transition: border-color .25s var(--ease-out), transform .25s var(--ease-out); }
.spc-animal:hover, .spc-animal:focus-visible { border-color: var(--spc-gold); transform: translateY(-3px); outline: none; }
.spc-animal.is-star { border-color: var(--spc-gold); }
.spc-animal__media { display: block; aspect-ratio: 344 / 220; background: #050505; overflow: hidden; }
.spc-animal__media img { transition: transform .5s var(--ease-out); }
.spc-animal:hover .spc-animal__media img { transform: scale(1.04); }
.spc-animal__media--contain img { object-fit: contain; }
.spc-animal__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px 24px; }
.spc-animal__badge { padding: 4px 10px; background: var(--spc-gold); color: #050505; font-size: 12px; line-height: 14px; font-weight: 300; text-transform: uppercase; }
.spc-animal__kicker { color: var(--spc-gold); font-size: 12px; line-height: 14px; font-weight: 300; text-transform: uppercase; }
.spc-animal__title { font-size: 24px; line-height: 30px; font-weight: 700; }
.spc-animal__spec { font-size: 14px; line-height: 20px; font-weight: 300; opacity: .75; }
.spc-animal__link { margin-top: 2px; font-size: 14px; line-height: 20px; border-bottom: 1px solid currentColor; }

/* ─── Todas las colecciones (pestañas) ─── */
.spc-collections { background: var(--spc-beige); padding: 96px 0; scroll-margin-top: 72px; }
.spc-collections .spc-container { display: flex; flex-direction: column; gap: 32px; }
.spc-collections__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.spc-collections__title { max-width: 520px; font-size: 56px; line-height: 64px; font-weight: 300; text-transform: uppercase; color: var(--spc-dark); }
.spc-collections__sub { max-width: 296px; font-size: 18px; line-height: 24px; text-align: right; color: var(--spc-text); }
.spc-tabs { display: flex; gap: 0; padding: 4px; background: #fff; border-radius: 9999px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; }
.spc-tabs::-webkit-scrollbar { display: none; }
.spc-tab { flex: 1 0 auto; padding: 12px 16px; border-radius: 24px; font-size: 16px; line-height: 24px; letter-spacing: .04em; color: #1a2431; white-space: nowrap; scroll-snap-align: start; transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.spc-tab:hover { background: rgba(27,33,36,.06); }
.spc-tab:focus-visible { outline: 2px solid var(--spc-dark); outline-offset: -2px; }
.spc-tab.is-active { background: var(--spc-dark); color: var(--spc-light); }
.spc-panel { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 96px; }
.spc-panel[hidden] { display: none; }
.spc-panel__intro { font-size: 16px; line-height: 24px; color: var(--spc-text); }
.spc-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.spc-sub { display: flex; flex-direction: column; gap: 16px; }
.spc-sub__media { aspect-ratio: 524 / 300; background: var(--spc-tile); margin-bottom: 4px; }
.spc-sub__kicker { font-size: 12px; line-height: 12px; font-weight: 300; text-transform: uppercase; color: var(--spc-muted); }
.spc-sub__title { font-size: 24px; line-height: 30px; font-weight: 700; color: var(--spc-dark); }
.spc-sub__spec { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--spc-text); }
.spc-panel__grid--1 .spc-sub__media { aspect-ratio: 1080 / 420; }
.spc-panel__grid--1 { grid-template-columns: minmax(0, 1fr); }

/* ─── Vallsfusta ─── */
.spc-vallsfusta { display: grid; grid-template-columns: minmax(0, 724fr) minmax(0, 788fr); background: var(--spc-dark); color: var(--spc-light); }
.spc-vallsfusta__media { min-height: 560px; }
.spc-vallsfusta__panel { padding: 72px 32px; display: flex; align-items: center; }
.spc-vallsfusta__inner { display: flex; flex-direction: column; gap: 32px; width: 100%; max-width: 566px; margin-left: clamp(0px, 4vw, 54px); }
.spc-vallsfusta__brand { display: flex; align-items: center; gap: 32px; }
.spc-vallsfusta__brand img { width: 168px; height: auto; object-fit: contain; flex: 0 0 auto; }
.spc-vallsfusta__divider { width: 1px; align-self: stretch; min-height: 64px; background: #bfc2c6; flex: 0 0 auto; }
.spc-vallsfusta__title { font-size: 24px; line-height: 32px; font-weight: 300; color: var(--spc-light); }
.spc-vallsfusta__img { aspect-ratio: 566 / 280; }
.spc-vallsfusta__text { font-size: 16px; line-height: 24px; letter-spacing: .01em; color: var(--spc-light); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .spc-hero__grid, .spc-featured__grid { grid-template-columns: minmax(0, 1fr); }
  .spc-hero__media { order: 2; }
  .spc-featured__media { min-height: 0; aspect-ratio: 16 / 10; }
  .spc-what__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .spc-what__media { max-width: none; }
  .spc-animals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spc-vallsfusta { grid-template-columns: minmax(0, 1fr); }
  .spc-vallsfusta__media { min-height: 0; aspect-ratio: 16 / 10; }
  .spc-vallsfusta__inner { margin-left: 0; max-width: none; }
}
@media (max-width: 640px) {
  .spc-container { padding: 0 20px; }
  .spc-intro { padding: 32px 0; }
  .spc-strip { grid-template-columns: minmax(0, 1fr); padding: 0 16px 16px; }
  .spc-strip__item { aspect-ratio: 343 / 121; }
  .spc-intro .spc-container { gap: 16px; }
  .spc-title { font-size: 32px; line-height: 38px; }
  .spc-hero { padding: 48px 0; }
  .spc-hero__grid { gap: 32px; }
  .spc-hero__title, .spc-featured__title, .spc-h2 { font-size: 28px; line-height: 34px; }
  .spc-hero__lead, .spc-text { font-size: 16px; line-height: 24px; }
  .spc-actions { flex-direction: column; }
  .spc-actions .spc-btn { width: 100%; }
  .spc-what, .spc-featured, .spc-collections { padding: 56px 0; }
  .spc-what__intro { gap: 24px; }
  .spc-feature { min-height: 0; padding: 16px; gap: 20px; }
  .spc-feature__num { font-size: 40px; line-height: 40px; }
  .spc-feature h3 { font-size: 16px; line-height: 20px; }
  .spc-feature p { font-size: 12px; line-height: 16px; }
  .spc-swatches--lg { gap: 12px; }
  .spc-swatches--lg .spc-swatch { width: calc((100% - 36px) / 4); }
  .spc-swatches--lg .spc-swatch img { width: 100%; height: auto; aspect-ratio: 1; }
  .spc-swatches--lg .spc-swatch span { display: none; }
  .spc-animals { padding: 64px 0; }
  .spc-animals__head { margin-bottom: 32px; }
  .spc-animals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spc-animal.is-star { grid-column: 1 / -1; }
  .spc-animal:not(.is-star) .spc-animal__media { aspect-ratio: 161 / 110; }
  .spc-animal:not(.is-star) .spc-animal__body { padding: 12px 12px 16px; gap: 6px; }
  .spc-animal:not(.is-star) .spc-animal__title { font-size: 18px; line-height: 22px; }
  .spc-animal:not(.is-star) .spc-animal__spec { font-size: 12px; line-height: 16px; }
  .spc-collections__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spc-collections__title { font-size: 32px; line-height: 36px; }
  .spc-collections__sub { text-align: left; max-width: none; font-size: 16px; }
  .spc-tab { flex: 0 0 auto; }
  .spc-tabs { margin-right: -20px; border-radius: 9999px 0 0 9999px; padding-right: 20px; scroll-padding-inline: 4px 20px; }
  .spc-sub { gap: 12px; }
  .spc-sub__title { order: 1; }
  .spc-sub__kicker { order: 2; margin-bottom: 12px; }
  .spc-sub__media { order: 3; margin-bottom: 12px; }
  .spc-sub__spec { order: 4; }
  .spc-sub .spc-swatches { order: 5; margin-bottom: 8px; }
  .spc-sub .spc-btn--outline { order: 6; }
  .spc-panel__grid { grid-template-columns: minmax(0, 1fr); }
  .spc-panel__grid--1 .spc-sub__media, .spc-sub__media { aspect-ratio: 335 / 200; }
  .spc-swatch { width: 64px; }
  .spc-swatch img { width: 64px; height: 64px; }
  .spc-btn--outline { align-self: stretch; min-height: 48px; padding: 12px 16px; background: #e6e7e8; font-size: 16px; }
  .spc-vallsfusta__panel { padding: 48px 20px 56px; }
  .spc-vallsfusta__brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spc-vallsfusta__divider { display: none; }
}

/* ═══ Frisos Floor Step (añadidos sobre la base de Suelos SPC + WPC) ═══ */
.frs-profile { aspect-ratio: 568 / 180; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; }
.frs-profile img { width: 100%; height: 100%; object-fit: contain; }
.spc-swatches--lg.frs-swatches--9 .spc-swatch { width: 96px; }
.spc-swatches--lg.frs-swatches--9 .spc-swatch img { width: 96px; height: 96px; }
.frs-swatches--contain .spc-swatch img { object-fit: contain; background: #f5f2ec; padding: 6px; }
.frs-swatches--cover .spc-swatch img { object-fit: cover; }
.frs-tabs { align-self: flex-start; }
.frs-tabs .spc-tab { flex: 0 0 auto; }
.frs-exterior { background: #fff; }
.frs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.frs-grid--3 .spc-sub__media { aspect-ratio: 344 / 300; }
.frs-brand .spc-vallsfusta__brand { gap: 0; }
@media (max-width: 1024px) {
  .frs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .frs-profile { aspect-ratio: 335 / 120; padding: 16px; }
  .spc-swatches--lg.frs-swatches--9 .spc-swatch { width: calc((100% - 36px) / 4); }
  .spc-swatches--lg.frs-swatches--9 .spc-swatch img { width: 100%; height: auto; aspect-ratio: 1; }
  .frs-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .frs-grid--3 .spc-sub__media { aspect-ratio: 335 / 200; }
  .frs-tabs { align-self: stretch; }
}

/* ─── Decopanel (muestrario, 1.2.0) ─── */
.frs-decopanel { background: #fff; }
.frs-decopanel + .frs-exterior { padding-top: 0; }
.frs-decopanel + .frs-exterior .spc-container { border-top: 1px solid rgba(27,33,36,.12); padding-top: 96px; }
.frs-deco-group { display: flex; flex-direction: column; gap: 16px; }
.frs-deco-group__title { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--spc-dark); }
.frs-deco-group__title span { font-weight: 300; color: var(--spc-muted); margin-left: 4px; }
.frs-deco-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; list-style: none; margin: 0; padding: 0; }
.frs-deco { display: flex; flex-direction: column; gap: 8px; }
.frs-deco__media { aspect-ratio: 2 / 5; background: #fff; overflow: hidden; }
.frs-deco__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.frs-deco__media .media-unavailable { width: 100%; height: 100%; }
.frs-deco__name { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--spc-dark); }
.frs-deco-actions { margin-top: 8px; }
/* Ambientes Decopanel (26-nov-2026) */
.frs-deco-ambients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.frs-deco-ambient { display: flex; flex-direction: column; gap: 8px; }
.frs-deco-ambient__media { aspect-ratio: 3 / 2; overflow: hidden; background: #f2f0ec; }
.frs-deco-ambient__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frs-deco-ambient__media .media-unavailable { width: 100%; height: 100%; }
.frs-deco-ambient__name { margin: 0; font-size: 14px; line-height: 20px; font-weight: 300; color: var(--spc-muted); }
.frs-deco-ambient__name strong { font-weight: 700; color: var(--spc-dark); }
@media (max-width: 1024px) {
  .frs-deco-ambients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frs-deco-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .frs-decopanel + .frs-exterior .spc-container { padding-top: 56px; }
  .frs-deco-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
  .frs-deco__name { font-size: 12px; line-height: 16px; }
  .frs-deco-ambients { gap: 16px 8px; }
  .frs-deco-ambient__name { font-size: 12px; line-height: 16px; }
  .frs-deco-actions { flex-direction: column; align-items: stretch; }
}
