/* =========================================================
   BEROVIO — CONTACT
   Public informational contact page and native contact form.
   ========================================================= */
.berovio-contact-page {
    --bc-blue: var(--berovio-blue, #0064f8);
    --bc-blue-dark: var(--berovio-blue-dark, #004fc7);
    --bc-green: var(--berovio-green, #009668);
    --bc-ink: #0e1623;
    --bc-hero: #203a54;
    --bc-muted: #657181;
    --bc-line: #e2e8ef;
    --bc-soft: #f5f8fb;
    --bc-soft-blue: #f2f7fd;
    --bc-white: #fff;
    --bc-radius: 16px;
    --bc-radius-lg: 22px;
    --bc-gutter: clamp(16px, 3vw, 32px);
    --bc-section: clamp(64px, 7vw, 96px);
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    color: var(--bc-ink);
    background: var(--bc-white);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
    overflow: clip;
}

.berovio-contact-page *,
.berovio-contact-page *::before,
.berovio-contact-page *::after { box-sizing: border-box; }

.berovio-contact-page .berovio-contact-container {
    width: min(1240px, 100%);
    margin-inline: auto;
    padding-inline: var(--bc-gutter);
}

.berovio-contact-page :is(h1, h2, h3, p) { overflow-wrap: break-word; }

.berovio-contact-page h2 {
    margin: 0;
    color: var(--bc-ink);
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.berovio-contact-page .berovio-contact-eyebrow {
    margin: 0 0 10px;
    color: var(--bc-blue);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .115em;
    text-transform: uppercase;
}

/* Hero */
.berovio-contact-page .berovio-contact-hero {
    position: relative;
    padding: clamp(58px, 6vw, 86px) 0 clamp(60px, 6vw, 86px);
    background: var(--bc-hero);
    color: #fff;
}

.berovio-contact-page .berovio-contact-hero::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--bc-blue) 0 68%, var(--bc-green) 68% 100%);
    content: '';
}

.berovio-contact-page .berovio-contact-hero-grid {
    display: grid;
    gap: 34px;
    align-items: end;
}

.berovio-contact-page .berovio-contact-hero .berovio-contact-eyebrow { color: #8dbdff; }

.berovio-contact-page .berovio-contact-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 820;
    line-height: 1;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.berovio-contact-page .berovio-contact-lead {
    max-width: 720px;
    margin: 20px 0 0;
    color: #c6d0dc;
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.68;
}

.berovio-contact-page .berovio-contact-hero-card {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--bc-radius);
    background: rgba(255, 255, 255, .055);
}

.berovio-contact-page .berovio-contact-hero-card > span {
    display: block;
    margin-bottom: 7px;
    color: #9fc7ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.berovio-contact-page .berovio-contact-hero-card > a {
    color: #fff;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 800;
    text-decoration: none;
}

.berovio-contact-page .berovio-contact-hero-card > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.berovio-contact-page .berovio-contact-hero-card p {
    margin: 12px 0 0;
    color: #b9c5d2;
    font-size: 13px;
    line-height: 1.6;
}

/* General sections */
.berovio-contact-page .berovio-contact-section { padding-block: var(--bc-section); }

.berovio-contact-page .berovio-contact-section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.berovio-contact-page .berovio-contact-section-heading > p {
    max-width: 590px;
    margin: 0;
    color: var(--bc-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Reasons */
.berovio-contact-page .berovio-contact-reasons { background: #fff; }

.berovio-contact-page .berovio-contact-reason-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.berovio-contact-page .berovio-contact-reason-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 36, 55, .045);
}

.berovio-contact-page .berovio-contact-reason-card > span {
    display: block;
    margin-bottom: 18px;
    color: var(--bc-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
}

.berovio-contact-page .berovio-contact-reason-card:nth-child(4) > span { color: var(--bc-green); }

.berovio-contact-page .berovio-contact-reason-card h3 {
    margin: 0;
    color: var(--bc-ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.berovio-contact-page .berovio-contact-reason-card p {
    margin: 10px 0 0;
    color: var(--bc-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Form + company */
.berovio-contact-page .berovio-contact-main {
    border-block: 1px solid #e5ebf2;
    background: var(--bc-soft-blue);
}

.berovio-contact-page .berovio-contact-main-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

.berovio-contact-page .berovio-contact-form-card,
.berovio-contact-page .berovio-contact-company-card {
    min-width: 0;
    border: 1px solid #dfe7ef;
    border-radius: var(--bc-radius-lg);
    background: #fff;
    box-shadow: 0 14px 38px rgba(20, 36, 55, .065);
}

.berovio-contact-page .berovio-contact-form-card { padding: clamp(22px, 3vw, 34px); }

.berovio-contact-page .berovio-contact-form-heading { margin-bottom: 26px; }

.berovio-contact-page .berovio-contact-form-heading p:not(.berovio-contact-eyebrow) {
    margin: 11px 0 0;
    color: var(--bc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.berovio-contact-page .berovio-contact-form {
    display: grid;
    gap: 17px;
}

.berovio-contact-page .berovio-contact-field-grid {
    display: grid;
    gap: 17px;
}

.berovio-contact-page .berovio-contact-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #455365;
    font-size: 12px;
    font-weight: 800;
}

.berovio-contact-page .berovio-contact-field > span { display: block; }
.berovio-contact-page .berovio-contact-field b { color: #d13939; font-weight: 900; }
.berovio-contact-page .berovio-contact-field small { margin-left: 5px; color: #8994a1; font-size: 10px; font-weight: 650; }

.berovio-contact-page .berovio-contact-field :is(input:not([type="hidden"]), textarea) {
    width: 100%;
    min-width: 0;
    border: 1px solid #d5dee8;
    border-radius: 11px;
    background: #fff;
    color: var(--bc-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    outline: 0;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.berovio-contact-page .berovio-contact-field input:not([type="hidden"]) {
    min-height: 50px;
    padding: 0 13px;
}

.berovio-contact-page .berovio-contact-field textarea {
    min-height: 170px;
    padding: 13px;
    resize: vertical;
}

.berovio-contact-page .berovio-contact-field :is(input:not([type="hidden"]), textarea):focus {
    border-color: rgba(0, 100, 248, .66);
    box-shadow: 0 0 0 4px rgba(0, 100, 248, .07);
}

/* Berovio custom select — same interaction language as the marketplace forms. */
.berovio-contact-page .berovio-contact-custom-select {
    position: relative;
    width: 100%;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 0 13px;
    border: 1px solid #d5dee8;
    border-radius: 11px;
    background: #fff;
    color: var(--bc-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-trigger:hover { border-color: #b8c4d1; }

.berovio-contact-page .berovio-contact-custom-select.is-open .berovio-custom-select-trigger,
.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-trigger:focus-visible {
    border-color: rgba(0, 100, 248, .66);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(0, 100, 248, .07);
}

.berovio-contact-page .berovio-contact-custom-select.has-error .berovio-custom-select-trigger {
    border-color: #c94a4a;
    box-shadow: 0 0 0 4px rgba(201, 74, 74, .07);
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-value {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: 12px;
    color: #777;
    transition: transform .2s ease, color .2s ease;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-arrow svg {
    width: 18px;
    height: 18px;
}

.berovio-contact-page .berovio-contact-custom-select.is-open .berovio-custom-select-arrow {
    color: var(--bc-blue);
    transform: rotate(180deg);
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 80;
    max-height: 280px;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

.berovio-contact-page .berovio-contact-custom-select.is-open .berovio-custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option:hover,
.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option:focus-visible,
.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option.is-selected {
    outline: 0;
    background: #f3f7ff;
    color: var(--bc-blue);
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option.is-selected { font-weight: 650; }

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-check {
    flex: 0 0 auto;
    margin-left: 12px;
    color: var(--bc-blue);
    font-size: 14px;
    opacity: 0;
}

.berovio-contact-page .berovio-contact-custom-select .berovio-custom-select-option.is-selected .berovio-custom-select-check { opacity: 1; }

.berovio-contact-page .berovio-contact-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5b6878;
    font-size: 12px;
    line-height: 1.55;
    cursor: pointer;
}

.berovio-contact-page .berovio-contact-check input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--bc-blue);
}

.berovio-contact-page .berovio-contact-check a { color: var(--bc-blue-dark); font-weight: 700; }

.berovio-contact-page .berovio-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 48px;
    padding: 0 19px;
    border: 1px solid var(--bc-blue);
    border-radius: 10px;
    background: var(--bc-blue);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 100, 248, .18);
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.berovio-contact-page .berovio-contact-submit:hover:not(:disabled) {
    border-color: var(--bc-blue-dark);
    background: var(--bc-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 100, 248, .24);
}

.berovio-contact-page .berovio-contact-submit:disabled {
    border-color: #b8c9dd;
    background: #dfeafb;
    color: #31597f;
    cursor: wait;
    box-shadow: none;
    transform: none;
    opacity: 1;
}

.berovio-contact-page .berovio-contact-submit.is-sent {
    border-color: rgba(0, 150, 104, .28);
    background: #edf9f5;
    color: #087354;
    cursor: default;
}

.berovio-contact-page .berovio-contact-submit:focus-visible,
.berovio-contact-page a:focus-visible,
.berovio-contact-page .berovio-contact-field :is(input:not([type="hidden"]), textarea):focus-visible {
    outline: 3px solid rgba(0, 100, 248, .34);
    outline-offset: 3px;
}

.berovio-contact-page .berovio-contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.berovio-contact-page .berovio-contact-notice {
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.55;
}

.berovio-contact-page .berovio-contact-notice.is-success {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0;
    padding: 17px 18px;
    border: 1px solid rgba(0, 150, 104, .28);
    background: #effaf6;
    color: #075c43;
    box-shadow: 0 8px 22px rgba(0, 150, 104, .08);
}

.berovio-contact-page .berovio-contact-success-icon {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--bc-green);
    color: #fff;
}

.berovio-contact-page .berovio-contact-success-icon svg {
    width: 17px;
    height: 17px;
}

.berovio-contact-page .berovio-contact-success-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.berovio-contact-page .berovio-contact-success-copy strong {
    color: #075c43;
    font-size: 14px;
    line-height: 1.4;
}

.berovio-contact-page .berovio-contact-success-copy > span {
    color: #42695d;
    font-size: 12px;
}

.berovio-contact-page .berovio-contact-notice.is-error {
    margin: 0 0 22px;
    border: 1px solid rgba(188, 51, 51, .18);
    background: #fff7f7;
    color: #842f2f;
}

.berovio-contact-page .berovio-contact-notice ul {
    margin: 7px 0 0;
    padding-left: 19px;
}

.berovio-contact-page .berovio-contact-company-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
}

.berovio-contact-page .berovio-contact-company-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--bc-blue) 0 68%, var(--bc-green) 68% 100%);
    content: '';
}

.berovio-contact-page .berovio-contact-company-card h2 { font-size: clamp(27px, 3vw, 34px); }

.berovio-contact-page .berovio-contact-company-details {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.berovio-contact-page .berovio-contact-company-details p {
    margin: 0;
    color: #526173;
    font-size: 14px;
    line-height: 1.65;
}

.berovio-contact-page .berovio-contact-company-details strong { color: var(--bc-ink); font-size: 15px; }
.berovio-contact-page .berovio-contact-company-details span { color: #8994a1; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.berovio-contact-page .berovio-contact-company-details a { color: var(--bc-blue-dark); font-weight: 800; text-decoration: none; }
.berovio-contact-page .berovio-contact-company-details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.berovio-contact-page .berovio-contact-tax-note {
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
    color: #7b8794;
    font-size: 12px;
}

/* FAQ */
.berovio-contact-page .berovio-contact-faq {
    border-top: 1px solid #e6edf4;
    background: #fff;
}

.berovio-contact-page .berovio-contact-faq-heading {
    max-width: 760px;
    margin-bottom: clamp(34px, 5vw, 54px);
}

.berovio-contact-page .berovio-contact-faq-heading p:not(.berovio-contact-eyebrow) {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--bc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.berovio-contact-page .berovio-contact-faq-sections {
    display: grid;
    gap: clamp(44px, 6vw, 72px);
}

.berovio-contact-page .berovio-contact-faq-group {
    display: grid;
    gap: 26px;
    min-width: 0;
    padding-top: clamp(28px, 4vw, 42px);
    border-top: 1px solid #dfe7ef;
}

.berovio-contact-page .berovio-contact-faq-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.berovio-contact-page .berovio-contact-faq-group-head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.berovio-contact-page .berovio-contact-faq-number {
    color: #b9c6d3;
    font-size: 30px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}

.berovio-contact-page .berovio-contact-faq-category {
    margin: 0 0 8px;
    color: var(--bc-blue);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.berovio-contact-page .berovio-contact-faq-group-head h3 {
    max-width: 720px;
    margin: 0;
    color: var(--bc-ink);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 820;
    line-height: 1.18;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.berovio-contact-page .berovio-contact-faq-group-head > div > p:last-child {
    max-width: 640px;
    margin: 11px 0 0;
    color: var(--bc-muted);
    font-size: 13px;
    line-height: 1.65;
}

.berovio-contact-page .berovio-contact-faq-list {
    min-width: 0;
    border-top: 1px solid var(--bc-line);
}

.berovio-contact-page .berovio-contact-faq-list details {
    margin: 0;
    border-bottom: 1px solid var(--bc-line);
}

.berovio-contact-page .berovio-contact-faq-list summary {
    position: relative;
    padding: 20px 40px 20px 0;
    color: var(--bc-ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.berovio-contact-page .berovio-contact-faq-list summary::-webkit-details-marker { display: none; }

.berovio-contact-page .berovio-contact-faq-list summary::after {
    position: absolute;
    top: 17px;
    right: 2px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--bc-blue-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    content: '+';
}

.berovio-contact-page .berovio-contact-faq-list details[open] summary::after { content: '\2212'; }
.berovio-contact-page .berovio-contact-faq-list summary:hover { color: var(--bc-blue-dark); }

.berovio-contact-page .berovio-contact-faq-answer {
    max-width: 820px;
    padding: 0 40px 22px 0;
    color: var(--bc-muted);
    font-size: 14px;
    line-height: 1.72;
}

.berovio-contact-page .berovio-contact-faq-answer p { margin: 0; }
.berovio-contact-page .berovio-contact-faq-answer strong { color: #354456; font-weight: 800; }

.berovio-contact-page .berovio-contact-faq-answer a {
    color: var(--bc-blue-dark);
    font-weight: 750;
    text-decoration: none;
}

.berovio-contact-page .berovio-contact-faq-answer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (min-width: 900px) {
    .berovio-contact-page .berovio-contact-faq-group {
        grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr);
        gap: clamp(42px, 6vw, 80px);
    }
}

/* Responsive */
@media (min-width: 700px) {
    .berovio-contact-page .berovio-contact-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .berovio-contact-page .berovio-contact-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
    .berovio-contact-page .berovio-contact-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 72px; }
    .berovio-contact-page .berovio-contact-section-heading { grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); align-items: end; gap: 60px; }
    .berovio-contact-page .berovio-contact-section-heading > p { justify-self: end; }
    .berovio-contact-page .berovio-contact-main-grid { grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 26px; }
}

@media (min-width: 1080px) {
    .berovio-contact-page .berovio-contact-reason-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 559px) {
    .berovio-contact-page { --bc-section: 56px; }
    .berovio-contact-page .berovio-contact-hero { padding: 48px 0 54px; }
    .berovio-contact-page .berovio-contact-hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
    .berovio-contact-page .berovio-contact-hero-card { padding: 19px; }
    .berovio-contact-page .berovio-contact-reason-card { padding: 21px; }
    .berovio-contact-page .berovio-contact-form-card,
    .berovio-contact-page .berovio-contact-company-card { border-radius: 18px; }
    .berovio-contact-page .berovio-contact-submit { width: 100%; }
}
