/* ============================================================
   Redparrot s.r.o. — Design System
   ============================================================ */
:root {
  /* Surfaces */
  --bg:        #e8eaee;
  --bg-2:      #dfe2e7;
  --surface:   #ffffff;
  --surface-2: #f7f8fa;
  --line:      rgba(18,22,31,.09);
  --line-2:    rgba(18,22,31,.16);

  /* Ink */
  --ink:       #15171c;
  --ink-soft:  #3e434b;
  --ink-mute:  #6c727a;
  --ink-faint: #9aa0a8;

  /* Brand */
  --red:       #d81e2b;
  --red-bright:#f02230;
  --red-deep:  #9c1019;
  --cyan:      #0f9e8c;
  --cyan-deep: #0c7d6f;

  /* Effects */
  --shadow:    0 1px 2px rgba(18,22,31,.04), 0 10px 30px rgba(18,22,31,.06);
  --shadow-lg: 0 2px 4px rgba(18,22,31,.05), 0 22px 50px rgba(18,22,31,.10);
  --radius:    16px;
  --radius-sm: 10px;

  /* Type */
  --font-display: "Myriad Pro", "Myriad", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Myriad Pro", "Myriad", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gut:  clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
a:focus-visible, button:focus-visible, .lang-toggle:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

/* Background grid + ambient glow layer */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(216,30,43,.06), transparent 60%),
    radial-gradient(700px 700px at 4% 12%, rgba(15,158,140,.035), transparent 60%),
    var(--bg);
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(18,22,31,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,22,31,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 28%, transparent 76%);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block;
}
.eyebrow.cy { color: var(--cyan); }
.eyebrow.cy::before { background: var(--cyan-deep); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.012em; }
.h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 0; }
.lead { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); max-width: 56ch; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 3px 10px rgba(216,30,43,.20); }
.btn-primary:hover { background: var(--red-bright); box-shadow: 0 5px 16px rgba(216,30,43,.28); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: rgba(216,30,43,.05); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255,255,255,.8); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: flex-start; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; }
header .brand img { width: 42px; height: 42px; }
.brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand .wordmark b { color: var(--red); font-weight: 600; }
.brand .tag { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em; color: var(--ink-mute); text-transform: uppercase; margin-top: 2px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: clamp(24px, 4vw, 52px); }
.nav-links a { font-size: 15px; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--red); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
header .nav-cta .btn-primary { min-width: 224px; justify-content: center; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font-family: var(--font-mono); font-size: 12px; cursor: pointer; line-height: 1; flex: none; box-shadow: var(--shadow);
}
.lang-toggle span { padding: 8px 10px; border-radius: 999px; color: var(--ink-mute); transition: .2s; }
.lang-toggle span.active { background: var(--red); color: #fff; }
.lang-toggle:hover span:not(.active) { color: var(--ink-soft); }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 150px; padding-bottom: clamp(70px,9vw,120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); background: #fff; box-shadow: var(--shadow);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(40px, 6.6vw, 82px); margin: 26px 0 0; }
.hero h1 .accent { color: var(--red); position: relative; }
.hero .lead { font-size: clamp(17px, 1.7vw, 21px); max-width: 50ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hero-stats .stat .l { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }

/* Hero visual — parrot in a tech ring */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring.r1 { width: 420px; height: 420px; }
.ring.r2 { width: 320px; height: 320px; border-color: rgba(222,31,44,.18); animation: spin 60s linear infinite; }
.ring.r2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); transform: translateX(-50%); }
.ring.r3 { width: 220px; height: 220px; border-style: dashed; border-color: rgba(15,158,140,.3); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(216,30,43,.05), transparent 60%); filter: blur(30px); }
.hero-visual .parrot { position: relative; width: 300px; filter: drop-shadow(0 14px 28px rgba(18,22,31,.12)); }
.hero-visual .chip {
  position: absolute; font-family: var(--font-mono); font-size: 11px; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--ink-soft); white-space: nowrap; box-shadow: var(--shadow);
}
.hero-visual .chip .ic { color: var(--cyan); }
.hero-visual .chip.c1 { top: 4%; left: 0; }
.hero-visual .chip.c2 { bottom: 16%; right: 0; }
.hero-visual .chip.c3 { bottom: 0; left: 7%; }

.marquee-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(50px,7vw,90px); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; will-change: transform; animation: scrollx 45s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; }
.marquee span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--ink-mute); text-transform: uppercase; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "◆"; color: var(--red); font-size: 8px; }
@keyframes scrollx { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ============================================================
   SERVICES
   ============================================================ */
.sec-head { max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  position: relative; overflow: hidden; transition: .3s ease; box-shadow: var(--shadow);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(222,31,44,.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card .ic-box {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(216,30,43,.09); border: 1px solid rgba(216,30,43,.22); color: var(--red); margin-bottom: 22px;
}
.card h3 { font-size: 21px; }
.card p { color: var(--ink-mute); font-size: 15.5px; margin-top: 12px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.card .tags i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.card.wide { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.card.wide .copy { max-width: 60ch; }

/* ============================================================
   SECURITY
   ============================================================ */
.sec-security { background: linear-gradient(180deg, transparent, rgba(222,31,44,.03), transparent); }
.sec-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,5vw,80px); align-items: center; }
.shield-visual {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(216,30,43,.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(18,22,31,.028) 23px 24px),
    var(--surface);
  display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow);
}
.shield-visual svg { width: 46%; filter: drop-shadow(0 10px 24px rgba(216,30,43,.25)); }
.scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0%,100%{top:12%; opacity:.2} 50%{top:86%; opacity:1} }
.sec-list { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.sec-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.sec-item:last-child { border-bottom: 1px solid var(--line); }
.sec-item .no { font-family: var(--font-mono); font-size: 13px; color: var(--red); padding-top: 2px; }
.sec-item h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.sec-item p { color: var(--ink-mute); font-size: 15px; margin-top: 5px; }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; counter-reset: s; }
.step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .3s; box-shadow: var(--shadow); }
.step:hover { border-color: rgba(216,30,43,.4); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: .1em; }
.step h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 16px; }
.step p { color: var(--ink-mute); font-size: 14.5px; margin-top: 10px; }
.step .bar { height: 2px; background: var(--line); margin-top: 22px; position: relative; overflow: hidden; border-radius: 2px; }
.step .bar::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--red); border-radius: 2px; }
.step:nth-child(2) .bar::after { width: 55%; }
.step:nth-child(3) .bar::after { width: 80%; }
.step:nth-child(4) .bar::after { width: 100%; }

