/**
 * El Arroz de LaTomasa - Estilos Globales
 * Versión: 1.0.0
 * 
 * Este archivo contiene los estilos comunes para todo el sitio
 */

/* ============================================
   Variables CSS (Design Tokens)
   ============================================ */
:root {
    --brand-red: #ee736a;
    --brand-blue: #5398d3;
    --brand-black: #000000;
    --brand-beige: #f0ede3;
    --bg-white: #FFFFFF;
    --font-logo: 'Climate Crisis', cursive;
    --font-body: 'Kanit', sans-serif;
}

/* ============================================
   Page Loader - Evitar FOUC
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(238, 115, 106, 0.2);
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ocultar contenido hasta que cargue (fallback) */
html:not(.fonts-loaded) body {
    visibility: hidden;
}

html.fonts-loaded body {
    visibility: visible;
}

/* ============================================
   Reset y Base
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--brand-black);
    background: var(--bg-white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Skip Link - Accesibilidad
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--brand-red);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: top 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--brand-black);
    outline-offset: 2px;
}

/* ============================================
   Mejoras de Accesibilidad y Contraste
   ============================================ */
/* Focus visible para todos los elementos interactivos */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--brand-red);
    outline-offset: 2px;
}

/* Mejorar contraste de textos con opacity */
.text-high-contrast {
    opacity: 1 !important;
}

/* Colores con mejor contraste para textos secundarios */
.text-secondary {
    color: #4a4a4a; /* Mejor contraste que opacity: 0.7 */
}

/* ============================================
   Colores de marca
   ============================================ */
.text-brandRed {
    color: var(--brand-red);
}

.bg-brandRed {
    background-color: var(--brand-red);
}

.border-brandRed {
    border-color: var(--brand-red);
}

.text-brandBlue {
    color: var(--brand-blue);
}

.bg-brandBlue {
    background-color: var(--brand-blue);
}

.text-brandBlack {
    color: var(--brand-black);
}

.bg-brandBlack {
    background-color: var(--brand-black);
}

.hover\:bg-brandRed:hover {
    background-color: var(--brand-red);
}

.hover\:text-brandRed:hover {
    color: var(--brand-red);
}

/* ============================================
   Tipografía
   ============================================ */
.font-logo {
    font-family: var(--font-logo);
}

.font-body {
    font-family: var(--font-body);
}

h1,
h2,
h3 {
    color: var(--brand-black);
}

/* ============================================
   Utilidades
   ============================================ */
.tap-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.max-w-200 {
    max-width: 200px;
}

.hero-height {
    height: 85vh;
}

.tracking-hero {
    letter-spacing: 0.2em;
}

.hero-title-shift {
    margin-bottom: -10px;
}

.map-height {
    height: 500px;
}

.card-width {
    width: 90vw;
}

.grid-cols-2fr-1fr {
    grid-template-columns: 2fr 1fr;
}

/* ============================================
   Animaciones
   ============================================ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.7s ease forwards;
}

.anim-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.anim-delay-1 {
    animation-delay: 0.15s;
}

.anim-delay-2 {
    animation-delay: 0.3s;
}

.anim-delay-3 {
    animation-delay: 0.45s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .anim-fade-up,
    .anim-fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   Patrón de fondo
   ============================================ */
.bg-pattern {
    background-image: url('../images/fondonuevo-1280.avif');
    background-image: image-set(url('../images/fondonuevo-768.avif') type("image/avif") 768w,
            url('../images/fondonuevo-1280.avif') type("image/avif") 1280w,
            url('../images/fondonuevo-1920.avif') type("image/avif") 1920w);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -5%;
}

/* ============================================
   Hero
   ============================================ */
.hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.6) 52%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-vignette {
    background: radial-gradient(120% 80% at 50% 20%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

/* ============================================
   Botones
   ============================================ */
.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 80, 40, 0.3);
}

/* ============================================
   Modal Carta
   ============================================ */
#dish-modal {
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#dish-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

#dish-modal-content {
    border-radius: 24px;
    border: 1px solid rgba(12, 16, 17, 0.08);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#dish-modal.is-open #dish-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#dish-modal-close {
    transition: all 0.2s ease;
    background: #f7f7f7;
    border: 1px solid rgba(12, 16, 17, 0.08);
    color: var(--brand-black);
}

#dish-modal-close:hover {
    background: #ededed;
    transform: scale(1.04);
}

#dish-modal-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#dish-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(230, 80, 40, 0.35);
}

/* ============================================
   WhatsApp Widget
   ============================================ */
.whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 9999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    font-weight: 600;
    border: 3px solid var(--bg-white);
}

.whatsapp-widget i {
    font-size: 1.25rem;
}

.whatsapp-label {
    display: inline-block;
    font-size: 0.95rem;
}

@media (max-width: 420px) {
    .whatsapp-label {
        display: none;
    }

    .whatsapp-widget {
        padding: 0.6rem;
        width: 48px;
        height: 48px;
        justify-content: center;
    }
}

/* ============================================
   Cookie Banner
   ============================================ */
