/* =========================================================
   /styles/legal-etc/contact.css
   ChoiceSpin — Simple Contact Page
   ========================================================= */

.contact-page{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 20px 70px;
}
.contact-page::before,
.contact-page::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-page::before{
  background:
    radial-gradient(42rem 26rem at 12% 22%, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(34rem 22rem at 88% 16%, rgba(14, 165, 233, 0.12), transparent 72%),
    radial-gradient(28rem 18rem at 78% 58%, rgba(34, 197, 94, 0.08), transparent 74%);
  filter: blur(8px);
  opacity: 0.95;
}

.contact-page::after{
  inset: 40px -8% auto -8%;
  height: 420px;
  background:
    radial-gradient(50% 90% at 50% 50%, rgba(255,255,255,0.05), rgba(255,255,255,0) 72%),
    linear-gradient(115deg,
      rgba(59,130,246,0.00) 0%,
      rgba(59,130,246,0.08) 18%,
      rgba(14,165,233,0.12) 34%,
      rgba(34,197,94,0.08) 52%,
      rgba(59,130,246,0.00) 72%);
  filter: blur(36px);
  opacity: 0.75;
  transform: rotate(-7deg);
}
.contact-simple{
  max-width: 760px;
  margin: 110px auto 0;
}

.contact-simple__inner{
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.contact-simple__inner::before,
.contact-simple__inner::after{
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.contact-simple__inner::before{
  width: 420px;
  height: 180px;
  top: -34px;
  right: -150px;
  border-radius: 58% 42% 68% 32% / 52% 46% 54% 48%;
  background:
    radial-gradient(42% 78% at 24% 50%, rgba(125, 211, 252, 0.18), rgba(125, 211, 252, 0) 78%),
    radial-gradient(48% 86% at 58% 48%, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0) 82%),
    radial-gradient(34% 70% at 82% 46%, rgba(14, 165, 233, 0.10), rgba(14, 165, 233, 0) 84%);
  filter: blur(34px);
  transform: rotate(-14deg);
}
.contact-simple__inner::after{
  width: 340px;
  height: 130px;
  left: -170px;
  top: 20px;
  border-radius: 46% 54% 38% 62% / 56% 44% 56% 44%;
  background:
    radial-gradient(46% 82% at 34% 50%, rgba(74, 222, 128, 0.11), rgba(74, 222, 128, 0) 82%),
    radial-gradient(42% 76% at 62% 48%, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0) 84%),
    radial-gradient(28% 60% at 82% 52%, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0) 86%);
  filter: blur(34px);
  transform: rotate(14deg);
}
.contact-simple h1,
.contact-simple__lead,
.contact-status,
.contact-form,
.contact-privacy-note,
.contact-email-fallback,
.contact-support-note{
  position: relative;
  z-index: 1;
}

.contact-simple h1,
.contact-simple__lead,
.contact-status,
.contact-privacy-note,
.contact-email-fallback,
.contact-support-note{
  text-align: center;
}

.contact-simple__lead,
.contact-status,
.contact-privacy-note,
.contact-email-fallback,
.contact-support-note{
  max-width: 680px;
  margin: 0 auto;
}
.contact-simple h1{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #f8fafc;
}

.contact-title-text{
  position: relative;
  display: inline-block;
  padding: 0 .06em .16em;
}
.contact-simple h1{
  opacity: 0;
  animation: contactRise .7s cubic-bezier(.22,1,.36,1) .02s forwards;
}

.contact-simple__lead{
  opacity: 0;
  animation: contactRise .7s cubic-bezier(.22,1,.36,1) .14s forwards;
}

.contact-form[hidden]{ display: none; }
.contact-form{
  opacity: 0;
  animation: contactRise .8s cubic-bezier(.22,1,.36,1) .24s forwards;
}

.contact-field:nth-of-type(1){
  animation: contactRise .72s cubic-bezier(.22,1,.36,1) .28s both;
}

.contact-field:nth-of-type(2){
  animation: contactRise .72s cubic-bezier(.22,1,.36,1) .36s both;
}
.contact-title-text::after{
  content: "";
  position: absolute;
  left: 2px;
  bottom: -10px;
  width: calc(100% - 4px);
  height: 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(96, 165, 250, 0.00) 0%,
      rgba(96, 165, 250, 0.22) 8%,
      rgba(59, 130, 246, 0.58) 26%,
      rgba(96, 165, 250, 0.30) 68%,
      rgba(96, 165, 250, 0.00) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  filter: blur(0.2px);
  animation: contactMarkerDraw 1s cubic-bezier(.22,1,.36,1) .22s forwards;
  pointer-events: none;
}

.contact-simple__lead{
  margin: 0 auto 34px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #cbd5e1;
}
.contact-simple__lead a{
  color: #60a5fa;
  text-decoration: none;
}

.contact-simple__lead a:hover{
  text-decoration: underline;
}

.contact-status{
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.10);
  color: #dbeafe;
  font-size: 0.96rem;
  line-height: 1.5;
}

.contact-status[hidden]{
  display: none;
}

.contact-status[data-state="success"]{
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(34, 197, 94, 0.10);
  color: #bbf7d0;
}

