    /* =========================
    MODERN THEME (AFTER)
    Clean · Professional · 2025
    Same HTML, new perception
    ========================= */

  :root{
    /* Layout */
    --max: 1120px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    /* Colors */
    --bg: #0b0f17;
    --surface: #111827;
    --surface-soft: #0f172a;
    --card: #111827;

    --text: #e5e7eb;
    --muted: #9ca3af;
    --line: rgba(255,255,255,.08);

    --primary: #3b82f6;
    --primary-hover: #2563eb;

    /* Accent (más suave / consistente) */
    --accent: #22d3ee;
    --accent-soft: #45b4ff; /* celeste limpio */
    --accent-glow: rgba(69,180,255,.14);
    --accent-border-glow: rgba(69,180,255,.30);

    /* Header/Nav tokens refinados */

    --header-bg: rgba(11,15,23,.78);
    --header-bg-scrolled: rgba(11,15,23,.94);

    --nav-hover-bg: rgba(255,255,255,.05);
    --nav-hover-border: rgba(255,255,255,.10);

    --nav-active-bg: rgba(255,255,255,.07);
    --nav-active-border: rgba(255,255,255,.14);

    /* aura bicolor: suave de verdad */
    --nav-aura-a: rgba(69, 180, 231, .10);
    --nav-aura-b: rgba(3, 215, 247, .10);

    /* focus visible: claro pero elegante */
    --nav-outline: rgba(34, 211, 238, .45);



    /* Typography */
    --font-main: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;

    /* Effects */
    --shadow-sm: 0 6px 20px rgba(0,0,0,.25);
    --shadow-md: 0 20px 50px rgba(0,0,0,.35);
  }


    /* Reset-ish */
    *{ box-sizing: border-box; }

    html{ scroll-behavior: smooth; }

    body{
    margin: 0;
    font-family: var(--font-main);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,.08), transparent 40%),
        radial-gradient(800px 500px at 90% 0%, rgba(34,211,238,.06), transparent 45%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    }


    /* Container */
    .container{
      max-width: var(--max);
      margin-inline: auto;
      padding-inline: clamp(16px, 4vw, 28px);
    }

    /* Skip link (clean) */
    .skip-link{
      position: absolute;
      left: -999px;
      top: 12px;
      background: var(--primary);
      color: #fff;
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      box-shadow: 0 12px 30px rgba(0,0,0,.35);
    }

    .skip-link:focus{ left: 12px; }

    /* Header */
    .site-header{
      position: sticky;
      top: 0;
      z-index: 9999;

      background: var(--header-bg);
      border-bottom: 1px solid var(--line);
      box-shadow: none;

      will-change: transform;
      transform: translateZ(0);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease;

      /* subtle highlight */
      background-image: linear-gradient(
        to bottom,
        rgba(255,255,255,.06),
        rgba(255,255,255,0)
      );
    }


    @supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
      .site-header{
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
      }
    }

    .site-header.nav-hidden{
      transform: translateY(-110%);
    }

    .site-header.is-scrolled{
      background: var(--header-bg-scrolled);
      box-shadow: 0 12px 40px rgba(0,0,0,.35);
      border-bottom: 1px solid rgba(34,211,238,.18);
    }

    .site-header .container{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-block: 14px;
      flex-wrap: wrap;
    }

    .header-cta .btn{
      white-space: nowrap;
    }

    /* Brand */
    .brand-link{
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      text-decoration: none;
      color: var(--text);
    }

    .brand-mark{
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      font-weight: 700;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
    }

    .brand-name{
      font-weight: 600;
      letter-spacing: .2px;

      font-size: clamp(14px, 2.2vw, 16px);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 22ch;
    }

    /* Nav */
    .site-nav{
      display: flex;
      align-items: center;
    }

    .nav-list{
      display: flex;
      gap: 22px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-list a{
      position: relative;
      display: inline-flex;
      align-items: center;
      padding: 10px 12px;
      border-radius: 999px;

      color: var(--muted);
      text-decoration: none;

      background: transparent;
      border: 1px solid rgba(255,255,255,0);

      transform: translateY(0) scale(1);
      transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
    }

    .nav-list a:hover,
    .nav-list a:focus-visible{
      background: var(--nav-hover-bg);
      border-color: var(--nav-hover-border);
      transform: translateY(-1px);
    }

    .nav-list a.active{
      color: var(--text);
      background: var(--nav-active-bg);
      border-color: var(--nav-active-border);
      transform: translateY(-1px) scale(1.01);
      box-shadow: 0 8px 18px rgba(0,0,0,.22);
    }


    /* soft accent aura (very subtle) */
    .nav-list a.active::after{
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;

      background:
        radial-gradient(90% 140% at 20% 120%, var(--nav-aura-a), transparent 60%),
        radial-gradient(90% 140% at 80% 120%, var(--nav-aura-b), transparent 60%);

      opacity: .28; /* clave: bajito */
    }



    .nav-list a:focus-visible{
      outline: 2px solid var(--nav-outline);
      outline-offset: 2px;
    }


    .site-header.is-scrolled .nav-list a.active{
      box-shadow:
        0 10px 26px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 0 4px var(--nav-aura-a);
    }

    @media (max-width: 720px){
      .site-nav{
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,.08);
      }

      .nav-list{
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
      }

      .nav-list a.active{
        transform: translateY(-1px) scale(1.01);
      }

      .header-cta{
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
      }

      .brand{
        order: 1;
        min-width: 0;
      }

      .header-cta .btn{
        padding: 9px 12px;
        font-size: 13px;
      }
    }

    @media (min-width: 721px){
      .site-header .container{
        padding-block: 16px;
      }
    }

    @media (max-width: 420px){
      .brand-name{ max-width: 14ch; }
    }

    @media (prefers-reduced-motion: reduce){
      .nav-list a{ transition: none; }
    }


    
    main{
    border-top: 1px solid var(--line);
    }


    /* Buttons — Northbridge Studio */
    .btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;

      cursor: pointer;

      padding: 12px 18px;
      border-radius: 999px;

      font-size: 14px;
      font-weight: 600;
      letter-spacing: .01em;

      text-decoration: none;
      border: 1px solid transparent;

      transform: translateY(0);
      transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
    }

    .btn:active{
      transform: translateY(1px) scale(.99);
      box-shadow:
        0 6px 16px rgba(0,0,0,.28),
        inset 0 2px 4px rgba(0,0,0,.25);
    }

    .btn:hover:active{
      transform: translateY(0) scale(.995);
    }


    /* Primary: glass gradient (brand-y, not Apex solid blue) */
    .btn-primary{
      color: #ffffff;

      background: linear-gradient(
        135deg,
        rgba(59,130,246,.88),
        rgba(34,211,238,.92)
      );

      border-color: rgba(255,255,255,.18);

      box-shadow:
        0 10px 28px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.35);
    }

    .btn-primary:hover{
      transform: translateY(-1px);
      box-shadow:
        0 14px 36px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.40);
    }

    .btn-primary:active{
      background: linear-gradient(
        135deg,
        rgba(59,130,246,.95),
        rgba(34,211,238,.98)
      );

      box-shadow:
        0 6px 18px rgba(0,0,0,.30),
        inset 0 2px 6px rgba(0,0,0,.35);
    }


    /* Secondary: elegant outline */
    .btn-secondary{
      background: rgba(255,255,255,.03);
      color: var(--text);

      border-color: rgba(255,255,255,.12);
    }

    .btn-secondary:hover{
      transform: translateY(-1px);
      background: rgba(255,255,255,.05);
      border-color: rgba(255,255,255,.18);
    }

    /* Focus */
    .btn:focus-visible{
      outline: 2px solid rgba(34,211,238,.45);
      outline-offset: 2px;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce){
      .btn{ transition: none; }
    }


    /* Hero */
    .hero{
      padding: clamp(72px, 9vw, 104px) 0 clamp(56px, 7vw, 80px);
      position: relative;
    }

    .hero::before{
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(700px 320px at 18% 20%, rgba(59,130,246,.14), transparent 60%),
        radial-gradient(560px 300px at 78% 10%, rgba(34,211,238,.08), transparent 62%);
      opacity: .85;
      filter: blur(0.2px);
    }

    .hero::after{
      content:"";
      position:absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
      pointer-events:none;
      opacity: .7;
    }

    .hero .container{ position: relative; }

    
    .kicker{
      color: var(--accent);
      font-size: 12px;
      letter-spacing: .18em;
      text-transform: uppercase;
      margin: 0 0 12px;
      opacity: .95;
    }

    .hero h1{
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.04;
      margin: 0 0 16px;
      letter-spacing: -0.02em;
    }

    .hero-subtitle{
      max-width: 62ch;
      color: var(--muted);
      margin: 0 0 26px;
      font-size: clamp(16px, 2.1vw, 18px);
    }


    .hero-actions{
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    @media (max-width: 520px){
      .hero-actions .btn{
        width: 100%;
        justify-content: center;
      }
    }


    .trust-list{
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin: 30px 0 0;
      padding: 0;
      list-style: none;
      color: var(--muted);
    }

    .trust-list li{
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
      font-size: 13px;
    }



    /* Sections */
    section{ scroll-margin-top: 90px; }

    .section{
      padding: clamp(64px, 8vw, 92px) 0;
    }

    .section .container > * + *{
      margin-top: 16px;
    }

    .section h2{
      font-size: clamp(28px, 3.6vw, 36px);
      line-height: 1.12;
      margin: 0 0 14px;
      letter-spacing: -0.02em;
      position: relative;
      padding-left: 16px;
    }

    .section h2::before{
      content: "";
      position: absolute;
      left: 0;
      top: 6px;
      width: 4px;
      height: 1.1em;
      border-radius: 999px;
      background: linear-gradient(to bottom, var(--primary), var(--accent));
      opacity: .9;
    }


    .section p{
      max-width: 72ch;
      margin: 0;
      color: var(--muted);
    }

    .section p.section-lead{
      color: var(--muted);
      font-size: clamp(16px, 2vw, 18px);
      margin: 0 0 34px;
    }

    .section .section-lead{
      margin-top: 10px;
      margin-bottom: 34px;
      font-size: clamp(16px, 2vw, 18px);
    }

    @media (max-width: 520px){
      .section .container > * + *{
        margin-top: 14px;
      }
    }


    /* =========================
      Cards / Work / About (Unified System)
      Premium surfaces + subtle depth
      ========================= */

    .cards,
    .work-grid,
    .about-columns{
      display: grid;
      gap: clamp(16px, 2.2vw, 22px);
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    /* About needs a slightly wider min for balance */
    .about-columns{
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    /* Base card surface */
    .card,
    .work-item,
    .about-block{
      position: relative;
      overflow: hidden;

      background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
      border: 1px solid rgba(255,255,255,.09);
      border-radius: var(--radius-md);
      padding: 26px;

      box-shadow: var(--shadow-sm);
      transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    /* Subtle inner border (premium) */
    .card::before,
    .work-item::before,
    .about-block::before{
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
      pointer-events: none;
      opacity: .7;

      /* WebKit mask (best support) */
      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;

      /* Standard-ish mask */
      mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      mask-composite: exclude;
    }

    @supports not ((-webkit-mask: none) or (mask: none)){
      .card::before,
      .work-item::before,
      .about-block::before{
        display: none;
      }
    }



    /* Controlled glow highlight */
    .card::after,
    .work-item::after,
    .about-block::after{
      content: "";
      position: absolute;
      left: -60px;
      top: -40px;
      width: 240px;
      height: 160px;

      background: radial-gradient(
        60% 80% at 30% 20%,
        var(--accent-glow),
        transparent 60%
      );

      filter: blur(0.2px);
      transform: translateZ(0);

      opacity: 0;
      transition: opacity .2s ease;
      pointer-events: none;
    }

    /* Hover */
    .card:hover,
    .work-item:hover,
    .about-block:hover{
      transform: translateY(-3px);
      border-color: var(--accent-border-glow);
      box-shadow: 0 14px 38px rgba(0,0,0,.32);
    }


    .card:hover::after,
    .work-item:hover::after,
    .about-block:hover::after{
      opacity: 1;
    }

    /* Typography inside cards */
    .card h3,
    .work-item h3,
    .about-block h3{
      margin: 0 0 10px;
      font-size: 20px;
      letter-spacing: -0.015em;
      line-height: 1.2;
      font-weight: 600;
      transition: color .18s ease;
    }

    .card:hover h3,
    .work-item:hover h3,
    .about-block:hover h3{
      color: var(--accent-soft);
    }
    


    .card p,
    .work-item p,
    .about-block p{
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
    }


    /* Bullets (About) */
    .bullets{
      margin: 12px 0 0;
      padding-left: 18px;
      color: var(--muted);
    }

    .bullets li{ margin: 8px 0; }

    /* Mobile polish */
    @media (max-width: 520px){
      .card,
      .work-item,
      .about-block{
        padding: 20px;
      }
    }


    @media (hover: none){
      .card:hover,
      .work-item:hover,
      .about-block:hover{
        transform: none;
        box-shadow: var(--shadow-sm);
      }

      .card:hover::after,
      .work-item:hover::after,
      .about-block:hover::after{
        opacity: 0;
      }
    }




    /* ===================================
      CONTACT
    =================================== */

    #contact .section-lead{
      margin-bottom: 28px;
    }

    .contact-form{
      display: grid;
      gap: 14px;
      width: min(100%, 560px);
      margin-inline: auto;


      background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
      border: 1px solid rgba(255,255,255,.10);
      box-shadow: var(--shadow-md);

      padding: clamp(18px, 3.5vw, 28px);
      border-radius: clamp(16px, 3.5vw, var(--radius-lg));
      overflow: hidden;

    }

    .contact-form *{
      max-width: 100%;
      min-width: 0;
    }

    /* 2-column layout on desktop */
    @media (min-width: 720px){
      .contact-form{
        width: min(100%, 680px);
        grid-template-columns: 1fr 1fr;
        column-gap: 14px;
      }

      .contact-form .field:nth-of-type(3){
        grid-column: 1 / -1; /* textarea full width */
      }

      .contact-form button,
      .contact-form .form-note{
        grid-column: 1 / -1;
      }

      .contact-form .footer-form{
        grid-column: 1 / -1;          /* ocupa todo el ancho */
        align-items: center;          /* centra el contenido */
        text-align: center;
        width: 100%;
      }
      .contact-form .footer-form .btn{
        width: auto;                  /* botón normal en desktop */
      }
      .contact-form .footer-form .form-status{
        max-width: 680px;             /* que no quede angosto */
        width: 100%;
      }
    }

    .footer-form {
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* ===================================
      CONTACT – Pro Interaction System
    =================================== */

    .field{
      position: relative;
      display: grid;
      gap: 6px;
    }

    /* Label */
    .field label{
      font-size: 13px;
      position: relative;
      color: var(--muted);
      transition: color .18s ease;
    }

    .field:focus-within label{
      color: var(--accent);
    }

    /* Label micro highlight */

    .field label::after{
      content: "";
      display: block;
      height: 2px;
      width: 0;
      margin-top: 6px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      opacity: .75;
      transition: width .22s ease;
    }

    .field:focus-within label::after{
      width: 22px;
    }


    /* Inputs */
    input,
    textarea{
      width: 100%;
      padding: 12px 14px;
      border-radius: var(--radius-sm);

      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.035);
      color: var(--text);
      font: inherit;

      transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
    }

    input::placeholder,
    textarea::placeholder{
      color: rgba(156,163,175,.6);
      transition: opacity .15s ease;
    }

    input:focus::placeholder,
    textarea:focus::placeholder{
      opacity: .45;
    }


    /* Hover (desktop) */
    @media (hover:hover){
      input:hover,
      textarea:hover{
        border-color: rgba(255,255,255,.18);
        background: rgba(255,255,255,.045);
      }
    }

    /* Focus */
    input:focus,
    textarea:focus{
      outline: none;
      border-color: rgba(34,211,238,.50);
      background: rgba(255,255,255,.05);
      box-shadow: 0 0 0 4px rgba(34,211,238,.12);
    }

    /* Textarea limits */
    textarea{
      resize: vertical;
      min-height: 140px;
      max-height: 360px;
    }

    /* Invalid feedback */
    input:focus:invalid,
    textarea:focus:invalid{
      border-color: rgba(255,99,99,.6);
      box-shadow: 0 0 0 3px rgba(255,99,99,.12);
    }

    /* Valid state */
    input:valid:not(:placeholder-shown),
    textarea:valid:not(:placeholder-shown){
      border-color: rgba(34,211,238,.35);
    }

    /* Autofill (Chrome) */
    input:-webkit-autofill{
      -webkit-box-shadow: 0 0 0 1000px rgba(17,24,39,1) inset;
      -webkit-text-fill-color: var(--text);
      transition: background-color 9999s ease-in-out 0s;
    }

/* ===================================
  Contact submit: feedback system
=================================== */

/* Button base */
.contact-form .btn{
  margin-top: 6px;
  justify-content: center;
  position: relative;
}

/* Ensure the submit button can host pseudos */
.contact-form button[type="submit"]{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* bar tokens */
  --bar-inset: 14px;
  --bar-y: 10px;
  --bar-h: 2px;

  --track: rgba(255,255,255,.14);
  --shine: rgba(34,211,238,.85);
}

/* Track */
.contact-form button[type="submit"]::after{
  content: "";
  position: absolute;
  left: var(--bar-inset);
  right: var(--bar-inset);
  bottom: var(--bar-y);
  height: var(--bar-h);

  border-radius: 999px;
  background: var(--track);

  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  z-index: 1;
}

/* Shimmer */
.contact-form button[type="submit"]::before{
  content: "";
  position: absolute;
  left: var(--bar-inset);
  right: var(--bar-inset);
  bottom: var(--bar-y);
  height: var(--bar-h);

  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34,211,238,0) 25%,
    var(--shine) 50%,
    rgba(34,211,238,0) 75%,
    transparent 100%
  );

  opacity: 0;
  transform: translateX(-60%);
  pointer-events: none;
  z-index: 2;
}

/* Sending state */
.contact-form button[type="submit"].is-sending::after{
  opacity: 1;
  transform: translateY(0);
}

.contact-form button[type="submit"].is-sending::before{
  opacity: .95;
  animation: nb-sweep 1.05s linear infinite;
}

/* Success state */
.contact-form button[type="submit"].is-success{
  filter: saturate(1.03);
  box-shadow: 0 14px 38px rgba(0,0,0,.32);
}

.contact-form button[type="submit"].is-success::after{
  opacity: 1;
  transform: translateY(0);
  background: rgba(34,211,238,.28);
}

.contact-form button[type="submit"].is-success::before{
  opacity: 0;
  animation: none;
}

/* animation */
@keyframes nb-sweep{
  0%   { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .contact-form button[type="submit"].is-sending::before{
    animation: none;
    opacity: .65;
    transform: translateX(0);
  }
}
        
    /* Message below form (injected by JS) */
    .form-status{
      /* Layout: reserve space to avoid jumps */
      box-sizing: border-box;
      width: 100%;
      max-width: 560px;
      margin: 10px auto 0;

      /* Always keep these so height doesn't "pop" */
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.08);
      background: rgba(255,255,255,.03);

      /* Animate height smoothly */
      overflow: hidden;
      max-height: 0;

      font-size: 13px;
      color: var(--muted);

      opacity: 0;
      transform: translateY(6px);
      filter: blur(2px);

      transition:
        max-height .28s ease,
        opacity .22s ease,
        transform .22s ease,
        filter .22s ease,
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
    }

    /* visible state */
    .form-status.is-visible{
      max-height: var(--h, 120px);
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }

    .form-status.is-success{
      color: rgba(34,211,238,.92);
      border-color: rgba(34,211,238,.22);
      background: rgba(34,211,238,.06);
    }

    .form-status.is-error{
      color: rgba(255,99,99,.92);
      border-color: rgba(255,99,99,.22);
      background: rgba(255,99,99,.06);
    }

    @media (prefers-reduced-motion: reduce){
      .form-status{
        transition: none;
        transform: none;
        filter: none;
      }
    }



    /* Note */
    .form-note{
      margin: 14px 0 0;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,.08);
      font-size: 13px;
      color: var(--muted);
    }

    .form-note a{
      color: rgba(34,211,238,.95);
      text-decoration: none;
    }

    .form-note a:hover{
      text-decoration: underline;
    }

    /* ===================================
      Responsive
    =================================== */

    @media (max-width: 520px){
      #contact .section-lead{
        margin-bottom: 20px;
      }

      .contact-form{
        max-width: 100%;
        padding: 20px;
      }

      .contact-form .btn{
        width: 100%;
        justify-content: center;
      }

      textarea{
        min-height: 120px;
        max-height: 320px;
      }

      input,
      textarea{
        font-size: 16px;
      }

      input:focus,
      textarea:focus{
        box-shadow: 0 0 0 3px rgba(34,211,238,.10);
      }
    }

    @media (min-width: 521px){
      .contact-form .btn{
        width: auto; 
      }
    }

    /* Footer layout */
    .site-footer .container{
      display: grid;
      gap: 12px;
      align-items: center;
    }

    /* Desktop: brand | links | meta */
    @media (min-width: 820px){
      .site-footer .container{
        grid-template-columns: 1fr auto;
        grid-template-areas:
          "brand links"
          "meta  social";
        gap: 10px 22px;
        align-items: center;
      }

      .footer-brand{
        grid-area: brand;
        margin: 0;
      }

      .footer-links{
        grid-area: links;
        justify-content: flex-end;
        margin: 10px;
      }

      .footer-social{
        grid-area: social;
        justify-content: flex-end;
        margin: 0;
      }

      .footer-meta{
        grid-area: meta;
        margin: 0;
      }
    }


    /* Mobile: stack + center */
    @media (max-width: 819px){
      .site-footer{
        text-align: center;
      }

      .footer-links{
        justify-content: center;
      }

      .footer-social{
        justify-content: center;
      }


      .footer-meta{
        margin-top: 6px;
      }
    }


    /* Footer */
    .site-footer{
      border-top: 1px solid var(--line);
      padding: 42px 0;
      padding-top: 22px;
      margin-top: 60px;
      background: linear-gradient(
        to bottom,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
      );
    }

    .footer-brand{
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .footer-brand strong{
      background: linear-gradient(90deg, var(--primary), var(--accent));
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }


    .footer-links{
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      list-style: none;
      padding: 0;
      margin: 12px 0 0;
    }

    .footer-links a{
      position: relative;
      color: var(--muted);
      text-decoration: none;
      font-size: 14px;
      padding: 4px 2px;
      transition: color .2s ease;
    }

    .footer-links a::after{
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .25s ease;
      opacity: .7;
    }

    .footer-links a:hover{
      color: var(--text);
    }

    .footer-links a:hover::after{
      transform: scaleX(1);
    }

    .footer-social{
      display: flex;
      gap: 14px;
      list-style: none;
      padding: 0;
      margin: 10px 0 0;
    }

    .footer-social a{
      display: inline-flex;
      align-items: center;
      justify-content: center;

      width: 36px;
      height: 36px;

      border-radius: 999px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);

      color: var(--muted);
      transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    }

    .footer-social a:hover{
      background: rgba(255,255,255,.06);
      border-color: rgba(34,211,238,.35);
      color: var(--accent);
      transform: translateY(-1px);
    }

    .footer-social svg{
      width: 18px;
      height: 18px;
    }


    .footer-meta{
      color: var(--muted);
      font-size: 13px;
      margin-top: 10px;
    }

    .footer-links a:focus-visible{
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }


    /* Focus */
    a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
      outline: 2px solid var(--accent);
      outline-offset: 2px;
      border-radius: 8px;
    }

