:root {
    --bg: #060407;
    --bg-2: #221932;
    --primary: #722548;
    --primary-2: #541533;
    --accent: #9882B9;
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --line: rgba(152, 130, 185, 0.16);
    --card: rgba(34, 25, 50, 0.68);
    --radius-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(114, 37, 72, 0.22), transparent 30%),
        radial-gradient(circle at top right, rgba(152, 130, 185, 0.14), transparent 28%),
        linear-gradient(180deg, #0b0710 0%, var(--bg) 100%);
    color: var(--text);
    font-family: "Segoe UI", system-ui, sans-serif;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px clamp(20px, 4vw, 60px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 18px rgba(152, 130, 185, 0.45);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    background: rgba(114, 37, 72, 0.26);
    border-color: var(--line);
}

/* HERO */
.contact-hero {
    text-align: center;
    padding: 70px 20px 40px;
    max-width: 850px;
    margin: auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.contact-hero p {
    color: var(--text-soft);
    line-height: 1.8;
}

/* CONTACT */
.contact-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    padding: 30px clamp(20px, 4vw, 60px) 80px;
    max-width: 1200px;
    margin: auto;
}

.contact-card,
.info-box,
.mini-steps {
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.contact-card {
    padding: 34px;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-desc {
    color: var(--text-soft);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(152, 130, 185, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    font: inherit;
    transition: 0.25s ease;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(152, 130, 185, 0.12);
}

option {
    background: #221932;
}

.primary-btn {
    width: 100%;
    padding: 15px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(152, 130, 185, 0.25);
}

/* INFO */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-box {
    padding: 26px;
}

.info-box h3 {
    margin-bottom: 14px;
}

.info-box p {
    color: var(--text-soft);
    line-height: 1.75;
}

.info-box a {
    display: block;
    padding: 13px 0;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(152, 130, 185, 0.12);
    transition: 0.25s ease;
}

.info-box a:hover {
    color: white;
    transform: translateX(6px);
}

.highlight {
    background:
        linear-gradient(145deg, rgba(114, 37, 72, 0.34), rgba(34, 25, 50, 0.72));
}

.mini-steps {
    padding: 22px;
}

.mini-steps div {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
}

.mini-steps span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    font-weight: 700;
}

.mini-steps p {
    color: var(--text-soft);
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 800;
    z-index: 999;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.whatsapp-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(152, 130, 185, 0.28);
    animation: pulse 1.9s infinite;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    filter: blur(8px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@keyframes pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.12);
        opacity: 0;
    }

    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .site-nav a {
        width: 100%;
        text-align: center;
    }
}

/* ================= FOOTER ================= */
.footer {
    position: relative;
    margin-top: 80px;
    padding: 60px clamp(20px, 4vw, 60px) 24px;
    background:
        linear-gradient(180deg, rgba(6, 4, 7, 0.96), rgba(34, 25, 50, 0.98));
    border-top: 1px solid rgba(152, 130, 185, 0.16);
    overflow: hidden;
}

/* GLOW BACKGROUND */
.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.22;
}

.footer-glow-1 {
    width: 260px;
    height: 260px;
    background: #722548;
    top: -80px;
    left: -80px;
}

.footer-glow-2 {
    width: 300px;
    height: 300px;
    background: #9882B9;
    right: -120px;
    bottom: -120px;
}

/* CONTENIDO */
.footer-container,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 40px;
    align-items: start;
}

/* BRAND */
.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand h3 {
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 36ch;
}

/* TITULOS */
.footer h4 {
    color: #9882B9;
    margin-bottom: 14px;
}

/* LINKS */
.footer-links a,
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.footer-links a:hover,
.contact-link:hover {
    color: #ffffff;
    transform: translateX(6px);
    filter: drop-shadow(0 0 10px rgba(152, 130, 185, 0.35));
}

/* ICONOS */
.icon-wrap {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(152, 130, 185, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.icon-wrap svg {
    width: 18px;
    height: 18px;
    fill: #9882B9;
    transition: transform 0.25s ease, fill 0.25s ease;
}

/* HOVER ICONOS */
.contact-link:hover .icon-wrap {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 18px rgba(152, 130, 185, 0.28);
    background: rgba(114, 37, 72, 0.22);
}

.contact-link:hover svg {
    fill: #ffffff;
    transform: rotate(-6deg) scale(1.04);
}

/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 34px;
    padding-top: 16px;
    text-align: center;
    border-top: 1px solid rgba(152, 130, 185, 0.10);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 50px 20px 24px;
    }

    .footer-brand p {
        max-width: none;
    }
}
