* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0F4C81;
    --color-secondary: #3BA7FF;
    --color-dark: #2C2C2C;
    --color-light: #F5F5F5;
    --color-white: #FFFFFF;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 2rem));
    background: rgba(44, 44, 44, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: padding 0.3s ease, gap 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo span {
    color: var(--color-secondary);
}

.brand-text {
    display: inline-block;
    line-height: 1;
    font-size: 1rem;
    font-weight: 700;
    /* Gradiente y brillo azul */
    background: linear-gradient(90deg, #eaf6ff 0%, #bfe6ff 20%, #7ecbff 40%, #3ba7ff 60%, #1f7fd1 80%, #0f4c81 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px rgba(59,167,255,0.6), 0 0 24px rgba(59,167,255,0.35), 
                0 1px 0 rgba(255,255,255,0.55), 0 2px 6px rgba(0,0,0,0.35), 0 6px 18px rgba(0,0,0,0.35);
    -webkit-text-stroke: 0.35px rgba(0,0,0,0.45);
    transition: all 0.3s ease;
}

.brand-text span {
    /* mantener el color secundario ligeramente más oscuro para contraste */
    background: linear-gradient(90deg, #7ecbff 0%, #3ba7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Badge alrededor del logo para destacarlo */
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
    box-shadow: 0 12px 32px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.08),
                0 0 20px rgba(59,167,255,0.35), 0 0 40px rgba(59,167,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.18);
    transition: all 0.3s ease;
}

.nav-logo {
    height: 68px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6)) brightness(1.06) saturate(1.08);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-logo { height: 38px; }
    .logo-badge { padding: 4px 6px; border-radius: 6px; }
    .brand-text { font-size: 0.92rem; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.04em;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* Estilos para el navbar compacto y delgado (scrolled) - WOW Aesthetics */
nav.nav-scrolled {
    top: 0.5rem;
    background: rgba(15, 76, 129, 0.88); /* Hermoso azul primario translúcido */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

@media (min-width: 769px) {
    nav.nav-scrolled {
        width: min(1100px, calc(100% - 3rem)); /* Se hace ligeramente más angosto y centrado */
    }
    
    nav.nav-scrolled .nav-container {
        padding: 0.45rem 1.6rem; /* Padding mucho más delgado */
    }
    
    nav.nav-scrolled .nav-logo {
        height: 44px; /* Logotipo más fino y estilizado */
    }
    
    nav.nav-scrolled .logo-badge {
        padding: 3px 6px;
        border-radius: 6px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    }
    
    nav.nav-scrolled .brand-text {
        font-size: 0.9rem;
    }
    
    nav.nav-scrolled .nav-links {
        gap: 1.6rem;
    }
    
    nav.nav-scrolled .nav-links a {
        font-size: 0.88rem; /* Tipografía más delgada y fina */
        font-weight: 500;
    }
}

@media (max-width: 768px) {
    nav.nav-scrolled {
        width: calc(100% - 1.5rem);
    }
    
    nav.nav-scrolled .nav-container {
        padding: 0.45rem 1rem;
    }

    nav.nav-scrolled .nav-links.open {
        background: rgba(15, 76, 129, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
}

/* Hero Section */
.hero {
    margin-top: 0;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slides .slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 2rem));
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 1.2s backwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 0.95;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 1.8s backwards;
    letter-spacing: 0.18em;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 2.4s backwards;
    border: 2px solid var(--color-secondary);
}

.btn:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1FAD56 100%);
    border-color: #25D366;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
}

.hero-whatsapp:hover {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: var(--color-white);
}

.nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0.5rem;
    right: 0.5rem;
    background: rgba(44, 44, 44, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.5rem;
    box-shadow: 0 18px 30px rgba(0,0,0,0.22);
}

.nav-links.open a {
    color: var(--color-white);
    width: 100%;
    padding: 0.6rem 0.5rem;
    display: block;
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Concept Section */
.concept {
    background: var(--color-light);
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.concept-text h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.concept-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.concept-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.concept-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.concept-image:hover img {
    transform: scale(1.05);
}

/* Quality Features */
.features {
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--color-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Gallery Section */
.gallery {
    background: var(--color-dark);
    color: var(--color-white);
}

.gallery .section-title {
    color: var(--color-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 111, 78, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--color-white);
}

/* Services Section */
.services {
    background: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Pricing Section */
.pricing {
    background:
        radial-gradient(circle at top left, rgba(59, 167, 255, 0.12), transparent 34%),
        linear-gradient(180deg, #f8fcff 0%, #eef6fb 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 1.5rem;
}

.pricing-grid--secondary {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.5rem;
}

/* Pricing Table Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.04);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.pricing-table th {
    background-color: rgba(15, 76, 129, 0.05);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(15, 76, 129, 0.1);
}

.pricing-table td {
    border-bottom: 1px solid rgba(15, 76, 129, 0.05);
    color: #444;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:nth-child(even) {
    background-color: rgba(15, 76, 129, 0.02);
}

.price-value {
    color: var(--color-primary);
    font-weight: 700;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 76, 129, 0.08);
}

.pricing-card--highlight {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,247,255,0.95));
}

.pricing-card h3 {
    font-family: var(--font-title);
    color: var(--color-primary);
    font-size: 1.55rem;
    margin-bottom: 0.9rem;
}

.pricing-card h4 {
    color: var(--color-primary);
    font-size: 1rem;
    margin: 1.2rem 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-emphasis {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(59, 167, 255, 0.12);
    color: var(--color-primary);
    font-weight: 700;
}

.pricing-text,
.pricing-card p {
    color: #404a55;
    line-height: 1.7;
}

.pricing-list,
.pricing-checks {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.pricing-list li,
.pricing-checks li {
    position: relative;
    padding-left: 1.2rem;
    color: #313b46;
}

.pricing-list li::before,
.pricing-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--color-secondary);
}

.pricing-checks li::before {
    top: 0.55rem;
    background: var(--color-primary);
}

.pricing-alert {
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255, 211, 67, 0.28), rgba(255, 211, 67, 0.12));
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: #6e5200;
    font-weight: 700;
    text-align: center;
}

.pricing-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 76, 129, 0.12);
    font-size: 0.98rem;
}

.pricing-note strong {
    color: var(--color-primary);
}

.pricing-banner {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.92), rgba(59, 167, 255, 0.92));
    color: var(--color-white);
    box-shadow: 0 18px 35px rgba(15, 76, 129, 0.16);
}

.pricing-banner p + p {
    margin-top: 0.65rem;
}

.pricing-small {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Philosophy Section */
.philosophy {
    background: linear-gradient(rgba(139, 111, 78, 0.9), rgba(139, 111, 78, 0.9)),
                url('https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    color: var(--color-white);
    text-align: center;
}

.philosophy .section-title {
    color: var(--color-white);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Location Section */
.location {
    background: var(--color-white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.location-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.location-details {
    margin-bottom: 2rem;
}

.location-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-details i {
    color: var(--color-secondary);
    font-size: 1.2rem;
    width: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.footer-section p, .footer-section a {
    color: #aaa;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: 100svh;
        height: 100svh;
    }

    .nav-container {
        padding: 0.85rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }
}

/* Tablet Quiebre - Adelantamos colapso a 992px para evitar compresión excesiva */
@media (max-width: 992px) {
    .concept-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .concept-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid,
    .pricing-grid--secondary {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .map-container {
        height: 320px;
    }
}

@media (max-width: 768px) {
    nav {
        width: calc(100% - 1rem);
        top: calc(0.5rem + env(safe-area-inset-top, 0px));
        border-radius: 28px;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Modificación del Hero en móvil: centrado nativo, sin absolute bugs */
    .hero {
        min-height: 100svh;
        height: 100svh;
        align-items: center;
        padding-top: 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 0 1.25rem;
        margin-top: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.1rem;
        letter-spacing: 0.12em;
        margin-bottom: 2rem;
    }

    .hero-actions {
        position: static;
        transform: none;
        margin-top: 0;
        z-index: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-actions .btn {
        margin: 0;
        display: inline-block;
        width: auto;
    }

    /* Gallery responsiva */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.75rem;
    }

    .gallery-item {
        height: 220px;
    }

    /* Servicios responsivo */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card img {
        height: 200px;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 0.95rem; 
        letter-spacing: 0.08em;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .hero-content {
        width: 100%;
    }

    nav {
        width: calc(100% - 0.75rem);
        top: 0.35rem;
    }

    .logo {
        font-size: 1.05rem;
    }

    .nav-container {
        padding: 0.6rem 0.75rem;
    }
    
    .nav-logo {
        height: 34px;
    }
    
    .logo-badge {
        padding: 3px 5px;
    }
    
    .brand-text {
        font-size: 0.8rem;
    }
    
    /* Optimización de tarjeta de precios para pantallas muy angostas */
    .pricing-card {
        padding: 1.1rem;
        border-radius: 18px;
    }
    
    /* Tabla responsiva sin dañar maquetación */
    .pricing-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.55rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .pricing-emphasis {
        padding: 0.35rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 260px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--color-white);
    cursor: pointer;
}

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-social a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--color-white);
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

.floating-social a:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.floating-social a.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1FAD56 100%);
}

.floating-social a.whatsapp:hover {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.floating-social a.tiktok {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
}

.floating-social a.tiktok:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.floating-social a.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0A66C2 100%);
}

.floating-social a.facebook:hover {
    background: linear-gradient(135deg, #0A66C2 0%, #054399 100%);
}

.floating-social a.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #D31F4B 25%, #C41E3A 50%, #833AB4 75%, #FD1D1D 100%);
}

.floating-social a.instagram:hover {
    background: linear-gradient(135deg, #d31f4b 0%, #c41e3a 25%, #a80045 50%, #6c3483 75%, #dd2a3e 100%);
}

@media (max-width: 768px) {
    .floating-social {
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        right: calc(1.5rem + env(safe-area-inset-right, 0px));
        gap: 0.75rem;
    }

    .floating-social a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}