#cookie-banner.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   Responsive - Tablet y Desktop
   ============================================ */
@media (min-width: 768px) {
    .hero-title-shift {
        margin-bottom: -40px;
    }

    .map-height {
        height: 600px;
    }
}

/* ============================================
   Responsive - Móvil
   ============================================ */
@media (max-width: 768px) {
    header {
        height: 70px;
    }

    header .container {
        padding: 0.75rem 1rem !important;
        min-height: 70px;
    }

    header img {
        height: 3.5rem !important;
        max-height: 3.5rem !important;
    }

    header button {
        font-size: 1.5rem;
        color: var(--brand-black);
        padding: 0.5rem;
    }

    .font-logo.hidden {
        display: none !important;
    }

    body {
        padding-top: 70px;
    }

    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    /* Hero móvil */
    /* Hero móvil - Eliminado para usar clases de Tailwind en HTML */

    /* Carta móvil */
    #carta .dish-title {
        font-size: 1rem !important;
    }

    /* Modal móvil */
    #dish-modal {
        padding: 0 !important;
        align-items: flex-start !important;
    }

    #dish-modal-content {
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 100vh !important;
    }

    #dish-modal>div>div:first-child {
        min-height: 200px !important;
        max-height: 200px !important;
    }

    #dish-modal>div>div:last-child {
        padding: 1rem !important;
    }

    #dish-modal-title {
        font-size: 1rem !important;
    }

    #dish-modal-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.25rem !important;
    }

    /* Ubicación móvil */
    #ubicacion {
        height: auto !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #ubicacion .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    #ubicacion .bg-white {
        padding: 2rem 1.5rem !important;
        max-width: 100% !important;
    }

    #ubicacion h2 {
        font-size: 1.5rem !important;
    }

    #ubicacion .space-y-4>div {
        gap: 1rem !important;
    }

    #ubicacion p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    #ubicacion .font-semibold {
        font-size: 1.125rem !important;
    }

    .map-height {
        height: 350px !important;
    }

    /* Cookie banner móvil */
    #cookie-banner {
        bottom: 6rem !important;
        left: 0.75rem !important;
        right: 0.75rem !important;
        max-width: calc(100% - 1.5rem) !important;
    }

    #cookie-banner>div {
        flex-direction: column;
    }

    #cookie-banner>div>div:first-child {
        border-radius: 11px 11px 0 0 !important;
        padding: 1rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(12, 16, 17, 0.05) !important;
    }

    #cookie-banner>div>div:last-child {
        padding: 1.25rem !important;
    }

    #cookie-banner .flex.flex-wrap {
        flex-direction: column;
    }

    #cookie-banner button,
    #cookie-banner a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #cookie-banner h4 {
        font-size: 1rem !important;
    }

    #cookie-banner p {
        font-size: 0.8rem !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

    .whatsapp-widget,
    #cookie-banner,
    #whatsapp-popup,
    header,
    footer {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }
}

/* ============================================
   Card Hover Effects (Sprint 4)
   ============================================ */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Testimonials / Reseñas Marquee
   ============================================ */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - var(--gap))); }
}

.testimonials-section {
    background: var(--brand-beige, #f0ede3);
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.testimonials-header {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding: 0 1.5rem;
}

.testimonials-header h2 {
    font-family: var(--font-logo, 'Climate Crisis', cursive);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--brand-black, #0C1011);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.testimonials-header p {
    font-size: 1rem;
    color: var(--brand-black, #0C1011);
    opacity: 0.65;
}

.testimonials-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.testimonials-stars {
    display: flex;
    gap: 2px;
}

.testimonials-stars svg {
    width: 18px;
    height: 18px;
    color: var(--brand-red, #ee736a);
}

.testimonials-rating-text {
    font-size: 0.9rem;
    color: var(--brand-black, #0C1011);
    opacity: 0.6;
}

.testimonials-rating-text strong {
    opacity: 1;
    font-weight: 600;
}

.testimonials-marquee {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem 0;
    --gap: 1rem;
    --duration: 60s;
}

.testimonials-marquee-track {
    display: flex;
    flex-shrink: 0;
    gap: var(--gap);
    animation: marquee var(--duration) linear infinite;
}

.testimonials-marquee:hover .testimonials-marquee-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 300px;
    max-width: 320px;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-top: 1px solid rgba(12, 16, 17, 0.08);
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0.25));
    transition: background 0.3s ease;
}

.testimonial-card:hover {
    background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.4));
}

.testimonial-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.testimonial-card-stars svg {
    width: 16px;
    height: 16px;
    color: var(--brand-red, #ee736a);
}

.testimonial-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--brand-black, #0C1011);
    opacity: 0.75;
    margin-bottom: 1rem;
}

.testimonial-card-author {
    display: flex;
    flex-direction: column;
}

.testimonial-card-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-black, #0C1011);
    line-height: 1.3;
}

