:root {
  --contact-ink: #18333a;
  --contact-muted: #687b80;
  --contact-teal: #087d82;
  --contact-teal-dark: #075e63;
  --contact-teal-soft: #e7f4f3;
  --contact-coral: #d9674e;
  --contact-coral-soft: #fff0eb;
  --contact-border: #dfe7e5;
}

.contact-modern { min-height: calc(100vh - 176px); color: var(--contact-ink); }
.contact-shell { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.contact-hero { position: relative; min-height: 390px; overflow: hidden; color: #fff; background: linear-gradient(118deg, #075e63 0%, #087d82 65%, #177f7e 100%); }
.contact-hero::before,
.contact-hero::after { position: absolute; content: ""; pointer-events: none; border-radius: 50%; }
.contact-hero::before { top: -240px; right: 17%; width: 480px; height: 480px; border: 78px solid rgba(255, 255, 255, 0.055); }
.contact-hero::after { right: -85px; bottom: -135px; width: 280px; height: 280px; background: rgba(246, 217, 158, 0.14); }
.contact-hero__inner { position: relative; z-index: 1; display: grid; min-height: 390px; grid-template-columns: minmax(0, 1fr) 330px; gap: 4rem; align-items: center; padding: 3.5rem 0 5.5rem; }
.contact-hero__content { max-width: 690px; }
.contact-eyebrow,
.contact-section-kicker { display: inline-flex; align-items: center; gap: 0.45rem; color: #c8eeeb; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.contact-hero h2 { max-width: 650px; margin: 0.65rem 0 0.9rem; color: #fff; font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.03; }
.contact-hero__content > p { max-width: 625px; margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 1rem; line-height: 1.7; }
.contact-hero__highlights { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 1.45rem; color: rgba(255, 255, 255, 0.88); font-size: 0.75rem; font-weight: 600; }
.contact-hero__highlights span { display: inline-flex; align-items: center; gap: 0.4rem; }
.contact-hero__highlights i { display: grid; width: 20px; height: 20px; place-items: center; color: var(--contact-teal-dark); background: #c8eeeb; border-radius: 50%; font-size: 0.55rem; }
.contact-hero__symbol { position: relative; display: grid; width: 270px; height: 270px; place-items: center; justify-self: end; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; }
.contact-hero__symbol::before { position: absolute; inset: 34px; content: ""; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 50%; }
.contact-hero__symbol > div { position: relative; z-index: 2; display: flex; width: 142px; height: 142px; align-items: center; justify-content: center; flex-direction: column; background: rgba(255, 255, 255, 0.11); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; box-shadow: 0 18px 45px rgba(3, 45, 48, 0.24); backdrop-filter: blur(8px); }
.contact-hero__symbol > div i { margin-bottom: 0.5rem; color: #f6d99e; font-size: 1.5rem; }
.contact-hero__symbol strong { color: #fff; font-size: 1rem; }
.contact-hero__symbol small { color: rgba(255, 255, 255, 0.68); font-size: 0.66rem; }
.contact-orbit { position: absolute; z-index: 3; display: grid; width: 47px; height: 47px; place-items: center; color: var(--contact-teal-dark); background: #fff; border: 4px solid rgba(255, 255, 255, 0.42); border-radius: 50%; box-shadow: 0 12px 25px rgba(3, 45, 48, 0.2); }
.contact-orbit--one { top: 8px; left: 48px; }
.contact-orbit--two { top: 84px; right: -2px; color: var(--contact-coral); }
.contact-orbit--three { bottom: 11px; left: 45px; color: #94691e; }

.contact-layout { position: relative; z-index: 5; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-top: -55px; padding-bottom: 4rem; }
.contact-aside,
.contact-form-card { background: #fff; border: 1px solid var(--contact-border); border-radius: 20px; box-shadow: 0 14px 40px rgba(31, 65, 70, 0.08); }
.contact-aside { position: sticky; top: 94px; padding: 1.55rem; }
.contact-aside .contact-section-kicker,
.contact-form-card .contact-section-kicker { color: var(--contact-coral); }
.contact-aside h3 { margin: 0.55rem 0 0.65rem; color: var(--contact-ink); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.25; }
.contact-aside > p { margin: 0; color: var(--contact-muted); font-size: 0.78rem; line-height: 1.65; }
.contact-steps { margin: 1.35rem 0; padding: 0; list-style: none; }
.contact-steps li { position: relative; display: flex; gap: 0.75rem; padding-bottom: 1rem; }
.contact-steps li:not(:last-child)::after { position: absolute; top: 31px; bottom: 2px; left: 15px; width: 1px; content: ""; background: #cfe1df; }
.contact-steps li > span { position: relative; z-index: 1; display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; color: var(--contact-teal-dark); background: var(--contact-teal-soft); border-radius: 50%; font-size: 0.68rem; font-weight: 800; }
.contact-steps li > div { display: flex; flex-direction: column; padding-top: 0.1rem; }
.contact-steps strong { color: var(--contact-ink); font-size: 0.76rem; }
.contact-steps small { margin-top: 0.15rem; color: var(--contact-muted); font-size: 0.66rem; line-height: 1.4; }
.contact-aside__login { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem; background: var(--contact-teal-soft); border-radius: 12px; }
.contact-aside__icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; color: var(--contact-teal); background: #fff; border-radius: 10px; }
.contact-aside__login > div { display: flex; min-width: 0; flex-direction: column; }
.contact-aside__login small { color: var(--contact-muted); font-size: 0.64rem; }
.contact-aside__login a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--contact-teal-dark); font-size: 0.73rem; font-weight: 800; }
.contact-aside__login a:hover,
.contact-support:hover { color: var(--contact-teal); text-decoration: none; }
.contact-support { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; color: var(--contact-ink); font-size: 0.69rem; }
.contact-support > i { color: var(--contact-coral); font-size: 1rem; }
.contact-support span { display: flex; flex-direction: column; }
.contact-support small { color: var(--contact-muted); font-size: 0.6rem; }

.contact-form-card { min-width: 0; overflow: hidden; }
.contact-form-card__header { display: flex; align-items: center; gap: 0.9rem; padding: 1.5rem 1.7rem; border-bottom: 1px solid var(--contact-border); }
.contact-form-card__icon { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; color: var(--contact-teal); background: var(--contact-teal-soft); border-radius: 13px; font-size: 1.05rem; }
.contact-form-card__header h3 { margin: 0.15rem 0 0; color: var(--contact-ink); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.contact-form-card__header p { margin: 0.2rem 0 0; color: var(--contact-muted); font-size: 0.7rem; }
.contact-form-card__header p strong { color: var(--contact-coral); }
.contact-feedback { display: none; margin: 1rem 1.7rem 0; padding: 0.8rem 0.95rem; border-radius: 10px; font-size: 0.76rem; font-weight: 600; line-height: 1.5; }
.contact-feedback:not(:empty) { display: block; }
.contact-feedback--success { color: #176e4d; background: #e8f7ef; border: 1px solid #bfe5cf; }
.contact-feedback--error { color: #9f352b; background: var(--contact-coral-soft); border: 1px solid #f0c4ba; }

.contact-form { padding: 0 1.7rem 1.7rem; }
.contact-form__section { min-width: 0; margin: 0; padding: 1.55rem 0; border: 0; border-bottom: 1px solid var(--contact-border); }
.contact-form__section legend { display: flex; width: 100%; align-items: center; gap: 0.7rem; margin: 0 0 1rem; padding: 0; }
.contact-form__section legend > span { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; color: var(--contact-teal-dark); background: var(--contact-teal-soft); border-radius: 9px; font-size: 0.65rem; font-weight: 800; }
.contact-form__section legend > div { display: flex; color: var(--contact-ink); flex-direction: column; font-size: 0.9rem; font-weight: 700; }
.contact-form__section legend small { margin-top: 0.12rem; color: var(--contact-muted); font-size: 0.65rem; font-weight: 400; }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
.contact-field { min-width: 0; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label,
.contact-field__label { display: block; margin-bottom: 0.38rem; color: var(--contact-ink); font-size: 0.7rem; font-weight: 700; }
.contact-field label > span { color: var(--contact-coral); }
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="password"] { width: 100%; height: 46px; padding: 0 0.85rem; color: var(--contact-ink); background: #fbfcfc; border: 1px solid #cad7d5; border-radius: 10px; font-size: 0.78rem; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.contact-field input::placeholder { color: #97a7a9; }
.contact-field input:focus { background: #fff; border-color: var(--contact-teal); box-shadow: 0 0 0 4px rgba(8, 125, 130, 0.11); }
.contact-input-icon,
.contact-password { position: relative; }
.contact-input-icon > i { position: absolute; z-index: 1; top: 50%; left: 0.9rem; color: var(--contact-teal); font-size: 0.78rem; transform: translateY(-50%); }
.contact-input-icon input[type="text"],
.contact-input-icon input[type="email"] { padding-left: 2.4rem; }
.contact-field__hint { display: block; margin-top: 0.38rem; color: var(--contact-muted); font-size: 0.61rem; line-height: 1.45; }
.contact-password input { padding-right: 2.7rem !important; }
.contact-password__toggle { position: absolute; top: 50%; right: 0.45rem; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; color: var(--contact-muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer; transform: translateY(-50%); }
.contact-password__toggle:hover,
.contact-password__toggle:focus { color: var(--contact-teal); background: var(--contact-teal-soft); outline: none; }

.contact-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.contact-choice { position: relative; margin: 0; cursor: pointer; }
.contact-choice > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.contact-choice > span { display: flex; min-height: 116px; align-items: flex-start; justify-content: center; flex-direction: column; padding: 0.85rem; background: #fbfcfc; border: 1px solid var(--contact-border); border-radius: 12px; transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.contact-choice i { margin-bottom: 0.65rem; color: var(--contact-teal); font-size: 1rem; }
.contact-choice strong { color: var(--contact-ink); font-size: 0.72rem; }
.contact-choice small { margin-top: 0.12rem; color: var(--contact-muted); font-size: 0.61rem; line-height: 1.35; }
.contact-choice > input:checked + span { background: var(--contact-teal-soft); border-color: var(--contact-teal); box-shadow: inset 0 0 0 1px var(--contact-teal); }
.contact-choice > input:focus-visible + span { box-shadow: 0 0 0 4px rgba(8, 125, 130, 0.15); }
.contact-field--identity { margin-top: 1.1rem; }
.contact-inline-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.contact-inline-choices label { position: relative; margin: 0; cursor: pointer; }
.contact-inline-choices input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.contact-inline-choices span { display: block; margin: 0; padding: 0.48rem 0.7rem; color: var(--contact-muted); background: #fbfcfc; border: 1px solid var(--contact-border); border-radius: 99px; font-size: 0.66rem; font-weight: 700; }
.contact-inline-choices input:checked + span { color: var(--contact-teal-dark); background: var(--contact-teal-soft); border-color: var(--contact-teal); }
.contact-inline-choices input:focus-visible + span { box-shadow: 0 0 0 4px rgba(8, 125, 130, 0.15); }
.contact-form__grid--social { margin-top: 1rem; }
.contact-form__section--security { border-bottom: 0; }
.contact-form__submit { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem; background: #f7faf9; border: 1px solid var(--contact-border); border-radius: 13px; }
.contact-form__submit p { display: flex; max-width: 380px; align-items: flex-start; gap: 0.45rem; margin: 0; color: var(--contact-muted); font-size: 0.63rem; line-height: 1.5; }
.contact-form__submit p i { margin-top: 0.1rem; color: var(--contact-teal); }
.contact-submit { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.65rem 1rem; color: #fff; background: var(--contact-coral); border: 1px solid var(--contact-coral); border-radius: 10px; font-size: 0.78rem; font-weight: 800; white-space: nowrap; transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.contact-submit:hover { color: #fff; background: #bd533e; border-color: #bd533e; box-shadow: 0 8px 18px rgba(217, 103, 78, 0.24); transform: translateY(-1px); }
.contact-submit:focus { box-shadow: 0 0 0 4px rgba(217, 103, 78, 0.18); }
.contact-form .invalid-feedback { margin-top: 0.25rem; font-size: 0.62rem; }
.contact-form .was-validated input:invalid,
.contact-form input.is-invalid { border-color: #cf5648; }

@media (max-width: 991.98px) {
  .contact-hero__inner { grid-template-columns: minmax(0, 1fr) 230px; gap: 2rem; }
  .contact-hero__symbol { width: 220px; height: 220px; }
  .contact-hero__symbol > div { width: 120px; height: 120px; }
  .contact-layout { grid-template-columns: 270px minmax(0, 1fr); }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .contact-choice > span { min-height: 84px; }
}

@media (max-width: 767.98px) {
  .contact-shell { width: min(100% - 1.5rem, 1120px); }
  .contact-hero__inner { min-height: 430px; grid-template-columns: 1fr; padding-top: 2.8rem; }
  .contact-hero__symbol { display: none; }
  .contact-layout { grid-template-columns: 1fr; margin-top: -42px; }
  .contact-aside { position: static; order: 2; }
  .contact-form-card { order: 1; }
}

@media (max-width: 575.98px) {
  .contact-hero h2 { font-size: 2.25rem; }
  .contact-hero__content > p { font-size: 0.9rem; }
  .contact-hero__highlights { align-items: flex-start; flex-direction: column; }
  .contact-form-card__header { align-items: flex-start; padding: 1.2rem; }
  .contact-feedback { margin-right: 1.2rem; margin-left: 1.2rem; }
  .contact-form { padding: 0 1.2rem 1.2rem; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-field--wide { grid-column: auto; }
  .contact-form__submit { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-field input,
  .contact-choice > span,
  .contact-submit { transition: none; }
}

@media print {
  .contact-hero,
  .contact-aside,
  .contact-form__submit,
  body > .icons { display: none !important; }
  .contact-layout { display: block; margin-top: 0; }
  .contact-form-card { box-shadow: none; }
}
