/* ============================================================
   CRITICAL CSS - Landing Mediafy v2
   Consolidado: main.css + hero.css + banner.css
   Above-the-fold styles for fast First Contentful Paint
   ============================================================ */

/* ============================================================
   MAIN.CSS - BASE STYLES
   ============================================================ */

/* Imagen principal redondeada */
.foto_principal.wpb_single_image img {
    border-radius: 14px !important;
}

/* Sistema de botones */
.btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
    text-align: center;
    background: none;
}

.btn2.btn-primary {
    background-color: #339966;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-color: #339966;
}

.btn2.btn-primary:hover {
    background-color: #26734d;
    transform: translateY(-1px);
}

.btn2.btn-outline {
    background-color: #ffffff;
    color: #26734d;
    border-color: rgba(148, 163, 184, 0.7);
}

.btn2.btn-outline:hover {
    border-color: #2f6562;
}

/* Tipografía Hero */
.hero-h1 {
    font-size: 33.6px;
    line-height: 1.5;
    text-align: left;
}

.hero-h2 {
    font-size: 20px !important;
    text-align: center;
}

@media (max-width: 767px) {
    .hero-h1 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }
    .hero-h2 {
        font-size: 18px !important;
    }
}

.hero-text p,
.hero-text li {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 767px) {
    .hero-text p,
    .hero-text li {
        font-size: 15px;
    }
}

/* Header background */
.header.site-header {
    background-color: #a7d7c5 !important;
}

@media (max-width: 767px) {
    .main-header .navbar-header {
        background-color: #a7d7c5 !important;
    }
}

/* Revolution Slider - Banner Home */
/* Móvil */
rs-module-wrap[data-alias="banner_home"] h1.rs-layer { 
    font-size: 18px !important; 
    line-height: 1.15 !important; 
}
rs-module-wrap[data-alias="banner_home"] h2.rs-layer { 
    font-size: 10px !important; 
    line-height: 1.25 !important; 
    transform: translate(0px,50px) !important;
}
rs-module-wrap[data-alias="banner_home"] a.rs-layer { 
    font-size: 10px !important; 
    padding: 5px 8px !important; 
    transform: translate(-10px, 35px) !important;
}
rs-module-wrap[data-alias="banner_home"] p.rs-layer { 
    font-size: 9px !important;  
    line-height: 1.2 !important; 
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    rs-module-wrap[data-alias="banner_home"] h1.rs-layer { 
        font-size: 34px !important; 
    }
    rs-module-wrap[data-alias="banner_home"] h2.rs-layer { 
        font-size: 20px !important; 
        transform: translate(0px, 140px) !important; 
    }
    rs-module-wrap[data-alias="banner_home"] a.rs-layer { 
        font-size: 20px !important; 
        padding: 10px 20px !important; 
        transform: translate(-10px, 80px) !important;
        border-radius: 100px !important;
    }
    rs-module-wrap[data-alias="banner_home"] p.rs-layer { 
        font-size: 16px !important;  
        line-height: 1.2 !important; 
    }
}

/* Desktop */
@media (min-width: 1025px) {
    rs-module-wrap[data-alias="banner_home"] h1.rs-layer { 
        font-size: 40px !important; 
        transform: translate(-10px, 0px) !important;
    }
    rs-module-wrap[data-alias="banner_home"] h2.rs-layer { 
        font-size: 24px !important; 
        transform: translate(-40px, 120px) !important;
    }
    rs-module-wrap[data-alias="banner_home"] a.rs-layer { 
        font-size: 30px !important; 
        padding: 15px 22px !important; 
        transform: translate(-40px, 20px) !important; 
        border-radius: 100px !important;
    }
    rs-module-wrap[data-alias="banner_home"] p.rs-layer { 
        font-size: 20px !important;  
        line-height: 1.2 !important; 
    }
}

/* Ocultar WhatsApp solo en esta landing */
body.page-id-62100 .qlwapp__container {
    display: none !important;
}

