/* Copyart Distribuidora — Corporate Premium Theme */

:root,
[data-theme="light"] {
    --color-brand-deep: #31107A;
    --color-brand: #31107A;
    --color-brand-light: #5427A8;
    --color-action: #F2C94C;
    --color-surface: #F5F6FA;
    --bg-primary: #F5F6FA;
    --bg-card: #FFFFFF;
    --bg-support: #EDE7FF;
    --color-text: #31107A;
    --color-text-muted: #64748B;
    --color-border: #EDE7FF;
    --gradient-brand: linear-gradient(135deg, #31107A 0%, #5427A8 50%, #EDE7FF 100%);
    --gradient-accent: linear-gradient(90deg, rgba(97, 22, 82, 1) 0%, rgba(149, 48, 127, 1) 100%);
    --color-icon-accent: #95307F;
    --color-label-accent: #611652;
    --gradient-hero: radial-gradient(ellipse at 70% 20%, rgba(237, 231, 255, 0.9) 0%, transparent 50%),
                     radial-gradient(ellipse at 20% 80%, rgba(242, 201, 76, 0.12) 0%, transparent 40%);
    --glass: rgba(245, 246, 250, 0.92);
    --shadow-sm: 0 4px 20px rgba(49, 16, 122, 0.08);
    --shadow-md: 0 8px 32px rgba(49, 16, 122, 0.12);
    --shadow-glow: 0 0 40px rgba(237, 231, 255, 0.6);
    --header-height: 80px;
    --header-bar-bg: #812B6F;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --color-brand-light: #EDE7FF;
    --color-label-accent: #95307F;
    --bg-primary: #121212;
    --bg-card: #1E1E1E;
    --bg-support: #27272A;
    --color-text: #F5F6FA;
    --color-text-muted: #94A3B8;
    --color-border: #3F3F46;
    --gradient-hero: radial-gradient(ellipse at 70% 20%, rgba(49, 16, 122, 0.28) 0%, transparent 50%),
                     radial-gradient(ellipse at 20% 80%, rgba(242, 201, 76, 0.1) 0%, transparent 40%);
    --glass: rgba(30, 30, 30, 0.72);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(49, 16, 122, 0.2);
}

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

/* Font Awesome — evitar que Inter sobrescriba los iconos */
.fa-solid,
.fas,
.fa-classic.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.fa-regular,
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

.fa-solid,
.fas,
.far,
.fab,
.fa-regular,
.fa-brands {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-action); }