.testimonial-card-role {
    font-size: 0.8rem;
    color: var(--brand-black, #0C1011);
    opacity: 0.5;
}

/* Fade gradients */
.testimonials-fade-left,
.testimonials-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8%;
    max-width: 120px;
    pointer-events: none;
    z-index: 2;
}

.testimonials-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--brand-beige, #f0ede3), transparent);
}

.testimonials-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--brand-beige, #f0ede3), transparent);
}

/* CTA link */
.testimonials-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.testimonials-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-red, #ee736a);
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.testimonials-cta a:hover {
    opacity: 0.7;
}

.testimonials-cta svg {
    width: 16px;
    height: 16px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonials-marquee-track {
        animation: none;
    }
}

/* ============================================
   Carrusel de Fotos de Paellas (Marquee)
   ============================================ */
.gallery-carousel-section {
    padding: 4rem 0 5rem;
    background: #fff;
    overflow: hidden;
}

.gallery-carousel-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
}

.gallery-carousel-header h2 {
    font-family: var(--font-logo, 'Climate Crisis', cursive);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--brand-black, #0C1011);
    margin-bottom: 0.5rem;
}

.gallery-carousel-header p {
    color: #888;
    font-size: 1rem;
}

.gallery-carousel {
    position: relative;
    display: flex;
    overflow: hidden;
    --gap: 1rem;
    --duration: 50s;
}

.gallery-carousel-track {
    display: flex;
    gap: var(--gap);
    animation: marquee var(--duration) linear infinite;
    flex-shrink: 0;
}

.gallery-carousel:hover .gallery-carousel-track {
    animation-play-state: paused;
}

.gallery-carousel-card {
    flex-shrink: 0;
    width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
}

.gallery-carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-carousel-card:hover img {
    transform: scale(1.08);
}

.gallery-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    pointer-events: none;
}

.gallery-carousel-overlay p {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
}

/* Fade gradients */
.gallery-fade-left,
.gallery-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8%;
    max-width: 120px;
    z-index: 2;
    pointer-events: none;
}

.gallery-fade-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.gallery-fade-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Responsive */
@media (max-width: 640px) {
    .gallery-carousel-card {
        width: 240px;
    }

    .gallery-carousel-section {
        padding: 3rem 0 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-carousel-track {
        animation: none;
    }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Tooltip para WhatsApp */
.whatsapp-float::before {
    content: "¡Haz tu pedido!";
    position: absolute;
    right: 70px;
    background: #1a1a2e;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Ocultar en móvil pequeño para no molestar */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
}

/* ============================================
   Mejoras de botones del Hero
   ============================================ */

/* Botón "Consultar Disponibilidad" - Efecto hover mejorado */
.hero-button-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(238, 115, 106, 0.25);
}

.hero-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(238, 115, 106, 0.35);
    background-color: #d85c52;
}

.hero-button-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(238, 115, 106, 0.3);
}

/* Botón "Ver La Carta" - Mejor contraste en hover */
.hero-button-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(255, 255, 255, 0.08);
}

.hero-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--brand-red);
    text-shadow: none;
    border-color: rgba(238, 115, 106, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hero-button-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Efecto ripple/pulso en el botón primario */
.hero-button-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hero-button-primary:active::before {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ============================================
   Header y Navegación - Estilos Centralizados
   ============================================ */

/* Menú móvil base */
#mobile-menu {
    display: block !important;
    transform: translateX(100%);
    will-change: transform;
    z-index: 60 !important;
}

#mobile-menu.is-open {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

/* Visibilidad del header según breakpoint */
.contact-section,
.nav-desktop,
.header-actions {
    display: none;
}

/* Acciones móviles */
.mobile-actions {
    display: grid;
    grid-template-columns: 1fr 0.35fr 0.35fr;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(12,16,17,0.08);
    background: #fff;
    align-items: center;
}

.mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-black);
    border: 1.5px solid rgba(230, 80, 40, 0.3);
    background: #fff;
    white-space: nowrap;
    min-height: 44px;
}

.mobile-action svg {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.mobile-action-primary {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
    grid-column: 1;
    padding: 0.8rem 1.2rem;
    font-size: 0.7rem;
}

.mobile-action-secondary {
    border-color: rgba(230, 80, 40, 0.4);
}

.mobile-action-secondary svg {
    color: #E65028;
}

/* Desktop completo (>1200px) */
@media (min-width: 1201px) {
    .contact-section {
        display: flex !important;
    }
    .nav-desktop {
        display: flex !important;
    }
    .header-actions {
        display: none !important;
    }
    .mobile-actions {
        display: none !important;
    }
}

/* Tablet (768px-1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
    .nav-desktop {
        display: flex !important;
    }
    .header-actions {
        display: flex !important;
    }
    .mobile-actions {
        display: none !important;
    }
}

/* Móvil (<768px) */
@media (max-width: 767px) {
    .header-actions {
        display: flex !important;
    }
    .mobile-actions {
        display: grid !important;
    }
}

/* Hover states para navegación */
.hover-brandRed:hover {
    color: var(--brand-red) !important;
}

/* Tap targets accesibles */
.tap-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}