.contact-status[data-state="error"]{
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(239, 68, 68, 0.10);
  color: #fecaca;
}

.contact-form{
  display: grid;
  gap: 18px;
}

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

.contact-field label{
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
}

.contact-field__help{
  margin: 0;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.contact-field input,
.contact-field textarea{
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.038));
  color: #f8fafc;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 10px 24px rgba(2, 6, 23, 0.14);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    transform .18s ease;
}

.contact-privacy-note,
.contact-email-fallback,
.contact-support-note{
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
}

.contact-privacy-note{
  margin-top: 18px;
}

.contact-email-fallback{
  margin-top: 12px;
}

.contact-support-note{
  margin-top: 22px;
}

.contact-privacy-note a,
.contact-email-fallback a{
  color: #93c5fd;
  text-underline-offset: 3px;
}

.contact-honeypot{
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-honeypot[hidden]{
  display: none !important;
}
.contact-field input{
  min-height: 52px;
}

.contact-field textarea{
  min-height: 180px;
  resize: vertical;
  line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder{
  color: #94a3b8;
}

.contact-field input:focus,
.contact-field textarea:focus{
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow:
    0 0 0 4px rgba(96, 165, 250, 0.14),
    0 14px 32px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.065);
}
.contact-submit{
  appearance: none;
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 0 22px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform .12s ease,
    box-shadow .18s ease,
    filter .18s ease;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.28);
}

.contact-submit:hover:not(:disabled){
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

.contact-submit:active:not(:disabled){
  transform: translateY(0);
}

.contact-submit:disabled{
  cursor: wait;
  opacity: 0.7;
  transform: none;
  filter: none;
}

.contact-submit:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(96, 165, 250, 0.18),
    0 10px 26px rgba(37, 99, 235, 0.28);
}

/* Light theme */
html[data-theme="light"] .contact-simple h1{
  color: #0f172a;
}

html[data-theme="light"] .contact-simple__lead{
  color: #475569;
}

html[data-theme="light"] .contact-field label{
  color: #0f172a;
}
html[data-theme="light"] .contact-field input,
html[data-theme="light"] .contact-field textarea{
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  color: #000000;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .contact-field__help,
html[data-theme="light"] .contact-privacy-note,
html[data-theme="light"] .contact-email-fallback,
html[data-theme="light"] .contact-support-note{
  color: #64748b;
}

html[data-theme="light"] .contact-privacy-note a,
html[data-theme="light"] .contact-email-fallback a{
  color: #1d4ed8;
}

html[data-theme="light"] .contact-field input::placeholder,
html[data-theme="light"] .contact-field textarea::placeholder{
  color: #94a3b8;
}

html[data-theme="light"] .contact-field input:focus,
html[data-theme="light"] .contact-field textarea:focus{
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

html[data-theme="light"] .contact-status{
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(59, 130, 246, 0.07);
  color: #1e3a8a;
}

html[data-theme="light"] .contact-status[data-state="success"]{
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
}

html[data-theme="light"] .contact-status[data-state="error"]{
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(239, 68, 68, 0.07);
  color: #991b1b;
}

.contact-nav + #themeToggle.theme-toggle:focus-visible .theme-toggle__track{
  box-shadow: 0 0 0 2px #2563eb !important;
}

@media (max-width: 900px){
  .contact-nav a[data-nav-secondary]{
    display: none;
  }
}

@media (max-width: 480px){
  .site-header{
    --sc-header-nav-label-size: .9rem;
  }

  .contact-nav a{
    padding-inline: .3rem;
  }

  .contact-nav a[data-nav-home]{
    display: none;
  }
}

@media (max-width: 640px){
  .contact-page{
    padding: 0 16px 52px;
  }

  .contact-simple{
    margin-top: 88px;
  }
.contact-simple__inner::before{
  width: 240px;
  height: 120px;
  right: -88px;
  top: -8px;
}

.contact-simple__inner::after{
  width: 210px;
  height: 100px;
  left: -96px;
  top: 72px;
}

  .contact-simple__lead{
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contact-field input,
  .contact-field textarea,
  .contact-submit{
    border-radius: 12px;
  }
}


@keyframes contactRise{
  from{
    opacity: 0;
    transform: translateY(18px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactMarkerDraw{
  from{
    transform: scaleX(0);
    opacity: 0.35;
  }
  to{
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes contactFloatOne{
  0%, 100%{
    transform: translate3d(0, 0, 0);
  }
  50%{
    transform: translate3d(-10px, 12px, 0);
  }
}

@keyframes contactFloatTwo{
  0%, 100%{
    transform: translate3d(0, 0, 0);
  }
  50%{
    transform: translate3d(12px, -10px, 0);
  }
}
@media (prefers-reduced-motion: reduce){
  .contact-simple h1,
  .contact-simple__lead,
  .contact-form,
  .contact-field:nth-of-type(1),
  .contact-field:nth-of-type(2),
  .contact-title-text::after,
  .contact-simple__inner::before,
  .contact-simple__inner::after,
  .contact-page::before,
  .contact-page::after{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
