/* =========================================================
   Protos Digital Marketing — white / red theme
   ========================================================= */

:root {
  --red: #E11018;
  --red-dark: #B00710;
  --red-soft: #fff1f1;
  --red-tint: #ffe2e3;
  --ink: #14110f;
  --ink-soft: #3a3530;
  --muted: #757067;
  --line: #ececec;
  --line-strong: #e0ddd8;
  --paper: #ffffff;
  --paper-2: #faf9f7;
  --paper-3: #f4f2ee;
  --shadow-sm: 0 1px 2px rgba(20,17,15,.05), 0 4px 14px rgba(20,17,15,.04);
  --shadow-md: 0 10px 30px rgba(20,17,15,.08);
  --shadow-red: 0 12px 30px rgba(225,16,24,.28);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.text-muted { color: var(--muted); }
.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(225,16,24,.34); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: #fff; font-size: 13.5px; letter-spacing: .02em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 22px; }
.topbar svg { width: 14px; height: 14px; color: var(--red); }
@media (max-width: 720px){ .topbar .tb-right { display: none; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; box-shadow: var(--shadow-red);
  transition: transform .4s var(--ease);
}
.brand:hover .mark { transform: rotate(-8deg) scale(1.05); }
.brand .b-name { color: var(--ink); }
.brand .b-name .accent { color: var(--red); }

/* New PROTOS MARKETING wordmark */
.brand { gap: 0; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-word {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.62rem;
  letter-spacing: .01em; color: var(--ink); line-height: 1;
}
.logo-o {
  display: inline-grid; place-items: center;
  width: .92em; height: .92em; margin: 0 .05em;
  background: var(--red); border-radius: .24em; box-shadow: var(--shadow-red);
  transition: transform .4s var(--ease);
}
.logo-o svg { width: .58em; height: .58em; color: #fff; }
.brand:hover .logo-o { transform: rotate(-7deg) scale(1.06); }
.logo-sub {
  font-family: var(--font-body); font-weight: 600;
  font-size: .54rem; letter-spacing: .52em; text-indent: .52em;
  color: var(--muted); margin-top: .42em; text-transform: uppercase;
}
.site-footer .logo-word { color: #fff; }
.site-footer .logo-sub { color: rgba(255,255,255,.6); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 9px; position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--red); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14.5px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle span:nth-child(1){ top: 14px; } .menu-toggle span:nth-child(2){ top: 20px; } .menu-toggle span:nth-child(3){ top: 26px; }
body.menu-open .menu-toggle span:nth-child(1){ top: 20px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3){ top: 20px; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 110px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: #fff; padding: 18px 24px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  body.menu-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 17px; }
  .nav-links a.active::after { display: none; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(620px 420px at 78% 8%, rgba(225,16,24,.10), transparent 60%),
    radial-gradient(520px 380px at 12% 92%, rgba(225,16,24,.06), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 8px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.hero .pill b { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 800; }
.hero h1 .line2 { color: var(--red); display: block; }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 26px auto 38px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 46px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.hero-stats .s b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.hero-stats .s span { font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
.hero-stats .s b .accent { color: var(--red); }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.12rem; }

/* ---------- Services cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .cards-3 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.s-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.s-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.s-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red-tint); }
.s-card:hover::after { transform: scaleX(1); }
.s-card .ic {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 22px;
}
.s-card .ic svg { width: 26px; height: 26px; }
.s-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.s-card > p { color: var(--muted); font-size: .98rem; margin-bottom: 20px; }
.s-list { list-style: none; display: grid; gap: 11px; }
.s-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .96rem; color: var(--ink-soft); }
.s-list li svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }

/* ---------- Detailed service blocks ---------- */
.svc-block { padding: 78px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-of-type { border-bottom: 0; }
.svc-block .lead { max-width: 700px; margin-bottom: 44px; }
.svc-block .lead .num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--red-tint); line-height: 1; }
.svc-block .lead h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 6px 0 14px; }
.svc-block .lead p { color: var(--muted); font-size: 1.1rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat h4 { font-size: 1.16rem; margin-bottom: 8px; }
.feat > p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .t-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.t-card .quote { color: var(--red); font-family: var(--font-display); font-size: 3rem; line-height: .6; height: 26px; }
.t-card p.body { font-size: 1.02rem; color: var(--ink-soft); margin: 14px 0 24px; }
.t-card .who { display: flex; align-items: center; gap: 13px; }
.t-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.t-card .who b { display: block; font-size: 1rem; }
.t-card .who span { font-size: .85rem; color: var(--muted); }
.stars { color: var(--red); letter-spacing: 2px; margin-bottom: 6px; font-size: 14px; }

/* ---------- Brand strip ---------- */
.brands { text-align: center; }
.brands .label { font-size: 12.5px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 30px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.brand-row span { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #c3bdb4; transition: color .25s; letter-spacing: -.02em; }
.brand-row span:hover { color: var(--ink); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 760px){ .stats-band { grid-template-columns: repeat(2,1fr); } }
.stat-box { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.section.ink .stat-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.stat-box b { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--red); display: block; line-height: 1; }
.stat-box span { font-size: .92rem; color: var(--muted); }
.section.ink .stat-box span { color: rgba(255,255,255,.7); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--red); color: #fff; border-radius: 28px; padding: 70px 40px; text-align: center; overflow: hidden; box-shadow: var(--shadow-red); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% -10%, rgba(255,255,255,.18), transparent 60%), radial-gradient(420px 260px at 10% 120%, rgba(0,0,0,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 32px; font-size: 1.12rem; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 80px 0 56px; text-align: center; position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 320px at 50% -20%, rgba(225,16,24,.10), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 18px auto 0; font-size: 1.15rem; }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 860px){ .two-col { grid-template-columns: 1fr; } }
.mv-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mv-card p { color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px){ .values-grid { grid-template-columns: 1fr; } }
.value { text-align: center; padding: 34px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin: 0 auto 18px; }
.value .ic svg { width: 27px; height: 27px; }
.value h4 { font-size: 1.22rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .96rem; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 860px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; } }
.member { text-align: center; }
.member .av { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(145deg, var(--red), var(--red-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; box-shadow: var(--shadow-red); }
.member b { display: block; font-size: 1.1rem; }
.member span { color: var(--red); font-size: .9rem; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 860px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 30px 26px; position: relative; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--red); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.step h4 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 980px){ .case-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .case-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case .top { padding: 26px 28px 22px; }
.case .tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.case h3 { font-size: 1.3rem; margin: 8px 0 0; }
.case .body { padding: 0 28px 26px; flex: 1; }
.case .body .blk { margin-top: 16px; }
.case .body .blk b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.case .body .blk p { font-size: .96rem; color: var(--ink-soft); }
.case .metric { background: var(--red-soft); border-top: 1px solid var(--red-tint); padding: 20px 28px; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--red); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px 36px; }
.info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.info-card > p { color: rgba(255,255,255,.7); margin-bottom: 30px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.info-row .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(225,16,24,.18); color: #ff6a6f; display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.info-row span, .info-row a { color: #fff; font-size: 1rem; }
.info-row a:hover { color: #ff6a6f; }
.hours { margin-top: 26px; padding: 20px; background: rgba(255,255,255,.05); border-radius: 12px; font-size: .92rem; }
.hours b { color: #fff; }
.hours .row { display: flex; justify-content: space-between; color: rgba(255,255,255,.78); margin-top: 8px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-md); position: relative; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: var(--paper-2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #aaa39a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.checks { display: grid; gap: 12px; margin: 8px 0 26px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; cursor: pointer; }
.check a { color: var(--red); text-decoration: underline; }
.form-card .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 1.05rem; }
.form-card .btn-primary[disabled] { opacity: .7; cursor: progress; }

.form-success {
  position: absolute; inset: 0; background: #fff; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; opacity: 0; pointer-events: none; transform: scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.form-success.show { opacity: 1; pointer-events: auto; transform: scale(1); }
.form-success .check-ring {
  width: 84px; height: 84px; border-radius: 50%; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 22px; animation: pop .5s var(--ease);
}
.form-success .check-ring svg { width: 42px; height: 42px; }
.form-success h3 { font-size: 1.7rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 340px; }
@keyframes pop { 0%{ transform: scale(0);} 60%{ transform: scale(1.12);} 100%{ transform: scale(1);} }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff; padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); z-index: 200; transition: transform .45s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: #5ee08a; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 860px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .foot-grid { grid-template-columns: 1fr; } }
.site-footer .brand .b-name { color: #fff; }
.site-footer .col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.site-footer .col a, .site-footer .col p { color: rgba(255,255,255,.62); display: block; margin-bottom: 11px; font-size: .96rem; transition: color .2s; }
.site-footer .col a:hover { color: #fff; }
.foot-about { font-size: .98rem; margin: 18px 0 22px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: .9rem; color: rgba(255,255,255,.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; } .reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; } .reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } * { scroll-behavior:auto; } }
