/* ========================================
   TORITTO'S PARRILLA - ESTILOS GENERALES
   VERSIÓN CON CORRECCIONES DE ACCESIBILIDAD Y FOOTER MEJORADO
   ======================================== */

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

:root {
    --primary: #E63946;
    --secondary: #D4145A;
    --accent: #F4A261;
    --dark: #1D1D1D;
    --light: #F8F9FA;
    --text: #2B2B2B;
    --font-heading: 'Cinzel', serif;
    --font-display: 'Bebas Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(29, 29, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(29, 29, 29, 0.98);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

nav .logor {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

nav .logor img {
    height: 35px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

nav.scrolled .logor img {
    height: 32px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: var(--font-display);
    letter-spacing: 1px;
    font-size: 1.05rem;
}

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

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

nav a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 120px 20px 60px;
    width: 100%;
    overflow: hidden;
    
    background-image: 
        linear-gradient(
            rgba(0, 0, 0, 0.65), 
            rgba(29, 29, 29, 0.75)
        ),
        url('../img/hero-steaks.webp');
    
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(230, 57, 70, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(244, 162, 97, 0.1) 0%, transparent 60%);
    animation: glowPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
    animation: fadeInUp 1s ease;
}

.logo img {
    width: 100%;
    max-width: 388px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(5px);
    animation: float 4s ease-in-out infinite;
}

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

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

.years {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:focus {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #b87637, #8a5324);
    color: #E6D6C3;
    border-radius: 40px;
    border: 2px solid #E8D9C9;
    padding: 14px 32px;
    font-weight: 600;
    text-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c98240, #9c5e29);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.30);
    color: #E6D6C3;
    border-radius: 40px;
    border: 2px solid #E8D9C9;
    padding: 14px 32px;
    backdrop-filter: blur(6px);
    text-shadow: none;
}

.btn-secondary:hover {
    background: rgba(40, 10, 10, 0.45);
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(190, 130, 90, 0.26),
        0 10px 22px rgba(0, 0, 0, 0.55);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 4rem 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    display: block;
    width: 100%;
    font-family: var(--font-display);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ========================================
   HISTORIA
   ======================================== */

#historia {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    width: 100%;
    padding: 5rem 2rem;
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

.historia-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.historia-text p {
    margin-bottom: 1.5rem;
}

.year-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.historia-image {
    height: 400px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.historia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   ESPECIALIDADES
   ======================================== */

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.especialidad-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.especialidad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.2);
}

.especialidad-image {
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
}

.especialidad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.especialidad-content {
    padding: 1.5rem;
}

.especialidad-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.especialidad-content p {
    color: #4a4a4a;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: 1px;
}

/* ========================================
   MENÚ
   ======================================== */

#menu {
    background: var(--dark);
    color: white;
    width: 100%;
    padding: 5rem 2rem;
}

#menu .section-title {
    color: white;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.menu-category {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.menu-category:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.menu-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(244, 162, 97, 0.2);
}

.menu-category h3::before {
    content: '';
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px rgba(230, 57, 70, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background-size: 30px 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-category h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-category:hover h3::before {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 25px rgba(230, 57, 70, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.menu-category:hover h3::after {
    opacity: 1;
}

.menu-category:nth-child(1) h3::before {
    background-image: url('../img/parrilla.png');
}

.menu-category:nth-child(2) h3::before {
    background-image: url('../img/entradas.png');
}

.menu-category:nth-child(3) h3::before {
    background-image: url('../img/pescados.png');
}

.menu-category:nth-child(4) h3::before {
    background-image: url('../img/bebidas.png');
}

.menu-category ul {
    list-style: none;
}

.menu-category li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-category li:last-child {
    border-bottom: none;
}

.btn-menu {
    display: block;
    margin: 3rem auto 0;
    max-width: 300px;
    text-align: center;
}

/* ========================================
   GALERÍA
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    height: 300px;
    background: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333333;
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(244, 162, 97, 0.1));
}

/* ========================================
   TESTIMONIOS
   ======================================== */

#testimonios {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    width: 100%;
    padding: 5rem 2rem;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.testimonio-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonio-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonio-author {
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.stars {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* ========================================
   UBICACIÓN
   ======================================== */

#ubicacion {
    background: var(--dark);
    color: white;
    width: 100%;
    padding: 5rem 2rem;
}

#ubicacion .section-title {
    color: white;
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
}

.info-box {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.info-item strong {
    color: var(--accent);
    min-width: 100px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ========================================
   FOOTER MEJORADO
   ======================================== */

footer {
    background: #0a0a0a;
    color: white;
    padding: 4rem 2rem 1.5rem;
    width: 100%;
}

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

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* ========================================
   SECCIÓN DE CONTACTO CON ICONOS MODERNOS
   ======================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(244, 162, 97, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(244, 162, 97, 0.25);
    transform: scale(1.08);
}

.contact-item:hover .contact-icon::before {
    opacity: 0.2;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon svg {
    fill: #fff;
    transform: scale(1.1);
}

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

.contact-text strong {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-text a,
.contact-text span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent);
}

/* ========================================
   REDES SOCIALES
   ======================================== */

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

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.social-link:hover svg {
    transform: scale(1.15);
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.7;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: ripple 2s infinite;
    opacity: 0.6;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
    position: relative;
    z-index: 1;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float:focus {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    nav .container {
        padding: 0 1rem;
    }

    nav ul {
        display: none;
        gap: 0;
    }

    nav .logor img {
        height: 32px;
    }
    
    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 90px 15px 50px;
        background-attachment: scroll;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0;
    }

    .logo img {
        max-width: 260px;
        width: 90%;
    }

    .years {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    #historia,
    #menu,
    #ubicacion,
    #testimonios {
        padding: 3rem 1rem;
    }

    .historia-content,
    .ubicacion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .historia-text {
        font-size: 1rem;
        padding: 0;
    }

    .historia-image {
        height: 250px;
    }

    .especialidades-grid,
    .menu-categories,
    .gallery-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .especialidad-card,
    .menu-category,
    .gallery-item,
    .testimonio-card {
        width: 100%;
        max-width: 100%;
    }

    .map-container {
        width: 100%;
        margin: 0;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .info-box {
        padding: 1.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }

    .footer-section {
        padding: 0;
    }

    .contact-item {
        gap: 0.8rem;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    nav .logor img {
        height: 28px;
    }

    .hero {
        padding: 80px 10px 40px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .logo img {
        max-width: 220px;
    }

    .years {
        font-size: 0.9rem;
    }

    .historia-text {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .especialidad-image {
        height: 150px;
        font-size: 2.5rem;
    }

    .gallery-item {
        height: 200px;
    }
}

/* ========================================
   MODAL DE GALERÍA - LIGHTBOX
   Agregar estos estilos al final de tu archivo CSS
   ======================================== */

.modal-galeria {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.modal-galeria.show {
    display: flex;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.92);
}

.modal-contenido-galeria {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-contenido-galeria img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: block;
}

.cerrar-modal-galeria {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-weight: 300;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    line-height: 1;
}

.cerrar-modal-galeria:hover {
    color: var(--accent);
    background: rgba(244, 162, 97, 0.2);
    transform: rotate(90deg);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal-contenido-galeria {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-contenido-galeria img {
        max-height: 85vh;
        border-radius: 8px;
    }
    
    .cerrar-modal-galeria {
        top: -45px;
        right: -5px;
        font-size: 40px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .cerrar-modal-galeria {
        top: 10px;
        right: 10px;
        font-size: 35px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .modal-contenido-galeria {
        max-width: 100%;
        max-height: 100vh;
    }
    
    .modal-contenido-galeria img {
        max-height: 100vh;
        border-radius: 0;
    }
}