* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-secondary-blue);
    color: var(--color-white);
    min-height: 100vh;
    margin: 0;
}

/* ── Header ── */
.contacto-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(30, 28, 94, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 72px;
    display: flex;
    align-items: center;
}

.contacto-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contacto-logo img {
    height: 32px;
    width: auto;
}

.contacto-header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.lang-switcher--contact {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switcher--contact .lang-active {
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-switcher--contact .lang-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.lang-switcher--contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
}

.contacto-back {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.contacto-back:hover {
    color: var(--color-secondary-red);
}

.contacto-back svg {
    transition: transform 0.2s;
}

.contacto-back:hover svg {
    transform: translateX(-3px);
}

/* ── Layout ── */
.contacto-page {
    min-height: 100vh;
    padding: 72px 0 0;
    display: flex;
    flex-direction: column;
}

.contacto-hero {
    background: linear-gradient(150deg, var(--color-secondary-blue) 0%, #13124A 60%, #0D0C35 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind the title */
.contacto-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(102, 57, 252, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.contacto-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-secondary-red);
    background: rgba(255, 113, 119, 0.1);
    border: 1px solid rgba(255, 113, 119, 0.25);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 1.25rem;
    position: relative;
}

.contacto-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 auto 1rem;
    max-width: 680px;
    position: relative;
}

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

.contacto-hero p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
    position: relative;
}

/* ── Form section ── */
.contacto-body {
    flex: 1;
    background: #F7F6FF;
    padding: 4rem 2rem 5rem;
}

.contacto-body-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

/* ── Left: info column ── */
.contacto-info {
    padding-top: 0.5rem;
}

.contacto-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    margin-bottom: 0.75rem;
}

.contacto-info p {
    font-size: 0.95rem;
    color: #5A5880;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contacto-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #3D3B6B;
    font-weight: 500;
    line-height: 1.5;
}

.contacto-bullets li .bullet-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(102, 57, 252, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.contacto-divider {
    height: 1px;
    background: rgba(102, 57, 252, 0.12);
    margin: 2rem 0;
}

.contacto-info-footer {
    font-size: 0.8rem;
    color: #9A98B8;
    line-height: 1.6;
}

.contacto-info-footer a {
    color: var(--color-primary);
    text-decoration: none;
}

.contacto-info-footer a:hover {
    text-decoration: underline;
}

/* ── Right: HubSpot form card ── */
.contacto-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(30, 28, 94, 0.1);
    border: 1px solid rgba(102, 57, 252, 0.07);
}

.contacto-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    margin-bottom: 0.4rem;
}

.contacto-form-card p.form-sub {
    font-size: 0.875rem;
    color: #7A78A0;
    margin-bottom: 1.75rem;
}

/* HubSpot form overrides */
.hs-form-frame {
    width: 100%;
}

/* ── Footer ── */
.contacto-footer {
    background: var(--color-secondary-blue);
    padding: 1.5rem 2rem;
    text-align: center;
}

.contacto-footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.contacto-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.contacto-footer a:hover {
    color: var(--color-secondary-red);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contacto-body-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contacto-hero {
        padding: 4rem 1.5rem 3rem;
    }

    .contacto-form-card {
        padding: 1.75rem;
    }
}
