.contact-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--red-950);
  color: var(--white);
}

.contact-page main {
  display: flex;
  overflow: hidden;
  flex-direction: column;
}

.contact-page img {
  display: block;
  max-width: 100%;
}

.contact-page a {
  text-decoration: none;
}

.contact-page button,
.contact-page input,
.contact-page select,
.contact-page textarea {
  font: inherit;
}

.contact-page a.disabled,
.contact-page button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

#contact-form-section {
  scroll-margin-top: 110px;
}

/* ORDER */

.contact-hero {
  order: 1;
}

.contact-team-section {
  order: 2;
}

.contact-form-section {
  order: 3;
}

.contact-office-section {
  order: 4;
}

/* HEADER */

.contact-section-header {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-bottom: clamp(1.6rem, 4vw, 2.7rem);
}

.contact-section-header .section-kicker {
  justify-content: flex-start;
}

.contact-section-header .section-kicker::after {
  display: none;
}

.contact-section-header h2 {
  display: flex;
  flex-direction: column;
  margin-top: 0.65rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.contact-section-header h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.contact-section-header p {
  max-width: 690px;
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* BUTTONS */

.contact-primary-button,
.contact-secondary-button,
.contact-person-button,
.contact-person-link,
.contact-submit-button,
.contact-map-action a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.15rem;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    color 250ms ease,
    box-shadow 250ms ease;
}

.contact-primary-button,
.contact-person-button,
.contact-submit-button,
.contact-map-action a {
  border: 1px solid var(--yellow-500);
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--red-950);
  box-shadow:
    0 14px 30px rgba(242, 201, 76, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-secondary-button,
.contact-person-link {
  border: 1px solid rgba(242, 201, 76, 0.3);
  background: rgba(242, 201, 76, 0.055);
  color: var(--yellow-100);
}

.contact-primary-button:hover,
.contact-person-button:hover,
.contact-submit-button:hover,
.contact-map-action a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 19px 38px rgba(242, 201, 76, 0.21),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-secondary-button:hover,
.contact-person-link:hover {
  transform: translateY(-2px);
  border-color: var(--yellow-500);
  background: rgba(242, 201, 76, 0.11);
  color: var(--yellow-300);
}

/* HERO */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 84% 18%, rgba(242, 201, 76, 0.13), transparent 28%),
    radial-gradient(circle at 8% 86%, rgba(215, 25, 32, 0.22), transparent 34%),
    linear-gradient(135deg, var(--red-950) 0%, var(--red-850) 54%, var(--red-700) 100%);
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent, rgba(38, 1, 2, 0.8));
  pointer-events: none;
}

.contact-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.contact-glow-one {
  top: 12%;
  right: 5%;
  width: 360px;
  height: 360px;
  background: rgba(242, 201, 76, 0.1);
  animation: contact-glow-one 7s ease-in-out infinite;
}

.contact-glow-two {
  bottom: 3%;
  left: 2%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  animation: contact-glow-two 8s ease-in-out infinite;
}

.contact-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: 1.3rem 2.8rem;
}

.contact-hero-content {
  min-width: 0;
  max-width: 680px;
}

.contact-hero-logo {
  width: clamp(180px, 16vw, 260px) !important;
  margin-bottom: 1rem !important;
  filter:
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 24px rgba(242, 201, 76, 0.12));
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--yellow-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--yellow-500);
}

.contact-hero-content h1 {
  display: flex;
  flex-direction: column;
  margin-top: 0.65rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.contact-hero-content h1 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.contact-hero-content > p {
  max-width: 620px;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

/* HERO CARD */

.contact-hero-panel {
  min-width: 0;
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(1.55rem, 3vw, 2.4rem);
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 201, 76, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 38px 90px rgba(12, 0, 1, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.contact-hero-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 201, 76, 0.09);
  border-radius: 18px;
  pointer-events: none;
}

.contact-hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.14);
  filter: blur(55px);
}

.contact-hero-card > span,
.contact-hero-card h2,
.contact-hero-card > p,
.contact-hero-mini-grid {
  position: relative;
  z-index: 2;
}

.contact-hero-card > span {
  display: inline-flex;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 100px;
  background: rgba(242, 201, 76, 0.065);
  color: var(--yellow-400);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-hero-card h2 {
  max-width: 520px;
  margin-top: 1rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1;
}

.contact-hero-card > p {
  max-width: 500px;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.contact-hero-mini-grid div {
  padding: 1rem 0.75rem;
  border: 1px solid rgba(242, 201, 76, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.contact-hero-mini-grid strong {
  display: block;
  color: var(--yellow-500);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-hero-mini-grid small {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

/* TEAM */

.contact-team-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 201, 76, 0.045), transparent 30%),
    linear-gradient(180deg, var(--red-950), var(--red-875));
}

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

.contact-person-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  min-height: 290px;
  padding: 1.25rem;
  border: 1px solid rgba(242, 201, 76, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 50%, rgba(242, 201, 76, 0.07), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-medium);
  transform-style: preserve-3d;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.contact-person-card:hover {
  border-color: rgba(242, 201, 76, 0.35);
  box-shadow: 0 28px 65px rgba(10, 0, 1, 0.34);
}

.contact-person-card::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 0;
  left: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow-500), transparent);
  opacity: 0.45;
}

.contact-person-image-wrap {
  position: relative;
  overflow: hidden;
  width: 180px;
  height: 225px;
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-person-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 1, 2, 0.46), transparent 52%);
  pointer-events: none;
}

.contact-person-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 650ms ease;
}

.contact-person-card:hover img {
  transform: scale(1.045);
}

.contact-person-content {
  min-width: 0;
}

.contact-region-badge {
  display: inline-flex;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(242, 201, 76, 0.22);
  border-radius: 100px;
  background: rgba(242, 201, 76, 0.07);
  color: var(--yellow-400);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-person-content h3 {
  margin-top: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-person-content > p {
  margin-top: 0.45rem;
  color: var(--yellow-300);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-person-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

/* FORM */

.contact-form-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 201, 76, 0.05), transparent 28%),
    linear-gradient(180deg, var(--red-875), var(--red-850));
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-form-copy,
.contact-form {
  border: 1px solid rgba(242, 201, 76, 0.16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-medium);
}

.contact-form-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.3rem);
}

.contact-form-copy::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 201, 76, 0.065);
  border-radius: 15px;
  pointer-events: none;
}

.contact-form-copy::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(242, 201, 76, 0.08);
  filter: blur(55px);
}

.contact-form-copy .section-kicker,
.contact-form-copy h2,
.contact-form-copy > p,
.contact-form-note {
  position: relative;
  z-index: 2;
}

.contact-form-copy .section-kicker {
  justify-content: flex-start;
}

.contact-form-copy .section-kicker::after {
  display: none;
}

.contact-form-copy h2 {
  display: flex;
  flex-direction: column;
  margin-top: 0.65rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.contact-form-copy h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.contact-form-copy > p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.contact-form-note {
  margin-top: 1.15rem;
  padding: 0.9rem;
  border: 1px solid rgba(242, 201, 76, 0.14);
  border-radius: 12px;
  background: rgba(242, 201, 76, 0.045);
}

.contact-form-note strong {
  display: block;
  color: var(--yellow-400);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-note span {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: clamp(1.25rem, 2.8vw, 2rem);
}

.contact-field-group {
  min-width: 0;
}

.contact-field-full,
.contact-submit-button,
.contact-form-status {
  grid-column: 1 / -1;
}

.contact-field-group label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
}

.contact-field-group input,
.contact-field-group select,
.contact-field-group textarea {
  width: 100%;
  border: 1px solid rgba(242, 201, 76, 0.16);
  border-radius: 10px;
  outline: none;
  background: linear-gradient(145deg, rgba(38, 1, 2, 0.95), rgba(93, 6, 10, 0.78));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.contact-field-group input,
.contact-field-group select {
  min-height: 50px;
  padding: 0 0.9rem;
}

.contact-field-group textarea {
  min-height: 150px;
  resize: vertical;
  padding: 0.85rem 0.9rem;
  line-height: 1.55;
}

.contact-field-group input::placeholder,
.contact-field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-field-group select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--yellow-500) 50%),
    linear-gradient(135deg, var(--yellow-500) 50%, transparent 50%),
    linear-gradient(145deg, rgba(38, 1, 2, 0.95), rgba(93, 6, 10, 0.78));
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px,
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    100% 100%;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}

