/* =============================================
   NEXUS WAVE — css/pages/contact.css
   Page-specific styles
   ============================================= */

    /* ── Contact-specific ── */

    .contact-hero {
      min-height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 160px 56px 64px;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
    }

    .contact-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 80px 80px;
      pointer-events: none;
      mask-image: radial-gradient(ellipse 60% 70% at 15% 80%, black 5%, transparent 80%);
    }

    .contact-hero h1 {
      font-family: var(--display);
      font-size: clamp(44px, 8vw, 96px);
      font-weight: 900;
      line-height: 0.92;
      letter-spacing: -4px;
      margin-bottom: 24px;
      position: relative;
      z-index: 2;
    }

    .contact-hero p {
      font-size: 15px;
      color: var(--g5);
      max-width: 480px;
      line-height: 1.75;
      font-weight: 300;
      position: relative;
      z-index: 2;
    }

    /* Main contact body */
    .contact-body {
      background: var(--bg);
      padding: 80px 56px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    /* Left info column */
    .contact-info h2 {
      font-family: var(--display);
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 900;
      letter-spacing: -2px;
      line-height: 1;
      margin-bottom: 16px;
    }

    .contact-info > p {
      font-size: 14px;
      color: var(--g5);
      line-height: 1.8;
      font-weight: 300;
      margin-bottom: 40px;
      max-width: 360px;
    }

    /* Contact methods */
    .contact-methods {
      display: flex;
      flex-direction: column;
      gap: 0;
      border-top: 1px solid var(--border);
      margin-bottom: 48px;
    }

    .cmethod {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 0;
      border-bottom: 1px solid var(--border);
      text-decoration: none;
      transition: transform 0.2s var(--ease);
    }

    .cmethod:hover {
      transform: translateX(6px);
    }

    .cmethod-icon {
      width: 36px;
      height: 36px;
      border: 1px solid var(--border);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.2s;
    }

    .cmethod:hover .cmethod-icon {
      background: rgba(255,255,255,0.06);
    }

    .cmethod-icon svg {
      width: 16px;
      height: 16px;
      fill: var(--g5);
      transition: fill 0.2s;
    }

    .cmethod:hover .cmethod-icon svg {
      fill: var(--text);
    }

    .cmethod-label {
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--g4);
      font-weight: 500;
      display: block;
      margin-bottom: 3px;
    }

    .cmethod-value {
      font-size: 14px;
      color: var(--g6);
      font-weight: 300;
      transition: color 0.2s;
    }

    .cmethod:hover .cmethod-value {
      color: var(--text);
    }

    /* Business hours */
    .hours-box {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 28px;
    }

    .hours-title {
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--g4);
      font-weight: 500;
      margin-bottom: 16px;
    }

    .hours-row {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--g5);
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
      font-weight: 300;
    }

    .hours-row:last-child {
      border-bottom: none;
    }

    .hours-row span:last-child {
      color: var(--g7);
    }

    /* Form column */
    .contact-form-wrap {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 40px;
    }

    .form-title {
      font-family: var(--display);
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 8px;
    }

    .form-subtitle {
      font-size: 13px;
      color: var(--g5);
      margin-bottom: 28px;
      font-weight: 300;
      line-height: 1.6;
    }

    .cform {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .form-row {
      display: flex;
      gap: 12px;
    }

    .cinput {
      width: 100%;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 14px 18px;
      color: var(--text);
      font-size: 14px;
      font-family: var(--sans);
      outline: none;
      transition: border-color 0.2s;
      font-weight: 300;
      -webkit-appearance: none;
    }

    .cinput:focus {
      border-color: rgba(255,255,255,0.25);
    }

    .cinput::placeholder {
      color: var(--g4);
    }

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

    .csub {
      background: var(--text);
      color: var(--bg);
      padding: 15px;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 600;
      font-family: var(--sans);
      cursor: pointer;
      width: 100%;
      transition: opacity 0.2s, transform 0.2s var(--ease);
      margin-top: 4px;
      border: none;
    }

    .csub:hover:not(:disabled) {
      opacity: 0.88;
      transform: translateY(-1px);
    }

    .csub:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }

    .cmsg {
      font-size: 13px;
      font-weight: 400;
      padding: 12px 16px;
      border-radius: 4px;
      display: none;
      margin-top: 4px;
    }

    .cmsg.ok  { background: rgba(255,255,255,0.06); color: var(--g7); }
    .cmsg.err { background: rgba(255,80,80,0.08); color: rgba(255,100,100,0.8); }

    /* FAQ section on contact page */
    .contact-faq {
      background: var(--surface);
      padding: 80px 56px;
    }

    .faq-list {
      max-width: 720px;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-item:first-child {
      border-top: 1px solid var(--border);
    }

    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      cursor: pointer;
      gap: 16px;
    }

    .faq-q h4 {
      font-size: 14px;
      font-weight: 400;
      color: var(--text);
      line-height: 1.4;
    }

    .faq-icon {
      width: 28px;
      height: 28px;
      min-width: 28px;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--g5);
      line-height: 1;
      transition: all 0.3s var(--ease);
    }

    .faq-item.open .faq-icon {
      background: var(--text);
      color: var(--bg);
      border-color: var(--text);
      transform: rotate(45deg);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s var(--ease);
    }

    .faq-item.open .faq-a {
      max-height: 400px;
    }

    .faq-a-inner {
      padding: 0 0 20px;
      font-size: 13px;
      color: var(--g5);
      line-height: 1.8;
      font-weight: 300;
      max-width: 560px;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .contact-hero { padding: 130px 28px 56px; }
      .contact-body { padding: 56px 28px; }
      .contact-layout { grid-template-columns: 1fr; gap: 48px; }
      .contact-faq { padding: 56px 28px; }
    }

    @media (max-width: 640px) {
      .contact-hero { padding: 110px 20px 48px; }
      .contact-body { padding: 40px 20px; }
      .contact-form-wrap { padding: 28px 20px; }
      .contact-faq { padding: 48px 20px; }
      .form-row { flex-direction: column; }
    }
