/*
|--------------------------------------------------------------------------
| Páina Contactos - MotoKids Moz
|--------------------------------------------------------------------------
*/

.contacts-page {
  --contact-red: #d71919;
  --contact-red-dark: #a80f0f;
  --contact-yellow: #f5c400;
  --contact-green: #1ebd59;
  --contact-black: #101010;
  --contact-text: #202124;
  --contact-muted: #68707a;
  --contact-border: #e5e7eb;
  --contact-background: #f6f6f6;
  --contact-white: #ffffff;

  overflow: hidden;
  background: var(--contact-white);
  color: var(--contact-text);
}

.contacts-page *,
.contacts-page *::before,
.contacts-page *::after {
  box-sizing: border-box;
}

.contacts-page img {
  display: block;
  max-width: 100%;
}

.contacts-page button,
.contacts-page input,
.contacts-page select,
.contacts-page textarea {
  font: inherit;
}

.contacts-page .eyebrow {
  margin: 0 0 7px;
  color: var(--contact-red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Banner principal
|--------------------------------------------------------------------------
*/

.contacts-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  isolation: isolate;
  background-color: #080808;
  color: #ffffff;
}

.contacts-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
  object-position: center 42%;

  transform: scale(1.03);
  animation: contactsHeroZoom 14s ease-in-out infinite alternate;
  will-change: transform;

  pointer-events: none;
  user-select: none;
}

.contacts-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 31%,
      rgba(0, 0, 0, 0.72) 48%,
      rgba(0, 0, 0, 0.24) 72%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.contacts-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 470px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.contacts-hero-content::before {
  content: "";
  position: absolute;
  top: 74px;
  right: 1%;
  width: 42%;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(215, 25, 25, 0.72),
      var(--contact-red),
      transparent
    );
  transform: rotate(-8deg);
  transform-origin: right center;
  pointer-events: none;
}

.contacts-hero-content::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 73px;
  width: 37%;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--contact-yellow),
      var(--contact-red),
      transparent
    );
  transform: rotate(-7deg);
  transform-origin: right center;
  opacity: 0.85;
  pointer-events: none;
}

.contacts-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
}

.contacts-hero-copy .eyebrow {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.contacts-hero-copy h1 {
  max-width: 610px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.contacts-hero-copy h1 strong {
  display: block;
  color: var(--contact-yellow);
  font: inherit;
}

.contacts-hero-description {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

@keyframes contactsHeroZoom {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.09);
  }
}

/*
|--------------------------------------------------------------------------
| Faixa de benefĆ­cios
|--------------------------------------------------------------------------
*/

.contacts-benefits {
  position: relative;
  z-index: 5;
  background: var(--contact-background);
}

.contacts-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 12px;
  background: #101010;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.17);
  transform: translateY(-24px);
  margin-bottom: -24px;
}

.contacts-benefits-grid article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 20px 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.contacts-benefits-grid article:last-child {
  border-right: 0;
}

.contacts-benefit-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--contact-yellow);
}

.contacts-benefit-icon svg {
  width: 31px;
  height: 31px;
}

.contacts-benefits-grid h2 {
  margin: 0;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.contacts-benefits-grid p {
  margin: 4px 0 0;
  color: #c9c9c9;
  font-size: 0.64rem;
  line-height: 1.45;
}

/*
|--------------------------------------------------------------------------
| FormulĆ�rio e informaĆ§Ćµes
|--------------------------------------------------------------------------
*/

.contacts-main-section {
  padding: 30px 0 72px;
  background: var(--contact-background);
}

.contacts-main-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(300px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.contacts-form-card,
.contact-information-card {
  border: 1px solid var(--contact-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 19px rgba(0, 0, 0, 0.04);
}

.contacts-form-card {
  padding: 25px;
}

.contacts-card-heading {
  margin-bottom: 21px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eeeeee;
}

.contacts-card-heading h2 {
  margin: 0;
  color: #111;
  font-size: 1.65rem;
}

.contacts-alert {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
}

.contacts-alert.success {
  border: 1px solid #a8dfba;
  background: #eaf8ef;
  color: #176b32;
}

.contacts-alert.error {
  border: 1px solid #efb1b1;
  background: #fff0f0;
  color: #9b1111;
}

.contacts-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field.full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: #333;
  font-size: 0.75rem;
  font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #dfe1e5;
  border-radius: 7px;
  background: #fff;
  color: #222;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-field input,
.contact-field select {
  min-height: 46px;
  padding: 0 13px;
}

.contact-field textarea {
  min-height: 145px;
  padding: 13px;
  resize: vertical;
  line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9ca3af;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--contact-red);
  box-shadow: 0 0 0 3px rgba(215, 25, 25, 0.1);
}

.contact-field small {
  color: var(--contact-muted);
  font-size: 0.67rem;
  text-align: right;
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.selected-contact-model {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid #f4d07b;
  border-radius: 7px;
  background: #fff9df;
  color: #5f4a00;
  font-size: 0.81rem;
}

.selected-contact-model svg {
  width: 20px;
  height: 20px;
  color: var(--contact-red);
}

.contact-submit-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--contact-red);
  border-radius: 7px;
  background: var(--contact-red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-submit-button:hover {
  border-color: var(--contact-red-dark);
  background: var(--contact-red-dark);
  box-shadow: 0 9px 20px rgba(215, 25, 25, 0.24);
  transform: translateY(-2px);
}

.contact-privacy-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -3px 0 0;
  color: var(--contact-muted);
  font-size: 0.68rem;
}

.contact-privacy-note svg {
  width: 16px;
  height: 16px;
}

/*
|--------------------------------------------------------------------------
| CartĆµes de contacto
|--------------------------------------------------------------------------
*/

.contacts-information {
  display: grid;
  gap: 12px;
}

.contact-information-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
}

.contact-information-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #fff;
}

