@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

/* Xnet shared styles for all pages */
  :root{
    --bg:#f7f7fb;
    --surface:#ffffff;
    --ink:#131417;
    --muted:#686d7c;
    --muted-2:#a2a6b3;
    --line:#e8e8f0;
    --indigo:#4338ca;
    --indigo-soft:#edebfc;
    --teal:#0d8f80;
    --teal-soft:#e2f5f2;
    --amber:#c9790e;
    --amber-soft:#fbf0e0;
    --pink:#c2266f;
    --pink-soft:#fbe7f1;
    --green:#1f8a4c;
    --green-soft:#e3f6ea;
    --blue:#1666c2;
    --blue-soft:#e5f0fc;
    --red:#d92d3f;
    --red-soft:#fce7e9;
    --radius-lg:26px;
    --radius-md:16px;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--ink);
    font-family:'Rubik', sans-serif;
    line-height:1.5;
    overflow-x:hidden;
  }
  a{color:inherit; text-decoration:none;}
  img{display:block; max-width:100%;}
  ::selection{background:var(--indigo-soft);}

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:60;
    display:flex; align-items:center; justify-content:space-between;
    padding:16px clamp(20px,6vw,64px);
    background:rgba(247,247,251,.78);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:38px; width:auto;}
  .brand span{font-weight:800; font-size:1.2rem; letter-spacing:-.01em;}
  nav ul{display:flex; align-items:center; gap:clamp(14px,2.4vw,28px); list-style:none; flex-wrap:wrap;}
  nav a{font-size:.9rem; color:var(--muted); font-weight:600; transition:color .2s;}
  nav a:hover{color:var(--ink);}
  @media (max-width:640px){ nav ul{gap:12px;} nav a{font-size:.78rem;} }

  /* ---------- NAV DROPDOWN ---------- */
  .nav-dropdown{position:relative;}
  .nav-dropdown-trigger{display:inline-flex; align-items:center; gap:5px; cursor:pointer;}
  .nav-dropdown-trigger svg{transition:transform .2s ease;}
  .nav-dropdown.open .nav-dropdown-trigger svg{transform:rotate(180deg);}
  .nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger{color:var(--ink);}
  .nav-dropdown-menu{
    position:absolute; top:calc(100% + 16px); right:0; min-width:190px;
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
    box-shadow:0 24px 50px -18px rgba(19,20,23,.28);
    padding:8px; display:flex; flex-direction:column; gap:2px;
    opacity:0; pointer-events:none; transform:translateY(6px);
    transition:opacity .18s ease, transform .18s ease;
    z-index:70;
  }
  .nav-dropdown.open .nav-dropdown-menu{opacity:1; pointer-events:auto; transform:translateY(0);}
  .nav-dropdown-menu a{
    display:block; padding:9px 12px; border-radius:9px;
    font-size:.85rem; font-weight:600; color:var(--muted);
    transition:background .15s ease, color .15s ease;
  }
  .nav-dropdown-menu a:hover{background:var(--indigo-soft); color:var(--indigo);}

  /* ---------- HERO ---------- */
  .hero{
    max-width:920px; margin:0 auto;
    padding:clamp(30px,5vw,54px) clamp(20px,6vw,64px) clamp(12px,3vw,24px);
    text-align:center;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:.8rem; letter-spacing:.1em; font-weight:700;
    color:var(--indigo); background:var(--indigo-soft);
    padding:6px 15px; border-radius:100px; margin-bottom:14px;
    line-height:1.3;
  }
  .hero h1{
    font-size:clamp(2.1rem, 5vw, 3.6rem);
    font-weight:800;
    line-height:1.04;
    letter-spacing:-.02em;
    margin-bottom:12px;
  }
  .hero h1 .mark{
    position:relative; white-space:nowrap;
  }
  .hero h1 .mark::after{
    content:''; position:absolute; right:0; left:0; bottom:.08em; height:.32em;
    background:var(--indigo); opacity:.16; z-index:-1; border-radius:6px;
  }
  .hero p.lede{
    color:var(--muted); font-size:clamp(.98rem,1.4vw,1.08rem);
    line-height:1.4;
    max-width:44ch; margin:0 auto 20px; font-weight:400;
  }
  .hero-cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:12px 24px; border-radius:100px;
    font-family:inherit; font-size:.92rem; font-weight:700;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
    border:1.5px solid transparent;
  }
  .btn-primary{background:var(--ink); color:#fff;}
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 24px -8px rgba(19,20,23,.4);}
  .btn-ghost{border-color:var(--line); color:var(--ink); background:var(--surface);}
  .btn-ghost:hover{border-color:var(--muted-2); transform:translateY(-2px);}
  .btn-donate svg{color:var(--amber);}
  .btn-donate:hover{border-color:var(--amber);}
  .btn svg{transition:transform .2s ease;}
  .btn:hover svg{transform:translateX(-3px);}

  /* ---------- HERO AMBIENT GLOW (homepage) ---------- */
  .hero-glow{position:relative; z-index:1;}
  .hero-glow::before{
    content:'';
    position:absolute;
    top:-140px; right:50%; transform:translateX(50%);
    width:min(920px, 150vw); height:520px;
    background:
      radial-gradient(circle at 30% 35%, rgba(67,56,202,.20), transparent 60%),
      radial-gradient(circle at 72% 60%, rgba(13,143,128,.18), transparent 58%);
    filter:blur(50px);
    z-index:-1;
    pointer-events:none;
  }
  @media (prefers-reduced-motion: no-preference){
    @keyframes rise-in{
      from{opacity:0; transform:translateY(14px);}
      to{opacity:1; transform:translateY(0);}
    }
    .hero-glow .eyebrow{animation:rise-in .6s ease both;}
    .hero-glow h1{animation:rise-in .6s .08s ease both;}
    .hero-glow p.lede{animation:rise-in .6s .16s ease both;}
    .hero-glow .hero-cta{animation:rise-in .6s .24s ease both;}
  }

  /* ---------- SCROLL REVEAL (homepage utility) ---------- */
  .reveal{opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
    .hero-glow .eyebrow, .hero-glow h1, .hero-glow p.lede, .hero-glow .hero-cta{animation:none;}
    .payment-glow .eyebrow, .payment-glow .page-heading, .payment-glow .page-lede, .payment-glow .payment-card{animation:none;}
  }

  /* ---------- DOCK (signature element) ---------- */
  .dock-wrap{
    display:flex; justify-content:center;
    padding:clamp(18px,4vw,34px) 20px clamp(46px,7vw,80px);
  }
  .dock{
    display:flex; align-items:flex-end; gap:12px;
    background:var(--surface);
    border:1px solid var(--line);
    padding:14px 20px;
    border-radius:24px;
    box-shadow:0 24px 60px -24px rgba(19,20,23,.18);
    flex-wrap:wrap;
    justify-content:center;
  }
  .dock-item{
    position:relative;
    width:58px; height:58px;
    border-radius:15px;
    background:#fafafc;
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    padding:11px;
    cursor:pointer;
    transition:transform .18s cubic-bezier(.2,1.4,.4,1), box-shadow .18s ease, border-color .18s ease;
    transform-origin:bottom center;
  }
  .dock-item img{width:100%; height:100%; object-fit:contain;}
  .dock-item:hover{ box-shadow:0 14px 28px -14px rgba(19,20,23,.35); }
  .dock-item .tip{
    position:absolute; bottom:calc(100% + 12px); right:50%; transform:translateX(50%);
    background:var(--ink); color:#fff; font-size:.76rem; font-weight:700;
    padding:6px 12px; border-radius:8px; white-space:nowrap;
    opacity:0; pointer-events:none; transition:opacity .18s ease, transform .18s ease;
  }
  .dock-item:hover .tip{opacity:1; transform:translateX(50%) translateY(-2px);}

  /* ---------- SECTION HEAD ---------- */
  .section-head{
    max-width:1180px; margin:0 auto; padding:0 clamp(20px,6vw,64px);
    display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:18px;
  }
  .section-head h2{font-size:1rem; color:var(--muted); font-weight:700; letter-spacing:.02em;}
  .section-head .count{font-size:.85rem; color:var(--muted-2); font-weight:600;}

  /* ---------- BENTO INTRO (projects page) ---------- */
  .bento-intro{
    max-width:1180px; margin:0 auto; padding:clamp(36px,6vw,56px) clamp(20px,6vw,64px) 0;
  }
  .bento-glow{position:relative; z-index:1;}
  .bento-glow::before{
    content:'';
    position:absolute;
    top:-40px; right:50%; transform:translateX(50%);
    width:min(820px, 140vw); height:340px;
    background:
      radial-gradient(circle at 30% 35%, rgba(67,56,202,.18), transparent 60%),
      radial-gradient(circle at 72% 60%, rgba(13,143,128,.13), transparent 58%);
    filter:blur(46px);
    z-index:-1;
    pointer-events:none;
  }
  @media (prefers-reduced-motion: no-preference){
    .bento-glow .eyebrow{animation:rise-in .6s ease both;}
    .bento-glow .page-heading{animation:rise-in .6s .08s ease both;}
    .bento-glow .page-lede{animation:rise-in .6s .16s ease both;}
  }
  @media (prefers-reduced-motion: reduce){
    .bento-glow .eyebrow, .bento-glow .page-heading, .bento-glow .page-lede{animation:none;}
  }

  /* ---------- BENTO GRID (asymmetric) ---------- */
  .bento{
    max-width:1180px; margin:0 auto; padding:0 clamp(20px,6vw,64px) clamp(60px,8vw,100px);
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    grid-auto-rows:auto;
    align-items:stretch;
    gap:14px;
  }
  .card{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:clamp(18px,2.6vw,28px);
    display:flex; flex-direction:column;
    opacity:0; transform:translateY(24px);
    transition:opacity .6s ease, transform .6s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .card.in-view{opacity:1; transform:translateY(0);}
  .card:hover{box-shadow:0 30px 60px -30px rgba(19,20,23,.22); border-color:transparent;}

  /* row 1: big feature + one small */
  .card-feature{ grid-column:1 / 5; grid-row:1; }
  .card-b      { grid-column:5 / 7; grid-row:1; }
  /* row 2: two medium */
  .card-d      { grid-column:1 / 4; grid-row:2; }
  .card-c      { grid-column:4 / 7; grid-row:2; }
  /* row 3: channel banner, full width */
  .card-f      { grid-column:1 / 7; grid-row:3; }

  @media (max-width:560px){
    .bento{grid-template-columns:1fr;}
    .card-feature, .card-b, .card-c, .card-d, .card-f{grid-column:1; grid-row:auto;}
  }

  .tag{
    display:inline-flex; align-items:center; gap:6px;
    align-self:flex-start;
    font-size:.74rem; font-weight:700; letter-spacing:.02em;
    padding:5px 12px; border-radius:100px; margin-bottom:14px;
  }
  .tag-indigo{color:var(--indigo); background:var(--indigo-soft);}
  .tag-teal{color:var(--teal); background:var(--teal-soft);}
  .tag-amber{color:var(--amber); background:var(--amber-soft);}
  .tag-pink{color:var(--pink); background:var(--pink-soft);}
  .tag-green{color:var(--green); background:var(--green-soft);}
  .tag-blue{color:var(--blue); background:var(--blue-soft);}
  .tag-red{color:var(--red); background:var(--red-soft);}

  /* ---------- CHANNEL CARD (live updates) ---------- */
  .card-channel{
    flex-direction:row;
    align-items:center;
    gap:clamp(16px,3vw,32px);
    background:linear-gradient(135deg, #17181d 0%, #1f2027 100%);
    border-color:#17181d;
    position:relative;
    overflow:hidden;
  }
  .card-channel::before{
    content:'';
    position:absolute; inset:0;
    background:radial-gradient(600px 200px at 15% 0%, rgba(217,45,63,.25), transparent 60%);
    pointer-events:none;
  }
  .card-channel .logo-plate{
    background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.1);
    min-height:64px; min-width:64px; flex:0 0 auto; margin-bottom:0;
  }
  .card-channel .logo-plate svg{width:30px; height:30px;}
  .card-channel .channel-body{flex:1; min-width:220px;}
  .card-channel h3{color:#fff;}
  .card-channel p{color:#b7b9c4; margin-bottom:16px;}
  .card-channel .card-link{color:#fff; border-bottom-color:#fff;}
  .live-dot{
    display:inline-flex; align-items:center; gap:7px;
    font-size:.74rem; font-weight:700; letter-spacing:.04em;
    color:#ff8b95; background:rgba(217,45,63,.16);
    padding:5px 12px; border-radius:100px; margin-bottom:14px;
    align-self:flex-start;
  }
  .live-dot::before{
    content:''; width:7px; height:7px; border-radius:50%;
    background:#ff4d5e;
    box-shadow:0 0 0 0 rgba(255,77,94,.6);
    animation:live-pulse 1.8s infinite;
  }
  @keyframes live-pulse{
    0%{box-shadow:0 0 0 0 rgba(255,77,94,.55);}
    70%{box-shadow:0 0 0 9px rgba(255,77,94,0);}
    100%{box-shadow:0 0 0 0 rgba(255,77,94,0);}
  }
  @media (max-width:640px){
    .card-channel{flex-direction:column; align-items:flex-start; text-align:right;}
  }

  .logo-plate{
    background:#fafafc; border:1px solid var(--line); border-radius:var(--radius-md);
    padding:clamp(12px,2vw,20px);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:14px;
  }
  .card-feature .logo-plate{min-height:100px;}
  .card-d .logo-plate, .card-c .logo-plate{min-height:70px;}
  .card-a .logo-plate, .card-e .logo-plate{min-height:60px;}
  .card-b .logo-plate{min-height:0; padding:10px;}
  .logo-plate img{max-height:80px; width:auto; object-fit:contain;}
  .card-feature .logo-plate img{max-height:96px;}
  .card-b .logo-plate img{max-height:36px;}

  .card h3{font-size:clamp(1.1rem,1.8vw,1.5rem); font-weight:800; margin-bottom:6px; letter-spacing:-.01em;}
  .card p{color:var(--muted); font-size:.9rem; margin-bottom:14px; flex:1; line-height:1.45;}
  .card-b p{font-size:.82rem; -webkit-line-clamp:3; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;}
  .card-link{
    display:inline-flex; align-items:center; gap:7px;
    font-weight:700; font-size:.88rem; color:var(--ink);
    padding-bottom:2px; border-bottom:2px solid var(--ink);
    width:fit-content; transition:gap .2s ease, opacity .2s ease;
  }
  .card-link:hover{gap:11px;}
  .card-link svg{transition:transform .2s ease;}

  /* ---------- CONTACT MODAL ---------- */
  .contact-overlay{
    position:fixed; inset:0; z-index:200;
    background:rgba(19,20,23,.45);
    backdrop-filter:blur(6px);
    display:flex; align-items:center; justify-content:center;
    padding:20px;
    opacity:0; pointer-events:none;
    transition:opacity .22s ease;
  }
  .contact-overlay.open{opacity:1; pointer-events:auto;}
  .contact-modal{
    width:100%; max-width:440px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:clamp(24px,4vw,34px);
    box-shadow:0 40px 80px -30px rgba(19,20,23,.35);
    transform:translateY(16px) scale(.98);
    transition:transform .22s ease;
    max-height:90vh; overflow-y:auto;
  }
  .contact-overlay.open .contact-modal{transform:translateY(0) scale(1);}
  .contact-modal-head{
    display:flex; align-items:flex-start; justify-content:space-between;
    gap:16px; margin-bottom:6px;
  }
  .contact-modal-head h3{font-size:1.35rem; font-weight:800; letter-spacing:-.01em;}
  .contact-close{
    width:32px; height:32px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    color:var(--muted); background:#fafafc; border:1px solid var(--line);
    cursor:pointer; flex:0 0 auto; transition:color .2s ease, border-color .2s ease;
  }
  .contact-close:hover{color:var(--ink); border-color:var(--muted-2);}
  .contact-modal p.contact-sub{color:var(--muted); font-size:.9rem; margin-bottom:22px;}
  .field{margin-bottom:14px;}
  .field label{display:block; font-size:.82rem; font-weight:700; color:var(--muted); margin-bottom:6px;}
  .field input, .field textarea{
    width:100%; font-family:inherit; font-size:.95rem; color:var(--ink);
    background:#fafafc; border:1.5px solid var(--line); border-radius:var(--radius-md);
    padding:11px 14px; transition:border-color .2s ease, background .2s ease;
  }
  .field input:focus, .field textarea:focus{
    outline:none; border-color:var(--indigo); background:var(--surface);
  }
  .field textarea{resize:vertical; min-height:90px; line-height:1.4;}
  .contact-submit{
    width:100%; justify-content:center; margin-top:6px;
    background:var(--surface); color:var(--ink);
    border:1.5px solid var(--line); cursor:pointer;
    box-shadow:0 14px 28px -18px rgba(19,20,23,.28);
  }
  .contact-submit:hover{
    transform:translateY(-2px); border-color:var(--muted-2);
    box-shadow:0 18px 34px -18px rgba(19,20,23,.32);
  }
  .contact-submit[disabled]{opacity:.6; cursor:default; transform:none;}
  .contact-status{
    margin-top:12px; font-size:.85rem; font-weight:600; text-align:center;
    min-height:1.2em;
  }
  .contact-status.ok{color:var(--green);}
  .contact-status.err{color:var(--red);}

  /* ---------- SERVICES ---------- */
  .services{
    max-width:1180px; margin:0 auto;
    padding:clamp(36px,6vw,56px) clamp(20px,6vw,64px) clamp(60px,8vw,100px);
    position:relative; z-index:1;
  }
  .services-glow::before{
    content:'';
    position:absolute;
    top:-40px; right:50%; transform:translateX(50%);
    width:min(820px, 140vw); height:340px;
    background:
      radial-gradient(circle at 30% 35%, rgba(22,102,194,.18), transparent 60%),
      radial-gradient(circle at 72% 60%, rgba(67,56,202,.12), transparent 58%);
    filter:blur(46px);
    z-index:-1;
    pointer-events:none;
  }
  @media (prefers-reduced-motion: no-preference){
    .services-glow .eyebrow{animation:rise-in .6s ease both;}
    .services-glow .page-heading{animation:rise-in .6s .08s ease both;}
    .services-glow .services-wrap{animation:rise-in .6s .16s ease both;}
  }
  @media (prefers-reduced-motion: reduce){
    .services-glow .eyebrow, .services-glow .page-heading, .services-glow .services-wrap{animation:none;}
  }
  .services-wrap{
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:clamp(26px,4vw,44px);
    display:grid; grid-template-columns:1fr 1.15fr; gap:clamp(24px,4vw,50px);
    box-shadow:0 24px 60px -28px rgba(19,20,23,.16);
  }
  .services-intro h3{
    font-size:clamp(1.3rem,2.3vw,1.7rem); font-weight:800;
    letter-spacing:-.01em; margin-bottom:12px; line-height:1.2;
  }
  .services-intro p{color:var(--muted); font-size:.95rem; line-height:1.6; margin-bottom:22px;}
  .services-intro .btn{width:fit-content;}
  .services-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .service-item{
    background:#fafafc; border:1px solid var(--line); border-radius:var(--radius-md);
    padding:18px; transition:border-color .2s ease, transform .2s ease;
  }
  .service-item:hover{border-color:var(--muted-2); transform:translateY(-2px);}
  .service-icon{
    width:38px; height:38px; border-radius:11px;
    background:var(--indigo-soft); color:var(--indigo);
    display:flex; align-items:center; justify-content:center; margin-bottom:12px;
  }
  .service-item h4{font-size:.96rem; font-weight:700; margin-bottom:6px;}
  .service-item p{color:var(--muted); font-size:.82rem; line-height:1.45;}
  @media (max-width:760px){
    .services-wrap{grid-template-columns:1fr;}
  }
  @media (max-width:480px){
    .services-grid{grid-template-columns:1fr;}
  }

  /* ---------- PAYMENT ---------- */
  .payment{
    max-width:760px; margin:0 auto;
    padding:clamp(36px,6vw,56px) clamp(20px,6vw,64px) clamp(60px,8vw,100px);
    position:relative; z-index:1;
  }
  .payment-glow::before{
    content:'';
    position:absolute;
    top:-40px; right:50%; transform:translateX(50%);
    width:min(760px, 140vw); height:360px;
    background:
      radial-gradient(circle at 30% 35%, rgba(201,121,14,.18), transparent 60%),
      radial-gradient(circle at 72% 55%, rgba(194,38,111,.14), transparent 58%);
    filter:blur(46px);
    z-index:-1;
    pointer-events:none;
  }
  @media (prefers-reduced-motion: no-preference){
    .payment-glow .eyebrow{animation:rise-in .6s ease both;}
    .payment-glow .page-heading{animation:rise-in .6s .08s ease both;}
    .payment-glow .page-lede{animation:rise-in .6s .16s ease both;}
    .payment-glow .payment-card{animation:rise-in .6s .22s ease both;}
  }
  .field-hint{font-size:.78rem; color:var(--muted-2); margin-top:6px;}
  .contact-glow::before{
    content:'';
    position:absolute;
    top:-40px; right:50%; transform:translateX(50%);
    width:min(760px, 140vw); height:340px;
    background:
      radial-gradient(circle at 30% 35%, rgba(194,38,111,.16), transparent 60%),
      radial-gradient(circle at 72% 60%, rgba(31,138,76,.13), transparent 58%);
    filter:blur(46px);
    z-index:-1;
    pointer-events:none;
  }
  @media (prefers-reduced-motion: no-preference){
    .contact-glow .eyebrow{animation:rise-in .6s ease both;}
    .contact-glow .page-heading{animation:rise-in .6s .08s ease both;}
    .contact-glow .page-lede{animation:rise-in .6s .16s ease both;}
    .contact-glow .payment-card{animation:rise-in .6s .22s ease both;}
  }
  @media (prefers-reduced-motion: reduce){
    .contact-glow .eyebrow, .contact-glow .page-heading, .contact-glow .page-lede, .contact-glow .payment-card{animation:none;}
  }
  .payment-card{
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:clamp(24px,4vw,36px);
    box-shadow:0 24px 60px -28px rgba(19,20,23,.16);
  }
  .payment-sub{color:var(--muted); font-size:.92rem; line-height:1.6; margin-bottom:22px;}
  .field-row{display:flex; gap:14px; flex-wrap:wrap;}
  .field-row .field{flex:1 1 160px;}
  .field select{
    width:100%; font-family:inherit; font-size:.95rem; color:var(--ink);
    background:#fafafc; border:1.5px solid var(--line); border-radius:var(--radius-md);
    padding:11px 14px; transition:border-color .2s ease, background .2s ease;
  }
  .field select:focus{outline:none; border-color:var(--indigo); background:var(--surface);}
  .nedarim-frame-wrap{
    margin:16px 0 18px;
    border:1.5px solid var(--line); border-radius:var(--radius-md);
    overflow:hidden; background:#fafafc;
  }
  .nedarim-frame-wrap iframe{width:100%; height:300px; border:0; display:block;}
  .payment-secure-note{
    display:flex; align-items:center; justify-content:center; gap:7px;
    margin-top:14px; font-size:.78rem; color:var(--muted-2); font-weight:600;
  }

  /* ---------- FOOTER ---------- */
  footer{
    max-width:1180px; margin:0 auto; padding:36px clamp(20px,6vw,64px) 56px;
    border-top:1px solid var(--line);
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  }
  footer .brand img{height:26px;}
  footer p{color:var(--muted-2); font-size:.84rem; font-weight:500;}
  footer .tagline{color:var(--muted); font-weight:700; font-size:.92rem;}
  .profile-links{display:flex; align-items:center; gap:14px;}
  .profile-links a{
    display:flex; align-items:center; justify-content:center;
    width:30px; height:30px; border-radius:9px;
    color:var(--muted); background:var(--surface); border:1px solid var(--line);
    transition:color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .profile-links a:hover{color:var(--ink); border-color:var(--muted-2); transform:translateY(-2px);}
  .profile-links a img{width:16px; height:16px; object-fit:contain;}

  /* ---------- NAV DROPDOWN ARROW (multi-page nav) ---------- */
  .dropdown-arrow{display:inline-flex; align-items:center; cursor:pointer;}

  /* ---------- CONTACT PAGE ---------- */
  .contact-page-head{margin-bottom:22px;}
  .contact-page-head h3{font-size:clamp(1.3rem,2.3vw,1.7rem); font-weight:800; letter-spacing:-.01em; margin-bottom:10px; line-height:1.2;}
  .contact-page-head p{color:var(--muted); font-size:.95rem; line-height:1.6;}

  /* ---------- ABOUT (homepage) ---------- */
  .about{
    max-width:760px; margin:0 auto;
    padding:0 clamp(20px,6vw,64px) clamp(60px,8vw,100px);
  }
  .about-card{
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
    padding:clamp(24px,4vw,36px);
    box-shadow:0 24px 60px -28px rgba(19,20,23,.16);
  }
  .about-card p{color:var(--muted); font-size:.95rem; line-height:1.7;}
  .about-card p + p{margin-top:14px;}
  .about-card .btn{margin-top:20px;}

  .eyebrow-teal{color:var(--teal); background:var(--teal-soft);}
  .eyebrow-amber{color:var(--amber); background:var(--amber-soft);}
  .eyebrow-blue{color:var(--blue); background:var(--blue-soft);}
  .eyebrow-pink{color:var(--pink); background:var(--pink-soft);}
  .page-intro{
    text-align:center; margin-bottom:26px;
    display:flex; flex-direction:column; align-items:center;
  }
  .page-heading{
    font-size:clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight:800; letter-spacing:-.015em; line-height:1.15;
  }
  .page-heading .mark-teal,
  .page-heading .mark-amber,
  .page-heading .mark-indigo,
  .page-heading .mark-blue,
  .page-heading .mark-pink{position:relative;}
  .page-heading .mark-teal::after,
  .page-heading .mark-amber::after,
  .page-heading .mark-indigo::after,
  .page-heading .mark-blue::after,
  .page-heading .mark-pink::after{
    content:''; position:absolute; right:0; left:0; bottom:.06em; height:.28em;
    z-index:-1; border-radius:6px;
  }
  .page-heading .mark-teal::after{background:var(--teal); opacity:.18;}
  .page-heading .mark-amber::after{background:var(--amber); opacity:.22;}
  .page-heading .mark-indigo::after{background:var(--indigo); opacity:.16;}
  .page-heading .mark-blue::after{background:var(--blue); opacity:.18;}
  .page-heading .mark-pink::after{background:var(--pink); opacity:.18;}
  .page-lede{
    color:var(--muted); font-size:clamp(.95rem,1.3vw,1.02rem);
    line-height:1.5; max-width:46ch; margin:10px auto 0;
  }
  .about-icon{
    width:46px; height:46px; border-radius:14px;
    background:var(--teal-soft); color:var(--teal);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:16px;
  }
