/* =========================================================
   Contact page — Sanaye Danesh Bartar
   Scoped to .contact-page to keep other pages unchanged.
========================================================= */

.contact-page {
  --contact-charcoal: #25262b;
  --contact-slate: #313842;
  --contact-body: #606065;
  --contact-muted: #8b8b90;
  --contact-light-gray: #9c9b9f;
  --contact-orange: #f27905;
  --contact-orange-hover: #d96c04;
  --contact-soft-orange: #e1a068;
  --contact-orange-light: #fff3e8;
  --contact-background: #efeded;
  --contact-alt: #f7f7f7;
  --contact-border: #e5e5e5;
  --contact-white: #fff;
  --contact-radius-lg: 30px;
  --contact-radius-md: 22px;
  --contact-shadow: 0 22px 60px rgba(37, 38, 43, 0.09);
  --contact-shadow-hover: 0 28px 70px rgba(37, 38, 43, 0.14);
  overflow-x: clip;
  background: var(--contact-white);
  color: var(--contact-charcoal);
}

.contact-page main {
  overflow: clip;
}

.contact-container,
.contact-hero__inner {
  width: min(1480px, calc(100% - clamp(40px, 8vw, 128px)));
  margin-inline: auto;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--orange-text);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-kicker > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 5px 14px rgba(242, 121, 5, 0.24);
}

.contact-kicker--light {
  color: #ff9e4a;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  color: var(--contact-orange);
  border: 1px solid rgba(242, 121, 5, 0.15);
  border-radius: 15px;
  background: var(--contact-orange-light);
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease-premium),
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.35s var(--ease-premium);
}

.contact-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button--primary {
  color: var(--contact-charcoal);
  background: var(--contact-orange);
  box-shadow: 0 14px 28px rgba(242, 121, 5, 0.22);
}

.contact-button--secondary {
  color: var(--contact-charcoal);
  border-color: var(--contact-border);
  background: var(--contact-white);
}

.contact-button--dark {
  color: var(--contact-white);
  background: var(--contact-charcoal);
  box-shadow: 0 14px 30px rgba(37, 38, 43, 0.14);
}

.contact-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(242, 121, 5, 0.35);
  outline-offset: 3px;
}

/* Hero */

.contact-hero {
  position: relative;
  padding: clamp(32px, 4vw, 62px) 0 clamp(72px, 8vw, 118px);
  background:
    radial-gradient(
      circle at 4% 16%,
      rgba(225, 160, 104, 0.11),
      transparent 26%
    ),
    linear-gradient(180deg, #fff 0%, #fdfcfb 100%);
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 42px;
  width: clamp(80px, 12vw, 190px);
  height: 1px;
  background: var(--contact-orange);
  opacity: 0.72;
}

.contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.82fr);
  gap: clamp(54px, 7vw, 116px);
  align-items: center;
}

.contact-hero__copy {
  padding-block: 22px;
  text-align: right;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(40px, 5vw, 72px);
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.8;
}

.contact-breadcrumb a {
  transition: color 0.25s ease;
}

.contact-breadcrumb svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #b4b4b7;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
}

.contact-hero h1 {
  margin: 0;
  color: var(--contact-charcoal);
  font-size: clamp(46px, 4.4vw, 70px);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -2.6px;
}

.contact-hero h1 strong {
  color: var(--contact-slate);
  font-weight: 700;
}

.contact-hero__lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--contact-body);
  font-size: 15.5px;
  line-height: 2.25;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.9;
}

.contact-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-hero__meta i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.08);
}

.contact-hero__visual {
  position: relative;
  min-height: 550px;
  margin: 0;
  overflow: visible;
}

.contact-hero__visual::before {
  content: "";
  position: absolute;
  inset: -18px 20px 18px -18px;
  z-index: 0;
  border: 1px solid rgba(49, 56, 66, 0.12);
  border-radius: 34px;
}

.contact-hero__visual::after {
  content: "";
  position: absolute;
  top: 28px;
  left: -11px;
  z-index: 2;
  width: 22px;
  height: 72px;
  border-radius: 99px;
  background: var(--contact-orange);
}

.contact-hero__visual > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--contact-radius-lg);
  box-shadow: var(--contact-shadow);
}

