/* Variables */
:root {
    --black: #050505;
    --dark-gray: #0d0d0d;
    --gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --bronze: #cd7f32;
    --bronze-dark: #a86428;
    --bronze-light: #e8a458;
    --white: #f5f5f5;
    --text-gray: #a0a0a0;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 50px rgba(0,0,0,0.6);
    --shadow-bronze: 0 10px 40px rgba(205,127,50,0.25);
    --transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Utilities */
.text-bronze {
    color: var(--bronze);
}

.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--dark-gray);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--bronze);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.7rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
    color: var(--black);
    box-shadow: 0 5px 25px rgba(205,127,50,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(205,127,50,0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--bronze);
}

.btn-secondary:hover {
    background: var(--bronze);
    color: var(--black);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.btn-light {
    background: var(--white);
    color: var(--black);
}

.btn-light:hover {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--bronze);
}

.header {
    background: #000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 85px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: .3s;
}

.nav-link:hover {
    color: #cd7f32;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    animation: heroZoom 30s infinite alternate linear;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5,5,5,0.75) 0%, rgba(5,5,5,0.95) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    animation: fadeUp 1s ease;
}

.hero-tag {
    color: var(--bronze);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 35px;
}

.hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--bronze), transparent);
    margin: 10px auto 0;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 20px; }
    100% { opacity: 1; height: 40px; }
}

/* Sección "Sobre nosotros" (antiguo Featured Banner) */
.about-preview {
    padding: 100px 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Video YouTube */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-bronze);
    border: 2px solid var(--light-gray);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sectores */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sector-card {
    background: var(--gray);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: var(--bronze);
    box-shadow: var(--shadow-bronze);
}

.sector-icon {
    font-size: 3.5rem;
    color: var(--bronze);
    margin-bottom: 20px;
}

.sector-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.sector-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: linear-gradient(145deg, var(--dark-gray) 0%, var(--gray) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid var(--light-gray);
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(205,127,50,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(205,127,50,0.35);
    border-color: var(--bronze);
}

.category-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: white;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bronze);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn {
    padding: 10px 30px;
    border: 2px solid var(--bronze);
    background: linear-gradient(145deg, var(--dark-gray), var(--gray));
    color: var(--bronze);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.category-btn:hover {
    background: linear-gradient(145deg, var(--bronze), var(--bronze-dark));
    color: var(--black);
    box-shadow: 0 8px 25px rgba(205,127,50,0.5);
    transform: translateY(-2px);
}

/* Product Page Header */
.product-page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 1rem 0;
    margin-top: 80px;
}

.search-container {
    width: 100%;
    max-width: 500px;
}

#productSearch {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #8b5a2b;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background-color: #1a1a1a;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

#productSearch:focus {
    border-color: var(--bronze);
    box-shadow: 0 0 20px rgba(205,127,50,0.3);
}

#productSearch::placeholder {
    color: #888;
}

.back-btn {
    padding: 10px 30px;
    border: 2px solid var(--bronze);
    background: linear-gradient(145deg, #1a1a1a, #222);
    color: var(--bronze);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    gap: 8px;
    align-items: center;
}

.back-btn:hover {
    background: linear-gradient(145deg, var(--bronze), var(--bronze-dark));
    color: var(--black);
    box-shadow: 0 8px 25px rgba(205,127,50,0.5);
    transform: translateY(-2px);
}

.category-title-page {
    text-align: center;
    color: var(--bronze);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    padding: 0 1rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #222 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid #333;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(205,127,50,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(205,127,50,0.35);
    border-color: var(--bronze);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: white;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(145deg, var(--bronze), var(--bronze-dark));
    color: #0a0a0a;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(205,127,50,0.3);
}

.product-brand {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #f5f5f5;
    line-height: 1.4;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.feature-tag {
    background: linear-gradient(145deg, #2d2d2d, #333);
    color: var(--bronze);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    border: 1px solid #444;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--gray);
    padding: 40px 35px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--bronze);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    color: var(--bronze);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--bronze);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--bronze-light);
}

/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: var(--gray);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--bronze);
    transform: translateY(-8px);
}

.testimonial-stars {
    font-size: 1.3rem;
    color: var(--bronze);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--white);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black);
}

.testimonial-author h4 {
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.testimonial-author p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    margin-bottom: 20px;
    text-align: left;
}

.about-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 25px 15px;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid var(--light-gray);
}

.stat h3 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.stat p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--bronze);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--gray);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--light-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--bronze);
    box-shadow: 0 0 0 4px rgba(205,127,50,0.1);
}

.form-input::placeholder {
    color: #707070;
}

textarea.form-input {
    margin-bottom: 25px;
    resize: none;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 60px 0 25px;
    border-top: 1px solid var(--light-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
}

.footer-links h4,
.footer-social h4 {
    color: var(--bronze);
    font-family: var(--font-title);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bronze);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--gray);
    color: var(--bronze);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--light-gray);
}

.social-icon:hover {
    background: var(--bronze);
    color: var(--black);
    border-color: var(--bronze);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(8px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #222 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #8b5a2b;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}

@keyframes slideDown {
    from { transform: translateY(-60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: var(--bronze);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 18px 22px;
    transition: all 0.3s ease;
}

.close:hover {
    color: #fff;
    transform: scale(1.2);
}

.modal-body {
    padding: 1.5rem;
}

.modal-image {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h3 {
    color: var(--bronze);
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #8b5a2b;
    padding-bottom: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.spec-item {
    background: linear-gradient(145deg, #2d2d2d, #333);
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid #444;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.spec-label {
    font-weight: 700;
    color: var(--bronze);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-list li::before {
    content: "✓";
    color: var(--bronze);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}

.whatsapp-message {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 250px;
    background: var(--white);
    color: var(--black);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
}

.whatsapp-float:hover .whatsapp-message {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-message p {
    font-size: 0.95rem;
    font-weight: 500;
}

.whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries para Responsividad */
@media (min-width: 768px) {
    .product-page-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 2rem 0;
    }

    .search-container {
        margin: 0;
    }

    .back-btn {
        margin: 0;
    }

    .categories-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }

    .category-image {
        height: 130px;
    }

    .product-image {
        height: 180px;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .category-title-page {
        font-size: 2rem;
    }

    .modal-body {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .product-page-header {
        padding: 2.5rem 3rem 0;
    }

    .categories-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .category-image {
        height: 140px;
    }

    .product-image {
        height: 200px;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .category-title-page {
        font-size: 2.5rem;
    }

    .modal-body {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark-gray);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border-left: 2px solid var(--bronze-dark);
    }
    .nav.active {
        right: 0;
    }
    .nav-btn {
        display: flex;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .about-stats,
    .form-row {
        grid-template-columns: 1fr;
    }
    .about-preview-grid,
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .modal-body {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .categories-grid,
    .product-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }
    .category-image {
        height: 110px;
    }
    .product-image {
        height: 150px;
    }
    .category-info,
    .product-info {
        padding: 1.2rem;
    }
    .back-btn {
        width: 100%;
        justify-content: center;
    }
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-message {
        width: 220px;
        right: -30px;
    }
}
