/* ============================================================
   DELRIQUE INFOTECH — CONTACT PAGE
   CONTACT-ONLY CSS — ISOLATED
   ============================================================ */

/*
 * CONTACT PAGE ONLY — CONTACT-ONLY CSS
 *
 * This stylesheet may duplicate selected shared presentation
 * rules intentionally so Contact can evolve independently.
 * DO NOT use this file as a global stylesheet.
 *
 * Ownership: CONTACT ONLY
 * SAFE: Other pages never load this file (includes/header.php:34
 * conditional $isContact). All selectors are scoped to
 * .page-contact to prevent leakage even if load order changes.
 * Brand palette strict: #0B1220, #1546A0, #FFC300, #FFFFFF
 * RGBA derivatives permitted, no other hues.
 */

/* ============================================================
   01. Contact-local foundation — scoped, no global side effects
   ============================================================ */

.page-contact {
  background: #0B1220;
  color: #FFFFFF;
}

/* Honeypot — Contact only, must remain functional and invisible */
.page-contact .hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   02. Container & section rhythm — C-COPY from services.css:7-48
   Intentionally duplicated so contact owns its gutters/rhythm
   and is not affected by future services/home changes.
   ============================================================ */

.page-contact .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.page-contact .section {
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
}

.page-contact .section-dark {
  background: #0B1220;
}

.page-contact .section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-contact .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.page-contact .section-header .section-label {
  margin-bottom: 12px;
}

.page-contact .section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-contact .section-header p {
  color: rgba(255, 255, 255, 0.60);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
}

.page-contact .section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFC300;
}

/* Breadcrumb — contact isolation (shared breadcrumb had no dedicated CSS) */
.page-contact .breadcrumb {
  margin-bottom: 18px;
}

.page-contact .breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.page-contact .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-contact .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-contact .breadcrumb a:hover {
  color: #FFFFFF;
}

.page-contact .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
}

.page-contact .breadcrumb-sep {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   03. Contact hero — C-COPY from components.css:1594-1628
   + services.css:51-140, now fully owned by contact.
   Premium enterprise hero with image support.
   ============================================================ */

.page-contact .solution-hero {
  padding: clamp(100px, 12vw, 140px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  background: #0B1220;
  overflow: hidden;
}

.page-contact .solution-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(21, 70, 160, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 78%, rgba(255, 195, 0, 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-contact .solution-hero--with-image {
  position: relative;
  overflow: hidden;
}

.page-contact .solution-hero--with-image::before {
  display: none;
}

.page-contact .solution-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-contact .solution-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.95);
  display: block;
}

.page-contact .solution-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.96) 0%,
    rgba(11, 18, 32, 0.88) 42%,
    rgba(11, 18, 32, 0.62) 70%,
    rgba(11, 18, 32, 0.32) 100%
  );
}

.page-contact .solution-hero--with-image .container {
  position: relative;
  z-index: 1;
}

.page-contact .solution-hero__content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.page-contact .solution-hero .section-label {
  color: #FFC300;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-contact .solution-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-contact .solution-hero__desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 28px;
}

.page-contact .solution-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-contact .solution-hero__ctas .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.page-contact .solution-hero__ctas .btn-primary {
  background: #FFC300;
  border-color: #FFC300;
  color: #0B1220;
}

.page-contact .solution-hero__ctas .btn-primary:hover {
  background: #ffd23a;
  border-color: #ffd23a;
  color: #0B1220;
  transform: translateY(-1px);
}

.page-contact .footer-cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.page-contact .solution-hero__ctas .btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* Subtle bottom hairline */
.page-contact .solution-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 70, 160, 0.35), rgba(255, 195, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   04. Contact grid — two-column premium layout
   ============================================================ */

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

/* ============================================================
   05. Form panel — premium enterprise card
   ============================================================ */

.page-contact .contact-form-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.page-contact .contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 70, 160, 0.28), transparent);
  pointer-events: none;
}

.page-contact .contact-form-header {
  margin-bottom: 26px;
}

.page-contact .contact-form-header .section-label {
  margin-bottom: 8px;
}

.page-contact .contact-form-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}

.page-contact .contact-form {
  width: 100%;
}

.page-contact #contactForm {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ============================================================
   06. Form fields — base input system (dark, premium)
   ============================================================ */