.contact-information-icon.red {
  background: var(--contact-red);
}

.contact-information-icon.green {
  background: var(--contact-green);
}

.contact-information-icon.yellow {
  background: #f1ad0b;
}

.contact-information-icon svg {
  width: 26px;
  height: 26px;
}

.contact-information-card > div {
  min-width: 0;
}

.contact-information-card small,
.contact-information-card strong,
.contact-information-card a {
  display: block;
}

.contact-information-card small {
  margin-bottom: 4px;
  color: #3f3f3f;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-information-card strong,
.contact-information-card a {
  color: #111;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-information-card a:hover {
  color: var(--contact-red);
}

.contact-information-card p {
  margin: 5px 0 0;
  color: var(--contact-muted);
  font-size: 0.7rem;
}

.contact-opening-hours {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
}

.contact-opening-hours > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
}

.contact-opening-hours dt,
.contact-opening-hours dd {
  margin: 0;
  font-size: 0.7rem;
}

.contact-opening-hours dt {
  color: #333;
  font-weight: 800;
}

.contact-opening-hours dd {
  color: var(--contact-muted);
}

/*
|--------------------------------------------------------------------------
| CabeĆ§alhos de secĆ§Ć£o
|--------------------------------------------------------------------------
*/

.contacts-section-heading {
  margin-bottom: 23px;
}

.contacts-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

/*
|--------------------------------------------------------------------------
| LocalizaĆ§Ćµes
|--------------------------------------------------------------------------
*/

.contacts-locations-section {
  padding: 68px 0;
  background: #fff;
}

.contacts-locations-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(300px, 0.65fr);
  gap: 20px;
}

.contacts-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contacts-location-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--contact-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(0, 0, 0, 0.04);
}

.location-card-title {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.location-card-title > svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--contact-red);
}

.location-card-title h3 {
  margin: 0;
  color: #111;
  font-size: 0.96rem;
  text-transform: uppercase;
}

.location-card-title small {
  display: block;
  margin-top: 3px;
  color: var(--contact-red);
  font-size: 0.63rem;
  font-weight: 800;
}

.contacts-location-card > p {
  min-height: 45px;
  margin: 13px 0;
  color: var(--contact-muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.contacts-location-card > a:not(.button) {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #343434;
  font-size: 0.7rem;
  text-decoration: none;
}

.contacts-location-card > a:not(.button):hover {
  color: var(--contact-red);
}

.contacts-location-card > a svg {
  width: 15px;
  height: 15px;
  color: var(--contact-red);
}

.contacts-location-card .button {
  min-height: 40px;
  margin-top: 17px;
  border: 1px solid var(--contact-red);
  background: #fff;
  color: var(--contact-red) !important;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contacts-location-card .button:hover {
  background: var(--contact-red);
  color: #fff !important;
}

/*
|--------------------------------------------------------------------------
| Mapa ilustrativo
|--------------------------------------------------------------------------
*/

.contacts-map {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      rgba(217, 226, 234, 0.72),
      rgba(239, 244, 247, 0.95)
    );
}

.contacts-map::before,
.contacts-map::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(132, 181, 214, 0.28);
}

.contacts-map::before {
  width: 250px;
  height: 250px;
  right: -80px;
  bottom: -60px;
}

.contacts-map::after {
  width: 130px;
  height: 130px;
  left: -45px;
  top: -30px;
}

.map-road {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(209, 217, 222, 0.65);
}

.road-one {
  width: 115%;
  top: 43%;
  left: -8%;
  transform: rotate(-20deg);
}

.road-two {
  width: 88%;
  top: 62%;
  left: 8%;
  transform: rotate(17deg);
}

.road-three {
  width: 72%;
  top: 30%;
  left: 18%;
  transform: rotate(39deg);
}

.map-marker {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.93);
  color: #111;
  font-size: 0.76rem;
  box-shadow: 0 7px 17px rgba(0, 0, 0, 0.12);
}

