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

.email-modern {
  min-height: calc(100vh - 176px);
  color: var(--email-ink);
  background: #f5f7f5;
}

.email-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.email-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #075e63 0%, #087d82 65%, #177f7e 100%);
}

.email-hero::before,
.email-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.email-hero::before {
  top: -240px;
  left: 42%;
  width: 480px;
  height: 480px;
  border: 78px solid rgba(255, 255, 255, 0.055);
}

.email-hero::after {
  right: -85px;
  bottom: -135px;
  width: 280px;
  height: 280px;
  background: rgba(217, 103, 78, 0.16);
}

.email-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 5rem;
}

.email-hero__copy { max-width: 700px; }

.email-eyebrow,
.email-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;
}

.email-hero h1 {
  margin: 0.6rem 0 0.9rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.email-hero__copy > p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.75;
}

.email-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
}

.email-hero__highlights span { display: inline-flex; align-items: center; gap: 0.45rem; }
.email-hero__highlights i { color: #c8eeeb; }

.email-hero__visual {
  position: relative;
  display: grid;
  width: 235px;
  height: 235px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.email-hero__visual::before {
  position: absolute;
  inset: 25px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.email-hero__symbol {
  position: relative;
  z-index: 1;
  display: flex;
  width: 142px;
  height: 142px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(3, 45, 48, 0.24);
  backdrop-filter: blur(8px);
  text-align: center;
}

.email-hero__symbol i { color: #c8eeeb; font-size: 1.65rem; }
.email-hero__symbol strong { font-size: 0.94rem; line-height: 1.3; }

.email-hero__orbit {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--email-teal-dark);
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(3, 45, 48, 0.2);
}

.email-hero__orbit--one { top: 16px; left: 34px; }
.email-hero__orbit--two { right: 1px; bottom: 25px; color: var(--email-coral); }

.email-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: -48px;
  padding-bottom: 4rem;
}

.email-aside,
.email-form-card {
  background: #fff;
  border: 1px solid var(--email-border);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(31, 65, 70, 0.08);
}

.email-aside { padding: 1.5rem; }

.email-aside .email-section-kicker,
.email-form-card .email-section-kicker { color: var(--email-coral); }

.email-aside h2 {
  margin: 0.55rem 0 0.65rem;
  color: var(--email-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.email-aside > p { margin: 0 0 1.15rem; color: var(--email-muted); font-size: 0.79rem; line-height: 1.65; }

.email-contact-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding: 0.7rem;
  color: var(--email-ink);
  background: #fbfcfc;
  border: 1px solid var(--email-border);
  border-radius: 12px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.email-contact-link:hover { color: var(--email-teal-dark); background: var(--email-teal-soft); border-color: #b9d7d3; text-decoration: none; }
.email-contact-link__icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; color: var(--email-teal); background: var(--email-teal-soft); border-radius: 10px; }
.email-contact-link > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.email-contact-link small { color: var(--email-muted); font-size: 0.64rem; }
.email-contact-link strong { overflow-wrap: anywhere; font-size: 0.72rem; }
.email-contact-link > i { color: #8da1a3; font-size: 0.68rem; }

.email-aside-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0.8rem;
  color: var(--email-teal-dark);
  background: var(--email-teal-soft);
  border-radius: 11px;
}

.email-aside-note > i { margin-top: 0.12rem; }
.email-aside-note p { margin: 0; color: var(--email-muted); font-size: 0.68rem; line-height: 1.55; }

.email-form-card { min-width: 0; overflow: hidden; }

.email-form-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.45rem 1.6rem;
  border-bottom: 1px solid var(--email-border);
}

.email-form-card__icon { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; color: var(--email-teal); background: var(--email-teal-soft); border-radius: 13px; font-size: 1.05rem; }
.email-form-card__header h2 { margin: 0.15rem 0 0; color: var(--email-ink); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.email-form-card__header p { margin: 0.2rem 0 0; color: var(--email-muted); font-size: 0.72rem; }
.email-form-card__header p strong { color: var(--email-coral); }

.email-feedback {
  display: none;
  margin: 1rem 1.6rem 0;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.5;
}

.email-feedback:not(:empty) { display: block; }
.email-feedback--success { color: #176e4d; background: #e8f7ef; border: 1px solid #bfe5cf; }
.email-feedback--error { color: #9f352b; background: var(--email-coral-soft); border: 1px solid #f0c4ba; }

.email-form { padding: 1.4rem 1.6rem 1.6rem; }
.email-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.email-field { min-width: 0; }
.email-field--wide { grid-column: 1 / -1; }
.email-field label { display: block; margin-bottom: 0.4rem; color: var(--email-ink); font-size: 0.76rem; font-weight: 700; }
.email-field label span { color: var(--email-coral); }

.email-field input,
.email-field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--email-ink);
  background: #fbfcfc;
  border: 1px solid #cad7d5;
  border-radius: 10px;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.email-field input { height: 47px; }
.email-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.email-field input::placeholder,
.email-field textarea::placeholder { color: #91a1a3; opacity: 1; }
.email-field input:focus,
.email-field textarea:focus { background: #fff; border-color: var(--email-teal); box-shadow: 0 0 0 4px rgba(8, 125, 130, 0.11); }
.email-field .invalid-feedback { margin-top: 0.25rem; font-size: 0.67rem; }
.email-form.was-validated input:invalid,
.email-form.was-validated textarea:invalid { border-color: #cf5648; }
.email-form.was-validated input:invalid ~ .invalid-feedback,
.email-form.was-validated textarea:invalid ~ .invalid-feedback { display: block; }
.email-field__hint { margin-top: 0.35rem; color: var(--email-muted); font-size: 0.66rem; }

.email-recaptcha { height: 0; overflow: hidden; }

.email-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #f7faf9;
  border: 1px solid var(--email-border);
  border-radius: 13px;
}

.email-form__submit p { display: flex; max-width: 370px; align-items: flex-start; gap: 0.45rem; margin: 0; color: var(--email-muted); font-size: 0.68rem; line-height: 1.5; }
.email-form__submit p i { margin-top: 0.1rem; color: var(--email-teal); }

.email-submit {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  color: #fff;
  background: var(--email-coral);
  border: 1px solid var(--email-coral);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.email-submit:hover { color: #fff; background: #bd533e; border-color: #bd533e; box-shadow: 0 8px 18px rgba(217, 103, 78, 0.24); transform: translateY(-1px); }
.email-submit:focus-visible { outline: 3px solid rgba(217, 103, 78, 0.28); outline-offset: 2px; }

@media (max-width: 900px) {
  .email-hero__inner { grid-template-columns: minmax(0, 1fr) 210px; gap: 1.5rem; }
  .email-hero__visual { width: 200px; height: 200px; }
  .email-hero__symbol { width: 125px; height: 125px; }
  .email-layout { grid-template-columns: 250px minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .email-shell { width: min(100% - 1.5rem, 1120px); }
  .email-hero__inner { min-height: 325px; grid-template-columns: 1fr; padding: 2.8rem 0 4.6rem; }
  .email-hero__visual { display: none; }
  .email-layout { grid-template-columns: 1fr; margin-top: -36px; }
  .email-aside { order: 2; }
  .email-form-card { order: 1; }
  .email-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.6rem; }
  .email-aside .email-section-kicker,
  .email-aside h2,
  .email-aside > p,
  .email-aside-note { grid-column: 1 / -1; }
  .email-contact-link { margin-top: 0.25rem; }
}

@media (max-width: 575.98px) {
  .email-hero h1 { font-size: 2.35rem; }
  .email-hero__copy > p { font-size: 0.9rem; }
  .email-hero__highlights { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .email-layout { padding-bottom: 2.5rem; }
  .email-aside { display: block; padding: 1.2rem; }
  .email-contact-link { margin-top: 0.55rem; }
  .email-form-card__header { align-items: flex-start; padding: 1.2rem; }
  .email-form-card__icon { width: 42px; height: 42px; }
  .email-form-card__header h2 { font-size: 1.2rem; }
  .email-feedback { margin-right: 1.2rem; margin-left: 1.2rem; }
  .email-form { padding: 1.2rem; }
  .email-form__grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .email-field--wide { grid-column: auto; }
  .email-form__submit { align-items: stretch; flex-direction: column; }
  .email-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .email-field input,
  .email-field textarea,
  .email-submit { transition: none; }
}