.contact-hero__address-card {
  position: absolute;
  right: -38px;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  min-height: 88px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  padding: 15px 17px;
  color: var(--contact-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(37, 38, 43, 0.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.contact-hero__address-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
  text-align: right;
}

.contact-hero__address-card small {
  color: var(--contact-muted);
  font-size: 11px;
}

.contact-hero__address-card strong {
  overflow: hidden;
  color: var(--contact-charcoal);
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-hero__address-card > a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--contact-charcoal);
  border: 1px solid var(--contact-border);
  border-radius: 13px;
  background: var(--contact-white);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s var(--ease-premium);
}

.contact-hero__address-card > a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
}

/* Contact channels */

.contact-channels {
  padding: clamp(84px, 9vw, 138px) 0;
  background: var(--contact-alt);
  border-block: 1px solid var(--contact-border);
}

.contact-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: 46px;
  text-align: right;
}

.contact-section-heading h2,
.contact-location__info h2,
.contact-message-section__copy h2,
.contact-admission-cta h2 {
  margin: 0;
  color: var(--contact-charcoal);
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -1.2px;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-channel-card {
  min-width: 0;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 26px;
  overflow: hidden;
  text-align: right;
  border: 1px solid var(--contact-border);
  border-radius: var(--contact-radius-md);
  background: var(--contact-white);
  box-shadow: 0 12px 36px rgba(37, 38, 43, 0.035);
  transition:
    transform 0.42s var(--ease-premium),
    border-color 0.32s ease,
    box-shadow 0.42s var(--ease-premium);
}

.contact-channel-card--featured {
  color: var(--contact-white);
  border-color: var(--contact-charcoal);
  background:
    radial-gradient(
      circle at 5% 100%,
      rgba(242, 121, 5, 0.18),
      transparent 34%
    ),
    var(--contact-charcoal);
  box-shadow: 0 20px 48px rgba(37, 38, 43, 0.16);
}

.contact-channel-card__head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-channel-card--featured .contact-icon {
  color: #ff9e4a;
  border-color: rgba(255, 158, 74, 0.18);
  background: rgba(242, 121, 5, 0.12);
}

.contact-channel-card__badge {
  padding: 7px 11px;
  color: #ffd6b4;
  font-size: 9.5px;
  line-height: 1.5;
  font-weight: 700;
  border: 1px solid rgba(255, 158, 74, 0.22);
  border-radius: 999px;
  background: rgba(242, 121, 5, 0.1);
  white-space: nowrap;
}

.contact-channel-card p {
  margin: 0 0 7px;
  color: var(--contact-body);
  font-size: 13px;
  font-weight: 600;
}

.contact-channel-card--featured p {
  color: #bab9bd;
}

.contact-channel-card__number {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: var(--contact-charcoal);
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.6;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.contact-channel-card--featured .contact-channel-card__number {
  color: var(--contact-white);
}

.contact-channel-card small {
  display: block;
  margin-top: 10px;
  color: var(--contact-muted);
  font-size: 11.5px;
  line-height: 2;
}

.contact-channel-card--featured small {
  color: #aaa9ad;
}

.contact-channel-card__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--contact-charcoal);
  font-size: 12.5px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-channel-card--featured .contact-channel-card__link {
  color: #ffac65;
}

.contact-channel-card__link span {
  transition: transform 0.3s var(--ease-premium);
}

.contact-channel-card__email {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--contact-charcoal);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-social-links a {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--contact-body);
  font-size: 11px;
  border: 1px solid var(--contact-border);
  border-radius: 999px;
  background: var(--contact-alt);
}

/* School branches */

.contact-branches {
  scroll-margin-top: 112px;
  padding: clamp(84px, 9vw, 138px) 0;
  background:
    radial-gradient(circle at 94% 3%, rgba(242, 121, 5, 0.07), transparent 26%),
    var(--contact-alt);
  border-block: 1px solid var(--contact-border);
}

.contact-branches__grid {
  display: grid;
  gap: 24px;
}

.contact-branch-card {
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 30px;
  background: var(--contact-white);
  box-shadow: 0 20px 58px rgba(37, 38, 43, 0.07);
}

.contact-branch-card--second {
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--contact-charcoal);
}

