/* ═══ Contact — premium consultation & lead generation ═══ */

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

.cp-animate > * {
    animation: cpFadeUp .85s cubic-bezier(.22, 1, .36, 1) both;
}

.cp-animate > *:nth-child(1) { animation-delay: .08s; }
.cp-animate > *:nth-child(2) { animation-delay: .16s; }
.cp-animate > *:nth-child(3) { animation-delay: .24s; }
.cp-animate > *:nth-child(4) { animation-delay: .32s; }
.cp-animate > *:nth-child(5) { animation-delay: .4s; }
.cp-animate > *:nth-child(6) { animation-delay: .48s; }

.cp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
}

.cp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cp-divider {
    width: 3rem;
    height: 2px;
    background: var(--brand-red);
    margin: 1.25rem 0 1.75rem;
}

.cp-section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.cp-section-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--heading);
}

/* ── Contact methods ── */
.cp-methods {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-bottom: 1rem;
}

.cp-methods__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cp-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .625rem;
    padding: 2.25rem 1.75rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(7, 27, 59, .08);
    box-shadow: 0 16px 44px rgba(7, 27, 59, .1);
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.cp-method:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(7, 27, 59, .14);
    border-color: rgba(7, 27, 59, .14);
}

.cp-method--call:hover { border-color: rgba(7, 27, 59, .2); }
.cp-method--whatsapp:hover { border-color: rgba(37, 211, 102, .35); }
.cp-method--email:hover { border-color: rgba(59, 130, 246, .3); }

.cp-method__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #071B3B 0%, #0e2d5e 100%);
    box-shadow: 0 10px 24px rgba(7, 27, 59, .18);
    color: var(--white);
    font-size: 1.375rem;
    line-height: 1;
    margin-bottom: .375rem;
}

.cp-method--call .cp-method__icon::before { content: '☎'; font-size: 1.25rem; }
.cp-method--whatsapp .cp-method__icon::before { content: '✆'; }
.cp-method--email .cp-method__icon::before { content: '✉'; font-size: 1.125rem; }

.cp-method__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cp-method__detail {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--brand-blue);
    word-break: break-word;
}

.cp-method__support {
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ── Consultation ── */
.cp-consult {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--warm);
}

.cp-consult__layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

.cp-consult__intro {
    margin: 0 0 1.75rem;
    max-width: 32rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text);
}

.cp-consult__benefits {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.cp-consult__benefits li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--heading);
}

.cp-consult__benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: 700;
    font-size: .875rem;
}

.cp-details {
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(7, 27, 59, .08);
    box-shadow: 0 12px 32px rgba(7, 27, 59, .06);
}

.cp-details__title {
    margin: 0 0 1.25rem;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
}

.cp-details__list {
    margin: 0 0 1.5rem;
    display: grid;
    gap: 1rem;
}

.cp-details__list div {
    display: grid;
    gap: .25rem;
}

.cp-details__list dt {
    margin: 0;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cp-details__list dd {
    margin: 0;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--heading);
}

.cp-details__list a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 700;
}

.cp-details__list a:hover {
    text-decoration: underline;
}

/* ── Premium form ── */
.contact-page .survey-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(7, 27, 59, .08);
    box-shadow: 0 24px 56px rgba(7, 27, 59, .12);
}

.contact-page .survey-card__head {
    padding: 2rem 2.25rem 1.5rem;
    background: #071B3B;
    border-bottom: none;
}

.contact-page .survey-card__head h3 {
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-on-dark);
}

.contact-page .survey-card__head p {
    margin: 0;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .78);
}

.contact-page .survey-card__success {
    margin: 1.5rem 2.25rem 0;
    border-radius: 14px;
}

.contact-page .survey-form {
    padding: 2rem 2.25rem 2.25rem;
    gap: 1.375rem;
}

.contact-page .survey-form__field label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.contact-page .survey-form__field input,
.contact-page .survey-form__field select {
    padding: 1rem 1.125rem;
    font-size: 1.0625rem;
    border: 1px solid rgba(7, 27, 59, .12);
    border-radius: 14px;
    background: var(--warm);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
}

.contact-page .survey-form__field input:hover,
.contact-page .survey-form__field select:hover {
    border-color: rgba(7, 27, 59, .2);
}

.contact-page .survey-form__field input:focus,
.contact-page .survey-form__field select:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
    transform: translateY(-1px);
}

.contact-page .survey-form .btn--cta {
    margin-top: .5rem;
    padding: 1.125rem 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-page .survey-form .btn--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, .35);
}