/* Botón flotante reserva */
.floating-reserva {
    position: fixed;
    left: 50%;
    bottom: 25px;
    z-index: 9999;
    transform: translateX(-50%);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.floating-reserva:hover {
    transform: translateX(-50%) !important;
}

@media (max-width: 767px) {
    .floating-reserva {
        left: 0%;
        bottom: 15px;
        padding: 0.9rem 1.4rem;
        transform: translateX(36%) !important;
    }
    .floating-reserva:hover {
        transform: translateX(36%) !important;
    }
}

/* Tamaños tipografía por página */
body.page-id-62100 h1 {
    font-size: 80px !important;
}

h2 {
    font-size: 48px !important;
}

@media (max-width: 767px) {
    body.page-id-62100 h1 {
        font-size: 26px !important;
    }
    h2 {
        font-size: 33.6px !important;
    }
    h3 {
        font-size: 25.6px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body.page-id-62100 h1 {
        font-size: 45px !important;
    }
    h2 {
        font-size: 33.6px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    body.page-id-62100 h1 {
        font-size: 45px !important;
    }
    h2 {
        font-size: 33.6px !important;
    }
}

/* ============================================================
   HERO.CSS - HERO SECTION
   ============================================================ */

/* Contenedor sin tarjeta */
#hero .hero-image-card,
.hero-image-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Tarjeta interior con gradiente */
#hero .hero-image-card > .vc_column-inner > .wpb_wrapper,
.hero-image-card > .vc_column-inner > .wpb_wrapper {
    background: radial-gradient(circle at top left, #e0f4f3 0, #ffffff 40%, #fef3e7 85%);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.7rem 1.6rem;
    height: 100%;
}

/* Ordenar contenido */
#hero .hero-image-card > .vc_column-inner > .wpb_wrapper > .wpb_wrapper-inner,
.hero-image-card > .vc_column-inner > .wpb_wrapper > .wpb_wrapper-inner {
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    #Home-Hero.vc_section {
        background-position: 60% center !important;
        min-height: 50vh !important;
        max-height: 60vh;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #Home-Hero.vc_section {
        background-position: 60% center !important;
        min-height: 50vh !important;
        max-height: 60vh;
    }
}

/* Títulos hero con sombra */
.hero-title h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-shadow:
        0 10px 18px rgba(0,0,0,.18),
        0 3px 6px rgba(0,0,0,.12);
}

.hero-title h1 .shadow {
    text-shadow:
        0 10px 18px rgba(0,0,0,.18),
        0 3px 6px rgba(0,0,0,.12);
}

/* Subtítulo */
.hero-title h2 {
    font-size: 30px !important;
    line-height: 1.25;
    text-shadow: none;
    max-width: 600px;
}

.hero-title h2 .light { font-weight: 600; }
.hero-title h2 .dark { font-weight: 700; }

/* Ajustes responsive hero */
@media (max-width: 768px) {
    .hero-title h1 {
        text-shadow:
            0 6px 12px rgba(0,0,0,.16),
            0 2px 4px rgba(0,0,0,.10);
        margin-left: -70px !important;
        margin-top: -180px !important;
    }
    .hero-title h2 {
        font-size: 18px !important;
        margin-left: -70px !important;
        max-width: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title h1 {
        text-shadow:
            0 6px 12px rgba(0,0,0,.16),
            0 2px 4px rgba(0,0,0,.10);
        margin-left: 0px !important;
        margin-top: -180px !important;
    }
    .hero-title h2 {
        font-size: 22px !important;
        margin-left: 0px !important;
        max-width: 400px;
    }
}

/* ============================================================
   BANNER.CSS - BANNER ESTADÍSTICAS
   ============================================================ */

.mc-strip {
    position: relative;
    padding: 14px 18px;
    overflow: hidden;
    color: #fff;
}

.mc-strip__text {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    line-height: 1;
    font-weight: 700;
}

.mc-strip__chunk {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.mc-strip__mid {
    opacity: .92;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
}

.mc-strip__plus {
    font-weight: 900;
    font-size: 30px;
}

.mc-strip__num {
    font-weight: 900;
    font-size: 40px;
    letter-spacing: .5px;
    text-shadow: 0 1px 0 rgba(0,0,0,.18);
}

.mc-strip__label {
    font-weight: 800;
    font-size: 16px;
    opacity: .95;
}

@media (max-width: 768px) {
    .mc-strip { 
        padding: 12px 12px; 
    }
    .mc-strip__text { 
        gap: 10px; 
    }
    .mc-strip__num { 
        font-size: 24px; 
    }
    .mc-strip__label { 
        font-size: 11px; 
    }
    .mc-strip__mid { 
        font-size: 11px; 
        opacity: .88; 
    }
}
