/* Generated from frisos.html. Edit source HTML/design-system, then regenerate if needed. */
/* ─── 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; } }