.contact-branch-card__header {
  min-height: 118px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 25px clamp(26px, 3vw, 42px);
  border-bottom: 1px solid var(--contact-border);
  background:
    linear-gradient(90deg, rgba(242, 121, 5, 0.035), transparent 44%),
    #fff;
}

.contact-branch-card--second .contact-branch-card__header {
  background:
    radial-gradient(circle at 93% 10%, rgba(242, 121, 5, 0.14), transparent 34%),
    var(--contact-charcoal);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-branch-card__number {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(242, 121, 5, 0.2);
  border-radius: 16px;
  background: var(--contact-orange-light);
}

.contact-branch-card__header > div {
  display: grid;
  gap: 2px;
}

.contact-branch-card__header small {
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.7;
}

.contact-branch-card--second .contact-branch-card__header small {
  color: #aaa9ad;
}

.contact-branch-card__header h3 {
  margin: 0;
  color: var(--contact-charcoal);
  font-size: clamp(25px, 2.3vw, 36px);
  line-height: 1.55;
  font-weight: 680;
}

.contact-branch-card--second .contact-branch-card__header h3 {
  color: #fff;
}

.contact-branch-card__body {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  min-height: 410px;
}

.contact-branch-card__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(30px, 4vw, 52px);
  text-align: right;
}

.contact-branch-card--second .contact-branch-card__info {
  background:
    radial-gradient(
      circle at 93% 10%,
      rgba(242, 121, 5, 0.14),
      transparent 34%
    ),
    var(--contact-charcoal);
}

.contact-branch-card__info > div:not(.contact-branch-card__actions) {
  display: grid;
  gap: 8px;
}

.contact-branch-card__info > div > span {
  color: var(--orange-text);
  font-size: 10.5px;
  line-height: 1.7;
  font-weight: 750;
}

.contact-branch-card--second .contact-branch-card__info > div > span {
  color: #ff9e4a;
}

.contact-branch-card address {
  max-width: 55ch;
  color: var(--contact-body);
  font-size: 14px;
  line-height: 2.15;
  font-style: normal;
}

.contact-branch-card--second address {
  color: #dfdee1;
}

.contact-branch-card__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-branch-card__phones a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--contact-charcoal);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--contact-border);
  border-radius: 13px;
  background: var(--contact-alt);
}

.contact-branch-card--second .contact-branch-card__phones a {
  color: var(--contact-white);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.contact-branch-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.contact-branch-card__actions .contact-button {
  flex: 1 1 180px;
  padding-inline: 17px;
}

.contact-branch-card--second .contact-button--secondary {
  color: var(--contact-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.contact-branch-card__map {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: var(--contact-background);
  border-right: 1px solid var(--contact-border);
}

.contact-branch-card__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: grayscale(0.08) contrast(0.98);
}

.contact-branch-card__map > span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--contact-charcoal);
  font-size: 10.5px;
  font-weight: 750;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(37, 38, 43, 0.12);
  backdrop-filter: blur(12px);
}

.contact-shared-channels {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(320px, 1.15fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 24px;
  padding: 24px 27px;
  text-align: right;
  border: 1px solid var(--contact-border);
  border-radius: 20px;
  background: #fff;
}

.contact-shared-channels > div:first-child {
  display: grid;
  gap: 4px;
}

.contact-shared-channels > div:first-child > span {
  color: var(--contact-muted);
  font-size: 10px;
}

.contact-shared-channels > div:first-child > a {
  overflow-wrap: anywhere;
  color: var(--contact-charcoal);
  font-size: 13px;
  font-weight: 700;
}

.contact-shared-channels > p {
  margin: 0;
  color: var(--contact-body);
  font-size: 12px;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .contact-branch-card__body {
    grid-template-columns: 1fr;
  }

  .contact-branch-card__map {
    min-height: 330px;
    border-top: 1px solid var(--contact-border);
    border-right: 0;
  }

  .contact-shared-channels {
    grid-template-columns: 1fr 1fr;
  }

  .contact-shared-channels .contact-social-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .contact-branch-card {
    border-radius: 23px;
  }

  .contact-branch-card__header {
    min-height: 100px;
    padding: 21px;
  }

  .contact-branch-card__info {
    padding: 27px 21px;
  }

  .contact-branch-card__phones a {
    flex: 1 1 145px;
    justify-content: center;
  }

  .contact-branch-card__map {
    min-height: 260px;
  }

  .contact-shared-channels {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-shared-channels .contact-social-links {
    grid-column: auto;
  }
}

/* Location */

.contact-location {
  padding: clamp(82px, 9vw, 138px) 0;
  background: var(--contact-white);
}

.contact-location__grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.76fr) minmax(0, 1.34fr);
  gap: clamp(42px, 6vw, 94px);
  align-items: stretch;
}

