/* ===== UNIVERSAL CSS - ROJO #a91e25 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rojo: #a91e25;
    --rojo-oscuro: #7a151b;
    --rojo-claro: #c72a32;
    --rojo-suave: #fde8e9;
    --blanco: #ffffff;
    --blanco-hueso: #fefcf5;
    --gris-claro: #f5f5f5;
    --gris-medio: #e0e0e0;
    --gris-texto: #555555;
    --texto-oscuro: #1a1a1a;
    --gold: #c9a96e;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --tr: all 0.5s var(--ease);
}

body {
    font-family: var(--sans);
    background: var(--blanco);
    color: var(--texto-oscuro);
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.5;
}

/* ===== HEADER UNIVERSAL ===== */
.universal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--blanco);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--tr);
    border-bottom: 1px solid var(--gris-medio);
}

.universal-header.scrolled {
    background: var(--blanco);
    box-shadow: 0 5px 30px rgba(169,30,37,0.1);
    border-bottom-color: var(--rojo);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 56px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-sup {
    font-size: 7px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--rojo);
    margin-bottom: 2px;
}

.logo-principal {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--texto-oscuro);
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 1;
}

.logo-principal span {
    color: var(--rojo);
}

.logo-inf {
    font-size: 7px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-top: 2px;
}

.nav-links-header {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links-header a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: var(--tr);
    position: relative;
}

.nav-links-header a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rojo);
    transition: width 0.3s ease;
}

.nav-links-header a:hover::after,
.nav-links-header a.active::after {
    width: 100%;
}

.nav-links-header a:hover,
.nav-links-header a.active {
    color: var(--rojo);
}

.btn-header {
    border: 1.5px solid var(--rojo);
    padding: 10px 28px;
    color: var(--rojo) !important;
    border-radius: 0;
    background: transparent;
    transition: var(--tr);
}

.btn-header:hover {
    background: var(--rojo);
    color: var(--blanco) !important;
}

.btn-header:hover::after {
    display: none;
}

.header-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(169,30,37,0.08);
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    transition: var(--tr);
    border: 1px solid rgba(169,30,37,0.2);
}

.header-whatsapp i {
    color: var(--rojo);
    font-size: 16px;
}

.header-whatsapp span {
    font-size: 11px;
    font-weight: 600;
    color: var(--rojo);
    letter-spacing: 1px;
}

.header-whatsapp:hover {
    background: var(--rojo);
    border-color: var(--rojo);
}

.header-whatsapp:hover i,
.header-whatsapp:hover span {
    color: var(--blanco);
}

.menu-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--rojo);
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 85vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background: var(--blanco-hueso);
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    max-width: 800px;
}

.hero-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 500;
    color: var(--blanco);
    line-height: 1.05;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: 480px;
    opacity: 0;
    transform: translateY(20px);
}

.swiper-slide-active .hero-tag {
    animation: fadeUp 0.8s 0.2s forwards;
}

.swiper-slide-active .hero-title {
    animation: fadeUp 0.9s 0.45s forwards;
}

.swiper-slide-active .hero-sub {
    animation: fadeUp 0.8s 0.7s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--rojo);
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--rojo);
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: var(--texto-oscuro);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 14px;
    color: var(--gris-texto);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--blanco);
    border: 1px solid var(--gris-medio);
    transition: var(--tr);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(169,30,37,0.08);
    border-color: var(--rojo-claro);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
}

.card-tag {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rojo);
    margin-bottom: 12px;
}

.card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--texto-oscuro);
}

.card p {
    font-size: 13px;
    color: var(--gris-texto);
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rojo);
    text-decoration: none;
    transition: var(--tr);
}

.btn-card:hover {
    gap: 15px;
    color: var(--rojo-oscuro);
}

/* ===== BOTONES ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blanco);
    background: var(--rojo);
    padding: 16px 38px;
    text-decoration: none;
    transition: var(--tr);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--rojo-oscuro);
    gap: 18px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rojo);
    background: transparent;
    padding: 15px 35px;
    text-decoration: none;
    transition: var(--tr);
    border: 1.5px solid var(--rojo);
}

.btn-outline:hover {
    background: var(--rojo);
    color: var(--blanco);
    gap: 18px;
}

/* ===== FOOTER UNIVERSAL ===== */
.universal-footer {
    background: var(--texto-oscuro);
    color: #fff;
    padding: 70px 56px 40px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo .ft-tag {
    font-size: 8px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.footer-logo .ft-main {
    font-family: var(--serif);
    font-size: 28px;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.footer-logo .ft-main span {
    color: var(--rojo);
}

.footer-logo .ft-sub {
    font-size: 8px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 20px;
}

.footer-logo .ft-p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 12px;
    font-weight: 300;
    color: #aaa;
    text-decoration: none;
    transition: var(--tr);
}

.footer-col ul a:hover {
    color: var(--rojo);
}

.footer-contacto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contacto-item i {
    color: var(--rojo);
    font-size: 14px;
    width: 20px;
}

.footer-contacto-item span,
.footer-contacto-item a {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}

.footer-contacto-item a:hover {
    color: var(--rojo);
}

.footer-social {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    transition: var(--tr);
}

.footer-social a:hover {
    color: var(--rojo);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ===== WHATSAPP FLOTANTE ===== */
.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 990;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.wa-floating:hover {
    transform: scale(1.08);
}

.wa-floating svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.wa-tip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 10px;
    padding: 8px 16px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.wa-floating:hover .wa-tip {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-container {
        padding: 15px 30px;
    }
    .nav-links-header {
        gap: 20px;
    }
    .hero-content {
        padding: 0 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links-header,
    .header-whatsapp {
        display: none;
    }
    .menu-mobile-btn {
        display: block;
    }
    .nav-links-header.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--blanco);
        padding: 30px;
        gap: 20px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--rojo);
    }
    .hero-section {
        height: 70vh;
    }
    .hero-title {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}