.page-contact .form-group {
  position: relative;
  margin-bottom: 20px;
}

.page-contact .form-group.floating input,
.page-contact .form-group.floating select,
.page-contact .form-group.floating textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-contact .form-group.floating textarea {
  min-height: 124px;
  padding-top: 18px;
  resize: vertical;
  line-height: 1.6;
}

.page-contact #infrastructure {
  min-height: 84px;
}

/* Placeholder transparent but present for :placeholder-shown logic */
.page-contact .form-group.floating input::placeholder,
.page-contact .form-group.floating textarea::placeholder {
  color: transparent;
}

/* Hover */
.page-contact .form-group.floating input:hover,
.page-contact .form-group.floating select:hover,
.page-contact .form-group.floating textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

/* Focus */
.page-contact .form-group.floating input:focus,
.page-contact .form-group.floating select:focus,
.page-contact .form-group.floating textarea:focus {
  border-color: rgba(21, 70, 160, 0.45);
  background: rgba(21, 70, 160, 0.06);
  box-shadow: 0 0 0 3px rgba(21, 70, 160, 0.12);
}

/* Focus-visible ring for keyboard */
.page-contact .form-group.floating input:focus-visible,
.page-contact .form-group.floating select:focus-visible,
.page-contact .form-group.floating textarea:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 2px;
  border-color: rgba(21, 70, 160, 0.45);
}

.page-contact .form-group.floating input:focus:not(:focus-visible),
.page-contact .form-group.floating select:focus:not(:focus-visible),
.page-contact .form-group.floating textarea:focus:not(:focus-visible) {
  outline: none;
}

/* Disabled */
.page-contact .form-group.floating input:disabled,
.page-contact .form-group.floating select:disabled,
.page-contact .form-group.floating textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.015);
}

/* Autofill — dark theme fix */
.page-contact .form-group.floating input:-webkit-autofill,
.page-contact .form-group.floating input:-webkit-autofill:hover,
.page-contact .form-group.floating input:-webkit-autofill:focus {
  -webkit-text-fill-color: #FFFFFF;
  -webkit-box-shadow: 0 0 0 1000px #0B1220 inset;
  box-shadow: 0 0 0 1000px #0B1220 inset;
  caret-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.08);
  transition: background-color 9999s ease-out 0s;
}

/* Invalid (native) — restrained */
.page-contact .form-group.floating input:invalid:not(:placeholder-shown):not(:focus),
.page-contact .form-group.floating textarea:invalid:not(:placeholder-shown):not(:focus),
.page-contact .form-group.is-invalid input,
.page-contact .form-group.is-invalid textarea,
.page-contact .form-group.is-invalid select {
  border-color: rgba(255, 195, 0, 0.35);
  background: rgba(255, 195, 0, 0.04);
}

/* Select specifics */
.page-contact .form-group.floating select {
  cursor: pointer;
  padding-right: 40px;
  color: #FFFFFF;
  background-image: none;
}

.page-contact .form-group.floating select:invalid,
.page-contact .form-group.floating select:has(option[value=""]:checked) {
  color: rgba(255, 255, 255, 0.65);
}

.page-contact .form-group.floating select option {
  background: #0B1220;
  color: #FFFFFF;
}

.page-contact .form-group.floating select optgroup {
  background: #0B1220;
  color: #FFC300;
  font-weight: 700;
}

/* Custom chevron for select-wrap */
.page-contact .select-wrap {
  position: relative;
}

.page-contact .select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.42);
  border-bottom: 2px solid rgba(255, 255, 255, 0.42);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-contact .select-wrap:focus-within::after {
  border-color: #FFC300;
}

/* ============================================================
   07. Floating labels — production system
   ============================================================ */

.page-contact .form-group.floating label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #0B1220;
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Textarea label anchored to top */
.page-contact .form-group.floating textarea + label {
  top: 22px;
  transform: none;
}

/* Elevated states: focus, filled, textarea filled, JS fallback */
.page-contact .form-group.floating input:focus + label,
.page-contact .form-group.floating input:not(:placeholder-shown) + label,
.page-contact .form-group.floating textarea:focus + label,
.page-contact .form-group.floating textarea:not(:placeholder-shown) + label,
.page-contact .form-group.floating select:focus + label,
.page-contact .form-group.floating.is-focused label,
.page-contact .form-group.floating label.active {
  top: 0;
  left: 12px;
  transform: translateY(-50%) scale(0.85);
  color: #FFC300;
  background: #0B1220;
}

