:root {
    --yellow: #f4c430;
    --yellow-dark: #dba514;
    --ink: #2f3338;
    --muted: #667085;
    --line: #e8eaee;
    --paper: #ffffff;
    --soft: #f8fafc;
    --dark: #20242a;
    --teal: #129b9b;
    --rose: #c83e58;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: "Open Sans", Arial, sans-serif;
}

body,
button,
input {
    font: 400 16px/1.55 "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
.brand,
.btn {
    font-family: "Quicksand", "Open Sans", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.sr-only,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 100;
    left: 1rem;
    top: 1rem;
    padding: 0.7rem 1rem;
    background: #ffffff;
    border: 2px solid var(--yellow);
}

.offer-tab {
    position: fixed;
    z-index: 30;
    right: 1.2rem;
    top: 44%;
    padding: 0.8rem 0.65rem;
    color: #111111;
    background: var(--yellow);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
    font-weight: 800;
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
    backdrop-filter: blur(10px);
}

.promo-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    padding: 0.55rem 1rem;
    color: #ffffff;
    background: var(--dark);
    text-align: center;
    font-size: 0.9rem;
}

.promo-bar p {
    margin: 0;
}

.promo-bar a {
    color: var(--yellow);
    font-weight: 800;
}

.topbar,
.main-header,
.primary-menu,
.hero,
.section,
.quick-categories,
.info-grid,
.testimonial-section,
.process-section,
.brand-strip,
.footer-grid,
.footer-logo,
.grant-note {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.topbar {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
}

.search-form {
    height: 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #ffffff;
}

.search-form input {
    min-width: 0;
    padding: 0 0.9rem;
    border: 0;
    outline: 0;
}

.search-form button {
    width: 46px;
    border: 0;
    color: var(--ink);
    background: var(--yellow);
}

.utility-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1.1rem;
    color: #4b5563;
    font-size: 0.92rem;
}

.utility-nav a {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.utility-nav i {
    color: var(--yellow-dark);
}

.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.1rem 0 1rem;
    position: relative;
}

.main-header.compact {
    min-height: 0;
    display: none;
    padding: 0;
}

.web-category-page .main-header .brand {
    display: none;
}

.brand img {
    width: min(420px, 70vw);
    height: auto;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: absolute;
    right: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.primary-menu {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.65rem;
    min-height: 56px;
    padding-bottom: 0;
}

.menu-home-link {
    width: 52px;
    flex: 0 0 52px;
    display: inline-grid;
    place-items: center;
    color: var(--yellow);
}

.menu-home-link > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 4px solid var(--yellow);
    border-radius: 50%;
}

.menu-home-link i {
    font-size: 0.78rem;
}

.primary-menu-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.primary-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.7rem;
    color: #3b3f45;
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.primary-menu-link i {
    color: inherit;
    font-size: 0.72rem;
}

.primary-menu-item:hover .primary-menu-link,
.primary-menu-item:focus-within .primary-menu-link,
.primary-menu-item.active .primary-menu-link {
    color: var(--yellow-dark);
}

.primary-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 25;
    min-width: 190px;
    display: none;
    padding: 0.35rem 0;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
}

.primary-menu-item:hover > .primary-submenu,
.primary-menu-item:focus-within > .primary-submenu,
.primary-submenu-item:hover > .primary-submenu,
.primary-submenu-item:focus-within > .primary-submenu {
    display: block;
}

.primary-submenu-item {
    position: relative;
}

.primary-submenu .primary-submenu {
    top: -0.35rem;
    left: 100%;
}