/* ── Why choose ── */
.cp-why {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--white);
}

.cp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cp-why__card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: var(--warm);
    border: 1px solid rgba(7, 27, 59, .06);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.cp-why__card:hover {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(7, 27, 59, .08);
}

.cp-why__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.125rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #071B3B 0%, #0e2d5e 100%);
    box-shadow: 0 8px 20px rgba(7, 27, 59, .16);
    color: var(--white);
    font-size: 1.125rem;
}

.cp-why__icon--experience::before { content: '30+'; font-size: .6875rem; font-weight: 800; letter-spacing: -.02em; }
.cp-why__icon--managed::before { content: '☰'; }
.cp-why__icon--planning::before { content: '§'; }
.cp-why__icon--guarantee::before { content: '5'; font-weight: 800; }

.cp-why__card h3 {
    margin: 0 0 .625rem;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading);
}

.cp-why__card p {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.65;
    font-weight: 400;
    color: var(--text-muted);
}

/* ── Map ── */
.cp-map {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--warm);
}

.cp-map__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

.cp-map__embed {
    border-radius: 22px;
    overflow: hidden;
    background: #071B3B;
    box-shadow: 0 20px 52px rgba(7, 27, 59, .14);
    min-height: 420px;
}

.cp-map__embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.cp-map__company {
    margin: 0 0 1rem;
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--heading);
}

.cp-map__address {
    margin: 0 0 1.5rem;
    font-style: normal;
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text);
}

.cp-map__contact {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: .625rem;
}

.cp-map__contact a {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
}

.cp-map__contact a:hover {
    text-decoration: underline;
}

.cp-map__hours strong {
    display: block;
    margin-bottom: .5rem;
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cp-map__hours p {
    margin: 0 0 .375rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--heading);
}

.cp-map__note {
    margin-top: .75rem !important;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: rgba(7, 27, 59, .06);
    font-size: .875rem !important;
    font-weight: 600 !important;
    color: var(--heading) !important;
}

/* ── Testimonials strip ── */
.cp-reviews {
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(4rem, 6vw, 5rem);
    background: #071B3B;
    color: var(--text-on-dark);
}

.cp-reviews__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cp-review {
    margin: 0;
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.cp-review:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.cp-review__stars {
    display: block;
    margin-bottom: .875rem;
    color: var(--brand-red);
    font-size: .8125rem;
    letter-spacing: 2px;
}

.cp-review p {
    margin: 0 0 1.125rem;
    font-size: .9375rem;
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, .88);
}

.cp-review footer strong {
    display: block;
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 700;
    color: var(--white);
}

.cp-review footer span {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .6);
}

/* ── Footer ── */
body:has(.contact-page) .site-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

body:has(.contact-page) .site-footer__main {
    padding: clamp(3rem, 5vw, 4rem) min(32px, 4vw) clamp(2.5rem, 4vw, 3.25rem);
}

body:has(.contact-page) .site-footer__logo img {
    height: 104px;
}

body:has(.contact-page) .site-footer__desc {
    font-size: .9375rem;
    line-height: 1.7;
    max-width: 24rem;
}

body:has(.contact-page) .site-footer__contact-list a,
body:has(.contact-page) .site-footer__links a {
    transition: color .2s ease, padding-left .2s ease;
}

body:has(.contact-page) .site-footer__links a:hover {
    padding-left: .25rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cp-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-consult__layout,
    .cp-map__layout {
        grid-template-columns: 1fr;
    }

    .cp-reviews__strip {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .contact-page .cp-hero,
    .contact-page .process-strip,
    .contact-page .cp-methods,
    .contact-page .cp-consult__copy,
    .contact-page .cp-why,
    .contact-page .cp-map,
    .contact-page .cp-reviews {
        display: none;
    }

    .contact-page .cp-consult {
        padding-block: var(--pad-m);
    }

    .contact-page .cp-consult__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body:has(.contact-page) .mobile-dock {
        display: none;
    }

    body:has(.contact-page).has-mobile-dock {
        padding-bottom: 0;
    }

    .cp-methods {
        margin-top: 0;
    }

    .cp-methods__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

    .cp-why__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

    .contact-page .survey-form,
    .contact-page .survey-card__head {
        padding-inline: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-animate > *,
    .cp-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cp-hero__photo,
    .cp-method:hover,
    .cp-why__card:hover,
    .cp-review:hover,
    .contact-page .survey-form .btn--cta:hover,
    .contact-page .survey-form__field input:focus {
        transform: none !important;
    }
}
