/* ================== Contacto ================== */

/* ---------- Hero ---------- */
.ct-hero {
    position: relative;
    isolation: isolate;
    padding: 72px 0 48px;
    background: linear-gradient(180deg, #0b0d12 0%, var(--bg) 100%);
    overflow: hidden;
}

/* (recomendado) para que el kicker quede como en Servicios/Portafolio */
.ct-hero .kicker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: .35rem;
    color: var(--primary);
}

.ct-hero__bg {
    position: absolute;
    inset: -25% -10% auto -10%;
    height: 65%;
    background:
        radial-gradient(50% 50% at 20% 10%, rgba(124, 92, 255, .35), transparent 55%),
        radial-gradient(40% 40% at 80% 0%, rgba(0, 186, 255, .25), transparent 60%);
    filter: blur(32px);
    z-index: 0;
    pointer-events: none;
}

.ct-hero__inner {
    position: relative;
    z-index: 1;
}

.ct-hero h1 {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 .6rem;
}

.ct-hero .lead {
    max-width: 65ch;
    color: #cdd4df;
    margin: 0 0 1rem;
}

.ct-hero .actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

/* ---------- Section ---------- */
.ct-section {
    padding: 56px 0 84px;
    background: var(--bg);
}

/* Layout 2 columnas */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 26px;
    align-items: start;
}

@media (max-width: 980px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cards ---------- */
.ct-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: var(--surface);
    overflow: hidden;
}

.ct-card h2 {
    margin: 0 0 .35rem;
    font-size: clamp(1.2rem, 3.8vw, 1.6rem);
}

.ct-muted {
    margin: 0;
    color: #cdd4df;
}

.ct-card--info {
    padding: 22px;
}

.ct-card--form {
    padding: 22px;
    /* “se distingue” del fondo sin perder el modo dark */
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border-color: rgba(255, 255, 255, .10);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}

/* ---------- Info list ---------- */
.ct-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.ct-label {
    display: block;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.ct-value {
    color: var(--text);
    opacity: .95;
}

.ct-link {
    color: var(--text);
    opacity: .95;
    text-decoration: none;
}

.ct-link:hover {
    color: var(--primary);
}

.ct-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 18px 0;
}

.ct-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.ct-wa:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.ct-hint {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .95rem;
}

/* ---------- Form ---------- */
.ct-form {
    margin-top: 14px;
    display: grid;
    gap: 14px;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 720px) {
    .ct-row {
        grid-template-columns: 1fr;
    }
}

.ct-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    opacity: .95;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .18);
    color: var(--text);
    padding: .85rem .9rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ct-field textarea {
    resize: vertical;
    min-height: 140px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(233, 237, 241, .55);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: rgba(54, 178, 245, .55);
    box-shadow: 0 0 0 4px rgba(54, 178, 245, .12);
    background: rgba(0, 0, 0, .24);
}

.ct-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ct-privacy {
    color: var(--muted);
    font-size: .95rem;
}