﻿/* ==========================================================================
   CSS CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --c-black-matte: #0A192F;
    --c-gold: #0047AB;
    --c-gold-light: #1A5EBD;
    --c-white: #FFFFFF;
    --c-offwhite: #F8FAFC;
    --c-gray-light: #F1F5F9;
    --c-wood: #FF6600;
    --c-whatsapp: #25D366;

    /* Typography */
    --f-heading: 'Outfit', sans-serif;
    --f-body: 'Inter', sans-serif;
    --f-accent: 'Outfit', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-black-matte);
    background-color: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-heading);
    color: var(--c-black-matte);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-family: var(--f-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.bg-offwhite {
    background-color: var(--c-offwhite);
}

.bg-gray {
    background-color: var(--c-gray-light);
}

.bg-black {
    background-color: var(--c-black-matte);
    color: var(--c-white);
}

.bg-black h2,
.bg-black p {
    color: var(--c-white);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--f-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--c-wood);
    color: var(--c-white);
}

.btn-primary:hover {
    background-color: #E65C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--c-black-matte);
    border: 2px solid var(--c-black-matte);
}

.btn-secondary:hover {
    background-color: var(--c-black-matte);
    color: var(--c-white);
}

.btn-secondary.light {
    color: var(--c-white);
    border-color: var(--c-white);
}

.btn-secondary.light:hover {
    background-color: var(--c-white);
    color: var(--c-black-matte);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--f-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-black-matte);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: var(--f-accent);
    font-size: 0.75rem;
    color: var(--c-wood);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--f-accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--c-wood);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--c-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown li a:hover {
    background-color: var(--c-offwhite);
    color: var(--c-wood);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--c-black-matte);
    transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--c-black-matte);
    overflow: hidden;
}

/* Video de fondo del hero */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
}

/* Overlay oscuro sobre el video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.75) 0%,
            rgba(10, 25, 47, 0.5) 50%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--c-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--c-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    color: var(--c-offwhite);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */
.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 2rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--c-gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-wood);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-family: var(--f-accent);
    color: var(--c-wood);
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

.subtitle-center {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem auto;
    color: #555;
    font-size: 1.1rem;
}

/* ==========================================================================
   TABS & ACORDEON (FAQ)
   ========================================================================== */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--f-accent);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    border-bottom-color: var(--c-wood);
    color: var(--c-wood);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--c-white);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-gray-light);
    overflow: hidden;
}

summary {
    padding: 1.5rem;
    font-family: var(--f-accent);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--c-wood);
    transition: var(--transition);
}

details[open] summary::after {
    content: 'ÃƒÂ¢Ã‹â€ Ã¢â‚¬â„¢';
}

details p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--c-gold);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-accent);
    font-weight: 700;
    border-radius: 50%;
    border: 4px solid var(--c-offwhite);
}

/* ==========================================================================
   PRICING & TABLES
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--c-gray-light);
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    border-color: var(--c-wood);
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-black-matte);
    color: var(--c-wood);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--f-accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.price-tag {
    font-family: var(--f-heading);
    font-size: 2.5rem;
    color: var(--c-wood);
    margin: 1rem 0;
}

.price-card ul {
    text-align: left;
    margin: 2rem 0;
}

.price-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--c-gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   MASONRY GALLERY (16 imagenes)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 0.75rem;
}

/* Item 1: grande 2x2 (horizontal) */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Item 5: spans 2 columns (horizontal) */
.gallery-item:nth-child(5) {
    grid-column: span 2;
}