.primary-submenu-link {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.75rem;
    color: #3b3f45;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.primary-submenu-link:hover,
.primary-submenu-link:focus-visible,
.primary-submenu-item.active > .primary-submenu-link {
    color: #111111;
    background: #f8fafc;
}

.primary-submenu i {
    font-size: 0.72rem;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.web-category-hero,
.web-category-benefits,
.web-category-section,
.web-category-quote,
.web-family-hero,
.web-family-grid {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.web-category-hero {
    min-height: 295px;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0 0.8rem;
}

.web-category-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.web-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.web-breadcrumb a {
    color: #2f3338;
    font-weight: 700;
}

.web-category-hero h1 {
    margin: 0;
    color: #14171c;
    font-size: clamp(2.8rem, 6vw, 5.15rem);
    line-height: 0.96;
    font-weight: 800;
}

.web-category-hero p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.web-category-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: 0.5rem;
}

.web-category-actions .btn,
.web-category-quote .btn {
    min-width: 210px;
    min-height: 48px;
    gap: 0.7rem;
    border: 1px solid var(--yellow-dark);
}

.web-category-media {
    min-height: 250px;
    align-self: stretch;
    overflow: hidden;
}

.web-category-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.web-category-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.web-category-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.web-category-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.web-category-gallery figcaption {
    padding: 0.55rem 0.7rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.web-category-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 0.8rem;
    padding: 1.1rem 1.4rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.web-category-benefits article {
    min-height: 74px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0 1.25rem;
    border-right: 1px solid var(--line);
}

.web-category-benefits article:last-child {
    border-right: 0;
}

.web-category-benefits i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--yellow-dark);
    border: 2px solid var(--yellow);
    border-radius: 8px;
    font-size: 1.25rem;
}

.web-category-benefits h2,
.web-category-benefits p {
    margin: 0;
}

.web-category-benefits h2 {
    color: #2f3338;
    font-size: 0.92rem;
    line-height: 1.2;
}

.web-category-benefits p {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.web-category-section {
    padding: 1.1rem 0 1.5rem;
}

.web-category-heading {
    display: grid;
    justify-items: center;
    margin: 0.35rem 0 1.25rem;
    text-align: center;
}

.web-category-heading::after {
    content: "";
    width: 46px;
    height: 5px;
    display: block;
    margin: 0 auto;
    background: var(--yellow);
    border-radius: 999px;
}

.web-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.web-category-card {
    min-height: 170px;
    display: grid;
    grid-template-columns: minmax(150px, 0.95fr) minmax(0, 1fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.web-category-card:hover,
.web-category-card:focus-within {
    border-color: var(--yellow);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
    transform: translateY(-2px);
}

.web-category-card-media {
    min-height: 170px;
    overflow: hidden;
}

.web-category-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.web-category-card:hover .web-category-card-media img,
.web-category-card:focus-within .web-category-card-media img {
    transform: scale(1.12);
}

.web-category-card > div {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    padding: 1rem;
}

.web-category-card h3,
.web-category-card p {
    margin: 0;
}

.web-category-card h3 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.web-category-card p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.web-category-card span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #5b6675;
    font-size: 0.82rem;
}

.web-category-card span i,
.web-card-link i {
    color: var(--yellow-dark);
}

.web-card-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.2rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    color: #2f3338;
    font-size: 0.82rem;
    font-weight: 800;
}

.web-category-quote {
    min-height: 76px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(220px, auto);
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.4rem;
    padding: 1rem 2rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.065);
}

.web-category-quote > i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #111111;
    background: #ffffff;
    border: 4px solid var(--yellow);
    border-radius: 50%;
    font-size: 1.45rem;
}

.web-category-quote h2,
.web-category-quote p {
    margin: 0;
}

.web-category-quote h2 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.web-category-quote p {
    color: var(--muted);
    font-size: 0.9rem;
}

.web-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.web-family-card {
    min-height: 168px;
    display: grid;
    align-content: start;
    gap: 0.65rem;
    padding: 1rem;
    color: #2f3338;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.web-family-card:hover {
    border-color: var(--yellow);
}

.web-family-card img,
.web-family-card > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    object-fit: cover;
    color: #111111;
    background: #fff5d6;
    border-radius: 8px;
    font-size: 1.35rem;
}

.web-family-card strong {
    font-size: 1.05rem;
}

.web-family-card small,
.empty-web-message {
    color: var(--muted);
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--yellow-dark);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: #14171c;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    width: min(100%, 620px);
    margin: 1.35rem 0 0;
    color: #4b5563;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 4px;
    font-weight: 800;
    cursor: default;
}

.btn-primary {
    color: #111111;
    background: var(--yellow);
    border: 1px solid var(--yellow-dark);
}

.btn-outline {
    color: var(--ink);
    border: 1px solid #cfd5dd;
    background: #ffffff;
}

.hero-showcase {
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    padding: 1.35rem;
    color: #ffffff;
    border-radius: 10px;
    background:
        linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.65)),
        linear-gradient(135deg, #293241, #53606e);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.showcase-card::before,
.product-media::before,
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}

.showcase-card.large {
    grid-row: 1 / 3;
}

.photo-card::before { background-image: url("/static/images/personal.jpg"); }
.print-card::before { background-image: url("/static/images/operaciones.jpg"); }
.gift-card::before { background-image: url("/static/images/materiales.jpg"); }