/* ============================================================
   STACK
   ============================================================ */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; margin-top: 48px; }
.tech { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: .25s; box-shadow: var(--shadow); }
.tech:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tech .d { width: 9px; height: 9px; border-radius: 2px; background: var(--red); }
.tech:nth-child(3n) .d { background: var(--cyan); }
.tech span { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.contact-aside { padding: clamp(34px,4vw,56px); border-right: 1px solid var(--line); position: relative; background: var(--bg-2); }
.contact-aside .parrot { width: 64px; margin-bottom: 28px; filter: drop-shadow(0 8px 30px rgba(222,31,44,.4)); }
.contact-aside h2 { font-size: clamp(26px,3vw,38px); }
.contact-aside p { color: var(--ink-mute); margin-top: 14px; font-size: 15.5px; }
.contact-meta { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.contact-meta a, .contact-meta div { display: flex; align-items: center; gap: 13px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.contact-meta a:hover { color: var(--red-bright); }
.contact-meta .ic { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--red); flex: none; }
.contact-form { padding: clamp(34px,4vw,56px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 14px 16px; font-size: 15px; transition: .2s; font-family: var(--font-body); color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(216,30,43,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.recaptcha-wrap { margin-top: 4px; }
.captcha-err { display: none; margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--red); }
.captcha-err.show { display: block; }
.form-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.form-success { display: none; padding: 14px 16px; border-radius: 10px; background: rgba(15,158,140,.08); border: 1px solid rgba(15,158,140,.3); color: var(--cyan-deep); font-size: 14px; font-family: var(--font-mono); margin-top: 16px; }
.form-success.show { display: block; }
.form-error { display: none; padding: 14px 16px; border-radius: 10px; background: rgba(216,30,43,.07); border: 1px solid rgba(216,30,43,.3); color: var(--red-deep); font-size: 14px; font-family: var(--font-mono); margin-top: 16px; }
.form-error.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: clamp(70px,9vw,120px); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--ink-mute); font-size: 14.5px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--red-bright); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-bot p { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }

/* ============================================================
   SCROLL REVEAL — JS-free, scroll-driven; visible by default
   ============================================================ */
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 1; } /* fallback: always visible (print, PDF, no-JS, unsupported) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      opacity: 0;
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 2% entry 42%;
    }
    .reveal.d1 { animation-range: entry 8% entry 48%; }
    .reveal.d2 { animation-range: entry 14% entry 54%; }
    .reveal.d3 { animation-range: entry 20% entry 60%; }
    .reveal.d4 { animation-range: entry 26% entry 66%; }
  }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { min-height: 380px; margin-top: 18px; }
  .hero-visual .chip.c1 { left: 2%; }
  .hero-visual .chip.c2 { right: 2%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .sec-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-aside { border-right: none; border-bottom: 1px solid var(--line); }
}
/* Tablet/narrow — collapse nav to burger so the header never crowds */
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px;
  }
  .nav-links.open a { padding: 15px 0; border-bottom: 1px solid var(--line); width: 100%; }
}
@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; grid-template-columns: 1fr; }
  .card.wide .btn { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero { padding-top: 120px; }
}
/* Phones — scale down the hero visual so rings & chips never get clipped */
@media (max-width: 540px) {
  .section { padding-block: clamp(64px, 13vw, 110px); }
  .hero h1 { font-size: clamp(31px, 8.8vw, 42px); }
  .hero-visual { min-height: 320px; }
  .ring.r1 { width: 300px; height: 300px; }
  .ring.r2 { width: 226px; height: 226px; }
  .ring.r3 { width: 158px; height: 158px; }
  .hero-visual .parrot { width: 210px; }
  .hero-visual .glow { width: 250px; height: 250px; }
  .hero-visual .chip { font-size: 10px; padding: 5px 9px; }
  .hero-stats .stat .n { font-size: 25px; }
  .contact-aside, .contact-form { padding: 30px 22px; }
  .contact-meta a, .contact-meta div { font-size: 13px; word-break: break-word; }
  .form-foot { gap: 16px; }
  .form-foot .btn-primary { width: 100%; justify-content: center; }
}
/* Narrow phones — keep the fixed-width reCAPTCHA widget inside the card */
@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.86); transform-origin: 0 0; }
  .recaptcha-wrap { height: 68px; overflow: hidden; }
}