.container {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10001;
    padding: 0.75rem 1rem;
    background: var(--header-bar-bg, #812B6F);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transform: translateY(calc(-100% - 1.5rem));
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.site-header .logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: clamp(175px, 20vw, 215px);
    overflow: hidden;
}

.site-header .logo-img {
    display: block;
    height: 22px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    transform: scale(2.35);
    transform-origin: center center;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.main-nav a:hover {
    background: rgba(49, 16, 122, 0.15);
    color: var(--color-brand-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    background: var(--bg-card);
    color: var(--color-text);
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all var(--transition);
}

.btn-icon:hover {
    border-color: var(--color-brand);
    color: var(--color-brand-light);
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle.btn-icon {
    display: none;
    flex-shrink: 0;
}

.global-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.global-search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
}

.global-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 1.1rem;
}

.global-search-results {
    margin-top: 1rem;
    max-height: 320px;
    overflow-y: auto;
}

.search-result-group h5 {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.search-result-item {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: background var(--transition);
}

.search-result-item:hover {
    background: rgba(49, 16, 122, 0.12);
    color: var(--color-brand-light);
}

.search-result-item small {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(97, 22, 82, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(97, 22, 82, 0.45);
    color: #fff;
}

.btn-action {
    background: var(--color-action);
    color: var(--color-brand-deep);
    box-shadow: 0 4px 20px rgba(242, 201, 76, 0.25);
}

.btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    color: var(--color-brand-deep);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-brand);
    color: var(--color-brand-light);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* Section common */
section { padding: 5rem 0; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-label-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

[data-theme="dark"] .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(49, 16, 122, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 16, 122, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { animation: fadeUp 0.8s ease; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(49, 16, 122, 0.15);
    border: 1px solid rgba(49, 16, 122, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-brand-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, #FACC15 0%, #FDE68A 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.trust-item i { color: var(--color-action); }

.hero-visual {
    position: relative;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.hero-visual-inner {
    aspect-ratio: 4/3;
    background: var(--gradient-brand);
    display: grid;
    place-items: center;
    position: relative;
}

.hero-visual-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(242, 201, 76, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(237, 231, 255, 0.35) 0%, transparent 50%);
}

.hero-equipment-icon {
    font-size: 6rem;
    color: var(--color-surface);
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.hero-float-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
    animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-1 { top: 10%; right: -5%; }
.hero-float-card.card-2 { bottom: 15%; left: -8%; animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.geo-shape {
    position: absolute;
    border: 2px solid rgba(49, 16, 122, 0.2);
    border-radius: var(--radius);
    pointer-events: none;
}

.geo-shape-1 { width: 120px; height: 120px; top: -20px; right: 20%; transform: rotate(15deg); }
.geo-shape-2 { width: 80px; height: 80px; bottom: 10%; left: 5%; transform: rotate(-20deg); border-color: rgba(242, 201, 76, 0.15); }

/* Clients marquee */
.clients-section {
    padding: 2.5rem 0;
    background: var(--bg-support);
    border-block: 1px solid var(--color-border);
    overflow: hidden;
}

.clients-marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-badge {
    flex-shrink: 0;
    padding: 0.65rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Categories grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.category-card-image {
    height: 160px;
    min-height: 140px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.category-card-image.has-photo {
    background: var(--bg-support);
}

.category-card-image .category-card-photo,
.catalog-media-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

    .category-card-image {
        height: 140px;
        min-height: 120px;
    }
}

.category-card-image.cat-equipos { background: linear-gradient(135deg, #31107A, #5427A8); }
.category-card-image.cat-laminacion { background: linear-gradient(135deg, #1E3A5F, #3B82F6); }
.category-card-image.cat-encuadernacion { background: linear-gradient(135deg, #065F46, #10B981); }
.category-card-image.cat-cubiertas { background: linear-gradient(135deg, #7C2D12, #EA580C); }
.category-card-image.cat-acabados { background: linear-gradient(135deg, #713F12, #CA8A04); }
.category-card-image.cat-oficina { background: linear-gradient(135deg, #374151, #6B7280); }

.category-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-family: var(--font-heading);
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.category-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
    flex: 1;
}

/* Products */
.products-section { background: var(--bg-support); }

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.product-search-wrap {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.product-search-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.product-search-wrap input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.filter-select { padding-left: 1rem; min-width: 160px; width: auto; cursor: pointer; }

.product-search-wrap input:focus,
.filter-select:focus { border-color: var(--color-brand); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card.hidden { display: none; }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(49, 16, 122, 0.4);
}

.product-card-image {
    height: 180px;
    min-height: 160px;
    background: var(--bg-support);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.product-card-image .catalog-media-photo {
    position: absolute;
    inset: 0;
}

.product-card-image i {
    font-size: 3.5rem;
    color: var(--color-brand-light);
    opacity: 0.6;
}

.product-brand-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.product-card-body h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
}

.product-card-body p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.product-specs li {
    padding: 0.2rem 0;
    padding-left: 1rem;
    position: relative;
}

.product-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-brand-light);
}

.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.product-card-actions .btn { flex: 1; min-width: 120px; padding: 0.6rem 1rem; font-size: 0.8rem; }

.bestseller-brand {
    font-size: 0.8rem;
    color: var(--color-label-accent);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-muted);
    grid-column: 1 / -1;
}

/* Catálogo — teaser en inicio */
.catalog-teaser {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.catalog-teaser-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.catalog-teaser-stat {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
}

.catalog-teaser-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--color-brand);
    margin-bottom: 0.35rem;
}

.catalog-teaser-stat span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.catalog-teaser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 960px) {
    .catalog-teaser-stats {
        grid-template-columns: 1fr;
    }
}

/* Branches */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.branch-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.branch-card:hover {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-glow);
}

.branch-card h3 {
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-card h3 i { color: var(--color-icon-accent); }

.branch-info li {
    list-style: none;
    padding: 0.35rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 0.75rem;
}

.branch-info i { width: 18px; color: var(--color-icon-accent); }

.branch-maps-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-label-accent, #7C3AED);
    text-decoration: none;
}

.branch-maps-link:hover {
    text-decoration: underline;
}

.branch-info li.branch-hours {
    align-items: flex-start;
}

.branch-hours-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.branch-hours-line {
    display: block;
    line-height: 1.45;
}

.branch-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.branch-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(49, 16, 122, 0.12);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-label-accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
}

.service-card h3 { margin: 0 0 0.75rem; font-family: var(--font-heading); }
.service-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* Advantages */
.advantages-section { background: var(--bg-support); }

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
    transition: all var(--transition);
}

.advantage-card > div:not(.advantage-icon),
.advantage-card-body {
    flex: 1;
    min-width: 0;
}

.advantage-card:hover {
    transform: scale(1.02);
    border-color: var(--color-action);
    box-shadow: 0 0 30px rgba(242, 201, 76, 0.08);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
}

.advantage-card h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.35;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.advantage-card p {
    margin: 0;
    font-size: clamp(0.82rem, 1.8vw, 0.875rem);
    line-height: 1.5;
    color: var(--color-text-muted);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.mvv-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.mvv-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.mvv-card h4 {
    margin: 0 0 0.5rem;
    color: var(--color-brand-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mvv-card p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-brand);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--color-brand);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--color-brand);
}

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-action);
    font-size: 1.1rem;
}

.timeline-item h4 { margin: 0.25rem 0; }
.timeline-item p { margin: 0; font-size: 0.875rem; color: var(--color-text-muted); }

/* Blog preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand);
}

.blog-card-image {
    height: 160px;
    background: var(--gradient-brand);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

.blog-card-body { padding: 1.5rem; }

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.blog-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0 0 1rem; }

/* Testimonials */
.testimonials-section {
    background: var(--bg-support);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
    animation: fadeUp 0.5s ease;
}

.testimonial-slide.active { display: block; }

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #FACC15;
    font-size: 1rem;
}

.testimonial-star-empty {
    color: var(--color-border);
}

.testimonial-author strong { display: block; font-size: 1rem; }
.testimonial-author span { color: var(--color-text-muted); font-size: 0.875rem; }

.testimonial-source {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    max-width: 100%;
    padding: 0 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    transition: background var(--transition);
}

.testimonial-dot.active { background: var(--color-brand); }

/* Quote form */
.quote-section { background: var(--gradient-hero); }
.billing-section { background: var(--color-surface); }

.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brand);
    margin: 1.5rem 0 1rem;
    grid-column: 1 / -1;
}

.quote-form-wrap {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.quote-form-wrap form {
    width: 100%;
    min-width: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    width: 100%;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.form-group input[type="file"] {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-brand);
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.form-group input[type="date"],
.form-group input[type="number"] {
    appearance: none;
    -webkit-appearance: none;
}

.form-group.full .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--color-brand); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item i {
    width: 44px;
    height: 44px;
    background: var(--color-icon-accent);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-item strong { display: block; margin-bottom: 0.25rem; }
.contact-item span, .contact-item a { color: var(--color-text-muted); font-size: 0.9rem; }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 360px;
    min-height: 360px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.map-wrap iframe[hidden] {
    display: none;
}

.branch-map-canvas {
    width: 100%;
    height: 360px;
    min-height: 360px;
}

.contact-map-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-branch-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-branch-legend li {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm, 8px);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.map-branch-legend li i {
    color: var(--color-icon-accent);
    margin-right: 0.35rem;
}

.map-branch-legend strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.map-branch-legend a {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-label-accent, #7C3AED);
}

.branch-map-popup {
    font-size: 0.875rem;
    line-height: 1.45;
    min-width: 180px;
}

.branch-map-popup a {
    color: var(--color-label-accent, #7C3AED);
}

.leaflet-container {
    font-family: inherit;
    z-index: 1;
}

/* Footer */
.site-footer {
    background: var(--bg-support);
    border-top: 1px solid var(--color-border);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(170px, 24vw, 220px);
    height: clamp(58px, 9vw, 72px);
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.footer-logo {
    display: block;
    height: 24px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    transform: scale(2.45);
    transform-origin: center center;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    padding: 0.35rem 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-col a { color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-brand-light); }

.footer-contact li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-contact i { margin-top: 3px; color: var(--color-icon-accent); }

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    overflow-x: auto;
}

.footer-bottom-line {
    margin: 0;
    white-space: nowrap;
    line-height: 1.5;
}

.footer-bottom-line a {
    white-space: nowrap;
}

.footer-system-link { opacity: 0.6; }

/* Floating widgets */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

.chat-widget-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-icon-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 900;
    transition: transform var(--transition);
}

.chat-widget-toggle:hover { transform: scale(1.08); }

.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 901;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--gradient-brand);
    color: #fff;
}

.chat-widget-header button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.chat-widget-body { padding: 1.25rem; }
.chat-widget-body p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0 0 1rem; }

.chat-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-support);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    color: var(--color-text);
    transition: background var(--transition);
}

.chat-option:hover {
    background: rgba(49, 16, 122, 0.15);
    color: var(--color-brand-light);
}

.chat-option i { width: 20px; text-align: center; color: var(--color-brand-light); }

/* Breadcrumbs & inner pages */
.page-hero {
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    background: var(--gradient-hero);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-text-muted);
}

.breadcrumbs a { color: var(--color-text-muted); }

.inner-content {
    padding: 3rem 0 5rem;
    max-width: 800px;
    margin: 0 auto;
}

.inner-content h2 {
    font-family: var(--font-heading);
    margin-top: 2rem;
}

.inner-content p, .inner-content li {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
        z-index: 999;
        box-shadow: var(--shadow-md);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav.open a {
        color: var(--color-text) !important;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .main-nav.open a:hover,
    .main-nav.open a:focus-visible {
        background: rgba(91, 33, 182, 0.1);
        color: var(--color-brand-deep, var(--color-brand)) !important;
    }

    .main-nav ul { flex-direction: column; gap: 0.25rem; }

    .logo-link {
        cursor: pointer;
    }

    .mobile-menu-toggle,
    .mobile-menu-toggle.btn-icon {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-shrink: 0;
    }

    .header-cta { display: none !important; }

    .header-actions {
        flex-shrink: 0;
        gap: 0.35rem;
    }

    .header-inner {
        gap: 0.5rem;
        overflow: visible;
    }

    html:not([data-visual-theme]) .site-header .btn-icon,
    html:not([data-visual-theme]) .site-header .mobile-menu-toggle.btn-icon {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 38px;
        height: 38px;
    }

    html:not([data-visual-theme]) .site-header .main-nav.open {
        background: var(--bg-card);
        border-bottom: 1px solid var(--color-border);
    }

    html:not([data-visual-theme]) .site-header .main-nav.open a {
        color: var(--color-text) !important;
    }

    html:not([data-visual-theme]) .site-header .main-nav.open a:hover,
    html:not([data-visual-theme]) .site-header .main-nav.open a:focus-visible {
        background: rgba(91, 33, 182, 0.1);
        color: var(--color-brand-deep, var(--color-brand)) !important;
    }

    .site-header .logo-link {
        width: clamp(150px, 40vw, 185px);
    }

    .site-header .logo-img {
        height: 20px;
        transform: scale(2.1);
    }

    .form-grid { grid-template-columns: 1fr; }
    .quote-form-wrap { padding: 1.25rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-logo-wrap {
        width: clamp(150px, 50vw, 190px);
        height: clamp(52px, 13vw, 64px);
    }
    .footer-logo {
        height: 20px;
        transform: scale(2.15);
    }
    .products-toolbar { flex-direction: column; }
    .filter-select { width: 100%; }

    .hero-float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Modales — cotización y facturación */
body.modal-open {
    overflow: hidden;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.site-modal[hidden] {
    display: none !important;
}

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(4px);
}

.site-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: min(92vh, 920px);
    overflow: auto;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-sizing: border-box;
}

.site-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--color-text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.site-modal-close:hover {
    background: var(--header-bar-bg, #812B6F);
    color: #fff;
    border-color: transparent;
}

.site-modal-header {
    padding-right: 2.75rem;
    margin-bottom: 1.25rem;
}

.site-modal-header .section-title {
    margin-bottom: 0.5rem;
}

.site-modal-header .section-subtitle {
    margin: 0;
}

.site-modal-body.quote-form-wrap {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    overflow: visible;
}

.site-modal-dialog--product {
    width: min(920px, 100%);
}

.product-detail-modal {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: start;
}

.product-detail-modal__media {
    background: var(--bg-support, #f8f9fa);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    min-height: 220px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

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

.product-detail-modal__icon {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 220px;
    color: var(--color-brand-light);
    font-size: 3rem;
    opacity: 0.75;
}

.product-detail-modal__body .section-label {
    display: block;
    margin-bottom: 0.35rem;
}

.product-detail-modal__body .section-title {
    margin: 0.25rem 0 0.75rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.product-detail-modal__pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-support, #f8f9fa);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.product-detail-modal__price-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 120px;
}

.product-detail-modal__price-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-detail-modal__price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.product-detail-modal__price-value--promo {
    color: var(--color-label-accent, var(--color-brand-light));
}

.product-detail-modal__price-value--struck {
    text-decoration: line-through;
    opacity: 0.65;
    font-size: 0.975rem;
    font-weight: 600;
}

.product-detail-modal__description {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.product-detail-modal__specs-wrap {
    margin-bottom: 1.25rem;
}

.product-detail-modal__specs-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--color-text);
}

.product-detail-modal__actions {
    margin-top: 0;
}

@media (max-width: 768px) {
    .product-detail-modal {
        grid-template-columns: 1fr;
    }

    .product-detail-modal__media,
    .product-detail-modal__icon,
    .product-detail-modal__photo {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .site-modal {
        padding: 0.5rem;
        align-items: flex-end;
    }

    .site-modal-dialog {
        max-height: 94vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .site-modal-body .form-grid {
        grid-template-columns: 1fr;
    }
}