.photo-card {
    background:
        radial-gradient(circle at 28% 18%, rgba(244, 196, 48, 0.55), transparent 20rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.76)),
        linear-gradient(135deg, #28313b, #52606d);
}

.print-card {
    background:
        radial-gradient(circle at 80% 22%, rgba(18, 155, 155, 0.5), transparent 12rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)),
        linear-gradient(135deg, #2f3742, #6b4f3a);
}

.gift-card {
    background:
        radial-gradient(circle at 78% 28%, rgba(200, 62, 88, 0.44), transparent 12rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
        linear-gradient(135deg, #374151, #64513a);
}

.showcase-card span,
.showcase-card strong {
    position: relative;
    z-index: 1;
}

.showcase-card span {
    color: var(--yellow);
    font-weight: 800;
}

.showcase-card strong {
    margin-top: 0.25rem;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.15;
}

.quick-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.quick-categories a,
.info-grid article,
.product-card,
.quality-strip,
.testimonial-card,
.quote-main {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.quick-categories a {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 0.45rem;
    padding: 1rem;
    text-align: center;
    font-weight: 800;
}

.quick-categories i {
    color: var(--yellow-dark);
    font-size: 1.5rem;
}

.section {
    padding: 2.4rem 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
}

.section-heading a {
    color: var(--yellow-dark);
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.featured-layout {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card.wide {
    grid-column: span 3;
}

.featured-layout .product-card:not(.wide) {
    grid-column: span 2;
}

.product-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(244, 196, 48, 0.42), transparent 8rem),
        linear-gradient(135deg, #27313d, #56616e);
}

.product-media::before {
    opacity: 0.2;
    transition: transform 0.25s ease;
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.28)),
        repeating-linear-gradient(0deg, transparent 0 16px, rgba(47, 51, 56, 0.18) 16px 18px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    transform: rotate(-3deg);
}

.product-card:hover .product-media::before {
    transform: scale(1.04);
}

.communion::before,
.reminder::before,
.diptych::before,
.bookmark::before,
.album::before,
.frame::before {
    background-image: url("/static/images/personal.jpg");
}

.pocket::before,
.wood::before,
.canvas::before {
    background-image: url("/static/images/materiales.jpg");
}

.frame::before { background-image: url("/static/images/instalaciones.jpg"); }
.canvas::before { background-image: url("/static/images/vehiculos.jpg"); }

.badge,
.min-order {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    padding: 0.4rem 0.65rem;
    color: #111111;
    background: var(--yellow);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
}

.badge.dark {
    color: #ffffff;
    background: var(--dark);
}

.min-order {
    left: auto;
    right: 0.9rem;
    background: #ffffff;
}

.product-info {
    padding: 1.15rem;
}

.product-info h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

.product-info small {
    margin-left: 0.4rem;
    color: #111111;
    background: var(--yellow);
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
}

.product-info p {
    min-height: 3rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.product-info > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.product-info span {
    color: #4b5563;
    font-size: 0.88rem;
}

.product-info strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
}

.product-info a {
    min-width: 116px;
    padding: 0.62rem 0.8rem;
    color: #111111;
    background: var(--yellow);
    border-radius: 4px;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 800;
}

.quality-strip {
    width: min(1180px, calc(100% - 2rem));
    margin: 2.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.4rem;
    text-align: center;
}

.quality-strip strong {
    font-family: "Quicksand", sans-serif;
    font-size: 1.35rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem 0 3rem;
}

.info-grid article {
    min-height: 190px;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 0.65rem;
    padding: 1.5rem;
    text-align: center;
}

.info-grid i {
    color: var(--dark);
    font-size: 2.3rem;
}

.info-grid h3 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.info-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.cta-section {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-top: 1rem;
    color: #ffffff;
    background: var(--dark);
}

.cta-section::before {
    background-image: url("/static/images/operaciones.jpg");
    opacity: 0.42;
    filter: saturate(0.8);
}

.cta-section > div {
    position: relative;
    width: min(860px, calc(100% - 2rem));
    z-index: 1;
    text-align: center;
}

.cta-section h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
}

.cta-section p {
    margin: 1rem auto 1.5rem;
    max-width: 690px;
    font-size: 1.2rem;
}

.testimonial-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
    padding: 4rem 0;
}

.quote-main,
.testimonial-card {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.quote-main {
    color: #ffffff;
    background: var(--dark);
    border-color: var(--dark);
}

.quote-main p,
.testimonial-card p {
    margin: 0 0 1.3rem;
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.28;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
}

.quote-main span,
.testimonial-card span {
    display: block;
    color: var(--muted);
}

.quote-main span {
    color: #cbd5e1;
}

.process-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 4rem 0;
}

.process-section article {
    color: #ffffff;
    padding: 2rem 1.35rem;
    text-align: center;
    background: linear-gradient(145deg, #242933, #3a414d);
    border-radius: 8px;
}

.process-section i {
    color: var(--yellow);
    font-size: 2.4rem;
}

.process-section h3 {
    margin: 1rem 0 0.65rem;
    text-transform: uppercase;
}

.process-section p {
    margin: 0;
    color: #d8dee7;
}

.brand-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1.5rem 0 4rem;
}

.brand-strip span {
    min-height: 70px;
    display: grid;
    place-items: center;
    color: #4b5563;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    font-weight: 800;
}

.site-footer {
    color: #e5e7eb;
    background: #20242a;
}

.footer-logo {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo img {
    width: 280px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    margin: 0;
    color: #cbd5e1;
}

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

.footer-grid h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin: 0 0 0.65rem;
    color: #cbd5e1;
}

.footer-grid i {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 0.7rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #2f3742;
    border-radius: 50%;
}

.grant-note {
    display: grid;
    gap: 0.35rem;
    padding: 1.6rem 0;
    color: #1f2937;
    background: #ffffff;
    text-align: center;
}

#back-to-top {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #111111;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.compact-brand,
.compact-actions {
    display: none;
}

.product-detail-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.1rem 0 4rem;
}

.product-breadcrumb {
    margin: 0 0 1.35rem;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
    gap: clamp(2rem, 4vw, 3.6rem);
    align-items: start;
}

.product-gallery {
    min-width: 0;
    position: relative;
}

.product-gallery-main {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-gallery-main > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.product-gallery-placeholder {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.75rem;
    color: var(--muted);
    background: #f3f4f6;
}

.product-gallery-placeholder i {
    color: var(--yellow-dark);
    font-size: 2rem;
}

.product-gallery-zoom,
.product-gallery-nav {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    color: #111111;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    cursor: pointer;
}

.product-gallery-zoom {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
}

.product-gallery-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
}

.product-gallery-nav.previous {
    left: 0.8rem;
}

.product-gallery-nav.next {
    right: 0.8rem;
}

.product-gallery-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.76);
    border-radius: 999px;
    font-weight: 800;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.product-gallery-thumbs button {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

.product-gallery-thumbs button.active {
    border-color: var(--yellow-dark);
}

.product-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
}

.product-gallery-dots {
    display: none;
}

.product-buy-panel {
    display: grid;
    gap: 1rem;
}

.product-family-label {
    margin: 0;
    color: var(--yellow-dark);
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-buy-panel h1 {
    margin: 0;
    color: #1f2430;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
}

.product-lead {
    margin: 0;
    color: #1f2937;
    font-size: 1.05rem;
}

.product-feature-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-feature-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
}

.product-feature-list i {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    margin-top: 0.15rem;
    color: #111111;
    background: var(--yellow);
    border-radius: 50%;
    font-size: 0.68rem;
}

.product-price-panel {
    margin-top: 0.3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.product-price-panel div {
    display: flex;
    gap: 0.65rem;
    align-items: baseline;
}

.product-price-panel span {
    font-weight: 800;
}

.product-price-panel strong {
    color: #1f2430;
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1;
}

.product-price-panel p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.product-cta,
.product-mobile-cta a {
    min-height: 52px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    color: #111111;
    background: var(--yellow);
    border: 1px solid var(--yellow-dark);
    border-radius: 6px;
    box-shadow: 0 12px 22px rgba(219, 165, 20, 0.22);
    font-family: "Quicksand", "Open Sans", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
}

.product-cta:hover,
.product-mobile-cta a:hover {
    background: #ffd84d;
}

.product-cta:active,
.product-mobile-cta a:active {
    transform: translateY(1px);
}

.product-cta:focus-visible,
.product-gallery button:focus-visible,
.product-detail-block button:focus-visible,
.product-mobile-cta a:focus-visible {
    outline: 3px solid rgba(18, 155, 155, 0.35);
    outline-offset: 3px;
}

.product-next-step,
.product-assurance,
.product-info-note {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    margin: 0;
    padding: 0.9rem 1rem;
    color: #334155;
    background: #f1f6fc;
    border-radius: 6px;
}

.product-assurance {
    justify-self: center;
    padding: 0;
    background: transparent;
}

.product-next-step i,
.product-assurance i,
.product-info-note i {
    color: #2f6fb2;
}

.product-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 5vw, 4rem);
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-trust-strip article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.product-trust-strip i {
    grid-row: span 2;
    color: var(--yellow-dark);
    font-size: 2rem;
}

.product-trust-strip strong,
.product-trust-strip span {
    min-width: 0;
}

.product-trust-strip strong {
    color: #1f2430;
    font-weight: 900;
}

.product-trust-strip span {
    color: var(--muted);
    font-size: 0.92rem;
}

.product-detail-sections {
    display: grid;
    gap: 0;
    margin-top: 1.2rem;
}

.product-detail-block {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid var(--line);
}

.product-detail-block > button {
    min-height: 52px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 24px;
    grid-column: 1 / -1;
    gap: 1rem;
    align-items: center;
    padding: 0;
    color: #1f2430;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: default;
}

.product-detail-block > button i:first-child {
    color: var(--yellow-dark);
    font-size: 2rem;
}

.product-detail-block > button i:last-child {
    display: none;
}

.product-detail-block > button span {
    font-family: "Quicksand", "Open Sans", Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
}

.product-detail-content {
    grid-column: 2 / -1;
    max-width: 820px;
    color: #1f2937;
}

.product-detail-content p:first-child,
.product-detail-content ul {
    margin-top: 0;
}

.product-spec-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.product-spec-list div {
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
    gap: 1rem;
}

.product-spec-list dt {
    color: #1f2430;
    font-weight: 900;
}

.product-spec-list dd {
    margin: 0;
}

.product-mobile-cta {
    display: none;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.82);
}

.product-lightbox[hidden] {
    display: none;
}

.product-lightbox img {
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
}