.map-marker svg {
  width: 26px;
  height: 26px;
}

.map-marker.maputo {
  right: 18%;
  top: 38%;
}

.map-marker.maputo svg {
  color: var(--contact-red);
}

.map-marker.matola {
  left: 17%;
  bottom: 28%;
}

.map-marker.matola svg {
  color: #f1ad0b;
}

/*
|--------------------------------------------------------------------------
| Departamentos
|--------------------------------------------------------------------------
*/

.contacts-departments-section {
  padding: 68px 0;
  background: var(--contact-background);
}

.contacts-department-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.department-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #ffffff 68%,
      #f1f1f1 100%
    );
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.department-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(215, 25, 25, 0.13),
      rgba(215, 25, 25, 0)
    );
  pointer-events: none;
}

.department-card:nth-child(2)::after,
.department-card:nth-child(4)::after {
  background:
    radial-gradient(
      circle,
      rgba(245, 196, 0, 0.18),
      rgba(245, 196, 0, 0)
    );
}

.department-card:hover {
  border-color: rgba(215, 25, 25, 0.42);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.department-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 62%;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 8px 17px 18px;
}

.department-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--contact-red);
  color: #ffffff;
  box-shadow: 0 7px 14px rgba(215, 25, 25, 0.22);
}

.department-card:nth-child(2) .department-icon,
.department-card:nth-child(4) .department-icon {
  background: var(--contact-yellow);
  color: #111111;
  box-shadow: 0 7px 14px rgba(245, 196, 0, 0.24);
}

.department-icon svg {
  width: 23px;
  height: 23px;
}

.department-card h3 {
  margin: 14px 0 3px;
  color: #111111;
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.department-role {
  display: block;
  color: var(--contact-red);
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.35;
}

.department-card p {
  margin: 10px 0 0;
  color: var(--contact-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.department-phone {
  display: inline-block;
  margin-top: 12px;
  color: var(--contact-red);
  font-size: 0.69rem;
  font-weight: 900;
  text-decoration: none;
}

.department-phone:hover {
  color: var(--contact-red-dark);
}

.department-link {
  display: inline-flex;
  min-width: 126px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--contact-red);
  border-radius: 6px;
  background: #ffffff;
  color: var(--contact-red);
  font-size: 0.62rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.department-link:hover {
  background: var(--contact-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.department-link svg {
  width: 15px;
  height: 15px;
}

.department-person {
  position: absolute;
  z-index: 2;
  right: -13px;
  bottom: 0;
  width: 52%;
  height: 96%;
  margin: 0;
  pointer-events: none;
}

.department-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 11px 10px rgba(0, 0, 0, 0.16));
  transition: transform 0.3s ease;
}

.department-card:hover .department-person img {
  transform: scale(1.025);
}

/*
|--------------------------------------------------------------------------
| Perguntas frequentes
|--------------------------------------------------------------------------
*/

.contacts-faq-section {
  padding: 68px 0;
  background: #fff;
}

.contacts-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
}

.contact-faq-item {
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 7px;
  background: #fff;
}

.contact-faq-item > button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 15px;
  border: 0;
  background: #fff;
  color: #222;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.contact-faq-item > button:hover {
  background: #fafafa;
}

.contact-faq-item > button b {
  color: #111;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.contact-faq-item > button[aria-expanded="true"] b {
  transform: rotate(45deg);
}

.contact-faq-answer {
  padding: 0 15px 15px;
}

.contact-faq-answer p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| Chamada final
|--------------------------------------------------------------------------
*/

.contacts-final-cta {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background:
    linear-gradient(
      105deg,
      #920000,
      var(--contact-red)
    );
  color: #fff;
}

.contacts-final-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -130px;
  width: 380px;
  height: 380px;
  border: 68px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
}

.contacts-final-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(430px, 1.1fr);
  align-items: center;
  gap: 50px;
}

.contacts-final-cta .eyebrow {
  color: var(--contact-yellow);
}

