.aym-contact-page #main{background:#050c17;overflow:visible}
.contact-page-section{padding-top:clamp(30px,4vw,56px);position:relative;isolation:isolate;overflow:hidden}
.contact-page-section::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:min(700px,58vw);
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(180deg,rgba(5,12,23,.54),#050c17 94%),
    linear-gradient(90deg,rgba(5,12,23,.18),rgba(5,12,23,.92)),
    var(--aym-page-hero-image,none);
  background-size:cover;
  background-position:center;
  opacity:.54;
  filter:saturate(.72) contrast(1.05);
}
[dir="ltr"] .contact-page-section::before{
  background-image:
    linear-gradient(180deg,rgba(5,12,23,.54),#050c17 94%),
    linear-gradient(270deg,rgba(5,12,23,.18),rgba(5,12,23,.92)),
    var(--aym-page-hero-image,none);
}
.contact-breadcrumb{display:flex;align-items:center;gap:.65rem;list-style:none;margin:0 0 2rem;padding:0;color:rgba(255,255,255,.5);font-size:.82rem}
.contact-breadcrumb li+li::before{content:"/";margin-inline-end:.65rem;color:rgba(201,167,95,.65)}
.contact-breadcrumb a{color:rgba(255,255,255,.76)}
.contact-page-heading{max-width:940px;margin-bottom:clamp(34px,4vw,54px)}
.contact-page-heading .section-index{color:var(--brand-gold)}
.contact-page-heading h1{margin:0;color:#fff;font-size:clamp(42px,5.4vw,76px);line-height:1.08;font-weight:800}
.contact-page-heading h1 em{font-style:normal;color:var(--brand-gold)}
.contact-page-heading>p:last-child{max-width:720px;margin:1.25rem 0 0;color:rgba(255,255,255,.68);font-size:clamp(16px,1.35vw,19px);line-height:1.8}
.contact-page-layout{border-top:1px solid rgba(255,255,255,.14);padding-top:clamp(36px,4vw,52px)}
.contact-page-layout .contact-copy h2{font-size:clamp(28px,3.2vw,44px);line-height:1.3}
.contact-direct{margin-top:2.2rem}
.contact-direct h3{margin:0 0 1rem;color:var(--brand-gold);font-size:1rem}
.contact-direct ul{list-style:none;padding:0;margin:0;border-top:1px solid rgba(255,255,255,.12)}
.contact-direct li{display:grid;grid-template-columns:130px 1fr;gap:1rem;padding:.8rem 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:.88rem}
.contact-direct li span{color:rgba(255,255,255,.48)}
.contact-direct li a,.contact-direct li strong{color:rgba(255,255,255,.88);font-weight:600}
.contact-page-layout .form-heading h2{font-size:22px}

/* The primary conversion path must never depend on scroll-trigger timing. */
.contact-page-section .contact-form[data-reveal],
.contact-page-section .contact-copy[data-reveal]{
  opacity:1;
  transform:none;
}
@media(max-width:700px){
  .contact-page-section::before{height:600px;opacity:.4}
  .contact-page-section{padding-top:22px}
  .contact-breadcrumb{margin-bottom:1.15rem;min-height:44px}
  .contact-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
  .contact-page-heading{margin-bottom:28px}
  .contact-page-heading h1{font-size:clamp(38px,12vw,54px)}
  .contact-page-layout{padding-top:28px}
  .contact-page-layout .contact-form{order:1}
  .contact-page-layout .contact-copy{order:2}
  .contact-direct li{grid-template-columns:1fr;gap:.2rem}
}

/* ===== Pre-launch conversion-page polish ===== */
.aym-contact-page .contact-page-heading{
  max-width:880px;
}

.aym-contact-page .contact-page-heading h1{
  max-width:18ch;
  font-size:clamp(40px,4.9vw,66px);
  line-height:1.1;
}

.aym-contact-page .contact-page-heading > p:last-child{
  max-width:68ch;
  color:rgba(255,255,255,.72);
  font-size:clamp(16px,1.2vw,18px);
  line-height:1.82;
}

.aym-contact-page .contact-page-layout{
  gap:clamp(42px,6vw,86px);
}

.aym-contact-page .contact-assurances li,
.aym-contact-page .contact-direct li{
  min-height:48px;
  font-size:.92rem;
  line-height:1.65;
}

.aym-contact-page .contact-direct h3{
  font-size:.94rem;
  letter-spacing:.02em;
}

.aym-contact-page .contact-direct li a{
  display:flex;
  align-items:center;
  min-height:44px;
  width:100%;
}

.aym-contact-page .contact-form{
  gap:20px;
  padding:clamp(24px,3.5vw,42px);
  border-color:rgba(201,167,95,.2);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.032));
  box-shadow:0 24px 58px rgba(0,0,0,.16);
}

.aym-contact-page .form-heading h2{
  margin:0;
  color:#fff;
  font-size:clamp(1.25rem,1.05rem + .55vw,1.5rem);
  line-height:1.35;
}

.aym-contact-page .form-heading p{
  font-size:.75rem;
  line-height:1.65;
}

.aym-contact-page .contact-form label > span{
  font-size:.8rem;
}

.aym-contact-page .contact-form input,
.aym-contact-page .contact-form select,
.aym-contact-page .contact-form textarea{
  min-height:48px;
  font-size:.95rem;
}

.aym-contact-page .contact-form textarea{
  min-height:132px;
}

.aym-contact-page .form-privacy{
  font-size:.75rem;
  line-height:1.75;
}

.aym-contact-page .contact-direct a:focus-visible,
.aym-contact-page .form-privacy a:focus-visible,
.aym-contact-page .form-whatsapp-fallback:focus-visible{
  outline:2px solid var(--brand-gold);
  outline-offset:4px;
}

@media(max-width:700px){
  .aym-contact-page .contact-page-heading h1{
    font-size:clamp(36px,10.5vw,48px);
    line-height:1.12;
  }

  .aym-contact-page .contact-page-layout{
    gap:34px;
  }

  .aym-contact-page .contact-form{
    padding:22px 18px;
  }

  .aym-contact-page .contact-copy h2{
    font-size:clamp(28px,8vw,36px);
  }
}
