﻿/* ==========================================================================
   GALAXY ARMORY — HOME SPECIFIC STYLESHEET (css/home.css)
   Hero, Hardware showcase, Process steps, About section, Contact.
   ========================================================================== */

        /* ============================================================
           [SECTION: HERO]
        ============================================================ */
        #hero {
            min-height: 100svh;
            display: grid;
            grid-template-rows: 1fr;
            position: relative;
            overflow: visible;
        }

        /* [REPLACE_IMG: Hero Background â€” Photo of precision shooter with rifle and suppressor]
           Athens, Texas precision shooting background. */
        .hero-bg {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(180deg, rgba(20, 19, 18, 0.70) 0%, rgba(20, 19, 18, 0.45) 35%, rgba(20, 19, 18, 0.85) 85%, #141312 100%),
                radial-gradient(ellipse at 50% 45%, rgba(20, 19, 18, 0.20) 0%, rgba(20, 19, 18, 0.75) 80%),
                url('../assets/hero-bg.webp');
            background-size: cover;
            background-position: center 30%;
            background-repeat: no-repeat;
            background-color: var(--obsidian-deep);
            transform: translateZ(0);
        }

        .hero-inner {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding-top: 72px;
            padding-bottom: clamp(5rem, 12vh, 8rem);
            z-index: 2;
        }

        .hero-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .hero-meta .label {
            margin-bottom: 0;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
            letter-spacing: 0.16em;
        }

        .hero-title {
            margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
            max-width: none;
            text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
        }

        .hero-title em {
            font-style: normal;
            color: var(--texas-red);
        }

        .hero-desc {
            font-size: clamp(0.95rem, 1.5vw, 1.15rem);
            color: var(--titanium-dim);
            max-width: 72ch;
            text-wrap: balance;
            margin-bottom: clamp(2rem, 4vh, 3rem);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }

        /* Scroll indicator */
        .hero-scroll {
            position: absolute;
            bottom: 2rem;
            right: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.6rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--titanium-dim);
            writing-mode: vertical-lr;
        }

        .hero-scroll::before {
            content: '';
            width: 1px;
            height: 60px;
            background: linear-gradient(to bottom, var(--texas-red), transparent);
            animation: scrollLine 1.8s ease-in-out infinite;
        }

        @keyframes scrollLine {
            0%   { transform: scaleY(0); transform-origin: top; }
            50%  { transform: scaleY(1); transform-origin: top; }
            51%  { transform: scaleY(1); transform-origin: bottom; }
            100% { transform: scaleY(0); transform-origin: bottom; }
        }

        /* Stats bar â€” bottom of hero */
        .hero-stats {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            border-top: 1px solid var(--line);
            background: rgba(26, 25, 24, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 3;
        }

        .hero-stats-inner {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
        }

        .stat-item {
            padding: 1.25rem clamp(1rem, 3vw, 2rem);
            border-right: 1px solid var(--line);
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .stat-item:last-child { border-right: none; }

        .stat-value {
            font-size: clamp(1.4rem, 3vw, 2rem);
            font-weight: 800;
            color: var(--titanium);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--titanium-dim);
        }


        /* ============================================================
           [SECTION: PRODUCTS â€” "The Hardware"]
        ============================================================ */
        #products {
            background: var(--obsidian-deep);
            padding-block: var(--space-xl);
        }

        .section-header {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: flex-end;
            gap: 2rem;
            padding-bottom: var(--space-md);
            margin-bottom: var(--space-lg);
            border-bottom: 1px solid var(--line);
        }

        .section-header p {
            max-width: 36ch;
            font-size: 0.9rem;
            text-align: right;
        }

        /* Product Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5px; /* tight gap = industrial grid effect */
            background: var(--line); /* acts as divider color between cards */
        }

        /* Product Card */
        .product-card {
            background: var(--obsidian-deep);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: background var(--transition);
        }

        /* Red left-border reveal on hover */
        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: var(--texas-red);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform var(--transition);
        }

        .product-card:hover::before { transform: scaleY(1); }

        .product-card:hover {
            background: var(--obsidian);
        }

        /* [REPLACE_IMG: Product Image (per card)] */
        .product-image {
            width: 100%;
            height: 260px;
            aspect-ratio: 16 / 10;
            contain: layout paint;
            background-color: #1a1918;
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            transition: background-color var(--transition);
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Llena el recuadro completo de borde a borde */
            display: block;
            transition: transform var(--transition);
            position: relative;
            z-index: 2;
        }

        /* Si se usa silenciador con fondo transparente recortado */
        .product-image img.contain,
        .product-image img[src*="transparent"] {
            object-fit: contain;
            padding: 1.25rem;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-image .card-img-secondary {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            z-index: 3;
            transition: opacity 0.35s ease, transform var(--transition);
        }

        .product-card:hover .product-image .card-img-secondary {
            opacity: 1;
            transform: scale(1.05);
        }

        .card-gallery-badge {
            position: absolute;
            bottom: 0.65rem;
            right: 0.65rem;
            background: rgba(14, 13, 13, 0.88);
            backdrop-filter: blur(4px);
            border: 1px solid var(--line-strong);
            color: var(--titanium-dim);
            font-family: var(--font-mono);
            font-size: 0.62rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.2rem 0.5rem;
            border-radius: 2px;
            z-index: 4;
            pointer-events: none;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            transition: all var(--transition);
        }

        .card-gallery-badge svg {
            width: 12px;
            height: 12px;
            stroke: var(--texas-red);
        }

        .product-card:hover .card-gallery-badge {
            border-color: var(--texas-red);
            color: var(--titanium);
        }

        /* Placeholder silhouette of suppressor (se desactiva automÃ¡ticamente al incluir <img>) */
        .product-image::after {
            content: '';
            width: 70%;
            height: 28px;
            background: linear-gradient(90deg, #333, #4a4a4a 40%, #333);
            border-radius: 14px;
            transition: transform var(--transition);
        }

        .product-image:has(img)::after,
        .product-image.has-img::after {
            display: none;
        }

        .product-card:hover .product-image::after {
            transform: scale(1.04);
        }

        /* [REPLACE_IMG placeholder label per card] */
        .product-image-label {
            position: absolute;
            bottom: 0.5rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.55rem;
            color: rgba(197, 35, 74, 0.7);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .product-image:has(img) .product-image-label {
            display: none;
        }

        .product-body {
            padding: clamp(1.25rem, 3vw, 2rem);
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            flex: 1;
        }

        .product-platform {
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--texas-red);
        }

        .product-name {
            font-size: clamp(1.3rem, 2vw, 1.7rem);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: var(--titanium);
        }

        .product-desc {
            font-size: 0.82rem;
            color: var(--titanium-dim);
            line-height: 1.6;
        }

        .product-specs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem 1rem;
            padding-top: 1.25rem;
            margin-top: auto;
            border-top: 1px solid var(--line);
        }

        .spec {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .spec-key {
            font-size: 0.58rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--titanium-dim);
        }

        .spec-val {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--titanium);
        }

        .product-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem clamp(1.25rem, 3vw, 2rem);
            border-top: 1px solid var(--line);
            gap: 0.75rem;
        }

        /* Tactical Cart Add Button */
        .btn-add-cart {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.65rem 1rem;
            background: transparent;
            border: 1px solid var(--texas-red);
            color: var(--texas-red);
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            font-family: var(--font);
            transition: background var(--transition), color var(--transition), border-color var(--transition);
        }

        .btn-add-cart:hover {
            background: var(--texas-red);
            color: #fff;
        }

        .btn-add-cart.added {
            background: #1a6b35;
            border-color: #1a6b35;
            color: #fff;
        }

        .btn-add-cart svg {
            width: 13px;
            height: 13px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
            flex-shrink: 0;
        }

        .product-cta-link {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--titanium-dim);
            display: flex;
            align-items: center;
            gap: 0.4rem;
            transition: color var(--transition), gap var(--transition);
            white-space: nowrap;
        }

        .product-card:hover .product-cta-link {
            color: var(--texas-red);
            gap: 0.6rem;
        }

        /* "View All" button below grid */
        .products-view-all {
            margin-top: clamp(2.5rem, 5vw, 4rem);
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            text-align: center;
        }

        .products-view-all .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            min-width: clamp(280px, 35vw, 440px);
            padding: 1.15rem 2.5rem;
            font-size: 0.82rem;
            letter-spacing: 0.12em;
        }

        .product-meta-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 0.5rem;
        }

        .product-price {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--titanium);
            letter-spacing: -0.01em;
            font-family: var(--font);
            white-space: nowrap;
        }

        .product-price span {
            font-size: 0.62rem;
            font-weight: 600;
            color: var(--titanium-dim);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-right: 0.25rem;
        }

        .product-title-link {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        .product-card:hover .product-title-link {
            color: var(--texas-red);
        }


        /* ============================================================
           [SECTION: HOW TO PURCHASE / ORDER PROCESS]
           Proceso legal de 4 pasos para la adquisiciÃ³n de supresores
        ============================================================ */
        #process {
            background: var(--obsidian);
            padding-block: var(--space-xl);
            position: relative;
            border-top: 1px solid var(--line);
        }

        .process-header {
            max-width: 65ch;
            margin-bottom: var(--space-lg);
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5px;
            background: var(--line);
        }

        .process-card {
            background: var(--obsidian-deep);
            padding: clamp(1.5rem, 3vw, 2.25rem);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            position: relative;
            transition: background var(--transition);
        }

        .process-card:hover {
            background: var(--obsidian);
        }

        .process-step-num {
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            color: var(--texas-red);
            text-transform: uppercase;
        }

        .process-title {
            font-size: 1.15rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -0.01em;
            color: var(--titanium);
            line-height: 1.25;
        }

        .process-desc {
            font-size: 0.82rem;
            color: var(--titanium-dim);
            line-height: 1.6;
            flex: 1;
        }

        .process-action {
            margin-top: 0.5rem;
        }

        .btn-step-form {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 0.55rem 1rem;
            color: var(--titanium);
            background: rgba(197, 35, 74, 0.18);
            border: 1px solid var(--texas-red);
            transition: background var(--transition), color var(--transition);
            text-decoration: none;
            width: 100%;
            justify-content: center;
        }

        .btn-step-form:hover {
            background: var(--texas-red);
            color: var(--titanium);
        }


        /* ============================================================
           [SECTION: ABOUT US]
        ============================================================ */
        #about {
            background: var(--obsidian-deep);
            padding-top: var(--space-xl);
            padding-bottom: var(--space-lg);
            position: relative;
            overflow: hidden;
            border-top: 1px solid var(--line);
        }

        /* Ambient red glow â€” top right */
        #about::before {
            content: '';
            position: absolute;
            top: -200px;
            right: -200px;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, rgba(197,35,74,0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(2rem, 6vw, 6rem);
            align-items: start;
        }

        /* Left column â€” text */
        .about-text .label { margin-bottom: var(--space-xs); }

        .about-title {
            margin-bottom: 1.5rem;
        }

        .about-body {
            font-size: clamp(0.9rem, 1.3vw, 1rem);
            color: var(--titanium-dim);
            margin-bottom: 1.25rem;
        }

        /* Values list */
        .values-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-top: var(--space-md);
        }

        .value-item {
            display: grid;
            grid-template-columns: 2.5rem 1fr;
            align-items: start;
            gap: 1rem;
            padding: 1.25rem 0;
            border-top: 1px solid var(--line);
            transition: background var(--transition);
        }

        .value-item:last-child { border-bottom: 1px solid var(--line); }

        .value-number {
            font-size: 0.62rem;
            font-weight: 400;
            letter-spacing: 0.08em;
            color: var(--texas-red);
            padding-top: 0.1rem;
        }

        .value-content h4 {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--titanium);
            margin-bottom: 0.3rem;
        }

        .value-content p {
            font-size: 0.78rem;
            color: var(--titanium-dim);
        }

        /* Right column â€” visual block */
        .about-visual {
            display: flex;
            flex-direction: column;
            gap: 0;
            border: 1px solid var(--line-strong);
            overflow: hidden;
        }

        /* [REPLACE_IMG: About Us â€” Main Visual: Precision shooter with rifle] */
        .about-image-main {
            width: 100%;
            height: 340px;
            aspect-ratio: 16 / 10;
            contain: layout paint;
            background: #222120;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            text-align: center;
            padding: 0;
            overflow: hidden;
        }

        .about-image-main::after {
            content: '[REPLACE_IMG: Precision Shooter with Rifle / Texas Workshop â€” 900Ã—600px WebP]';
            font-size: 0.6rem;
            color: rgba(197, 35, 74, 0.7);
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .about-image-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        /* [REPLACE_IMG: About Detail A / B â€” The Wolf Brand Symbol & Machined Stack] */
        .about-image-sm {
            width: 100%;
            height: 180px;
            aspect-ratio: 16 / 9;
            contain: layout paint;
            background: #2a2826;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0;
            overflow: hidden;
        }

        .about-image-sm:first-child::after {
            content: '[REPLACE_IMG: The Wolf Brand Symbol â€” 450Ã—300px]';
            font-size: 0.55rem;
            color: rgba(197, 35, 74, 0.6);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .about-image-sm:last-child::after {
            content: '[REPLACE_IMG: CNC Machined Baffle Core â€” 450Ã—300px]';
            font-size: 0.55rem;
            color: rgba(197, 35, 74, 0.6);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        /* Responsive image rendering when photos are added */
        .about-image-main img,
        .about-image-sm img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform var(--transition);
        }

        .about-image-main:hover img,
        .about-image-sm:hover img {
            transform: scale(1.03);
        }

        .about-image-main:has(img),
        .about-image-sm:has(img) {
            border: none;
            padding: 0;
            overflow: hidden;
        }

        .about-image-main:has(img)::after,
        .about-image-sm:has(img)::after {
            display: none;
        }

        /* Stat badge overlaid on about visuals */
        .about-badge,
        #about-badge {
            scroll-margin-top: calc(72px + 14px);
            position: relative;
            background: var(--obsidian-glass);
            backdrop-filter: var(--blur-glass);
            -webkit-backdrop-filter: var(--blur-glass);
            border: none;
            border-top: 1px solid var(--line-strong);
            padding: 1.5rem;
            margin-top: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

        .badge-text {
            display: flex;
            flex-direction: column;
        }

        .badge-number {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1;
            color: var(--titanium);
        }

        .badge-number span {
            color: var(--texas-red);
        }

        .badge-label {
            font-size: 0.7rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--titanium-dim);
            margin-top: 0.25rem;
        }

        .badge-map {
            width: clamp(85px, 18vw, 130px);
            height: auto;
            aspect-ratio: 1 / 1;
            max-height: 125px;
            object-fit: contain;
            flex-shrink: 0;
            opacity: 0.9;
            transition: opacity var(--transition), transform var(--transition);
        }

        .about-badge:hover .badge-map {
            opacity: 1;
            transform: scale(1.04);
        }


        /* ============================================================
           [SECTION: CONTACT]
        ============================================================ */
        #contact {
            background: var(--obsidian-deep);
            padding-top: var(--space-lg);
            padding-bottom: var(--space-xl);
            position: relative;
            overflow: hidden;
            border-top: 1px solid var(--line);
        }

        #contact::before {
            content: '';
            position: absolute;
            bottom: -150px;
            right: -150px;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(197,35,74,0.1) 0%, transparent 65%);
            pointer-events: none;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(2rem, 6vw, 6rem);
            align-items: start;
        }

        /* Left â€” info */
        .contact-info .label { margin-bottom: var(--space-xs); }

        .contact-info h2 {
            margin-bottom: 1.25rem;
        }

        .contact-info p {
            font-size: clamp(0.9rem, 1.3vw, 1rem);
            margin-bottom: var(--space-md);
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .contact-detail-item {
            display: grid;
            grid-template-columns: 1.5rem 1fr;
            align-items: start;
            gap: 1rem;
            padding: 1rem 0;
            border-top: 1px solid var(--line);
        }

        .contact-detail-item:last-child { border-bottom: 1px solid var(--line); }

        .contact-detail-icon {
            margin-top: 2px;
            color: var(--texas-red);
            font-size: 0.9rem;
        }

        .contact-detail-label {
            font-size: 0.6rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--titanium-dim);
            display: block;
            margin-bottom: 0.15rem;
        }

        .contact-detail-value {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--titanium);
        }

        /* Right â€” form */
        .contact-form {
            background: var(--obsidian-glass);
            backdrop-filter: var(--blur-glass);
            -webkit-backdrop-filter: var(--blur-glass);
            border: 1px solid var(--line-strong);
            padding: clamp(1.5rem, 4vw, 2.5rem);
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-size: 0.62rem;
            font-weight: 400;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--titanium-dim);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            background: rgba(244,244,244,0.04);
            border: 1px solid var(--line-strong);
            color: var(--titanium);
            font-family: var(--font);
            font-size: 0.85rem;
            font-weight: 500;
            padding: 0.8rem 1rem;
            outline: none;
            transition: border-color var(--transition), background var(--transition);
            -webkit-appearance: none;
            appearance: none;
            border-radius: var(--radius-sm);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(244,244,244,0.25);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--texas-red);
            background: var(--texas-red-dim);
        }

        .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(244,244,244,0.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 14px 14px;
            padding-right: 2.5rem;
            cursor: pointer;
        }

        .form-group select option {
            background: var(--obsidian-deep);
            color: var(--titanium);
            padding: 0.5rem;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-submit {
            margin-top: 0.5rem;
        }

        .form-note {
            font-size: 0.62rem;
            color: var(--titanium-dim);
            letter-spacing: 0.04em;
            margin-top: 0.5rem;
        }



/* ============================================================
   HOME RESPONSIVE BREAKPOINTS
============================================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero */
    #hero {
        height: auto;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: visible;
    }

    .hero-bg {
        background-position: 14% center;
        /* Control de brillo en moviles (ajusta este valor a tu gusto) */
        filter: brightness(1.3);
    }

    .hero-inner {
        padding-top: 80px;
        padding-bottom: 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-meta {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .hero-meta .label {
        font-size: 0.60rem;
        letter-spacing: 0.08em;
        line-height: 1.5;
        text-align: center;
        display: block;
        max-width: 90%;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3rem);
        line-height: 1.05;
        margin-bottom: 0.85rem;
    }

    .hero-desc {
        font-size: 0.90rem;
        line-height: 1.45;
        max-width: 100%;
        text-wrap: balance;
        margin-bottom: 1.25rem;
    }

    .hero-cta {
        gap: 0.65rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
        right: auto;
        border-top: 1px solid var(--line);
    }

    .hero-stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 0.9rem 1.25rem;
    }

    .stat-item:last-child { border-bottom: none; }

    /* Section headers */
    .section-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-header p { text-align: left; }

    /* Products & Process */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual { order: -1; }

    .about-image-row .about-image-sm:first-child img {
        object-position: 30% center;
    }

    /* About & Contact Section Spacing Balance */
    #about {
        padding-top: var(--space-lg);
        padding-bottom: 2.25rem;
    }

    #contact {
        padding-top: 2.25rem;
        padding-bottom: var(--space-lg);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Form row */
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .products-view-all .btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================
   PERFORMANCE CONTAINMENT
============================================================ */
#products, #process, #about, #contact, footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}
