:root {
    --bg-black: #050505;
    --pure-black: #000000;
    --text-white: #f5f5f5;
    --text-muted: rgba(245, 245, 245, 0.7);
    --accent-red: #ff3b30;
    --accent-gold: #ffb347;
    --accent-purple: #7c3aed;
    --accent-green: #25D366;
    --card-gradient: linear-gradient(135deg, rgba(255, 59, 48, 0.18), rgba(124, 58, 237, 0.1));
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

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

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

.container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

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

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

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

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-slide-up { animation: slideUp 1s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--pure-black);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.hero .badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.6);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--accent-red);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.btn {
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-call {
    background: var(--accent-red);
    color: var(--text-white);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.35);
}

.btn-call:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 35px rgba(255, 59, 48, 0.45);
}

.btn-whatsapp {
    background: var(--accent-green);
    color: var(--text-white);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 35px rgba(37, 211, 102, 0.45);
}

.pulse-btn {
    animation: float 3s ease-in-out infinite;
}

.hero-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.hero-info i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.hero-fixed-phone {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Portrait */
.portrait {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.portrait-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.4), transparent 70%);
    filter: blur(0px);
}

.portrait-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 59, 48, 0.6);
    box-shadow: 0 20px 50px rgba(255, 59, 48, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.portrait-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.15);
}

.portrait-text {
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Messages */
.messages {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(255, 59, 48, 0.1), rgba(0, 0, 0, 0));
}

.message-card {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: 100%;
    transform: translateY(20px);
    transition: transform var(--transition), box-shadow var(--transition);
}

.message-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.message-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.message-card:hover {
    transform: translateY(0);
    box-shadow: 0 20px 45px rgba(255, 59, 48, 0.25);
}

/* Services */
.services {
    padding: 90px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.25), transparent 55%),
                radial-gradient(circle at bottom left, rgba(255, 59, 48, 0.25), transparent 60%);
    opacity: 0.9;
}

.services .container {
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    padding: 36px 32px 40px;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 59, 48, 0.35);
    box-shadow: 0 18px 45px rgba(153, 27, 27, 0.25);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: left;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.95), rgba(255, 179, 71, 0.55), rgba(124, 58, 237, 0.65));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -35%;
    right: -15%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.22), transparent 70%);
    transform: rotate(25deg);
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-14px) scale(1.01);
    box-shadow: 0 28px 60px rgba(255, 59, 48, 0.3);
}

.service-card:hover::after {
    opacity: 0.65;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.95), rgba(124, 58, 237, 0.95));
    box-shadow: 0 12px 30px rgba(255, 59, 48, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.05);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

.service-card p {
    color: rgba(255, 235, 230, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CTA */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(0, 0, 0, 0.9));
}

.cta-card {
    border-radius: 32px;
    padding: 50px 60px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 59, 48, 0.25);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
}

/* Gallery */
.gallery {
    padding: 90px 0;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(20px);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover {
    transform: translateY(0);
    box-shadow: 0 22px 55px rgba(255, 59, 48, 0.25);
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Payment */
.payment-section {
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.95);
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.payment-logo-item {
    padding: 18px 24px;
    min-width: 140px;
    height: 96px;
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 59, 48, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.payment-logo-item img {
    max-height: 58px;
    object-fit: contain;
}

.payment-logo-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.payment-logo-item:hover {
    box-shadow: 0 18px 40px rgba(255, 59, 48, 0.3);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 59, 48, 0.2);
    background: var(--pure-black);
}

.footer-logo-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 35px 0;
    background: var(--pure-black);
    border-top: 1px solid rgba(255, 59, 48, 0.2);
    border-bottom: 1px solid rgba(255, 59, 48, 0.2);
    box-sizing: border-box;
}

.footer-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer p {
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.05em;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 62px;
    height: 62px;
    bottom: 28px;
    right: 28px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55);
    color: #fff;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .portrait {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        max-width: none;
    }

    .hero-info p {
        justify-content: center;
    }

    .portrait {
        width: 260px;
        height: 260px;
    }

    .portrait-inner {
        width: 190px;
        height: 190px;
    }

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

    .service-card {
        padding: 28px;
    }

    .cta-card {
        padding: 40px 26px;
    }

    .payment-logos {
        gap: 20px;
    }

    .payment-logo-item {
        min-width: 120px;
        height: 80px;
        padding: 16px;
    }

    .footer-logo-wrapper {
        padding: 28px 0;
    }

    .footer-logo {
        max-width: 160px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
        font-size: 28px;
    }
}
