.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 82px;
  background:
    radial-gradient(circle at 10% 6%, rgba(140, 198, 63, .18), transparent 31%),
    linear-gradient(180deg, #f7fbf5 0%, #ffffff 100%);
}
.contact-hero::after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(140, 198, 63, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(140, 198, 63, .045), 0 0 0 116px rgba(140, 198, 63, .025);
  pointer-events: none;
}
.contact-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
  gap: 72px;
  align-items: center;
}
.contact-hero__content { padding: 18px 0; }
.contact-hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  color: var(--green-950);
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.contact-hero__lead {
  max-width: 690px;
  margin: 0;
  color: var(--ink-700);
  font-size: clamp(1.07rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}
.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-hero__notice {
  max-width: 690px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .75);
}
.contact-hero__notice svg { flex: 0 0 22px; width: 22px; margin-top: 2px; fill: var(--green-700); }
.contact-hero__notice p { margin: 0; color: var(--ink-700); font-size: .89rem; }

.official-channel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--green-950);
  box-shadow: var(--shadow-lg);
}
.official-channel__media { height: 260px; overflow: hidden; }
.official-channel__media img { width: 100%; height: 100%; object-fit: cover; }
.official-channel__body { position: relative; padding: 30px 32px 34px; }
.official-channel__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 58px;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: var(--lime-500);
}
.official-channel__label {
  display: block;
  color: var(--lime-300);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.official-channel__email {
  display: inline-block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.official-channel__email:hover { color: var(--lime-300); }
.official-channel__body p { margin: 13px 0 0; color: rgba(255,255,255,.7); font-size: .92rem; }
.official-channel__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.official-channel__meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06);
  font-size: .72rem;
  font-weight: 700;
}

