/* ================================================================
   BlueWave IT — contact.css
   ================================================================ */

  /* ─── TOKENS ─────────────────────────────────────────────── */
  :root {
    --bg:           #060e1a;
    --bg-alt:       #0a1523;
    --bg-card:      rgba(255,255,255,0.038);
    --bg-card-hover:rgba(255,255,255,0.065);
    --text:         #eef4fc;
    --muted:        #7d9ab8;
    --muted-2:      #a4bdd4;
    --line:         rgba(255,255,255,0.09);
    --line-strong:  rgba(255,255,255,0.14);
    --cyan:         #00c2cb;
    --cyan-2:       #38d9e8;
    --cyan-3:       #b2f5ff;
    --blue:         #0f4c81;
    --blue-mid:     #1565a8;
    --green:        #3ee89a;
    --amber:        #ffcf4e;
    --danger:       #ff5f5f;
    --glow-cyan:    rgba(0,194,203,0.22);
    --shadow:       0 20px 64px rgba(0,0,0,0.50);
    --shadow-sm:    0 8px 28px rgba(0,0,0,0.30);
    --shadow-card:  0 4px 24px rgba(0,0,0,0.22), 0 1px 4px rgba(0,0,0,0.12);
    --radius:       20px;
    --radius-sm:    12px;
    --radius-xs:    8px;
    --max:          1240px;
    --header-h:     72px;
    --font-display: 'Syne', sans-serif;
    --fd-head:      'Questrial', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'DM Mono', monospace;
  }

  body.theme-light {
    --bg:           #f3f8fd;
    --bg-alt:       #e8f1fa;
    --bg-card:      rgba(255,255,255,0.82);
    --bg-card-hover:rgba(255,255,255,0.96);
    --text:         #0a1628;
    --muted:        #4d6b88;
    --muted-2:      #3d5a74;
    --line:         rgba(10,22,40,0.09);
    --line-strong:  rgba(10,22,40,0.15);
    --glow-cyan:    rgba(0,194,203,0.14);
    --shadow:       0 20px 64px rgba(10,22,40,0.14);
    --shadow-sm:    0 8px 28px rgba(10,22,40,0.10);
    --shadow-card:  0 4px 24px rgba(10,22,40,0.10), 0 1px 4px rgba(10,22,40,0.06);
  }

  /* ─── RESET & BASE ───────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background:
      radial-gradient(ellipse 80% 55% at 0% 0%,   rgba(0,194,203,0.13),   transparent 50%),
      radial-gradient(ellipse 60% 45% at 100% 8%,  rgba(15,76,129,0.12),   transparent 50%),
      radial-gradient(ellipse 90% 50% at 50% 100%, rgba(15,76,129,0.07),   transparent 60%),
      linear-gradient(180deg, #060e1a 0%, #07101e 100%);
    overflow-x: hidden;
    transition: background 250ms ease, color 250ms ease;
  }
  body.theme-light {
    background:
      radial-gradient(ellipse 80% 55% at 0% 0%,   rgba(0,194,203,0.07),   transparent 50%),
      radial-gradient(ellipse 60% 45% at 100% 8%,  rgba(15,76,129,0.06),   transparent 50%),
      linear-gradient(180deg, #f3f8fd 0%, #edf4fb 100%);
  }

  h1, h2, h3, h4, .brand { font-family: var(--font-display); margin: 0; }
  h1 { font-family: 'Questrial', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
  h2 { font-family: 'Questrial', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
  h3 { font-family: 'Questrial', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
  h4 { font-weight: 600; letter-spacing: -0.01em; }
  a  { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { font: inherit; cursor: pointer; }
  p { margin: 0; }

  .container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
  }

  /* ─── REVEAL ─────────────────────────────────────────────── */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 80ms; }
  .reveal-delay-2 { transition-delay: 160ms; }
  .reveal-delay-3 { transition-delay: 240ms; }

  /* ─── PAGE HERO ──────────────────────────────────────────── */
  .page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 56px;
    isolation: isolate;
  }
  .page-hero::before {
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    right: -180px; top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,194,203,0.12), transparent 60%);
    filter: blur(48px);
    pointer-events: none;
    z-index: -1;
    animation: floatGlow 12s ease-in-out infinite;
  }
  .page-hero::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    left: -80px; bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,217,232,0.07), transparent 60%);
    filter: blur(36px);
    pointer-events: none;
    z-index: -1;
    animation: floatGlow 14s ease-in-out infinite reverse;
  }
  @keyframes floatGlow {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%       { transform: translate3d(0,-18px,0) scale(1.05); }
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid rgba(56,217,232,0.20); background: rgba(255,255,255,0.03);
    color: #c6f7ff; font-size: 0.83rem; font-weight: 500; margin-bottom: 20px;
  }
  .eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--cyan-2); box-shadow: 0 0 0 7px rgba(56,217,232,0.10); flex: 0 0 auto;
  }
  body.theme-light .eyebrow { background: rgba(10,22,40,0.04); color: var(--blue-mid); }

  /* ─── CONTACT LAYOUT ─────────────────────────────────────── */
  .contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
  }

  .contact-panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
  }

  .contact-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text);
  }

  .contact-items { display: grid; gap: 0; margin-bottom: 28px; }
  .contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-item:last-child { border-bottom: 0; }
  .contact-item strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
  .contact-item p { color: var(--muted-2); font-size: 0.91rem; }

  /* Info rows with icons */
  .info-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .info-row:last-child { border-bottom: 0; }
  .info-icon {
    width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(0,194,203,0.14), rgba(15,76,129,0.22));
    border: 1px solid rgba(56,217,232,0.18); color: var(--cyan-3);
  }
  .info-icon .icon-svg { width: 18px; height: 18px; }
  .info-text strong { display: block; font-size: 0.84rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
  .info-text span { font-size: 0.97rem; color: var(--text); }
  .info-text a { color: var(--cyan-2); transition: color 150ms ease; }
  .info-text a:hover { color: var(--cyan-3); }

  /* Quick chips */
  .quick-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .quick-chip {
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid rgba(56,217,232,0.20); background: rgba(56,217,232,0.06);
    color: var(--cyan-3); font-size: 0.85rem; font-weight: 500;
    transition: all 180ms ease; cursor: pointer;
  }
  .quick-chip:hover {
    background: rgba(56,217,232,0.14); border-color: rgba(56,217,232,0.36);
    color: var(--text); transform: translateY(-2px);
  }

  /* ─── PROGRESS INDICATOR ─────────────────────────────────── */
  .form-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
  }
  .prog-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
  }
  .prog-step:last-child { flex: 0 0 auto; }
  .prog-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    flex: 0 0 auto;
    border: 1.5px solid var(--line-strong);
    color: var(--muted);
    background: var(--bg-alt);
    transition: all 280ms cubic-bezier(0.16,1,0.3,1);
  }
  .prog-dot.active {
    border-color: var(--cyan-2);
    color: var(--bg);
    background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
    box-shadow: 0 0 0 5px rgba(56,217,232,0.12);
  }
  .prog-dot.done {
    border-color: rgba(56,217,232,0.40);
    color: var(--cyan-2);
    background: rgba(56,217,232,0.10);
  }
  .prog-dot.done::before {
    content: "";
    display: block;
    width: 12px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338d9e8' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .prog-label {
    display: flex; flex-direction: column; line-height: 1.2;
  }
  .prog-label strong {
    font-size: 0.84rem; font-weight: 600; color: var(--text);
    transition: color 280ms ease;
  }
  .prog-label span {
    font-size: 0.73rem; color: var(--muted);
  }
  .prog-step:not(.is-active) .prog-label strong { color: var(--muted); }
  .prog-connector {
    flex: 1;
    height: 1px;
    margin: 0 12px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
  }
  .prog-connector::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
    transition: width 400ms cubic-bezier(0.16,1,0.3,1);
  }
  .prog-connector.filled::after { width: 100%; }

  /* ─── FORM STEPS ──────────────────────────────────────────── */
  .form-step {
    display: none;
    animation: stepIn 300ms cubic-bezier(0.16,1,0.3,1) both;
  }
  .form-step.active { display: grid; gap: 14px; }
  @keyframes stepIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .form-step-back {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; padding: 0;
    color: var(--muted); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; margin-bottom: 4px;
    transition: color 150ms ease;
  }
  .form-step-back:hover { color: var(--text); }
  .form-step-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

  /* Step 1 next button */
  .btn-next {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 26px; border-radius: 999px;
    background: rgba(56,217,232,0.10); border: 1px solid rgba(56,217,232,0.30);
    color: var(--cyan-2); font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: all 200ms ease;
  }
  .btn-next:hover {
    background: rgba(56,217,232,0.18); border-color: rgba(56,217,232,0.50);
    transform: translateY(-1px); color: var(--cyan-3);
  }
  .btn-next svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

  /* ─── FORM FIELDS ─────────────────────────────────────────── */
  .contact-form { display: block; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .field label {
    font-size: 0.80rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .field label .req { color: var(--cyan-2); margin-left: 2px; }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    outline: none;
    appearance: none;
  }
  body.theme-light .contact-form input,
  body.theme-light .contact-form select,
  body.theme-light .contact-form textarea {
    background: rgba(10,22,40,0.04);
  }
  .contact-form input::placeholder,
  .contact-form select::placeholder,
  .contact-form textarea::placeholder { color: var(--muted); opacity: 0.7; }

  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: rgba(56,217,232,0.50);
    background: rgba(56,217,232,0.04);
    box-shadow: 0 0 0 3px rgba(56,217,232,0.10);
  }

  /* Custom select arrow */
  .select-wrap { position: relative; }
  .select-wrap::after {
    content: "";
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d9ab8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
  }
  .select-wrap select { padding-right: 42px; cursor: pointer; color: var(--muted); }
  .select-wrap select.has-value { color: var(--text); }
  .select-wrap select option { background: #0d1f35; color: var(--text); }
  body.theme-light .select-wrap select option { background: #f3f8fd; }

  .contact-form textarea { min-height: 120px; resize: vertical; }

  /* Character counter */
  .char-counter {
    font-size: 0.74rem; color: var(--muted);
    text-align: right; transition: color 150ms ease;
  }
  .char-counter.near-limit { color: var(--amber); }

  /* Form status */
  .form-status {
    min-height: 0;
    font-size: 0.92rem; font-weight: 500; text-align: center;
    border-radius: var(--radius-xs);
    transition: all 200ms ease;
  }
  .form-status:not(:empty) {
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    margin-top: 4px;
  }

  /* ─── INFO CARDS STRIP ───────────────────────────────────── */
  .info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-bottom: 52px;
  }
  .info-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
    box-shadow: var(--shadow-card);
  }
  .info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56,217,232,0.24);
    background: var(--bg-card-hover);
  }
  .info-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(0,194,203,0.15), rgba(15,76,129,0.22));
    border: 1px solid rgba(56,217,232,0.20); color: var(--cyan-3);
  }
  .info-card h4 { font-size: 1rem; font-family: var(--fd-head); margin-bottom: 6px; color: var(--text); }
  .info-card p  { color: var(--muted-2); font-size: 0.88rem; line-height: 1.5; }
  .info-card a  { color: var(--cyan-2); font-size: 0.88rem; transition: color 150ms ease; }
  .info-card a:hover { color: var(--cyan-3); }

  /* ─── STATUS BAR ─────────────────────────────────────────── */
  .status-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 0 7px rgba(62,232,154,0.10); flex: 0 0 auto;
  }

  /* ─── PROCESS STEPS ──────────────────────────────────────── */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
    position: relative;
  }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 28px; left: calc(12.5% + 18px); right: calc(12.5% + 18px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-2), transparent);
    opacity: 0.25;
    pointer-events: none;
  }
  .process-step {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 20px;
    text-align: center; position: relative;
    transition: transform 200ms ease, border-color 200ms ease;
  }
  .process-step:hover { transform: translateY(-4px); border-color: rgba(56,217,232,0.24); }
  .proc-num {
    width: 42px; height: 42px; border-radius: 50%;
    margin: 0 auto 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(0,194,203,0.20), rgba(15,76,129,0.28));
    border: 1px solid rgba(56,217,232,0.24);
    font-family: var(--font-mono); font-size: 1rem; font-weight: 600;
    color: var(--cyan-2);
  }
  .process-step h3 { font-size: 1rem; margin-bottom: 8px; }
  .process-step p  { color: var(--muted-2); font-size: 0.87rem; line-height: 1.5; }

  /* ─── FOOTER ─────────────────────────────────────────────── */
  .site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    padding: 56px 0 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .footer-logo strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
  .footer-brand p { color: var(--muted); font-size: 0.90rem; line-height: 1.65; max-width: 38ch; }
  .footer-col h4 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .footer-col ul li a { color: var(--muted-2); font-size: 0.92rem; transition: color 150ms ease; }
  .footer-col ul li a:hover { color: var(--text); }
  .footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-bottom span { color: var(--muted); font-size: 0.87rem; }
  .footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
  .footer-legal a { color: var(--muted); font-size: 0.87rem; transition: color 150ms ease; }
  .footer-legal a:hover { color: var(--text); }

  /* ─── BACK TO TOP ────────────────────────────────────────── */
  .back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 50;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(56,217,232,0.14); border: 1px solid rgba(56,217,232,0.30);
    color: var(--cyan-2); display: grid; place-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  }
  .back-to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
  .back-to-top.show { opacity: 1; pointer-events: auto; }
  .back-to-top:hover { background: rgba(56,217,232,0.24); transform: translateY(-3px); }

  /* ─── FIELD ERRORS ──────────────────────────────────────── */
  .field-error {
    font-size: 0.79rem;
    color: var(--danger);
    font-weight: 500;
    line-height: 1.4;
    display: none;
  }
  .field-error:not(:empty) { display: block; }

  .contact-form input.is-invalid,
  .contact-form select.is-invalid,
  .contact-form textarea.is-invalid {
    border-color: rgba(255,95,95,0.55) !important;
    background: rgba(255,95,95,0.03) !important;
    box-shadow: 0 0 0 3px rgba(255,95,95,0.08) !important;
  }

  /* ─── RESPONSIVE ─────────────────────────────────────────── */
  @media (max-width: 980px) {
    .nav-links,    .contact-wrap { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }
