/* Contact — uses gv-page-shell from pages-shared.css */

/* Split hero */
.ct-hero {
    position: relative;
    display: grid;
    gap: 2rem;
    align-items: center;
    text-align: start;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 900px) {
    .ct-hero { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}

.ct-hero__bg {
    position: absolute;
    inset: -1rem -0.5rem auto;
    height: 22rem;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 65%),
        radial-gradient(ellipse 40% 40% at 15% 40%, rgba(6, 182, 212, 0.1), transparent 60%);
}
.dark .ct-hero__bg {
    background:
        radial-gradient(ellipse 65% 55% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 65%),
        radial-gradient(ellipse 40% 40% at 15% 40%, rgba(6, 182, 212, 0.14), transparent 60%);
}

.ct-hero__inner { position: relative; z-index: 1; }

.ct-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.18);
}
.dark .ct-tag { color: #a78bfa; background: rgba(139, 92, 246, 0.15); }

.ct-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.dark .ct-hero__title { color: #f8fafc; }

.ct-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ct-hero__desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 34rem;
    margin: 0 0 1.5rem;
}
.dark .ct-hero__desc { color: #94a3b8; }

.ct-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(139, 92, 246, 0.1);
}
.dark .ct-hero__badge {
    color: #94a3b8;
    background: rgba(22, 22, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}
.ct-hero__badge i { color: #10b981; }

/* Contact channels */
.ct-channels {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 640px) { .ct-channels { grid-template-columns: repeat(3, 1fr); } }

.ct-channel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.ct-channel::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ct-channel:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.12);
}
.ct-channel:hover::before { opacity: 1; }

.ct-channel--email::before { background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.ct-channel--whatsapp::before { background: linear-gradient(90deg, #25D366, #128C7E); }
.ct-channel--hours::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }

.ct-channel__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.ct-channel--email .ct-channel__icon { color: #7c3aed; background: rgba(139, 92, 246, 0.12); }
.ct-channel--whatsapp .ct-channel__icon { color: #128C7E; background: rgba(37, 211, 102, 0.12); }
.ct-channel--hours .ct-channel__icon { color: #0891b2; background: rgba(6, 182, 212, 0.12); }

.ct-channel__label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}
.dark .ct-channel__label { color: #94a3b8; }

.ct-channel__value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}
.dark .ct-channel__value { color: #f8fafc; }

.ct-channel__hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: auto;
}
.dark .ct-channel__hint { color: #94a3b8; }

.ct-channel--whatsapp:hover { border-color: rgba(37, 211, 102, 0.35); }
.ct-channel--email:hover { border-color: rgba(139, 92, 246, 0.35); }

/* Main grid */
.ct-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .ct-grid { grid-template-columns: 1.35fr 0.65fr; gap: 2.5rem; }
}

/* Form panel */
.ct-form-panel {
    padding: clamp(1.5rem, 3vw, 2rem);
}
.dark .ct-form-panel {
    border-color: rgba(255, 255, 255, 0.08);
}

.ct-form-panel__head {
    margin-bottom: 1.5rem;
}
.ct-form-panel__head h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.dark .ct-form-panel__head h2 { color: #f8fafc; }
.ct-form-panel__head p {
    font-size: 0.88rem;
    color: #64748b;
}
.dark .ct-form-panel__head p { color: #94a3b8; }

/* Topic chips */
.ct-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}
.ct-topic {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(139, 92, 246, 0.06);
    color: #7c3aed;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.dark .ct-topic { color: #a78bfa; }
.ct-topic:hover,
.ct-topic.is-active {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.ct-field { margin-bottom: 1rem; }
.ct-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
}
.dark .ct-field label { color: #e2e8f0; }

.ct-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.92rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dark .ct-input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}
.ct-input:focus {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}
.ct-input--textarea { resize: vertical; min-height: 8rem; }

.ct-row {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) { .ct-row { grid-template-columns: 1fr 1fr; } }

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 0.9rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.45);
}
.ct-submit.is-loading { opacity: 0.75; pointer-events: none; }

/* Sidebar */
.ct-aside { display: grid; gap: 1rem; }

.ct-card {
    padding: 1.35rem;
}
.dark .ct-card {
    border-color: rgba(255, 255, 255, 0.08);
}

.ct-card h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.85rem;
}
.dark .ct-card h3 { color: #f8fafc; }
.ct-card h3 i { color: #8b5cf6; }

.ct-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}
.ct-faq-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}
.dark .ct-faq-list li { color: #94a3b8; }
.ct-faq-list i { color: #10b981; margin-top: 0.15rem; flex-shrink: 0; }

.ct-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 0.9rem;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ct-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.ct-faq-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}
.dark .ct-faq-link { color: #a78bfa; }
.ct-faq-link:hover {
    background: rgba(139, 92, 246, 0.14);
    transform: translateX(4px);
}
[dir="rtl"] .ct-faq-link:hover { transform: translateX(-4px); }

@media (max-width: 479px) {
    .ct-channels { grid-template-columns: 1fr; }
}

.ct-card__text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.dark .ct-card__text { color: #94a3b8; }

/* Chat mockup visual */
.ct-mockup {
    position: relative;
    display: none;
    min-height: 18rem;
}
@media (min-width: 900px) { .ct-mockup { display: block; } }

.ct-mockup__phone {
    position: relative;
    max-width: 18rem;
    margin-inline: auto;
    padding: 1rem;
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.65));
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.18);
    backdrop-filter: blur(16px);
}
.dark .ct-mockup__phone {
    background: linear-gradient(160deg, rgba(30,30,50,0.95), rgba(18,18,36,0.9));
    border-color: rgba(255,255,255,0.08);
}

.ct-mockup__header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    font-size: 0.82rem;
    font-weight: 800;
    color: #128C7E;
}
.ct-mockup__header i { font-size: 1.25rem; }

.ct-mockup__bubble {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.78rem;
    line-height: 1.55;
    margin-bottom: 0.65rem;
    animation: ct-bubble-in 0.6s ease both;
}
.ct-mockup__bubble--in {
    background: rgba(139, 92, 246, 0.1);
    color: #334155;
    border-end-start-radius: 0.25rem;
}
.dark .ct-mockup__bubble--in { color: #e2e8f0; }
.ct-mockup__bubble--out {
    margin-inline-start: auto;
    background: #DCFCE7;
    color: #166534;
    border-end-end-radius: 0.25rem;
    animation-delay: 0.4s;
}
.ct-mockup__bubble--in2 {
    background: rgba(139, 92, 246, 0.1);
    color: #334155;
    border-end-start-radius: 0.25rem;
    animation-delay: 0.9s;
}
.dark .ct-mockup__bubble--in2 { color: #e2e8f0; }

.ct-mockup__typing {
    display: flex;
    gap: 0.25rem;
    padding: 0.55rem 0.75rem;
    width: fit-content;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.08);
    animation: ct-bubble-in 0.5s ease 1.4s both;
}
.ct-mockup__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
    animation: ct-dot 1.2s ease infinite;
}
.ct-mockup__typing span:nth-child(2) { animation-delay: 0.15s; }
.ct-mockup__typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ct-bubble-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ct-dot {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .ct-channel:hover, .ct-submit:hover, .ct-wa-btn:hover { transform: none; }
    .ct-mockup__bubble, .ct-mockup__typing, .ct-mockup__typing span { animation: none; }
}