.contact-field-group select option {
  color: #250001;
  background: #ffffff;
}

.contact-field-group input:focus,
.contact-field-group select:focus,
.contact-field-group textarea:focus {
  border-color: var(--yellow-500);
  box-shadow:
    0 0 0 3px rgba(242, 201, 76, 0.08),
    0 12px 25px rgba(10, 0, 1, 0.18);
}

.contact-field-group input.is-invalid,
.contact-field-group select.is-invalid,
.contact-field-group textarea.is-invalid {
  border-color: #ff7e7e;
  box-shadow: 0 0 0 3px rgba(255, 126, 126, 0.07);
}

.contact-field-group input.is-valid,
.contact-field-group select.is-valid,
.contact-field-group textarea.is-valid {
  border-color: rgba(94, 214, 143, 0.65);
}

.contact-error {
  display: block;
  min-height: 18px;
  margin-top: 0.3rem;
  color: #ff9b9b;
  font-size: 0.64rem;
  line-height: 1.35;
}

.contact-submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.contact-form-status.success {
  color: #7fe2aa;
}

.contact-form-status.error {
  color: #ff9b9b;
}

/* HEAD OFFICE */

.contact-office-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(242, 201, 76, 0.055), transparent 28%),
    linear-gradient(180deg, var(--red-850), var(--red-950));
}

.contact-office-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(360px, 0.94fr) minmax(0, 1.06fr);
  grid-template-areas: "content map";
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-large);
}

.contact-office-content {
  grid-area: content;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}

.contact-office-map {
  display: flex;
  min-width: 0;
  flex-direction: column;
  grid-area: map;
  background: var(--red-950);
}

.contact-office-map iframe {
  width: 100%;
  min-height: 460px;
  flex: 1;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.contact-map-action {
  padding: 0.75rem;
  border-top: 1px solid rgba(242, 201, 76, 0.12);
  background: rgba(38, 1, 2, 0.6);
}

.contact-map-action a {
  width: 100%;
}

.contact-office-content .section-kicker {
  justify-content: flex-start;
}

.contact-office-content .section-kicker::after {
  display: none;
}

.contact-office-content h2 {
  display: flex;
  flex-direction: column;
  margin-top: 0.7rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.contact-office-content h2 span {
  color: var(--yellow-500);
  font-weight: 500;
}

.contact-office-content > p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.contact-office-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.contact-office-list > div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.027);
}

.contact-office-list span {
  display: block;
  color: var(--yellow-400);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-office-list strong,
.contact-office-list a {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* WHATSAPP ICON */

.whatsapp-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fbf5b);
  color: #ffffff;
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.38),
    0 0 25px rgba(37, 211, 102, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  isolation: isolate;
  animation: whatsappFloat 4s ease-in-out infinite;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

.whatsapp-floating:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.44),
    0 0 40px rgba(37, 211, 102, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-floating-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  animation: whatsappPulse 2.2s infinite;
  pointer-events: none;
}

.whatsapp-floating-icon {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ANIMATIONS */

@keyframes contact-logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes contact-glow-one {
  0%,
  100% {
    opacity: 0.75;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(-16px, 12px, 0);
  }
}

@keyframes contact-glow-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(14px, -14px, 0);
  }
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* TABLET */

@media (max-width: 1100px) {
  .contact-hero-container {
    min-height: 650px;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 1.8rem;
  }

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

  .contact-person-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .contact-form-layout {
    grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.26fr);
  }

  .contact-office-card {
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .contact-section-header {
    margin-bottom: 1.3rem;
  }

  .contact-section-header h2 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }

  .contact-section-header p {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .contact-hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 0.8rem 1.6rem;
  }

  .contact-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .contact-hero-logo {
  width: clamp(180px, 16vw, 260px) !important;
  margin-bottom: 1rem !important;
  filter:
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 24px rgba(242, 201, 76, 0.12));
}

  .contact-eyebrow {
    justify-content: center;
    width: 100%;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }

  .contact-eyebrow::before {
    width: 17px;
  }

  .contact-hero-content h1 {
    margin-top: 0.42rem;
    font-size: clamp(1.95rem, 9vw, 2.85rem);
  }

  .contact-hero-content > p {
    max-width: 95%;
    margin: 0.65rem auto 0;
    font-size: 0.8rem;
    line-height: 1.62;
  }

  .contact-hero-actions {
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .contact-primary-button,
  .contact-secondary-button,
  .contact-person-button,
  .contact-person-link,
  .contact-submit-button,
  .contact-map-action a {
    min-height: 40px;
    padding: 0.58rem 0.76rem;
    border-radius: 8px;
    font-size: 0.48rem;
  }

  .contact-hero-card {
    min-height: auto;
    padding: 1rem;
    border-radius: 18px;
  }

  .contact-hero-card::before {
    inset: 6px;
    border-radius: 12px;
  }

  .contact-hero-card h2 {
    margin-top: 0.7rem;
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    text-align: center;
  }

  .contact-hero-card > p {
    font-size: 0.74rem;
    line-height: 1.55;
    text-align: center;
  }

  .contact-hero-mini-grid {
    gap: 0.4rem;
    margin-top: 0.85rem;
  }

  .contact-hero-mini-grid div {
    padding: 0.68rem 0.3rem;
    border-radius: 9px;
  }

  .contact-hero-mini-grid strong {
    font-size: 1.05rem;
  }

  .contact-hero-mini-grid small {
    font-size: 0.34rem;
  }

  .contact-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .contact-person-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    padding: 0.6rem;
    border-radius: 14px;
  }

  .contact-person-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: 11px;
  }

  .contact-person-content {
    text-align: center;
  }

  .contact-region-badge {
    font-size: 0.34rem;
  }

  .contact-person-content h3 {
    margin-top: 0.42rem;
    font-size: clamp(0.9rem, 4.5vw, 1.3rem);
  }

  .contact-person-content > p {
    margin-top: 0.27rem;
    font-size: 0.4rem;
    line-height: 1.35;
  }

  .contact-person-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.65rem;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-form-copy,
  .contact-form {
    border-radius: 16px;
  }

  .contact-form-copy {
    padding: 1rem;
    text-align: center;
  }

  .contact-form-copy .section-kicker {
    justify-content: center;
  }

  .contact-form-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .contact-form-copy > p {
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .contact-form-note {
    margin-top: 0.75rem;
    padding: 0.68rem;
    text-align: left;
  }

  .contact-form-note strong {
    font-size: 0.44rem;
  }

  .contact-form-note span {
    font-size: 0.66rem;
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.85rem;
  }

  .contact-field-group label {
    font-size: 0.54rem;
  }

  .contact-field-group input,
  .contact-field-group select {
    min-height: 42px;
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .contact-field-group textarea {
    min-height: 110px;
    padding: 0.68rem;
    font-size: 0.72rem;
  }

  .contact-error {
    min-height: 14px;
    font-size: 0.48rem;
  }

  .contact-form-status {
    font-size: 0.58rem;
  }

  .contact-office-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: "content map";
    border-radius: 16px;
  }

  .contact-office-content {
    padding: 0.65rem;
  }

  .contact-office-content .section-kicker {
    font-size: 0.4rem;
  }

  .contact-office-content h2 {
    margin-top: 0.42rem;
    font-size: 1.3rem;
  }

  .contact-office-content > p {
    margin-top: 0.42rem;
    font-size: 0.56rem;
    line-height: 1.42;
  }

  .contact-office-list {
    gap: 0.34rem;
    margin-top: 0.55rem;
  }

  .contact-office-list > div {
    padding: 0.45rem;
    border-radius: 8px;
  }

  .contact-office-list span {
    font-size: 0.3rem;
  }

  .contact-office-list strong,
  .contact-office-list a {
    margin-top: 0.18rem;
    font-size: 0.54rem;
    line-height: 1.35;
  }

  .contact-office-map iframe {
    min-height: 320px;
  }

  .contact-map-action {
    padding: 0.42rem;
  }

  .whatsapp-floating {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-floating-icon {
    width: 29px;
    height: 29px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .contact-hero-logo {
  width: 140px !important;
  margin-inline: auto;
  margin-bottom: 0.7rem;
}

  .contact-hero-content h1 {
    font-size: clamp(1.72rem, 8.7vw, 2.35rem);
  }

  .contact-team-grid {
    gap: 0.4rem;
  }

  .contact-person-card {
    padding: 0.48rem;
  }

  .contact-person-image-wrap {
    height: 150px;
  }

  .contact-person-content h3 {
    font-size: 0.9rem;
  }

  .contact-person-content > p {
    font-size: 0.36rem;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  .contact-field-full,
  .contact-submit-button,
  .contact-form-status {
    grid-column: auto;
  }

  .contact-office-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .contact-office-content {
    padding: 0.52rem;
  }

  .contact-office-content h2 {
    font-size: 1.05rem;
  }

  .contact-office-content > p,
  .contact-office-list strong,
  .contact-office-list a {
    font-size: 0.46rem;
  }

  .contact-office-map iframe {
    min-height: 280px;
  }

  .contact-map-action a {
    min-height: 32px;
    font-size: 0.34rem;
  }

  .whatsapp-floating {
    width: 54px;
    height: 54px;
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-floating-icon {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 380px) {
  .contact-person-image-wrap {
    height: 132px;
  }

  .contact-person-content h3 {
    font-size: 0.78rem;
  }

  .contact-primary-button,
  .contact-secondary-button,
  .contact-person-button,
  .contact-person-link,
  .contact-submit-button {
    min-height: 35px;
    padding: 0.48rem 0.55rem;
    font-size: 0.4rem;
  }

  .contact-office-content h2 {
    font-size: 0.92rem;
  }

  .contact-office-content > p,
  .contact-office-list strong,
  .contact-office-list a {
    font-size: 0.4rem;
  }

  .contact-office-map iframe {
    min-height: 250px;
  }

  .whatsapp-floating {
    width: 50px;
    height: 50px;
  }

  .whatsapp-floating-icon {
    width: 25px;
    height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-logo,
  .contact-glow,
  .whatsapp-floating,
  .whatsapp-floating-ring {
    animation: none !important;
  }
}

/* ============================================================
   CONTACT PAGE THEME SYNC
   Add at bottom of contact.css
   ============================================================ */

/* Hero */
.contact-hero {
  background: var(--kbr-page-bg);
}

/* Leadership section */
.contact-team-section {
  background: var(--kbr-section-bg);
}

/* Form section */
.contact-form-section {
  background: var(--kbr-section-bg);
}

/* Head office section */
.contact-office-section {
  background: var(--kbr-section-bg-dark);
}

/* Premium consistency */
.contact-person-card,
.contact-form-copy,
.contact-form,
.contact-office-card,
.contact-hero-card {
  border-color: rgba(242, 201, 76, 0.16);
}

/* Hero card */
.contact-hero-card {
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(242, 201, 76, 0.10),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );
}

/* Leadership cards */
.contact-person-card {
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(242, 201, 76, 0.06),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.02)
    );
}

/* Head office card */
.contact-office-card {
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(242, 201, 76, 0.06),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.02)
    );
}

/* ===== LEADERSHIP MOBILE FIX ===== */

@media (max-width:768px){

  .contact-team-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .contact-person-card{
    display:grid !important;
    grid-template-columns:110px 1fr !important;
    align-items:center !important;
    gap:14px !important;
    padding:14px !important;
  }

  .contact-person-image-wrap{
    width:110px !important;
    height:140px !important;
  }

  .contact-person-content{
    text-align:left !important;
  }

  .contact-person-content h3{
    font-size:1rem !important;
  }

  .contact-person-content > p{
    font-size:.65rem !important;
  }
}
/* ===== FLEXIBLE LEADERSHIP GRID ===== */

.contact-team-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(420px,1fr)) !important;
  gap:20px !important;
}