.contact-form-section { background: linear-gradient(180deg, #fff 0%, #f5f8f3 100%); }
.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 58px;
  align-items: start;
}
.contact-aside {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding-top: 6px;
}
.contact-aside h2 {
  margin: 14px 0 18px;
  color: var(--green-950);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.contact-aside > p { margin: 0; color: var(--ink-700); font-size: 1rem; }
.contact-aside__box {
  margin-top: 28px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-aside__box > strong { color: var(--green-950); }
.contact-aside__box ul { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.contact-aside__box li { position: relative; padding-left: 23px; color: var(--ink-700); font-size: .88rem; }
.contact-aside__box li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 900; }
.contact-detail { display: flex; gap: 14px; margin-top: 22px; align-items: flex-start; }
.contact-detail__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-800);
  background: var(--surface-muted);
}
.contact-detail__icon svg { width: 21px; height: 21px; fill: currentColor; }
.contact-detail div > span { display: block; color: var(--ink-600); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail a { color: var(--green-800); font-weight: 800; overflow-wrap: anywhere; }
.contact-detail p { margin: 4px 0 0; color: var(--ink-700); font-size: .87rem; line-height: 1.55; }

.contact-form-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.contact-form-heading { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-form-heading > span { color: var(--green-700); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-form-heading h3 { margin: 7px 0 7px; color: var(--green-950); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.16; }
.contact-form-heading p { margin: 0; color: var(--ink-600); }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.contact-field { min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-950);
  font-size: .91rem;
  font-weight: 750;
}
.optional { color: var(--ink-600); font-size: .74rem; font-weight: 600; }
.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  border: 1px solid #cbd9c8;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink-950);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-field textarea { min-height: 188px; resize: vertical; line-height: 1.58; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #8b948e; }
.contact-field input:hover,
.contact-field textarea:hover,
.contact-field select:hover { border-color: #94ad8f; }
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(43, 138, 67, .1);
  outline: 0;
}
.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"],
.contact-field select[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.contact-field__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.contact-counter, .contact-field__hint { color: var(--ink-600); font-size: .75rem; }
.contact-field__hint { display: block; margin-top: 6px; }
.contact-field__error { min-height: 19px; display: block; margin-top: 5px; color: var(--error); font-size: .77rem; font-weight: 650; }

.contact-privacy-summary {
  margin-top: 27px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-700);
  background: var(--surface-soft);
}
.contact-privacy-summary > strong { display: block; margin-bottom: 6px; color: var(--green-950); font-size: .9rem; }
.contact-privacy-summary p { margin: 0; font-size: .77rem; line-height: 1.62; }
.contact-privacy-summary b { color: var(--green-900); }
.contact-privacy-summary a { color: var(--green-700); font-weight: 800; }
.contact-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 19px; cursor: pointer; }
.contact-consent input { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--green-700); }
.contact-consent span { color: var(--ink-700); font-size: .86rem; }
.contact-consent strong { color: var(--error); }
.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.contact-submit-row p { max-width: 350px; margin: 0; color: var(--ink-600); font-size: .79rem; }
.contact-submit-row p a { color: var(--green-700); font-weight: 750; }
.contact-submit-row .button { flex: 0 0 auto; }
.contact-submit-row .button:disabled { cursor: wait; opacity: .68; transform: none; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact-alert { margin-bottom: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.contact-alert[hidden] { display: none; }
.contact-alert strong { display: block; color: var(--green-950); }
.contact-alert p { margin: 3px 0 0; color: var(--ink-700); font-size: .88rem; }
.contact-alert--success { border-color: #b7d9ae; background: #eff8ec; }
.contact-alert--error { border-color: #efb8b3; background: var(--error-bg); }
.contact-alert--error strong { color: var(--error); }

.contact-process { padding-top: 88px; }
.contact-process__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.contact-process__grid article {
  position: relative;
  min-height: 230px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-process__grid article > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--green-900);
  background: var(--lime-300);
  font-size: .82rem;
  font-weight: 900;
}
.contact-process__grid h3 { margin: 22px 0 8px; color: var(--green-950); font-size: 1.25rem; }
.contact-process__grid p { margin: 0; color: var(--ink-700); font-size: .9rem; }
.contact-process__grid article::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(140,198,63,.18);
  border-radius: 50%;
}

@media (max-width: 1120px) {
  .contact-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(370px, .72fr); gap: 45px; }
  .contact-form-layout { gap: 40px; }
}

@media (max-width: 980px) {
  .contact-hero { padding-top: 48px; }
  .contact-hero__grid { grid-template-columns: 1fr; }
  .official-channel { max-width: 720px; }
  .official-channel__media { height: 300px; }
  .contact-form-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .contact-detail { max-width: 520px; }
}

@media (max-width: 760px) {
  .contact-hero { padding: 42px 0 58px; }
  .contact-hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .official-channel__media { height: 230px; }
  .official-channel__body { padding: 27px 24px 30px; }
  .contact-form-card { padding: 26px 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-field--full { grid-column: auto; }
  .contact-submit-row { align-items: stretch; flex-direction: column; }
  .contact-submit-row .button { width: 100%; }
  .contact-process__grid { grid-template-columns: 1fr; }
  .contact-process__grid article { min-height: auto; }
}

@media (max-width: 480px) {
  .contact-hero__actions { display: grid; }
  .contact-hero__actions .button { width: 100%; }
  .contact-hero__notice { padding: 13px; }
  .official-channel__media { height: 190px; }
  .official-channel__email { font-size: 1.16rem; }
  .contact-form-card { padding: 23px 17px; border-radius: 20px; }
  .contact-field__label-row { display: block; }
  .contact-counter { display: block; margin: -4px 0 7px; }
}

@media print {
  .announcement, .site-header, .contact-hero__actions, .contact-submit-row, .site-footer { display: none !important; }
  .contact-hero, .contact-form-section, .contact-process { padding: 24px 0; background: #fff; }
  .contact-form-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .contact-form-card, .official-channel, .contact-process__grid article { box-shadow: none; }
}
