/* Section 09 — CONTACT (scoped) */

.contact-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--scroll-offset, 86px);
  overflow-x: hidden;
}

.contact-section .contact-container {
  width: min(1470px, calc(100% - 64px));
  margin-inline: auto;
  padding: 56px 0 56px;
}

.contact-section .contact-main {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

/* Heading */
.contact-section .contact-heading-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}

.contact-section .contact-section-number {
  font-family: var(--font-display);
  font-size: 116px;
  font-weight: 300;
  line-height: 0.8;
  color: #d0d0cc;
}

.contact-section .contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--red);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section .contact-eyebrow i {
  width: 42px;
  height: 2px;
  background: var(--red);
  display: block;
  flex-shrink: 0;
}

.contact-section .contact-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(60px, 5vw, 82px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--black);
}

.contact-section .red-dot {
  color: var(--red);
}

.contact-section .contact-intro {
  margin: 20px 0 0;
  max-width: 46ch;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
}

/* Support grid */
.contact-section .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-section .support-item {
  min-width: 0;
  padding: 18px 20px 20px 0;
}

.contact-section .support-item:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.contact-section .support-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.contact-section .support-item h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-section .support-item p {
  margin: 6px 0 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #555555;
}

/* Phone strip */
.contact-section .contact-phone {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  border-top: 1px solid var(--line);
}

.contact-section .contact-form-wrap .contact-phone {
  margin-top: 18px;
  padding-top: 16px;
}

.contact-section .contact-phone span {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #555555;
}

.contact-section .contact-phone a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.contact-section .contact-phone a:hover {
  color: var(--red);
}

/* Form */
.contact-section .contact-form-wrap {
  padding-top: 8px;
}

.contact-section .form-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.contact-section .form-heading span {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: var(--navy);
}

.contact-section .contact-head-office {
  margin-top: 18px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: #333333;
}

.contact-section .contact-head-office-name {
  margin: 0 0 10px;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--black);
}

.contact-section .contact-head-office-contact {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, var(--black));
}

.contact-section .contact-head-office-role {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555555;
}

.contact-section .contact-head-office address {
  margin: 0 0 14px;
  font-style: normal;
}

.contact-section .contact-head-office-line {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-section .contact-head-office-line span {
  font-weight: 600;
  color: var(--black);
}

.contact-section .contact-head-office-line a {
  color: var(--black);
  text-decoration: none;
}

.contact-section .contact-head-office-line a:hover {
  color: var(--red);
}

/* Head office contact card */
.contact-section .contact-office-card {
  background: var(--navy);
  border: 0;
  border-top: 3px solid var(--red);
  padding: 28px 28px 24px;
  color: var(--white);
}

.contact-section .contact-office-card .form-heading h3 {
  font-size: 13px;
  color: var(--white);
}

.contact-section .contact-office-card .form-heading span {
  background: var(--red);
}

.contact-section .contact-office-card .contact-head-office {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--white) 78%, var(--navy));
}

.contact-section .contact-office-card .contact-head-office-name {
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--white);
}

.contact-section .contact-office-card .contact-head-office-contact {
  color: var(--white);
}

.contact-section .contact-office-card .contact-head-office-role {
  color: color-mix(in srgb, var(--white) 62%, var(--navy));
}

.contact-section .contact-office-card address {
  margin-bottom: 18px;
  color: color-mix(in srgb, var(--white) 72%, var(--navy));
}

.contact-section .contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}

.contact-section .contact-channel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 12px 16px 12px 0;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.contact-section .contact-channel:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}

.contact-section .contact-channel:nth-child(-n + 2) {
  border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}

.contact-section .contact-channel:nth-child(3) {
  grid-column: 1 / -1;
  padding-left: 0;
  border-left: 0;
}

.contact-section .contact-channel-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) 62%, var(--navy));
  line-height: 1;
}

.contact-section .contact-channel-value {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  word-break: break-word;
}

.contact-section .contact-channel:hover {
  border-color: transparent;
  background: transparent;
}

.contact-section .contact-channel:hover .contact-channel-value {
  color: color-mix(in srgb, var(--white) 86%, var(--red));
}

.contact-section .contact-channel:active {
  transform: none;
}

.contact-section .contact-channel:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.contact-section .contact-office-card .contact-phone {
  margin-top: 16px;
  padding-top: 14px;
  border-top-color: color-mix(in srgb, var(--white) 18%, transparent);
}

.contact-section .contact-office-card .contact-phone span {
  color: color-mix(in srgb, var(--white) 62%, var(--navy));
}

.contact-section .contact-office-card .contact-phone a {
  font-size: 15px;
  color: var(--white);
}

.contact-section .contact-instagram {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  margin-top: 18px;
  padding: 12px 0 10px;
  border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  color: var(--white);
  text-decoration: none;
}

.contact-section .contact-instagram-icon {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.contact-section .contact-instagram-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.contact-section .contact-instagram-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) 62%, var(--navy));
}

.contact-section .contact-instagram-handle {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.contact-section .contact-instagram > span:last-child {
  margin-left: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--red);
}

.contact-section .contact-instagram:hover .contact-instagram-handle {
  color: color-mix(in srgb, var(--white) 88%, var(--red));
}

.contact-section .contact-instagram:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.contact-section .enquiry-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-section .field-with-icon {
  position: relative;
}

.contact-section .field-with-icon .field-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.contact-section .field-with-icon.textarea-wrap .field-icon {
  top: 12px;
  transform: none;
}

.contact-section .enquiry-form input,
.contact-section .enquiry-form select,
.contact-section .enquiry-form textarea {
  width: 100%;
  height: 32px;
  border: 1px solid #d5d5d1;
  border-radius: 0;
  background: transparent;
  padding: 0 12px 0 32px;
  font-family: Inter, sans-serif;
  font-size: 10px;
  color: var(--black);
}

.contact-section .enquiry-form textarea {
  height: 72px;
  padding-top: 10px;
  resize: vertical;
}

.contact-section .enquiry-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%),
    linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 14px) 13px, calc(100% - 9px) 13px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-section .enquiry-form input::placeholder,
.contact-section .enquiry-form textarea::placeholder {
  color: #777777;
}

.contact-section .enquiry-form input:focus-visible,
.contact-section .enquiry-form select:focus-visible,
.contact-section .enquiry-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.contact-section .form-legal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.contact-section .form-legal input {
  width: auto;
  height: auto;
  margin-top: 2px;
  padding: 0;
}

.contact-section .form-legal label {
  font-family: Inter, sans-serif;
  font-size: 9px;
  line-height: 1.45;
  color: #555555;
}

.contact-section .form-legal a {
  color: var(--red);
}

.contact-section .submit-enquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  border: none;
  border-radius: 0;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 250ms ease;
}

.contact-section .submit-enquiry:hover {
  background: #9a1d1a;
}

.contact-section .submit-enquiry:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.contact-section .submit-enquiry span:last-child {
  font-size: 20px;
  font-weight: 300;
}

.contact-section .form-security {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: Inter, sans-serif;
  font-size: 9px;
  color: #888888;
}

.contact-section .form-security img {
  width: 12px;
  height: 12px;
}

.contact-section .form-status {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 10px;
  color: var(--red);
}

.contact-section .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Locations */
.contact-section .locations-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr 1.25fr;
  min-height: 118px;
  margin-top: 36px;
  border: 1px solid #d6d6d2;
}

.contact-section .locations-intro {
  padding: 22px 24px;
}

.contact-section .locations-intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.contact-section .locations-intro h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: var(--red);
}

.contact-section .locations-intro p {
  margin: 12px 0 0;
  max-width: 180px;
  font-family: Inter, sans-serif;
  font-size: 10px;
  line-height: 1.45;
  color: #555555;
}

.contact-section .location-block {
  padding: 22px 20px;
  border-left: 1px solid #d8d8d4;
}

.contact-section .location-block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.contact-section .location-block h4 img {
  width: 14px;
  height: 14px;
}

.contact-section .location-block address {
  margin: 10px 0 0;
  font-style: normal;
  font-family: Inter, sans-serif;
  font-size: 9px;
  line-height: 1.45;
  color: #444444;
}

.contact-section .location-block a {
  display: block;
  margin-top: 6px;
  font-family: Inter, sans-serif;
  font-size: 9px;
  color: var(--black);
  text-decoration: none;
}

.contact-section .location-map {
  position: relative;
  padding: 16px;
  border-left: 1px solid #d8d8d4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-section .location-map img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

@media (max-width: 1023px) {
  .contact-section .contact-container {
    width: calc(100% - 48px);
  }

  .contact-section .contact-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .contact-section .contact-section-number {
    font-size: 72px;
  }
}

@media (max-width: 767px) {
  .contact-section .contact-container {
    width: calc(100% - 32px);
    padding-top: 32px;
  }

  .contact-section .contact-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .contact-section .contact-information {
    display: contents;
  }

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

  .contact-section .contact-office-card {
    order: 2;
    padding: 20px 18px 18px;
  }

  .contact-section .contact-support-grid {
    order: 3;
    margin-top: 0;
  }

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

  .contact-section .contact-channel,
  .contact-section .contact-channel:nth-child(even) {
    padding: 14px 0;
    border-left: 0;
  }

  .contact-section .contact-channel:nth-child(-n + 3) {
    border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  }

  .contact-section .contact-section-number {
    font-size: 64px;
  }

  .contact-section .contact-channels {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section .form-row {
    grid-template-columns: 1fr;
  }
}
