/* AVENIX contact page — scoped styles */
:root {
  --avenix-navy: #0b2f60;
  --avenix-teal: #16bdb2;
  --avenix-green: #20cf69;
  --avenix-ink: #0b2f60;
  --avenix-muted: #6e7f98;
  --avenix-border: #d9e4f0;
  --avenix-page: #f3f9fc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--avenix-page);
  color: var(--avenix-ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

.contact-page {
  min-height: 100vh;
  padding: 22px 24px 26px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(221, 241, 250, .42), transparent 44%),
    var(--avenix-page);
}

.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 23px;
  align-items: stretch;
}

.contact-info {
  padding: 0 0 0 0;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--avenix-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.page-eyebrow {
  text-align: center;
  margin: 0 0 12px;
}

.page-eyebrow span,
.contact-faq .eyebrow span {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--avenix-teal);
  box-shadow: 0 0 0 5px rgba(22, 189, 178, .13);
}

.contact-info h1 {
  color: var(--avenix-navy);
  font-size: clamp(27px, 3.1vw, 36px);
  letter-spacing: -.9px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 800;
}

.intro {
  max-width: 460px;
  color: #61748c;
  font-size: 10px;
  line-height: 1.9;
  margin: 0 0 17px;
}

.intro strong { color: var(--avenix-navy); }

.contact-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 25px 0 22px;
}

.contact-trust span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 10px;
  border: 1px solid rgba(217, 228, 240, .8);
  border-radius: 10px;
  background: rgba(255, 255, 255, .58);
}

.contact-trust i { color: var(--avenix-teal); font-size: 14px; }
.contact-trust strong { color: var(--avenix-navy); font-size: 9px; }
.contact-trust small { color: var(--avenix-muted); font-size: 7px; line-height: 1.35; }

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 17px;
  color: white;
  background: var(--avenix-green);
  border-radius: 22px;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.whatsapp-cta:hover {
  background: #12b85a;
  transform: translateY(-1px);
}

.whatsapp-cta svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.contact-cards {
  display: grid;
  gap: 9px;
  margin-top: 23px;
}

.contact-card {
  min-height: 69px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.88);
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(29, 59, 91, .045);
}

.contact-card-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e9fbf8;
  color: var(--avenix-teal);
}

.contact-card-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card-icon .icon-cutout {
  fill: none;
  stroke: #e9fbf8;
  stroke-width: .4;
}

.contact-card h2 {
  margin: 0 0 5px;
  color: var(--avenix-navy);
  font-size: 11px;
  font-weight: 800;
}

.contact-card a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  color: #77869a;
  font-size: 8px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover { color: var(--avenix-teal); }

.social-area { margin-top: 23px; }

.social-area h2 {
  margin: 0 0 11px;
  font-size: 8px;
  font-weight: 800;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 9px;
}

.social-links a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--avenix-navy);
  background: white;
  box-shadow: 0 3px 12px rgba(29, 59, 91, .04);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  transition: color .2s, background .2s;
}

.social-links a:hover {
  color: white;
  background: var(--avenix-teal);
}

.social-handle {
  color: #667991;
  font-size: 8px;
  text-decoration: none;
}

.form-panel {
  min-width: 0;
  padding: 27px 24px 22px;
  border-radius: 17px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 13px 40px rgba(21, 54, 83, .07);
}

.form-eyebrow { margin-bottom: 20px; }

.form-field { margin-bottom: 19px; }

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

.form-field label small {
  color: #8998aa;
  font-size: .9em;
  font-weight: 500;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--avenix-navy);
  font-size: 9px;
  font-weight: 700;
}

.form-field label span { color: #f04444; }

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--avenix-border);
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--avenix-navy);
  font: inherit;
  font-size: 9px;
  transition: border-color .2s, box-shadow .2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #8b9bb0; }

.form-field select {
  appearance: auto;
  cursor: pointer;
}

.form-field textarea {
  min-height: 90px;
  padding: 11px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--avenix-teal);
  box-shadow: 0 0 0 3px rgba(22, 189, 178, .12);
}

.form-field [aria-invalid="true"] {
  border-color: #dc2626;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  color: #dc2626;
  font-size: 10px;
}

.field-error:not(:empty) { min-height: 12px; }

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 16px;
  color: #7b899d;
  font-size: 8px;
  line-height: 1.6;
}

.privacy-consent input {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin: 1px 0 0;
  accent-color: var(--avenix-teal);
}

.privacy-consent a {
  color: #697d97;
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(90deg, #19bdb3, #0eb4a7);
  color: white;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.submit-button:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.submit-button svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
}

.form-feedback {
  margin: 8px 0 0;
  font-size: 11px;
  color: #64748b;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: -4px 0 15px;
  color: #7b899d;
  font-size: 8px;
  line-height: 1.6;
}

.form-note i { margin-top: 2px; color: var(--avenix-teal); }
.form-note a { color: #697d97; text-decoration: underline; }

.contact-faq {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 65px;
  width: min(1180px, 100%);
  margin: 70px auto 0;
  padding-top: 55px;
  border-top: 1px solid var(--avenix-border);
}

.contact-faq h2 {
  margin: 0 0 12px;
  color: var(--avenix-navy);
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -.8px;
}

.faq-heading > p:last-child {
  max-width: 300px;
  color: var(--avenix-muted);
  font-size: 11px;
  line-height: 1.7;
}

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  padding: 17px 18px;
  border: 1px solid var(--avenix-border);
  border-radius: 10px;
  background: rgba(255,255,255,.8);
}

.faq-list summary {
  color: var(--avenix-navy);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.faq-list p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--avenix-muted);
  font-size: 10px;
  line-height: 1.7;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 85% 15%, rgba(16,184,172,.14), transparent 35%), #f7fbfc;
}

.redirect-card {
  width: min(620px, 100%);
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 60px rgba(8,45,91,.1);
}

.redirect-card img { width: min(220px, 70%); margin-bottom: 50px; }
.redirect-card h1 { max-width: 520px; font-size: clamp(2.5rem, 6vw, 4.7rem); }
.redirect-card h1 em { color: var(--teal); font-style: normal; }
.redirect-card > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.redirect-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.notice {
  padding: 11px 12px;
  margin: 0 0 18px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.notice-success {
  background: #e9fbf0;
  color: #166534;
  border: 1px solid #b7efca;
}

.notice-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (min-width: 1000px) {
  .contact-page { padding-top: 22px; }
  .contact-layout { gap: 23px; }
  .contact-info { padding-top: 1px; }
}

@media (max-width: 700px) {
  .contact-page { padding: 28px 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-info h1 { font-size: clamp(28px, 8vw, 36px); }
  .page-eyebrow { text-align: left; }
  .intro { font-size: 12px; }
  .contact-cards { gap: 10px; }
  .contact-card { min-height: 76px; padding: 14px; }
  .contact-card h2 { font-size: 12px; }
  .contact-card a { font-size: 10px; }
  .form-panel { padding: 25px 20px; }
  .contact-trust { grid-template-columns: 1fr; }
  .form-row, .contact-faq { grid-template-columns: 1fr; }
  .contact-faq { gap: 25px; margin-top: 48px; padding-top: 38px; }
  .redirect-card { padding: 30px 24px; }
  .redirect-card img { margin-bottom: 35px; }
  .form-eyebrow { margin-bottom: 22px; }
  .form-field { margin-bottom: 18px; }
  .form-field label { font-size: 11px; }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 12px; min-height: 43px; }
  .form-field textarea { min-height: 120px; }
  .privacy-consent { font-size: 10px; }
  .submit-button { min-height: 44px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
