/* ─────────────────────────────────────────────────────────────────────────────
   Reach Us page — Components/Pages/Public/Contact.razor. Scoped under .nf-cp-*.
   Navy + orange site theme (nikalas-theme.css); hero shell from who-we-are-page.css.
   ───────────────────────────────────────────────────────────────────────────── */

.nf-cp-hero__bg { background-image: url("/_content/RioCommerce.Web.Storefront/images/nikalas/anubhav/hero.jpg"); background-position: 70% 35%; }

.nf-cp { padding-top: clamp(28px, 3vw, 44px); }
.nf-cp::before,
.nf-cp::after {                       /* soft peach shapes in the bottom corners */
    content: "";
    position: absolute;
    bottom: -80px;
    z-index: -1;
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 163, 58, .22) 0%, rgba(255, 163, 58, 0) 70%);
}
.nf-cp::before { left: -60px; }
.nf-cp::after { right: -60px; }

.nf-cp__inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
    align-items: start;
    gap: var(--nfd-gap);
}

/* ── Contact details ───────────────────────────────────────────────────────── */

.rioc-app ul.nf-cp-info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.nf-cp-info__item { display: flex; align-items: flex-start; gap: 18px; }
.nf-cp-info__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--nfd-orange);
    background: var(--nfd-orange-tint);
    box-shadow: 0 0 0 6px rgba(255, 121, 0, .06);
    transition: color .3s ease, background-color .3s ease, scale .3s var(--nfd-ease);
}
.nf-cp-info__icon svg { width: 28px; height: 28px; }
.nf-cp-info__item:hover .nf-cp-info__icon { color: #fff; background: var(--nfd-orange); scale: 1.06; }
.rioc-app h2.nf-cp-info__title { margin: 4px 0 4px; font-size: var(--nfd-fs-h3); font-weight: 700; line-height: 1.2; color: var(--nfd-navy); text-transform: none; }
.nf-cp-info__text {
    display: block;
    font-size: var(--nfd-fs-body);
    font-style: normal;
    line-height: 1.6;
    color: var(--nfd-text);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.nf-cp-info__link { transition: color .2s ease; }
.nf-cp-info__link:hover { color: var(--nfd-orange-text); text-decoration: underline; }

.nf-cp-follow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--nfd-line);
}
.rioc-app h2.nf-cp-follow__title { margin: 0; font-size: var(--nfd-fs-h3); font-weight: 700; color: var(--nfd-navy); text-transform: none; }
.nf-cp-follow__links { display: flex; gap: 12px; }
.nf-cp-follow__links a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--nfd-navy);
    transition: background-color .3s ease, translate .3s var(--nfd-ease);
}
.nf-cp-follow__links svg { width: 22px; height: 22px; }
.nf-cp-follow__links a:hover { background: var(--nfd-orange); translate: 0 -3px; }
.nf-cp a:focus-visible { outline: 2px solid var(--nfd-orange); outline-offset: 3px; border-radius: 6px; }

/* ── Form card ─────────────────────────────────────────────────────────────── */

.nf-cp-form {
    padding: clamp(22px, 2.6vw, 34px);
    border: 1px solid var(--nfd-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 54px -30px rgba(16, 47, 101, .4);
}
.nf-cp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.nf-cp-field { display: flex; flex-direction: column; min-width: 0; }
.nf-cp-field--full { grid-column: 1 / -1; }
.nf-cp-field label { margin-bottom: 8px; font-size: 15.5px; font-weight: 700; color: var(--nfd-navy); }
.nf-cp-req { color: var(--nfd-orange-text); }
.rioc-app .nf-cp-field input,
.rioc-app .nf-cp-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: #EEF2F8;
    color: var(--nfd-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.rioc-app .nf-cp-field textarea { min-height: 120px; resize: vertical; }
.nf-cp-field input::placeholder,
.nf-cp-field textarea::placeholder { color: #7A879B; text-transform: none; }
.rioc-app .nf-cp-field input:hover,
.rioc-app .nf-cp-field textarea:hover { background: #E7ECF4; }
.rioc-app .nf-cp-field input:focus,
.rioc-app .nf-cp-field textarea:focus {
    outline: none;
    border-color: var(--nfd-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 121, 0, .15);
}
.rioc-app .nf-cp-field [aria-invalid="true"] { border-color: #D92D20; background: #FFF6F5; }
.nf-cp-err { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: #B42318; text-transform: none; }
.nf-cp-field label, .nf-cp-info__text, .rioc-app .nf-cp-field input, .rioc-app .nf-cp-field textarea { text-transform: none; }
.rioc-app p.nf-cp-alert { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: #FEF3F2; color: #B42318; font-size: 14.5px; text-transform: none; }

.nf-cp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 999px;
    background: var(--nfd-btn-bg);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 26px -12px rgba(212, 94, 0, .7);
    transition: translate .3s var(--nfd-ease), box-shadow .3s var(--nfd-ease), opacity .2s ease;
}
.nf-cp-btn:hover:not(:disabled) { translate: 0 -2px; box-shadow: 0 18px 30px -12px rgba(212, 94, 0, .8); }
.nf-cp-btn:disabled { opacity: .7; cursor: progress; }
.nf-cp-btn:focus-visible { outline: 2px solid var(--nfd-navy); outline-offset: 3px; }
.nf-cp-btn--ghost { width: auto; padding: 0 28px; background: none; color: var(--nfd-navy); border: 2px solid var(--nfd-line); box-shadow: none; text-transform: none; letter-spacing: 0; }
.nf-cp-btn--ghost:hover:not(:disabled) { border-color: var(--nfd-orange); color: var(--nfd-orange-text); box-shadow: none; }

/* Success state */
.nf-cp-done { display: flex; flex-direction: column; align-items: center; padding: 20px 8px; text-align: center; }
.nf-cp-done__icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 16px; border-radius: 50%; color: #fff; background: var(--nfd-icon-bg); }
.nf-cp-done__icon svg { width: 34px; height: 34px; }
.rioc-app h2.nf-cp-done__title { margin: 0 0 8px; font-size: var(--nfd-fs-h3); font-weight: 700; color: var(--nfd-navy); text-transform: none; }
.rioc-app p.nf-cp-done__text { margin: 0; font-size: var(--nfd-fs-body); color: var(--nfd-muted); text-transform: none; }

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 899.98px) {
    .nf-cp__inner { grid-template-columns: 1fr; }
    .nf-cp-info, .nf-cp-form { max-width: 680px; width: 100%; margin-inline: auto; }
}

@media (max-width: 599.98px) {
    .nf-cp-grid { grid-template-columns: 1fr; }
    .nf-cp-info__icon { width: 54px; height: 54px; }
    .nf-cp-info__icon svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .nf-cp-info__icon, .nf-cp-follow__links a, .nf-cp-btn { transition: none; }
    .nf-cp-info__item:hover .nf-cp-info__icon { scale: none; }
    .nf-cp-follow__links a:hover, .nf-cp-btn:hover:not(:disabled) { translate: none; }
}