/* Textarea elevated keeps same but already top-anchored */
.page-contact .form-group.floating textarea:focus + label,
.page-contact .form-group.floating textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
}

/* Select with chosen value */
.page-contact .form-group.floating select:not(:has(option[value=""]:checked)) + label {
  top: 0;
  left: 12px;
  transform: translateY(-50%) scale(0.85);
  color: #FFC300;
}

/* ============================================================
   08. Form row — 2-col grid
   ============================================================ */

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

.page-contact .form-row .form-group {
  margin-bottom: 20px;
}

/* ============================================================
   09. Validation / error states — in-flow, readable, subtle animation
   ============================================================ */

.page-contact .field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #FFC300;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-contact .field-error:empty {
  display: none;
  margin: 0;
  min-height: 0;
}

.page-contact .field-error.is-visible,
.page-contact .field-error:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

/* Alert variant (if JS injects role=alert with message) */
.page-contact .field-error[role="alert"]:not(:empty) {
  background: rgba(255, 195, 0, 0.08);
  border: 1px solid rgba(255, 195, 0, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 8px;
}

.page-contact .form-group.is-invalid .field-error {
  opacity: 1;
  transform: translateY(0);
}

/* Global form error container */
.page-contact .form-error {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 195, 0, 0.06);
  border: 1px solid rgba(255, 195, 0, 0.18);
  border-radius: 12px;
  color: #FFC300;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-contact .form-error[hidden] {
  display: none !important;
}

.page-contact .form-error p {
  margin: 0;
  color: #FFC300;
}

/* ============================================================
   10. Submit button — Contact-only .btn-submit
   ============================================================ */

.page-contact .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  background: #FFC300;
  color: #0B1220;
  border: 1px solid #FFC300;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
}

.page-contact .btn-submit:hover {
  background: #ffd23a;
  border-color: #ffd23a;
  transform: translateY(-1px);
}

.page-contact .btn-submit:active {
  transform: translateY(0) scale(0.98);
}

.page-contact .btn-submit:disabled,
.page-contact .btn-submit[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  background: #FFC300;
  border-color: #FFC300;
}

.page-contact .btn-submit:focus-visible {
  outline: 2px solid #1546A0;
  outline-offset: 2px;
}

.page-contact .btn-submit .btn-label {
  display: inline-flex;
  align-items: center;
}

.page-contact .btn-submit .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: contactSpin 0.85s linear infinite;
}

.page-contact .btn-submit.is-loading .btn-spinner {
  display: inline-flex;
}

.page-contact .btn-submit.is-loading .btn-label {
  opacity: 0.96;
}

@keyframes contactSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   11. Success / error states — compatible with main.js hidden toggle
   ============================================================ */

.page-contact #contactForm[hidden],
.page-contact .contact-form[hidden],
.page-contact .form-success[hidden] {
  display: none !important;
}

.page-contact .form-success {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 195, 0, 0.18);
  border-radius: 16px;
}

.page-contact .form-success .success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 70, 160, 0.12);
  border-radius: 50%;
  color: #FFC300;
  border: 1px solid rgba(21, 70, 160, 0.18);
}

.page-contact .form-success .success-icon svg {
  width: 28px;
  height: 28px;
  stroke: #FFC300;
  color: #FFC300;
}

.page-contact .form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-contact .form-success p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .form-success .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-contact .form-success .btn:hover {
  border-color: #1546A0;
  background: rgba(21, 70, 160, 0.10);
  color: #FFFFFF;
}

/* Turnstile — ensure not broken, allow dark theme */
.page-contact .cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin: 4px 0;
}

.page-contact .cf-turnstile iframe {
  max-width: 100%;
}

/* Only defensively allow unset if needed — not using !important unless required */
.page-contact .cf-turnstile .cf-challenge {
  max-width: 100%;
}

/* ============================================================
   12. Contact information — premium card system
   ============================================================ */

.page-contact .contact-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 24px;
  position: sticky;
  top: calc(var(--header-h, 72px) + 24px);
}