.contact-location__info {
  align-self: center;
  padding-block: 20px;
  text-align: right;
}

.contact-location__info address {
  margin: 24px 0 0;
  color: var(--contact-body);
  font-size: 15px;
  line-height: 2.25;
  font-style: normal;
}

.contact-location__notes {
  display: grid;
  gap: 5px;
  margin: 32px 0;
  padding-block: 8px;
  border-block: 1px solid var(--contact-border);
}

.contact-location__notes > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 12px 0;
}

.contact-location__notes .contact-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border: 0;
  border-radius: 13px;
  background: var(--contact-alt);
}

.contact-location__notes .contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-location__notes > div > span:last-child {
  display: grid;
  gap: 2px;
}

.contact-location__notes small {
  color: var(--contact-muted);
  font-size: 10.5px;
}

.contact-location__notes strong {
  color: var(--contact-charcoal);
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 600;
}

.contact-map {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: var(--contact-radius-lg);
  background: var(--contact-background);
  box-shadow: var(--contact-shadow);
}

.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: grayscale(0.08) contrast(0.98);
}

.contact-map__label {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  color: var(--contact-charcoal);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(37, 38, 43, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-map__label span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--contact-orange);
  box-shadow: 0 0 0 6px rgba(242, 121, 5, 0.11);
}

/* Contact form */

.contact-message-section {
  position: relative;
  isolation: isolate;
  padding: clamp(82px, 9vw, 136px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 121, 5, 0.13), transparent 28%),
    radial-gradient(
      circle at 6% 96%,
      rgba(255, 255, 255, 0.05),
      transparent 30%
    ),
    var(--contact-charcoal);
}

.contact-message-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.contact-message-section__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.15fr);
  gap: clamp(54px, 8vw, 122px);
  align-items: center;
}

.contact-message-section__copy {
  text-align: right;
}

.contact-message-section__copy h2 {
  color: var(--contact-white);
}

.contact-message-section__copy > p:not(.contact-kicker) {
  margin: 24px 0 0;
  color: #bab9bd;
  font-size: 14px;
  line-height: 2.25;
}

.contact-message-section__copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.contact-message-section__copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dfdee1;
  font-size: 12.5px;
  line-height: 1.9;
}

.contact-message-section__copy li span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ff9e4a;
  font-size: 12px;
  border: 1px solid rgba(255, 158, 74, 0.22);
  border-radius: 50%;
  background: rgba(242, 121, 5, 0.08);
}

.contact-message-section__copy > a {
  width: fit-content;
  display: grid;
  gap: 3px;
  padding-right: 15px;
  border-right: 2px solid var(--contact-orange);
}

.contact-message-section__copy > a span {
  color: #8f8e93;
  font-size: 10.5px;
}

.contact-message-section__copy > a strong {
  color: var(--contact-white);
  font-size: 13px;
  line-height: 1.8;
}

.contact-form-card {
  min-width: 0;
  padding: clamp(28px, 3vw, 46px);
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--contact-radius-lg);
  background: var(--contact-white);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form-card__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-form-card__heading h3 {
  margin: 0;
  color: var(--contact-charcoal);
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}

.contact-form-card__heading p {
  margin: 1px 0 0;
  color: var(--contact-muted);
  font-size: 10.5px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--contact-slate);
  font-size: 11.5px;
  line-height: 1.8;
  font-weight: 600;
}

.contact-field label span {
  color: var(--contact-orange);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--contact-border);
  border-radius: 14px;
  background: var(--contact-alt);
  color: var(--contact-charcoal);
  font: inherit;
  font-size: 13px;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-field input,