.contact-person-card{
  height:100% !important;
}

/* Tablet */

@media (max-width:992px){

  .contact-team-grid{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr)) !important;
  }
}

/* Mobile */

@media (max-width:768px){

  .contact-team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .contact-person-card{
    display:flex !important;
    flex-direction:column !important;
    padding:10px !important;
    min-height:auto !important;
  }

  .contact-person-image-wrap{
    width:100% !important;
    height:180px !important;
  }

  .contact-person-content{
    text-align:center !important;
  }

  .contact-person-content h3{
    font-size:0.95rem !important;
  }

  .contact-person-content > p{
    font-size:0.45rem !important;
  }
}

/* Very Small Phones */

@media (max-width:480px){

  .contact-person-image-wrap{
    height:150px !important;
  }

  .contact-person-content h3{
    font-size:0.85rem !important;
  }
}/* ===== FIX LEADERSHIP OVERLAP ===== */

.contact-team-section{
  position:relative;
  z-index:2;
}

.contact-team-grid{
  margin-bottom:40px !important;
}

.contact-form-section{
  position:relative;
  z-index:1;
  margin-top:0 !important;
  clear:both;
}

.contact-person-card{
  overflow:hidden !important;
}

/* Mobile */

@media (max-width:768px){

  .contact-team-grid{
    margin-bottom:25px !important;
  }

  .contact-form-section{
    padding-top:20px !important;
  }
}/* ===== CONTACT HERO LOGO CENTER ===== */