.product-lightbox button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    color: #111111;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: 1fr;
    }

    .utility-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .main-header {
        justify-content: flex-start;
    }

    .main-header.compact {
        display: flex;
        min-height: 48px;
        justify-content: center;
        padding: 0.25rem 0;
    }

    .compact-brand {
        display: inline-flex;
        align-items: center;
    }

    .compact-brand img {
        width: 46px;
        height: auto;
    }

    .compact-actions {
        position: absolute;
        right: 0;
        display: inline-flex;
        gap: 0.35rem;
        align-items: center;
    }

    .compact-actions a {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        font-size: 1.1rem;
    }

    .brand img {
        width: 250px;
    }

    .menu-toggle {
        display: block;
        left: 0;
        right: auto;
    }

    .primary-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0 0 1rem;
    }

    .primary-menu.is-open {
        display: flex;
    }

    .menu-home-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.4rem 0;
    }

    .primary-menu-item {
        display: grid;
    }

    .primary-menu-link {
        min-height: 44px;
        justify-content: space-between;
        padding: 0 0.25rem;
    }

    .primary-submenu {
        position: static;
        display: block;
        min-width: 0;
        border: 0;
        border-left: 2px solid var(--yellow);
        box-shadow: none;
    }

    .hero,
    .testimonial-section,
    .web-category-hero,
    .web-category-quote {
        grid-template-columns: 1fr;
    }

    .web-category-media {
        min-height: 260px;
    }

    .web-category-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        padding: 0;
        background: var(--line);
    }

    .web-category-benefits article {
        padding: 1rem;
        background: #ffffff;
        border-right: 0;
    }

    .web-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .web-category-card {
        grid-template-columns: 1fr;
    }

    .product-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
        gap: 2rem;
    }

    .product-gallery-main,
    .product-gallery-placeholder {
        min-height: 290px;
    }

    .product-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-block {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .web-category-card-media {
        min-height: 210px;
    }

    .web-category-quote {
        justify-items: start;
    }

    .hero {
        min-height: auto;
        padding-top: 3rem;
    }

    .hero-showcase {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .showcase-card.large {
        grid-row: auto;
    }

    .quick-categories,
    .info-grid,
    .process-section,
    .brand-strip,
    .web-family-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid,
    .featured-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card.wide,
    .featured-layout .product-card:not(.wide) {
        grid-column: span 1;
    }
}

@media (max-width: 620px) {
    .offer-tab {
        top: auto;
        right: auto;
        left: 0.8rem;
        bottom: 0.85rem;
        writing-mode: horizontal-tb;
        border-radius: 999px;
    }

    .promo-bar {
        display: grid;
        gap: 0.25rem;
    }

    .topbar,
    .main-header,
    .primary-menu,
    .hero,
    .section,
    .web-family-hero,
    .web-category-hero,
    .web-category-benefits,
    .web-category-section,
    .web-category-quote,
    .web-family-grid,
    .quick-categories,
    .info-grid,
    .testimonial-section,
    .process-section,
    .brand-strip,
    .footer-grid,
    .footer-logo,
    .grant-note {
        width: min(100% - 1.2rem, 1180px);
    }

    .utility-nav a {
        white-space: nowrap;
    }

    .web-product-page {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    .web-product-page .promo-bar,
    .web-product-page .topbar {
        display: none;
    }

    .product-detail-page {
        width: min(100% - 1.5rem, 1180px);
        padding: 0.9rem 0 2rem;
    }

    .product-breadcrumb {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        white-space: nowrap;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .product-gallery-main {
        min-height: 0;
        border-radius: 8px;
    }

    .product-gallery-main > img {
        aspect-ratio: 16 / 10;
    }

    .product-gallery-placeholder {
        min-height: 260px;
    }

    .product-gallery-thumbs,
    .product-gallery-nav {
        display: none;
    }

    .product-gallery-dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0.9rem;
        display: flex;
        justify-content: center;
        gap: 0.45rem;
    }

    .product-gallery-dots span {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.82);
        border-radius: 50%;
    }

    .product-gallery-dots span.active {
        background: var(--yellow);
    }

    .product-buy-panel h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .product-cta {
        width: 100%;
    }

    .product-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
        margin-top: 2rem;
    }

    .product-trust-strip article {
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
    }

    .product-trust-strip i {
        font-size: 1.8rem;
    }

    .product-detail-block {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .product-detail-block > button {
        grid-template-columns: 44px minmax(0, 1fr) 24px;
        min-height: 64px;
        cursor: pointer;
    }

    .product-detail-block > button i:first-child {
        font-size: 1.45rem;
    }

    .product-detail-block > button i:last-child {
        display: block;
        transition: transform 180ms ease;
    }

    .product-detail-block.open > button i:last-child {
        transform: rotate(180deg);
    }

    .product-detail-content {
        grid-column: 1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 180ms ease, padding-bottom 180ms ease;
    }

    .product-detail-block.open .product-detail-content {
        max-height: 2400px;
        padding-bottom: 1rem;
    }

    .product-spec-list div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .product-mobile-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
        gap: 0.8rem;
        align-items: center;
        padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 22px rgba(15, 23, 42, 0.1);
    }

    .product-mobile-cta div {
        display: grid;
    }

    .product-mobile-cta span {
        color: #1f2937;
    }

    .product-mobile-cta strong {
        color: #1f2430;
        font-size: 1.55rem;
        line-height: 1;
    }

    .product-mobile-cta a {
        min-height: 52px;
        padding-inline: 0.6rem;
        font-size: 0.98rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-actions,
    .web-category-actions,
    .section-heading,
    .product-info > div,
    .quality-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .product-info a {
        width: 100%;
    }

    .quick-categories,
    .info-grid,
    .web-category-benefits,
    .web-category-grid,
    .web-family-grid,
    .product-grid,
    .featured-layout,
    .process-section,
    .brand-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-media {
        height: 210px;
    }

    .web-category-hero {
        padding-top: 0.5rem;
    }

    .web-category-hero h1 {
        font-size: 2.7rem;
    }

    .web-category-media,
    .web-category-card-media {
        min-height: 210px;
    }

    .web-category-quote {
        grid-template-columns: 1fr;
        padding: 1rem;
        border-radius: 10px;
    }

    .testimonial-section,
    .process-section {
        padding: 2.5rem 0;
    }

    .footer-logo img {
        width: 220px;
    }
}

@media (max-width: 380px) {
    .product-mobile-cta {
        grid-template-columns: 0.36fr 0.64fr;
        padding-inline: 0.75rem;
    }

    .product-mobile-cta a {
        font-size: 0.88rem;
    }

    .product-trust-strip strong,
    .product-trust-strip span {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-content,
    .product-detail-block > button i:last-child {
        transition: none;
    }
}