.contact-field select {
  min-height: 53px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 128px;
  padding: 14px 15px;
  line-height: 2;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a8a8ac;
  opacity: 1;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 0;
  border-color: rgba(242, 121, 5, 0.62);
  background: var(--contact-white);
  box-shadow: 0 0 0 4px rgba(242, 121, 5, 0.08);
}

.contact-form-card__submit {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 0 22px;
  color: var(--contact-charcoal);
  border: 0;
  border-radius: 15px;
  background: var(--contact-orange);
  box-shadow: 0 14px 28px rgba(242, 121, 5, 0.2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-premium),
    background-color 0.25s ease,
    box-shadow 0.3s ease;
}

.contact-form-card__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form-card__submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
}

.contact-form-card__note {
  margin: 13px 0 0;
  color: var(--contact-muted);
  font-size: 10.5px;
  line-height: 1.9;
  text-align: center;
}

.contact-form-status {
  min-height: 0;
  margin-top: 0;
  padding: 0;
  color: var(--contact-body);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
  border: 0 solid transparent;
  border-radius: 12px;
  transition:
    margin 0.25s ease,
    padding 0.25s ease,
    background-color 0.25s ease;
}

.contact-form-status:not(:empty) {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin-top: 12px;
  padding: 8px 12px;
}

.contact-form-status[data-state="error"] {
  color: #b42318;
  border-width: 1px;
  border-color: #fecaca;
  background: #fff1f1;
}

.contact-form-status[data-state="success"] {
  color: #166534;
  border-width: 1px;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

/* Admission CTA */

.contact-admission-cta {
  padding: clamp(66px, 7vw, 98px) 0;
  background: var(--contact-orange-light);
  border-bottom: 1px solid rgba(242, 121, 5, 0.12);
}

.contact-admission-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  text-align: right;
}

.contact-admission-cta h2 {
  font-size: clamp(29px, 2.7vw, 42px);
}

.contact-admission-cta p:not(.contact-kicker) {
  margin: 13px 0 0;
  color: var(--contact-body);
  font-size: 13.5px;
  line-height: 2;
}

/* Hover */

@media (hover: hover) and (pointer: fine) {
  .contact-breadcrumb a:hover {
    color: var(--contact-orange);
  }

  .contact-button:hover,
  .contact-form-card__submit:hover {
    transform: translateY(-3px);
  }

  .contact-button--primary:hover,
  .contact-form-card__submit:hover {
    background: var(--contact-orange-hover);
    color: #1f2024;
    box-shadow: 0 18px 36px rgba(217, 108, 4, 0.27);
  }

  .contact-button--secondary:hover {
    color: var(--contact-orange-hover);
    border-color: rgba(242, 121, 5, 0.34);
    box-shadow: 0 14px 30px rgba(37, 38, 43, 0.07);
  }

  .contact-branch-card--second .contact-button--secondary:hover {
    color: var(--contact-white);
    border-color: rgba(255, 158, 74, 0.5);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  }

  .contact-branch-card--second .contact-branch-card__phones a:hover {
    border-color: rgba(255, 158, 74, 0.45);
    background: rgba(255, 255, 255, 0.13);
  }

  .contact-button--dark:hover {
    background: var(--contact-slate);
    box-shadow: 0 18px 36px rgba(37, 38, 43, 0.22);
  }

  .contact-hero__address-card > a:hover {
    color: var(--contact-orange);
    border-color: rgba(242, 121, 5, 0.32);
    transform: translateX(-3px);
  }

  .contact-channel-card:hover {
    transform: translateY(-7px);
    border-color: rgba(242, 121, 5, 0.2);
    box-shadow: var(--contact-shadow-hover);
  }

  .contact-channel-card--featured:hover {
    border-color: var(--contact-charcoal);
  }

  .contact-channel-card__link:hover span {
    transform: translateX(-4px);
  }

  .contact-social-links a:hover {
    color: var(--contact-orange-hover);
    border-color: rgba(242, 121, 5, 0.28);
    background: var(--contact-orange-light);
  }
}

/* Responsive */

@media (max-width: 1240px) {
  .contact-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
    gap: 58px;
  }

  .contact-hero__visual {
    min-height: 500px;
  }

  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-channel-card__number {
    font-size: 26px;
  }

  .contact-message-section__grid {
    grid-template-columns: minmax(280px, 0.7fr) minmax(500px, 1.18fr);
    gap: 62px;
  }
}