/* Item 10: spans 2 columns (horizontal) */
.gallery-item:nth-child(10) {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.07);
    filter: brightness(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--c-white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay h3 {
    color: var(--c-white);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.gallery-overlay p {
    font-size: 0.82rem;
    opacity: 0.85;
    margin: 0;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials .card {
    text-align: center;
    padding: 3rem 2rem;
}

.stars {
    color: var(--c-wood);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
}

.author {
    margin-top: 2rem;
    font-family: var(--f-accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-black-matte);
}

/* ==========================================================================
   CTA FINAL BANNER
   ========================================================================== */
.cta-banner {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(rgba(10, 25, 47, 0.88), rgba(0, 0, 0, 0.82)), url('../Imagenes/Cocina empotrada HORIZONTAL 2.jpeg') center/cover;
    color: var(--c-white);
}

.cta-banner h2 {
    color: var(--c-white);
    font-size: 3.5rem;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--c-offwhite);
}

.cta-banner small {
    display: block;
    margin-top: 1rem;
    opacity: 0.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--c-black-matte);
    color: var(--c-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.logo-light {
    color: var(--c-white);
    margin-bottom: 1rem;
}

.logo-light span {
    color: var(--c-wood);
}

.footer-col h3 {
    color: var(--c-wood);
    font-family: var(--f-accent);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: var(--c-wood);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
}

.social-links a:hover {
    background: var(--c-gold);
    color: var(--c-black-matte);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--c-whatsapp);
    color: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.float-wa svg {
    width: 35px;
    height: 35px;
}

.float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}


@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(37, 211, 102, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
}

@keyframes shake-wa {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.float-wa {
    animation: pulse-wa 2s infinite ease-in-out;
}

.float-wa:hover {
    animation: none;
    transform: scale(1.15);
}

/* Badge de disponibilidad */
.float-wa::after {
    content: '¡Estamos Online!';
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* Animacion de sacudida cada 5 segundos */
.float-wa svg {
    animation: shake-wa 0.5s infinite;
    animation-delay: 4.5s;
    animation-iteration-count: 2;
}

/* ==========================================================================
   INTERNAL PAGES (Hero & Forms)
   ========================================================================== */
.hero-internal {
    min-height: 65vh;
    padding-top: 130px;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-black-matte);
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo con overlay Ã¢â‚¬â€ se setea inline por pagina */
.hero-internal .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
}

.hero-internal .hero-overlay-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.80) 0%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero-internal .container {
    position: relative;
    z-index: 2;
}

.hero-internal h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    color: var(--c-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-internal h1 span {
    text-align: center;
    color: var(--c-wood);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    display: block;
    margin-top: 0.5rem;
}

.hero-internal p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Mini galeria horizontal dentro de paginas internas */
.page-gallery {
    display: grid;
    gap: 0.75rem;
}

.page-gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}

.page-gallery-4 {
    grid-template-columns: 2fr 1fr 1fr;
}

.page-gallery-5 {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.page-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.page-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.page-gallery-item:hover img {
    transform: scale(1.06);
}

.page-gallery-item.tall {
    height: 100%;
    min-height: 380px;
}

@media (max-width: 768px) {
    .hero-internal {
        min-height: 55vh;
    }

    .page-gallery-3,
    .page-gallery-4,
    .page-gallery-5 {
        grid-template-columns: 1fr 1fr;
    }

    .page-gallery-item.tall {
        min-height: 220px;
    }
}

@media (max-width: 480px) {

    .page-gallery-3,
    .page-gallery-4,
    .page-gallery-5 {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--c-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form label {
    display: block;
    font-family: var(--f-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--c-black-matte);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--c-gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--f-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--c-wood);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.contact-form button {
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table th {
    background: var(--c-black-matte);
    color: var(--c-white);
    padding: 1rem;
    text-align: left;
    font-family: var(--f-accent);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--c-gray-light);
    background: var(--c-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST in behavior, adapting down here)
   ========================================================================== */
@media (max-width: 991px) {
    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--c-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 2rem 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 1rem;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        display: flex;
        text-align: left;
        align-items: center;
    justify-content: center;
        padding: 1.5rem;
    }

    .step-number {
        position: static;
        transform: none;
        min-width: 40px;
        margin-right: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    /* Resetear todos los spans en movil */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(10) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-video {
        opacity: 0.6;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




