:root{
    --ao-red: #940000;
    --ao-redGlow: rgba(148,0,0,0.35);
    --ao-border: rgba(148,0,0,0.35);
    --ao-card: rgba(148,0,0,0.06);
  }

  .aoFooter{
    position: relative;
    background:
      radial-gradient(1200px 700px at 18% 30%, rgba(148,0,0,0.10), transparent 62%),
      radial-gradient(900px 600px at 82% 60%, rgba(255,255,255,0.06), transparent 55%),
      linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.30));
  }
  .aoFooter *{ box-sizing: border-box; }

  .aoFooter__wrap{
    width: min(1240px, 92vw);
    margin: 0 auto;
    padding: 18px 0 26px; /* ✅ mniej u góry, bo przycisk jest od razu pod krawędzią */
  }

  /* ✅ TOP BUTTON: zaraz pod górną krawędzią sekcji */
  .aoFooter__topRow--top{
    display:flex;
    justify-content:center;
    margin: 0 0 18px;
  }
  .aoFooter__topBtn{
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.24);
    color: rgba(255,255,255,0.92);
    font-family: "Open Sans", sans-serif;
    font-weight: 900;
    letter-spacing: .03em;
    padding: 10px 14px;
    cursor: pointer;
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
  }
  .aoFooter__topBtn:hover{
    transform: translateY(-3px);
    color: rgba(148,0,0,0.95);
    border-color: rgba(148,0,0,0.55);
  }

  /* headers */
  .aoFooter__heads{
    display:grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
    margin-bottom: 16px;
    align-items: end;
  }
  .aoFooter__head{
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.96);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    text-shadow: 0 16px 60px rgba(0,0,0,0.45);
  }

  .aoFooter__grid{
    display:grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
    align-items: start;
  }

  /* left */
  .aoFooter__left{
    display:flex;
    flex-direction: column;
    gap: 18px;
  }

  .aoFooter__logo{
    display:inline-flex;
    width: clamp(150px, 20vw, 220px);
    text-decoration:none;
  }
  .aoFooter__logo img{
    width: 100%;
    height: auto;
    display:block;
    filter: drop-shadow(0 22px 60px rgba(0,0,0,0.55));
  }

  .aoFooter__block{
    border: 1px solid var(--ao-border);
    background: var(--ao-card);
    box-shadow: 0 22px 80px rgba(0,0,0,0.50);
    padding: 16px 16px 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .aoFooter__label{
    font-family: "Open Sans", sans-serif;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 10px;
  }

  .aoFooter__lines{
    display:flex;
    flex-direction: column;
    gap: 10px;
  }

  .aoFooter__line{
    display:block;
    text-decoration:none;
    color: rgba(255,255,255,0.92);
    font-family: "Open Sans", sans-serif;
    line-height: 1.45;
    transition: transform 180ms ease, color 180ms ease;
  }
  .aoFooter__lineK{
    color: rgba(255,255,255,0.75);
    font-weight: 800;
    letter-spacing: .02em;
    margin-right: 6px;
  }
  .aoFooter__lineV{
    color: rgba(255,255,255,0.92);
    font-weight: 700;
  }

  /* socials */
  .aoFooter__socials{
    display:flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
  }

  .aoFooter__social{
    display:inline-flex;
    align-items:center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.22);
    text-decoration:none;
    transition: transform 180ms ease, border-color 180ms ease;
  }
  .aoFooter__icon svg{ display:block; }
  .aoFooter__icon svg path{ fill: var(--ao-red); }
  .aoFooter__socialTxt{
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    color: rgba(255,255,255,0.92);
    letter-spacing: .02em;
    transition: color 180ms ease;
  }

  /* right form */
  .aoFooter__form{
    border: 1px solid var(--ao-border);
    background: rgba(0,0,0,0.20);
    box-shadow: 0 28px 95px rgba(0,0,0,0.55);
    padding: 18px 18px 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .aoFooter__fields{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .aoFooter__field{ display:flex; flex-direction: column; gap: 6px; }
  .aoFooter__field--full{ grid-column: 1 / -1; }

  .aoFooter__lbl{
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: .82rem;
    color: rgba(255,255,255,0.78);
    letter-spacing: .02em;
  }

  .aoFooter__inp,
  .aoFooter__txt{
    width: 100%;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.30);
    color: rgba(255,255,255,0.92);
    font-family: "Open Sans", sans-serif;
    padding: 12px 12px;
    outline: none;
  }
  .aoFooter__txt{ resize: vertical; min-height: 130px; }

  .aoFooter__inp::placeholder,
  .aoFooter__txt::placeholder{ color: rgba(255,255,255,0.45); }

  .aoFooter__send{
    margin-top: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(148,0,0,0.92), rgba(70,0,0,0.92));
    color: rgba(255,255,255,0.94);
    font-family: "Open Sans", sans-serif;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  }

  /* bottom */
  .aoFooter__bottom{
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 10px;
    color: rgba(255,255,255,0.78);
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    letter-spacing: .01em;
  }
  .aoFooter__bottomLink{
    text-decoration:none;
    color: rgba(255,255,255,0.86);
    transition: transform 180ms ease, color 180ms ease;
  }
  .aoFooter__sep{ opacity: .45; }
  .aoFooter__copy{ color: rgba(255,255,255,0.70); }

  /* hover: linki i ikony */
  .aoFooter__line:hover,
  .aoFooter__bottomLink:hover{
    color: rgba(148,0,0,0.95);
    transform: translateY(-2px);
  }
  .aoFooter__social:hover{
    transform: translateY(-3px);
    border-color: rgba(148,0,0,0.55);
  }
  .aoFooter__social:hover .aoFooter__socialTxt{
    color: rgba(148,0,0,0.95);
  }

  .aoFooter__send:hover{
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 22px 80px rgba(0,0,0,0.58), 0 0 70px var(--ao-redGlow);
  }

  /* responsive */
  @media (max-width: 980px){
    .aoFooter__heads{ grid-template-columns: 1fr; }
    .aoFooter__grid{ grid-template-columns: 1fr; }
    .aoFooter__fields{ grid-template-columns: 1fr; }
    .aoFooter__logo{ width: 190px; }
  }

  @media (prefers-reduced-motion: reduce){
    .aoFooter__line,
    .aoFooter__bottomLink,
    .aoFooter__social,
    .aoFooter__topBtn,
    .aoFooter__send{
      transition: none !important;
    }
  }