.page-contact .contact-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-contact .contact-info-emails {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.page-contact .contact-email-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-contact .contact-email-row:hover {
  border-color: rgba(21, 70, 160, 0.28);
  background: rgba(21, 70, 160, 0.06);
  transform: translateY(-1px);
}

.page-contact .contact-email-row svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #1546A0;
  margin-top: 2px;
}

.page-contact .contact-email-row div {
  min-width: 0;
  flex: 1;
}

.page-contact .email-label {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 3px;
}

.page-contact .contact-email-row a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

.page-contact .contact-email-row a:hover {
  color: #FFC300;
}

.page-contact .info-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
}

.page-contact .info-highlight-item {
  text-align: center;
  padding: 16px 12px;
  background: rgba(21, 70, 160, 0.06);
  border: 1px solid rgba(21, 70, 160, 0.16);
  border-radius: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-contact .info-highlight-item:hover {
  border-color: rgba(21, 70, 160, 0.28);
  transform: translateY(-1px);
}

.page-contact .info-highlight-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFC300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-contact .info-highlight-text {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
  line-height: 1.4;
}

/* ============================================================
   13. FAQ — C-COPY from components.css:1226-1501
   Duplicated so contact owns its FAQ presentation independently.
   Scoped to .page-contact .faq-section only.
   ============================================================ */

.page-contact .faq-section {
  background: #0B1220;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
}

.page-contact .faq-section .section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  position: relative;
  z-index: 1;
}

.page-contact .faq-section .section-label {
  color: #FFC300;
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  font-weight: 600;
}

.page-contact .faq-section h2 {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
}

.page-contact .faq-section p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.50);
  max-width: 600px;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  line-height: 1.7;
}

.page-contact .faq-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.page-contact .faq-item {
  background: transparent;
  border: 1px solid #1546A0;
  border-radius: 16px;
  margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
  width: 100%;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.page-contact .faq-item:last-child {
  margin-bottom: 0;
}

.page-contact .faq-item:hover {
  border-color: #FFC300;
  background: rgba(255, 195, 0, 0.03);
}

.page-contact .faq-item.is-open {
  border-color: #FFC300;
  background: rgba(255, 195, 0, 0.03);
}

.page-contact .faq-question {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  width: 100%;
  padding: clamp(18px, 4vw, 24px) clamp(18px, 4vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: color 0.3s ease;
  outline: none;
}

.page-contact .faq-question:hover {
  color: #FFC300;
}

.page-contact .faq-question:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 3px;
}

.page-contact .faq-question .faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.40);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.page-contact .faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: #FFC300;
}