.contacts-final-cta h2 {
  max-width: 670px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.contacts-final-cta > .container > div > p:last-child {
  margin: 15px 0 0;
  color: #f4dddd;
}

.contacts-final-links {
  display: grid;
  gap: 10px;
}

.contacts-final-links > a,
.contacts-final-links > span {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  text-decoration: none;
}

.contacts-final-links > a:hover {
  background: rgba(0, 0, 0, 0.3);
}

.contacts-final-links > a > svg,
.contacts-final-links > span > svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.contacts-final-links small,
.contacts-final-links strong {
  display: block;
}

.contacts-final-links small {
  color: #f0cccc;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.contacts-final-links strong {
  margin-top: 2px;
  font-size: 0.88rem;
}

/*
|--------------------------------------------------------------------------
| Estados de foco
|--------------------------------------------------------------------------
*/

.contacts-page button:focus-visible,
.contacts-page a:focus-visible,
.contacts-page input:focus-visible,
.contacts-page select:focus-visible,
.contacts-page textarea:focus-visible {
  outline: 3px solid rgba(245, 196, 0, 0.68);
  outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Responsividade
|--------------------------------------------------------------------------
*/

@media (max-width: 1080px) {
.contacts-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contacts-benefits-grid article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .contacts-location-grid {
    grid-template-columns: 1fr;
  }

}

.contact-faq-answer[hidden] {
  display: none;
}

.contact-faq-answer:not([hidden]) {
  display: block;
}

.contact-faq-item > button[aria-expanded="true"] {
  color: #d71919;
  background: #fff8f8;
}

.contact-faq-item > button[aria-expanded="true"] b {
  color: #d71919;
  transform: rotate(45deg);
}

.contact-faq-answer {
  border-top: 1px solid #eeeeee;
  background: #ffffff;
}


@media (max-width: 900px) {
  .contacts-hero,
  .contacts-hero-content {
    min-height: 430px;
  }

  .contacts-hero-background {
    object-position: 62% center;
  }

  .contacts-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.88) 45%,
        rgba(0, 0, 0, 0.35) 100%
      );
  }

  .contacts-hero-content {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .contacts-hero-copy {
    width: min(100%, 530px);
  }

  .contacts-hero-content::before,
  .contacts-hero-content::after {
    width: 52%;
  }
}


@media (max-width: 1080px) {
  .contacts-department-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .department-card,
  .department-card-content {
    min-height: 320px;
  }
}

@media (max-width: 650px) {
  .contacts-department-grid {
    grid-template-columns: 1fr;
  }

  .department-card,
  .department-card-content {
    min-height: 300px;
  }

  .department-card-content {
    width: 60%;
  }

  .department-person {
    right: -6px;
    width: 48%;
  }
}

@media (max-width: 400px) {
  .department-card,
  .department-card-content {
    min-height: 330px;
  }

  .department-card-content {
    width: 65%;
    padding-left: 15px;
  }

  .department-person {
    right: -20px;
    width: 52%;
  }

  .department-card p {
    font-size: 0.67rem;
  }
}

@media (max-width: 850px) {
  .contacts-main-grid,
  .contacts-locations-layout,
  .contacts-final-cta-grid {
    grid-template-columns: 1fr;
  }
.contacts-main-grid {
    gap: 18px;
  }

  .contacts-map {
    min-height: 290px;
  }

  .contacts-final-cta-grid {
    gap: 28px;
  }
}

@media (max-width: 650px) {
  .contacts-benefits-grid {
    grid-template-columns: 1fr;
  }

  .contacts-benefits-grid article {
    border-right: 0;
  }

  .contacts-form {
    grid-template-columns: 1fr;
  }

  .contact-field.full,
  .selected-contact-model,
  .contact-submit-button,
  .contact-privacy-note {
    grid-column: auto;
  }

  .contacts-form-card {
    padding: 18px;
  }

  .contacts-faq-grid {
    grid-template-columns: 1fr;
  }

  .contacts-hero,
  .contacts-hero-content {
    min-height: 500px;
  }

  .contacts-hero-background {
    object-position: 67% center;
  }

  .contacts-hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.91) 0%,
        rgba(0, 0, 0, 0.79) 56%,
        rgba(0, 0, 0, 0.48) 100%
      );
  }

  .contacts-hero-content {
    align-items: flex-start;
    padding-top: 58px;
    padding-bottom: 170px;
  }

  .contacts-hero-copy {
    width: 100%;
  }

  .contacts-hero-copy .eyebrow {
    font-size: 1.5rem;
  }

  .contacts-hero-copy h1 {
    max-width: 410px;
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  .contacts-hero-description {
    max-width: 400px;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .contacts-hero-content::before,
  .contacts-hero-content::after {
    display: none;
  }

  .contacts-location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .contacts-hero-copy h1 {
    font-size: 2.05rem;
  }

  .contacts-hero-content {
    padding-bottom: 150px;
  }

  .contact-information-card {
    padding: 14px;
  }

  .contact-opening-hours > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-hero-background {
    animation: none;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-page *,
  .contacts-page *::before,
  .contacts-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}