/**
 * G-CERTI - Contacto
 * Derivacion visual: certificacion, verificacion y academia.
 */

.gc-contact-strategy {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(520px, 72svh, 760px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: clamp(7rem, 12vw, 10rem) 1.25rem clamp(3rem, 6vw, 5rem);
    background:
        linear-gradient(90deg, rgba(5, 13, 28, .96) 0%, rgba(5, 13, 28, .78) 46%, rgba(5, 13, 28, .34) 100%),
        url('/assets/images/home/contact-office.webp') center / cover no-repeat;
}

.gc-contact-strategy::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: #a62126;
    z-index: -1;
}

.gc-contact-strategy__inner,
.gc-contact-paths__inner,
.gc-contact-main__inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.gc-contact-strategy__inner {
    position: relative;
    z-index: 1;
}

.gc-contact-strategy__eyebrow,
.gc-contact-form-panel__header p,
.gc-contact-side__label {
    margin: 0 0 .8rem;
    color: #a62126;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gc-contact-strategy__eyebrow {
    color: #fecaca;
}

.gc-contact-strategy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.45rem, 7.6vw, 5.8rem);
    line-height: .94;
    letter-spacing: 0;
    font-weight: 950;
    color: #fff;
    text-wrap: balance;
}

.gc-contact-strategy__lead {
    max-width: 620px;
    margin: 1.25rem 0 0;
    color: #dbe5f2;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.58;
}

.gc-contact-strategy__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.gc-contact-strategy__primary,
.gc-contact-strategy__secondary,
.gc-contact-assistant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .86rem 1.08rem;
    border-radius: .5rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.gc-contact-strategy__primary {
    background: #a62126;
    color: #fff;
}