@media (max-width: 980px) {
  .contact-container,
  .contact-hero__inner {
    width: min(100% - 48px, 840px);
  }

  .contact-hero {
    padding-top: 24px;
  }

  .contact-hero__inner,
  .contact-location__grid,
  .contact-message-section__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__inner {
    gap: 42px;
  }

  .contact-breadcrumb {
    margin-bottom: 42px;
  }

  .contact-hero__lead {
    max-width: 720px;
  }

  .contact-hero__visual {
    min-height: 470px;
  }

  .contact-hero__address-card {
    right: 24px;
  }

  .contact-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-location__grid {
    gap: 44px;
  }

  .contact-location__info {
    max-width: 720px;
    padding: 0;
  }

  .contact-map {
    min-height: 460px;
  }

  .contact-message-section__grid {
    gap: 48px;
  }

  .contact-message-section__copy {
    max-width: 700px;
  }

  .contact-form-card {
    width: min(100%, 760px);
  }
}

@media (max-width: 680px) {
  .contact-container,
  .contact-hero__inner {
    width: calc(100% - 40px);
  }

  .contact-hero {
    padding: 20px 0 70px;
  }

  .contact-hero::after {
    bottom: 24px;
  }

  .contact-hero__copy {
    padding-block: 8px;
  }

  .contact-breadcrumb {
    margin-bottom: 34px;
  }

  .contact-hero h1 {
    font-size: clamp(36px, 10.2vw, 46px);
    line-height: 1.48;
    letter-spacing: -1.5px;
  }

  .contact-hero__lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2.2;
  }

  .contact-hero__actions {
    display: grid;
    margin-top: 28px;
  }

  .contact-button {
    width: 100%;
    min-height: 54px;
  }

  .contact-hero__meta {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .contact-hero__visual {
    min-height: 380px;
  }

  .contact-hero__visual::before {
    inset: -10px 12px 12px -10px;
    border-radius: 27px;
  }

  .contact-hero__visual::after {
    top: 20px;
    left: -7px;
    width: 14px;
    height: 50px;
  }

  .contact-hero__visual > img {
    border-radius: 24px;
  }

  .contact-hero__address-card {
    right: 12px;
    left: 12px;
    bottom: 12px;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 10px;
    min-height: 78px;
    padding: 12px;
    border-radius: 17px;
  }

  .contact-hero__address-card .contact-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .contact-hero__address-card .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-hero__address-card strong {
    font-size: 11.5px;
  }

  .contact-hero__address-card > a {
    width: 38px;
    height: 38px;
  }

  .contact-section-heading {
    margin-bottom: 30px;
  }

  .contact-section-heading h2,
  .contact-location__info h2,
  .contact-message-section__copy h2,
  .contact-admission-cta h2 {
    font-size: 30px;
    line-height: 1.65;
    letter-spacing: -0.8px;
  }

  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .contact-channel-card {
    min-height: 300px;
    padding: 23px;
  }

  .contact-channel-card__number {
    font-size: 25px;
  }

  .contact-location__info address {
    font-size: 14px;
  }

  .contact-location__notes {
    margin: 26px 0;
  }

  .contact-location__notes > div {
    align-items: start;
  }

  .contact-location__notes strong {
    font-size: 11.5px;
  }

  .contact-map {
    min-height: 340px;
    border-radius: 22px;
  }

  .contact-map__label {
    right: 14px;
    bottom: 14px;
  }

  .contact-message-section__copy ul {
    margin-block: 26px;
  }

  .contact-form-card {
    padding: 23px 18px;
    border-radius: 22px;
  }

  .contact-form-card__heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .contact-form-card__heading h3 {
    font-size: 21px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-field--full {
    grid-column: auto;
  }

  .contact-form-card__note {
    padding-inline: 4px;
  }

  .contact-admission-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 400px) {
  .contact-container,
  .contact-hero__inner {
    width: calc(100% - 32px);
  }

  .contact-hero__visual {
    min-height: 340px;
  }

  .contact-channel-card__badge {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-channel-card__email {
    font-size: 12.5px;
  }

  .contact-form-card__heading .contact-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