.contact-hero-logo{
  display:block !important;
  width:clamp(180px,16vw,260px) !important;
  margin:0 auto 1rem auto !important;
}

.contact-hero-content{
  text-align:center !important;
}

.contact-eyebrow{
  justify-content:center !important;
}

.contact-hero-actions{
  justify-content:center !important;
}

@media (max-width:768px){

  .contact-hero-logo{
    width:140px !important;
    margin:0 auto 0.8rem auto !important;
  }
}
/* ===== CONTACT HERO PERFECT ALIGNMENT ===== */

.contact-hero-container{
    min-height:auto !important;
    align-items:center !important;
    gap:2rem !important;
}

.contact-hero-content{
    text-align:center !important;
    max-width:700px !important;
    margin:0 auto !important;
}

.contact-hero-logo{
    display:block !important;
    width:220px !important;
    margin:0 auto 1rem !important;
}

.contact-eyebrow{
    justify-content:center !important;
}

.contact-hero-content h1{
    align-items:center !important;
}

.contact-hero-content > p{
    margin-left:auto !important;
    margin-right:auto !important;
}

.contact-hero-actions{
    justify-content:center !important;
}

.contact-hero-panel{
    max-width:700px !important;
    margin:0 auto !important;
    width:100% !important;
}

.contact-hero-card{
    text-align:center !important;
}

@media (max-width:768px){

    .contact-hero-container{
        grid-template-columns:1fr !important;
        gap:1.2rem !important;
        padding-top:1rem !important;
    }

    .contact-hero-logo{
        width:180px !important;
    }

    .contact-hero-content h1{
        font-size:2.2rem !important;
    }

    .contact-hero-content > p{
        font-size:0.9rem !important;
    }

    .contact-hero-card h2{
        text-align:center !important;
    }

    .contact-hero-card > p{
        text-align:center !important;
    }
}

/* ==========================================
   REMOVE ALL BLACK SHADES - CONTACT PAGE
   ========================================== */

/* Remove hero bottom fade */
.contact-hero::after {
    content: none !important;
    display: none !important;
}

/* Remove dark overlays from hero card */
.contact-hero-card::before,
.contact-hero-card::after {
    content: none !important;
    display: none !important;
}

/* Remove dark overlay from team images */
.contact-person-image-wrap::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

/* Remove dark backgrounds and shadows */
.contact-hero-card,
.contact-person-card,
.contact-person-image-wrap,
.contact-form-copy,
.contact-form,
.contact-office-card {
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove dark background behind images */
.contact-person-image-wrap img,
.contact-hero-logo {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Remove glow effects */
.contact-glow,
.contact-glow-one,
.contact-glow-two {
    display: none !important;
}

/* Remove extra borders if needed */
.contact-hero-card,
.contact-person-card,
.contact-person-image-wrap {
    border-color: transparent !important;
}