.gc-contact-strategy__secondary {
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.gc-contact-strategy .gc-contact-strategy__secondary,
.gc-contact-strategy .gc-contact-strategy__secondary span,
.gc-contact-strategy .gc-contact-strategy__secondary svg {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    stroke: #fff !important;
}

.gc-contact-strategy__primary:hover,
.gc-contact-strategy__secondary:hover,
.gc-contact-assistant:hover,
.gc-contact-path:hover {
    transform: translateY(-2px);
}

.gc-contact-strategy__proof {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin: clamp(1.8rem, 4vw, 2.8rem) 0 0;
}

.gc-contact-strategy__proof div {
    padding: .85rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.gc-contact-strategy__proof dt {
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
}

.gc-contact-strategy__proof dd {
    margin: .18rem 0 0;
    color: #cbd5e1;
    font-size: .84rem;
    line-height: 1.4;
}

.gc-contact-paths {
    background: #f8fafc;
    padding: clamp(1.4rem, 4vw, 2.5rem) 1.25rem 0;
}

.gc-contact-paths__inner {
    display: grid;
    gap: .9rem;
}

.gc-contact-path {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .95rem;
    align-items: start;
    padding: 1.05rem;
    border: 1px solid #dbe4ef;
    border-radius: .75rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.gc-contact-path:hover {
    border-color: #cbd5e1;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .12);
}

.gc-contact-path__icon {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: .6rem;
    background: #fff1f2;
    color: #a62126;
}

.gc-contact-path h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 900;
}

.gc-contact-path p {
    margin: .25rem 0 0;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.48;
}

.gc-contact-path span {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    margin-top: .65rem;
    color: #a62126;
    font-size: .86rem;
    font-weight: 900;
}

.gc-contact-main {
    background: #f8fafc;
    padding: clamp(2rem, 6vw, 5rem) 1.25rem;
}

.gc-contact-main__inner {
    display: grid;
    gap: 1.2rem;
}

.gc-contact-form-panel,
.gc-contact-side__block,
.gc-contact-side__note {
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: .75rem;
}

.gc-contact-form-panel {
    padding: clamp(1.1rem, 4vw, 2rem);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.gc-contact-form-panel__header {
    margin-bottom: 1.25rem;
}

.gc-contact-context {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 100%;
    margin-top: .9rem;
    padding: .55rem .7rem;
    border: 1px solid #fecaca;
    border-radius: .5rem;
    background: #fff5f5;
    color: #991b1b;
    font-size: .86rem;
    font-weight: 850;
}

.gc-contact-context span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gc-contact-form-panel__header h2,
.gc-contact-side__block h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.28rem, 3vw, 1.9rem);
    line-height: 1.16;
    font-weight: 950;
    text-wrap: balance;
}

.gc-contact-alert {
    margin-bottom: 1rem;
}

.gc-contact-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.gc-contact-side__block {
    padding: 1.1rem;
}

.gc-contact-side__block--process {
    background: #0b1f36;
    border-color: #0b1f36;
}

.gc-contact-side__block--process .gc-contact-side__label {
    color: #fecaca;
}

.gc-contact-process {
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-contact-process li {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: .75rem;
    align-items: center;
    color: #fff;
}

.gc-contact-process span {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fecaca;
    font-size: .72rem;
    font-weight: 900;
}

.gc-contact-process strong {
    font-size: .92rem;
    line-height: 1.35;
}

.gc-contact-channel {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 44px;
    color: #334155;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    padding: .85rem 0;
    font-weight: 750;
}

.gc-contact-channel:first-of-type {
    border-top: 0;
}

.gc-contact-channel svg {
    color: #a62126;
    flex: 0 0 auto;
}

.gc-contact-side__block--dark {
    background: #111827;
    border-color: #111827;
    color: #d1d5db;
}

.gc-contact-side__block--dark h2 {
    color: #fff;
}

.gc-contact-side__block--dark .gc-contact-side__label {
    color: #F87171;
}

.gc-contact-side__block--dark p:not(.gc-contact-side__label) {
    margin: .65rem 0 1rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.gc-contact-assistant {
    width: 100%;
    border: 0;
    background: #a62126;
    color: #fff;
    cursor: pointer;
}

.gc-contact-side__note {
    padding: 1rem;
    color: #475569;
    font-size: .9rem;
    line-height: 1.52;
}

@media (min-width: 760px) {
    .gc-contact-paths__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gc-contact-main__inner {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }
}

@media (max-width: 760px) {
    .gc-contact-strategy {
        min-height: auto;
        padding-top: 7rem;
        background-position: 64% center;
    }

    .gc-contact-strategy__proof {
        grid-template-columns: 1fr;
    }

    .gc-contact-strategy__proof div {
        padding-inline: 0;
    }
}

@media (max-width: 520px) {
    .gc-contact-strategy__actions {
        flex-direction: column;
    }

    .gc-contact-strategy__primary,
    .gc-contact-strategy__secondary {
        width: 100%;
    }

    .gc-contact-path {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-contact-strategy__primary,
    .gc-contact-strategy__secondary,
    .gc-contact-assistant,
    .gc-contact-path {
        transition: none;
    }
}

body.gc-contact-dark-surface {
    background:
        radial-gradient(circle at 80% 8%, rgba(180, 35, 43, 0.16), transparent 30rem),
        linear-gradient(180deg, #050d19 0%, #071523 48%, #050d19 100%) !important;
    color: #d7e1ec !important;
}

body.gc-contact-dark-surface .gc-contact-paths,
body.gc-contact-dark-surface .gc-contact-main {
    background:
        linear-gradient(180deg, #071523 0%, #050d19 100%) !important;
}

body.gc-contact-dark-surface .gc-contact-path,
body.gc-contact-dark-surface .gc-contact-form-panel,
body.gc-contact-dark-surface .gc-contact-side__block,
body.gc-contact-dark-surface .gc-contact-side__note {
    border-color: rgba(219, 228, 239, 0.14) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #d7e1ec !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

body.gc-contact-dark-surface .gc-contact-path:hover,
body.gc-contact-dark-surface .gc-contact-form-panel:hover,
body.gc-contact-dark-surface .gc-contact-side__block:hover {
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.075) !important;
}

body.gc-contact-dark-surface .gc-contact-path h2,
body.gc-contact-dark-surface .gc-contact-form-panel__header h2,
body.gc-contact-dark-surface .gc-contact-side__block h2,
body.gc-contact-dark-surface .gc-contact-process strong,
body.gc-contact-dark-surface label,
body.gc-contact-dark-surface .text-slate-900,
body.gc-contact-dark-surface .text-slate-800,
body.gc-contact-dark-surface .text-slate-700 {
    color: #f8fafc !important;
}

body.gc-contact-dark-surface .gc-contact-path p,
body.gc-contact-dark-surface .gc-contact-channel,
body.gc-contact-dark-surface .gc-contact-side__note,
body.gc-contact-dark-surface .text-slate-600,
body.gc-contact-dark-surface .text-slate-500 {
    color: #a9b7ca !important;
}

body.gc-contact-dark-surface .gc-contact-path__icon {
    background: rgba(180, 35, 43, 0.14) !important;
    color: #ff8b91 !important;
}

body.gc-contact-dark-surface .gc-contact-context {
    border-color: rgba(248, 113, 113, 0.32) !important;
    background: rgba(180, 35, 43, 0.12) !important;
    color: #fecaca !important;
}

body.gc-contact-dark-surface input,
body.gc-contact-dark-surface select,
body.gc-contact-dark-surface textarea {
    border-color: rgba(219, 228, 239, 0.18) !important;
    background: rgba(5, 13, 25, 0.72) !important;
    color: #f8fafc !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.gc-contact-dark-surface input::placeholder,
body.gc-contact-dark-surface textarea::placeholder {
    color: #7f8da0 !important;
}

body.gc-contact-dark-surface select option {
    background: #071523;
    color: #f8fafc;
}

body.gc-contact-dark-surface .gc-contact-channel {
    border-top-color: rgba(219, 228, 239, 0.14) !important;
}

body.gc-contact-dark-surface .gc-contact-side__block--process,
body.gc-contact-dark-surface .gc-contact-side__block--dark {
    background:
        linear-gradient(135deg, rgba(180, 35, 43, 0.16), rgba(7, 21, 35, 0.92)) !important;
}

body.gc-contact-dark-surface .gc-next {
    background:
        radial-gradient(circle at 12% 0%, rgba(180, 35, 43, 0.12), transparent 26rem),
        linear-gradient(180deg, #071523 0%, #050d19 100%) !important;
    border-color: rgba(219, 228, 239, 0.12) !important;
}

body.gc-contact-dark-surface .gc-next h2,
body.gc-contact-dark-surface .gc-next strong,
body.gc-contact-dark-surface .gc-next__link-label {
    color: #f8fafc !important;
}

body.gc-contact-dark-surface .gc-next p,
body.gc-contact-dark-surface .gc-next small {
    color: #a9b7ca !important;
}

body.gc-contact-dark-surface .gc-next__link {
    border-color: rgba(219, 228, 239, 0.16) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #f8fafc !important;
}