.page-contact .faq-answer {
  background: #0B1220;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.70);
  margin-top: 0;
  padding: 0 clamp(18px, 4vw, 28px) clamp(18px, 4vw, 26px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.page-contact .faq-answer[hidden] {
  display: none !important;
}

.page-contact .faq-question[aria-expanded="true"] + .faq-answer:not([hidden]) {
  max-height: 2000px;
  padding: 0 clamp(18px, 4vw, 28px) clamp(22px, 4vw, 30px);
}

.page-contact .faq-answer-inner {
  font-size: clamp(0.875rem, 2vw, 0.875rem);
  line-height: 1.7;
  max-width: 850px;
}

.page-contact .faq-answer p {
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 0.875rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   14. Responsive — 1440 / 1280 / 1024 / 768 / 480 / 375
   ============================================================ */

@media (max-width: 1280px) {
  .page-contact .contact-grid {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-contact .contact-info {
    position: static;
    top: auto;
  }

  .page-contact .faq-section {
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .page-contact .section {
    padding: 48px 0;
  }

  .page-contact .section-header {
    margin-bottom: 32px;
  }

  .page-contact .solution-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .page-contact .solution-hero__desc {
    font-size: 1rem;
    line-height: 1.7;
  }

  .page-contact .solution-hero__ctas {
    flex-direction: column;
  }

  .page-contact .solution-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .page-contact .solution-hero__bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(11, 18, 32, 0.92) 0%,
      rgba(11, 18, 32, 0.96) 100%
    );
  }

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

  .page-contact .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-contact .form-row .form-group {
    margin-bottom: 20px;
  }

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

  .page-contact .faq-question {
    padding: clamp(16px, 5vw, 20px) clamp(14px, 5vw, 18px);
    font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  }

  .page-contact .faq-answer {
    padding: 0 clamp(14px, 5vw, 16px) clamp(12px, 5vw, 14px);
  }

  .page-contact .faq-list {
    padding: 0 clamp(12px, 4vw, 18px);
  }

  /* Mobile: no hover dependency — click/tap only */
  .page-contact .faq-item:hover {
    border-color: #1546A0;
    background: transparent;
  }

  .page-contact .faq-item.is-open {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }

  .page-contact .faq-item:not(.is-open):hover .faq-answer {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .page-contact .container {
    padding: 0 18px;
  }

  .page-contact .contact-form-panel {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .page-contact .contact-info {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .page-contact .info-highlights {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-email-row {
    padding: 12px 12px;
  }

  .page-contact .faq-list {
    padding: 0 12px;
  }
}

@media (max-width: 375px) {
  .page-contact .solution-hero {
    padding: 90px 0 36px;
  }

  .page-contact .solution-hero h1 {
    font-size: 1.75rem;
  }

  .page-contact .btn-submit {
    font-size: 0.9rem;
    min-height: 46px;
  }

  .page-contact .form-group.floating input,
  .page-contact .form-group.floating select,
  .page-contact .form-group.floating textarea {
    font-size: 0.92rem;
  }
}

/* ============================================================
   14b. Contact fade fallback — FAQ/CTA/breadcrumb [data-fade] visibility
   Mirrors about.css:176 global rescue, scoped to .page-contact
   ============================================================ */

.page-contact [data-fade] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-contact [data-fade].fade-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-contact [data-fade="left"].fade-visible,
.page-contact [data-fade="right"].fade-visible,
.page-contact [data-fade="scale"].fade-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .page-contact [data-fade]:not(.fade-visible) {
    animation: contactFadeFallback 0s ease 2s forwards;
  }

  @keyframes contactFadeFallback {
    to {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }
  }
}

/* ============================================================
   15. Reduced motion — Contact only
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .page-contact *,
  .page-contact *::before,
  .page-contact *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-contact .form-group.floating label,
  .page-contact .form-group.floating input,
  .page-contact .form-group.floating select,
  .page-contact .form-group.floating textarea,
  .page-contact .faq-answer,
  .page-contact .faq-question .faq-icon,
  .page-contact .contact-email-row,
  .page-contact .info-highlight-item,
  .page-contact .btn-submit {
    transition: none !important;
  }

  .page-contact .btn-submit .btn-spinner {
    animation: none !important;
  }
}

/* ============================================================
   0. Hero Contact — visible professional contact details
   ============================================================ */

.hero-contact {
  padding: clamp(48px, 8vw, 64px) 0;
  text-align: center;
  background: #FFFFFF;
  position: relative;
  z-index: 10;
}

.hero-contact.hero-entered {
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-contact [data-hero-enter] {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(21, 70, 160, 0.10);
  border: 1px solid rgba(21, 70, 160, 0.30);
  border-radius: 999px;
  color: #1546A0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 8px 0;
}

.hero-contact a:hover {
  background: rgba(21, 70, 160, 0.18);
  border-color: rgba(21, 70, 160, 0.50);
  color: #1546A0;
  transform: translateY(-2px);
}

.hero-contact a:focus-visible {
  outline: 2px solid #1546A0;
  outline-offset: 4px;
}

.hero-contact a:hover svg {
  stroke: #1546A0;
}

.hero-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: stroke 0.3s ease;
}

/* ——— Mobile Responsive   ——— */

@media (max-width: 1024px) {
  .hero-contact { padding: 40px 0; }
  .hero-contact a { padding: 12px 18px; font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .hero-contact { padding: 32px 0; }
  .hero-contact a { padding: 10px 16px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-contact { padding: 24px 0; }
  .hero-contact a { padding: 8px 12px; font-size: 0.75rem; }
}

@media (max-width: 375px) {
  .hero-contact { padding: 20px 0; }
  .hero-contact a { padding: 6px 10px; font-size: 0.7rem; }
}

/* ============================================================
   15. Reduced motion — Contact only
   ============================================================ */
