:root {
    --brand: #0a8cff;
    --brand-2: #5bb6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
    --soft: #f3f8ff;
    --stroke: #dbeafe;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --radius-lg: 22px;
    --radius-md: 16px;
  }
  
  /* ===== Section shell ===== */
  .contact-section {
    padding: 80px 0;
    /* background: linear-gradient(180deg, #ffffff 0%, #f7fbff 60%, #ffffff 100%); */
    color: var(--ink);
    /* font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; */
  }
  
  /* container */
  .contact-section .container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
  }
  
  /* ===== Header ===== */
  .contact-section .contact-header {
    text-align: center;
    margin-bottom: 26px;
  }
  
  .contact-section .contact-title {

    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: .2px;
    color: var(--ink);
    font-weight: 800;
  }
  
  .contact-section .title-underline {
    width: 160px;
    height: 4px;
    margin: 14px auto 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 20px rgba(10, 140, 255, 0.18);
  }
  
  .contact-section .contact-subtitle {
    margin: 0 auto;
    max-width: 820px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
  }
  
  .contact-section .inline-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 650;
    border-bottom: 1px dashed rgba(10, 140, 255, 0.35);
  }
  .contact-section .inline-link:hover {
    border-bottom-style: solid;
  }
  
  /* ===== Outer card ===== */
  .contact-section .contact-card {
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid rgba(219, 234, 254, 0.9);
    background:
      radial-gradient(1200px 420px at 15% 0%, rgba(10, 140, 255, 0.12), transparent 60%),
      radial-gradient(900px 340px at 100% 35%, rgba(91, 182, 255, 0.10), transparent 55%),
      var(--soft);
    box-shadow: var(--shadow);
  }
  
  /* ===== Layout grid ===== */
  .contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 18px;
    align-items: stretch;
  }
  
  /* ===== Map ===== */
  .contact-section .map-wrap {
    background: var(--card);
    border: 1px solid rgba(219, 234, 254, 0.9);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 380px;
  }
  
  .contact-section .map-iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
  }
  
  /* ===== Right panel ===== */
  .contact-section .contact-info {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(219, 234, 254, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    backdrop-filter: blur(8px);
  }
  
  .contact-section .info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
  }
  
  /* ===========================
     SUPER IMPORTANT OVERRIDES
     (Fixes "..." + missing icons)
  =========================== */
  
  /* Ensure children are visible even if global CSS hides svg/spans */
  .contact-section .info-link,
  .contact-section .info-link * {
    opacity: 1;
    visibility: visible;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
  }
  
  /* Ensure text isn't collapsed */
  .contact-section .info-link {
    font-size: 16px;
    line-height: 1.2;
  }
  
  /* Ensure SVG shows even if global svg rules exist */
  .contact-section svg.icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: rgba(10, 140, 255, 0.92) !important;
  }
  
  /* clickable row */
  .contact-section .info-link {
    width: 100%;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  
    padding: 14px 14px;
    border-radius: 14px;
  
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(219, 234, 254, 0.85);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }
  
  .contact-section .info-link:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 140, 255, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  }
  
  .contact-section .info-btn {
    cursor: pointer;
    text-align: left;
    border: 0;
    background: transparent;
  }
  
  /* icon bubble */
  .contact-section .icon-pill {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(10, 140, 255, 0.18), rgba(10, 140, 255, 0.06));
    border: 1px solid rgba(10, 140, 255, 0.22);
  }
  
  /* text */
  .contact-section .info-text {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  
  .contact-section .info-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
  }
  
  .contact-section .info-value {
    font-size: 15px;
    color: var(--ink);
    font-weight: 750;
    word-break: break-word;
  }
  
  /* copy chip */
  .contact-section .chip {
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(10, 140, 255, 0.95);
    background: rgba(10, 140, 255, 0.10);
    border: 1px solid rgba(10, 140, 255, 0.20);
  }
  
  /* focus */
  .contact-section .info-link:focus-visible {
    outline: 3px solid rgba(10, 140, 255, 0.35);
    outline-offset: 2px;
  }
  
  /* ===== Reveal animation (your JS adds .in) ===== */
  .contact-wrapper.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 550ms ease, transform 550ms ease;
  }
  .contact-wrapper.reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  
  .contact-info .reveal-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
  }
  .contact-info .reveal-item.in {
    opacity: 1;
    transform: translateY(0);
  }
  
  @media (prefers-reduced-motion: reduce) {
    .contact-wrapper.reveal,
    .contact-info .reveal-item {
      transition: none !important;
      transform: none !important;
    }
  }
  
  /* ===== Toast ===== */
  .toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    font-size: 14px;
    z-index: 9999;
  }
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
  }
  
  /* ===== Responsive ===== */
  @media (max-width: 980px) {
    .contact-section .contact-grid {
      grid-template-columns: 1fr;
    }
    .contact-section .map-wrap,
    .contact-section .map-iframe {
      min-height: 320px;
    }
    .contact-section .contact-card {
      padding: 14px;
    }
  }
  
  @media (max-width: 520px) {
    .contact-section .info-link {
      grid-template-columns: 44px 1fr;
    }
    .contact-section .chip {
      display: none;
    }
  }
  

  /* Contact icon safety overrides */
#contact svg,
#contact .icon {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#contact svg.icon {
  width: 22px !important;
  height: 22px !important;
}

#contact svg.icon path {
  fill: rgba(10, 140, 255, 0.92) !important;
}


/* Replace SVG icon styling with image icons */
.contact-section .icon-pill {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid rgba(10, 140, 255, 0.20);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  }
  
  .contact-section .icon-img {
    width: 22px;
    height: 22px;
    display: block;
    /* makes SVG icons tintable if they are single-color */
    filter: invert(32%) sepia(88%) saturate(1800%) hue-rotate(189deg) brightness(98%) contrast(102%);
  }
  
  /* But keep TikTok/Gmail/Maps more “brand-like” (remove tint) */
  .contact-section .icon-img.brand {
    filter: none;
  }

  /* Inline SVG icons */
.contact-section .icon-svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: rgba(10, 140, 255, 0.92); /* primary light blue */
  }
  
  /* Optional: slightly darker on hover */
  .contact-section .reveal-item:hover .icon-svg {
    fill: rgba(10, 140, 255, 1);
  }
  
  