.ec-contact {
  --ec-black: #101116;
  --ec-white: #fff;
  --ec-gold: #e5a91f;
  --ec-gold-dark: #ad7608;
  --ec-yellow: #fff6d9;
  --ec-cream: #fffcf6;
  --ec-line: #e6dbc7;
  min-height: 100vh;
  background: var(--ec-cream);
  color: var(--ec-black);
  font-family: "Fraunces", Georgia, serif;
}

.ec-contact a { text-decoration: none; }
.ec-contact button, .ec-contact input, .ec-contact textarea { font-family: inherit; }

.ec-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 125px;
  background: var(--ec-black);
  color: var(--ec-white);
}

.ec-contact-hero::after {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 500px;
  height: 350px;
  border-radius: 50%;
  background: var(--ec-gold);
  content: "";
  opacity: .13;
}

.ec-contact-orb { position: absolute; border-radius: 50%; }
.ec-contact-orb-one { top: -170px; left: -90px; width: 380px; height: 380px; background: rgba(229,169,31,.14); }
.ec-contact-orb-two { top: 45px; right: 15%; width: 165px; height: 165px; border: 1px solid rgba(229,169,31,.32); }

.ec-contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: auto;
}

.ec-contact-kicker {
  display: inline-flex;
  padding: 9px 14px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(229,169,31,.42);
  border-radius: 999px;
  background: rgba(229,169,31,.1);
  color: #f2c45a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-contact-hero h1 {
  max-width: 800px;
  margin: 26px 0 18px;
  color: var(--ec-white);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
}

.ec-contact-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.7;
}

.ec-contact-shell {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1160px;
  margin: -58px auto 0;
  padding: 0 24px 100px;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
}

.ec-contact-aside,
.ec-contact-card {
  border: 1px solid var(--ec-line);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(16,17,22,.08);
}

.ec-contact-aside {
  padding: 34px;
  background: var(--ec-yellow);
}

.ec-contact-intro > span,
.ec-contact-card-head > span {
  color: var(--ec-gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ec-contact-intro h2,
.ec-contact-card-head h2 {
  margin: 9px 0 13px;
  font-size: clamp(28px, 4vw, 39px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.ec-contact-intro p,
.ec-contact-card-head p {
  margin: 0;
  color: rgba(16,17,22,.68);
  line-height: 1.7;
}

.ec-contact-methods {
  display: grid;
  margin-top: 30px;
  gap: 12px;
}

.ec-contact-method {
  display: grid;
  min-width: 0;
  padding: 16px;
  align-items: center;
  grid-template-columns: 45px minmax(0,1fr) auto;
  gap: 12px;
  border: 1px solid rgba(229,169,31,.45);
  border-radius: 17px;
  background: var(--ec-white);
  color: var(--ec-black);
}

.ec-contact-method-icon {
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: var(--ec-yellow);
  color: var(--ec-gold-dark);
  place-items: center;
}

.ec-contact-method > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.ec-contact-method small { color: rgba(16,17,22,.58); font-size: 11px; }
.ec-contact-method strong { overflow-wrap: anywhere; }
.ec-contact-method > i { color: var(--ec-gold-dark); }

.ec-contact-note {
  display: grid;
  margin-top: 24px;
  padding-top: 24px;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 12px;
  border-top: 1px solid rgba(229,169,31,.45);
}

.ec-contact-note > i { color: var(--ec-gold-dark); font-size: 20px; }
.ec-contact-note p { margin: 5px 0 0; color: rgba(16,17,22,.65); font-size: 13px; line-height: 1.6; }

.ec-contact-card {
  overflow: hidden;
  background: var(--ec-white);
}

.ec-contact-card-head {
  padding: 34px 36px 28px;
  border-bottom: 1px solid var(--ec-line);
}

.ec-contact-form { padding: 0; }
.ec-contact-fields {
  display: grid;
  padding: 32px 36px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}

.ec-contact-field {
  display: grid;
  min-width: 0;
  gap: 9px;
  color: var(--ec-black);
  font-weight: 700;
}

.ec-contact-field > span:first-child { font-size: 13px; }
.ec-contact-field b { color: var(--ec-gold-dark); }
.ec-contact-field-wide { grid-column: 1 / -1; }

.ec-contact-input {
  display: flex;
  min-height: 52px;
  padding: 0 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ec-line);
  border-radius: 14px;
  background: var(--ec-cream);
}

.ec-contact-input i { color: var(--ec-gold-dark); }
.ec-contact-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ec-black);
}

.ec-contact-field textarea {
  width: 100%;
  min-height: 185px;
  padding: 16px;
  border: 1px solid var(--ec-line);
  border-radius: 14px;
  outline: 0;
  resize: vertical;
  background: var(--ec-cream);
  color: var(--ec-black);
}

.ec-contact-input:focus-within,
.ec-contact-field textarea:focus {
  border-color: var(--ec-gold);
  box-shadow: 0 0 0 3px rgba(229,169,31,.15);
}

.ec-contact input::placeholder,
.ec-contact textarea::placeholder { color: rgba(16,17,22,.48); }

.ec-contact-captcha { padding: 0 36px 24px; overflow-x: auto; }

.ec-contact-form-footer {
  display: flex;
  padding: 24px 36px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--ec-line);
}

.ec-contact-form-footer p { margin: 0; color: rgba(16,17,22,.58); font-size: 12px; }
.ec-contact-form-footer p i { margin-right: 6px; color: var(--ec-gold-dark); }
.ec-contact-form-footer button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--ec-gold);
  box-shadow: 0 9px 23px rgba(16,17,22,.14);
  color: #101116;
  cursor: pointer;
  font-weight: 800;
}

.ec-contact-form-footer button:hover { background: #efbd45; }
.ec-contact-form > .alert { margin: 0 36px 26px; }

:root[data-theme="dark"] .ec-contact {
  --ec-black: #fff;
  --ec-white: #101116;
  --ec-gold: #e5a91f;
  --ec-gold-dark: #efbd45;
  --ec-yellow: rgba(229,169,31,.12);
  --ec-cream: #101116;
  --ec-line: rgba(255,255,255,.16);
}

:root[data-theme="dark"] .ec-contact-hero { background: #101116; }
:root[data-theme="dark"] .ec-contact-intro p,
:root[data-theme="dark"] .ec-contact-card-head p,
:root[data-theme="dark"] .ec-contact-method small,
:root[data-theme="dark"] .ec-contact-note p,
:root[data-theme="dark"] .ec-contact-form-footer p { color: rgba(255,255,255,.68); }
:root[data-theme="dark"] .ec-contact input::placeholder,
:root[data-theme="dark"] .ec-contact textarea::placeholder { color: rgba(255,255,255,.48); }

@media (max-width: 900px) {
  .ec-contact-shell { grid-template-columns: 1fr; }
  .ec-contact-aside { order: 2; }
  .ec-contact-card { order: 1; }
}

@media (max-width: 620px) {
  .ec-contact-hero { padding: 70px 18px 95px; }
  .ec-contact-hero p { font-size: 16px; }
  .ec-contact-shell { margin-top: -42px; padding: 0 12px 65px; }
  .ec-contact-aside { padding: 25px 21px; }
  .ec-contact-card-head { padding: 26px 22px 22px; }
  .ec-contact-fields { padding: 25px 22px; grid-template-columns: 1fr; }
  .ec-contact-field-wide { grid-column: auto; }
  .ec-contact-captcha { padding: 0 22px 22px; }
  .ec-contact-form-footer { align-items: stretch; flex-direction: column; padding: 21px 22px 25px; }
  .ec-contact-form-footer button { width: 100%; }
  .ec-contact-form-footer p { text-align: center; }
  .ec-contact-form > .alert { margin: 0 22px 22px; }
}
