/* =========================================================
   TIRANGA LANDING PAGE — style.css
   ========================================================= */
:root {
  --navy: #0a1a4f;
  --navy-2: #0b1d57;
  --navy-3: #071338;
  --ink: #0d1b4c;
  --blue: #1a8cff;
  --blue-2: #0a63e0;
  --orange: #ff7a18;
  --green: #1faa4b;
  --purple: #8b3dff;
  --red: #f03e3e;
  --yellow: #ffb300;
  --text: #4a5577;
  --muted: #b9c6ee;
  --light: #f4f7fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 76, .08);
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.d-block { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Color helpers ---------- */
.bg-orange { background: linear-gradient(135deg, #ffa04a, #ff6a00); }
.bg-blue   { background: linear-gradient(135deg, #3aa8ff, #0a63e0); }
.bg-green  { background: linear-gradient(135deg, #34c65f, #139a40); }
.bg-purple { background: linear-gradient(135deg, #a466ff, #7a2cf0); }
.bg-red    { background: linear-gradient(135deg, #ff5a5a, #e02727); }
.bg-yellow { background: linear-gradient(135deg, #ffc93c, #ff9f00); }
.c-orange { color: var(--orange); }
.c-blue   { color: var(--blue); }
.c-green  { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  padding: 10px 28px; border-radius: 50px;
  border: 2px solid transparent;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #26a0ff, #0a63e0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 140, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 140, 255, .5); }
.btn-outline { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ---------- Logo ---------- */
.logo {
  font-size: 34px; font-weight: 800; font-style: italic;
  color: #fff; letter-spacing: -1px; line-height: 1;
}
.logo-t {
  background: linear-gradient(180deg, #ff8a1f 0 36%, #ffffff 36% 64%, #22b04b 64% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 2px;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(7, 19, 56, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.nav { display: flex; align-items: center; }
.nav ul { display: flex; gap: 36px; }
.nav a { color: #dfe6ff; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; transition: color .3s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav ul a.active::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; border-radius: 2px; background: var(--blue);
}
.header-btns { display: flex; gap: 14px; }
.nav-mobile-btns { display: none; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: rgba(255, 255, 255, .08); border: 0; border-radius: 10px; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   STADIUM BACKGROUND (reusable)
   ========================================================= */
.stadium {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(70, 130, 255, .38), transparent 70%),
    radial-gradient(circle at 12% 18%, rgba(120, 170, 255, .25), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(120, 170, 255, .22), transparent 28%),
    linear-gradient(180deg, #0d2670 0%, #0a1c58 55%, #071443 100%);
}
.rig {
  position: absolute; width: 72px; height: 26px; z-index: 1; opacity: .9;
  background-image: radial-gradient(circle, #fff 1.4px, transparent 2.3px);
  background-size: 9px 9px;
  filter: drop-shadow(0 0 6px #cfe0ff) drop-shadow(0 0 18px #6fa4ff);
  pointer-events: none;
}
.bokeh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(circle at 8% 60%,  rgba(140, 180, 255, .35) 0 6px, transparent 14px),
    radial-gradient(circle at 22% 35%, rgba(140, 180, 255, .25) 0 4px, transparent 12px),
    radial-gradient(circle at 46% 78%, rgba(140, 180, 255, .25) 0 5px, transparent 13px),
    radial-gradient(circle at 63% 22%, rgba(140, 180, 255, .3)  0 4px, transparent 11px),
    radial-gradient(circle at 78% 70%, rgba(140, 180, 255, .25) 0 6px, transparent 15px),
    radial-gradient(circle at 93% 40%, rgba(140, 180, 255, .3)  0 4px, transparent 12px);
  filter: blur(1px);
}
.flag-wave { position: absolute; pointer-events: none; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35)); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: calc(var(--header-h) + 50px) 0 60px; overflow: hidden; color: #fff; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px;
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 84px);
  font-weight: 800; line-height: 1.02; letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.t-orange { background: linear-gradient(180deg, #ffa24a, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-green  { background: linear-gradient(180deg, #3fd26c, #16a045); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tags { font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.hero-tags span { white-space: nowrap; }
.hero-tags i { font-style: normal; margin: 0 10px; color: #9fb4ff; }
.hero-text { color: #cdd7f5; font-size: 15px; max-width: 540px; margin-bottom: 30px; }

.trust { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: #dfe6ff; }
.trust-item i { font-size: 26px; color: #fff; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-flag { width: 150%; height: 100%; right: -45%; top: -8%; z-index: 0; }
.float { position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.handwrite {
  position: absolute; right: -30px; bottom: 60px; z-index: 3;
  font-family: 'Caveat', cursive; font-size: 40px; font-weight: 700;
  line-height: .95; color: #fff; text-align: center;
  transform: rotate(-12deg);
  text-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.hw-line {
  display: block; height: 5px; width: 110px; margin: 8px auto 0; border-radius: 5px;
  background: linear-gradient(90deg, var(--orange) 0 33%, #fff 33% 66%, var(--green) 66%);
}

/* =========================================================
   PHONE MOCKUP (pure CSS)
   ========================================================= */
.phone {
  position: relative; width: 290px; padding: 12px;
  background: #0b1640; border-radius: 46px;
  border: 3px solid #4a5a8c;
  box-shadow: 0 0 0 6px #111a3a, 0 34px 70px rgba(0, 0, 0, .55), inset 0 0 0 2px #1d2c63;
}
.phone-hero { transform: rotate(6deg); }
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #000; border-radius: 20px; z-index: 3;
}
.phone-screen {
  background: linear-gradient(180deg, #11307f 0%, #0a1b55 100%);
  border-radius: 34px; padding: 58px 20px 22px; min-height: 550px; color: #fff;
}
.ps-logo { font-size: 30px; font-weight: 800; font-style: italic; text-align: center; margin-bottom: 20px; letter-spacing: -.5px; }
.ps-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 4px; margin-bottom: 18px;
}
.ps-tabs span { text-align: center; font-size: 12px; padding: 8px; border-radius: 8px; color: #a9b8e6; cursor: pointer; transition: .25s; }
.ps-tabs span.active { background: var(--blue); color: #fff; font-weight: 600; }
.ps-input {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 12px;
  font-size: 12px; color: #b9c6ee;
}
.ps-input b { color: #fff; font-weight: 600; }
.ps-input .right { margin-left: auto; cursor: pointer; }
.ps-row { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: #cbd6f7; margin: 6px 0 18px; }
.ps-row label { display: flex; align-items: center; gap: 6px; }
.ps-check { width: 14px; height: 14px; flex: 0 0 14px; background: var(--blue); border-radius: 3px; display: grid; place-items: center; font-size: 8px; color: #fff; }
.ps-link { color: #6fb4ff; }
.ps-btn {
  background: linear-gradient(135deg, #26a0ff, #0a63e0); color: #fff;
  text-align: center; border-radius: 12px; padding: 12px; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 18px rgba(26, 140, 255, .35);
}
.ps-divider { text-align: center; font-size: 10.5px; color: #9fb0e0; margin: 22px 0; position: relative; }
.ps-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .15); }
.ps-divider span { background: #0d2468; padding: 0 10px; position: relative; }
.ps-btn-outline { border: 1.5px solid rgba(111, 180, 255, .75); text-align: center; border-radius: 12px; padding: 11px; font-size: 13px; font-weight: 500; }
.ps-foot { text-align: center; font-size: 10px; color: #8494c7; margin-top: 24px; }

/* Small phones (guide section) */
.phone-sm { width: 225px; border-radius: 38px; padding: 10px; }
.phone-sm .phone-notch { top: 16px; width: 70px; height: 18px; }
.phone-sm .phone-screen { min-height: 440px; padding: 42px 13px 16px; border-radius: 28px; }
.ps-logo.sm { font-size: 22px; margin-bottom: 12px; }
.ps-tabs.sm span { font-size: 10px; padding: 6px; }
.ps-input.sm { font-size: 10px; padding: 9px 10px; margin-bottom: 9px; gap: 7px; }
.ps-agree { display: flex; gap: 6px; align-items: flex-start; font-size: 8.5px; color: #b9c6ee; margin: 6px 0 12px; line-height: 1.4; }
.ps-agree b { color: #ff7a7a; font-weight: 600; }
.ps-btn.sm { font-size: 12px; padding: 10px; }

.dash-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #3a2bb8, #1d4fd8 60%, #6a2bd8);
  border-radius: 12px; padding: 14px 12px; margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, .15);
}
.dash-banner strong { display: block; font-size: 15px; line-height: 1.1; font-weight: 800; }
.dash-banner small { display: block; font-size: 8px; color: #ffd66b; margin-top: 4px; }
.dash-banner i { font-size: 44px; color: #ffc93c; filter: drop-shadow(0 4px 10px rgba(255, 190, 40, .6)); }
.dash-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.game { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: #cbd6f7; }
.g-ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-size: 18px; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 6px 12px rgba(0, 0, 0, .25);
}

/* =========================================================
   QUICK FEATURE STRIP
   ========================================================= */
.quick { padding: 36px 0; background: var(--light); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.q-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); border: 1px solid #edf1fa;
}
.q-icon { flex: 0 0 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; }
.q-card h3 { font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.q-card p { font-size: 12.5px; line-height: 1.45; }

/* =========================================================
   GUIDE / ABOUT
   ========================================================= */
.guide { background: #fff; overflow: hidden; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; }
.guide-content {
  padding: 60px 40px 110px max(20px, calc((100vw - 1200px) / 2 + 20px));
}
.guide h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.guide h2 .blue { color: var(--blue-2); }
.guide p { font-size: 15px; margin-bottom: 16px; max-width: 580px; }

.guide-visual {
  position: relative; overflow: hidden; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
}
.guide-flag { width: 120%; height: 90%; left: -25%; bottom: -30%; z-index: 0; transform: scaleX(-1); }
.phones { position: relative; z-index: 2; display: flex; align-items: center; padding: 30px 0 110px; }
.phone-dash { transform: rotate(-8deg) translateY(20px); z-index: 2; }
.phone-reg  { transform: rotate(8deg) translateY(-6px); z-index: 3; margin-left: -12px; }

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.section-head p { font-size: 15px; }

/* =========================================================
   PLATFORM FEATURES
   ========================================================= */
.features {
  position: relative; color: #fff;
  background: linear-gradient(180deg, #0b1d57, #081647);
  padding: 20px 0 80px;
}
.wave-top { position: absolute; left: 0; top: -100px; width: 100%; height: 120px; display: block; }
.features .section-head p { color: #cdd7f5; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .3s, background .3s;
}
.f-card:hover { border-color: rgba(111, 180, 255, .45); background: rgba(255, 255, 255, .07); }
.f-icon { flex: 0 0 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.f-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.f-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { position: relative; background: var(--light); padding: 70px 0; overflow: hidden; }
.how .section-head h2 { color: var(--ink); }
.how-flag { width: 420px; height: 360px; opacity: .28; top: -40px; z-index: 0; filter: none; }
.how-flag.left  { left: -160px; transform: scaleX(-1); }
.how-flag.right { right: -160px; }
.steps { position: relative; z-index: 2; display: flex; align-items: stretch; gap: 14px; }
.step {
  flex: 1; position: relative; text-align: center;
  background: #fff; border-radius: var(--radius); padding: 34px 20px 26px;
  box-shadow: var(--shadow); border: 1px solid #edf1fa;
}
.step-num {
  position: absolute; top: 12px; left: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.step p { font-size: 13px; line-height: 1.5; }
.step-arrow { align-self: center; color: var(--blue); font-size: 20px; }

/* =========================================================
   THINGS TO REMEMBER
   ========================================================= */
.remember { padding: 60px 0; background: #fff; }
.remember h2 { font-size: clamp(26px, 3vw, 36px); color: var(--ink); font-weight: 800; line-height: 1.2; }
.remember .sub { margin-bottom: 28px; }
.r-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto);
  grid-auto-flow: column; gap: 22px 70px;
}
.r-item { display: flex; gap: 16px; }
.r-icon { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; }
.r-item h4 { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.r-item p { font-size: 13px; line-height: 1.5; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { color: #fff; background: linear-gradient(180deg, #0b1d57, #0a1a4f); padding: 60px 0 50px; }
.faq .section-head p { color: #cdd7f5; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-card {
  display: flex; gap: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 20px;
}
.faq-q {
  flex: 0 0 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.faq-card h4 { font-size: 14.5px; margin-bottom: 6px; font-weight: 600; }
.faq-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* =========================================================
   CTA
   ========================================================= */
.cta { color: #fff; text-align: center; padding: 70px 0 90px; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.cta p { max-width: 560px; margin: 10px auto 26px; color: #d5def8; font-size: 15px; }
.cta-flag { width: 520px; height: 300px; bottom: -70px; z-index: 1; }
.cta-flag.left  { left: -180px; transform: scaleX(-1) rotate(-8deg); }
.cta-flag.right { right: -180px; transform: rotate(-8deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-3); color: #c3cdee; padding: 40px 0; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.5fr; gap: 30px; align-items: start; }
.footer-brand p { margin-top: 8px; }
.footer-col { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 26px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 10px; font-weight: 600; }
.footer ul li { margin-bottom: 4px; }
.footer ul a { transition: color .25s; }
.footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; transition: transform .25s; }
.socials a:hover { transform: translateY(-3px); }
.fb { background: #1877f2; }
.tg { background: #229ed9; }
.yt { background: #ff0000; }
.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-note p { line-height: 1.6; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav ul { gap: 24px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-col { border-left: 0; padding-left: 0; }
  .handwrite { right: -10px; font-size: 34px; }
}

@media (max-width: 992px) {
  /* Mobile menu */
  .menu-toggle { display: flex; }
  .header-btns { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--navy-3); padding: 10px 20px 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
  .nav ul a.active::after { display: none; }
  .nav ul a.active { color: var(--blue); }
  .nav-mobile-btns { display: flex; gap: 12px; margin-top: 20px; }
  .nav-mobile-btns .btn { flex: 1; padding: 12px; }

  /* Hero */
  .hero { text-align: center; padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .trust { justify-content: center; }
  .hero-visual { min-height: 600px; margin-top: 10px; }
  .hero-flag { width: 140%; right: -20%; }
  .handwrite { right: 4%; }

  /* Guide */
  .guide-grid { grid-template-columns: 1fr; }
  .guide-content { padding: 50px 20px 30px; }
  .guide-visual { min-height: 560px; }

  .features { padding-top: 40px; }
  .wave-top { top: -60px; height: 70px; }

  .f-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; gap: 26px 18px; }
  .step { flex: 1 1 calc(50% - 9px); }
  .step-arrow { display: none; }
}

@media (max-width: 768px) {
  .hero-tags { font-size: 16px; }
  .r-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 20px; }
  .how-flag { width: 260px; height: 220px; }
  .how-flag.left { left: -120px; }
  .how-flag.right { right: -120px; }
  .cta-flag { width: 340px; height: 200px; bottom: -90px; }
  .cta-flag.left { left: -170px; }
  .cta-flag.right { right: -170px; }
}

@media (max-width: 576px) {
  :root { --header-h: 66px; }
  .logo { font-size: 28px; }
  .btn-lg { width: 100%; padding: 15px 20px; font-size: 16px; }
  .hero-tags i { margin: 0 6px; }
  .hero-text { font-size: 14px; }
  .trust { gap: 14px; margin-top: 30px; justify-content: space-between; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; font-size: 12px; flex: 1; }
  .hero-visual { min-height: 580px; }
  .phone-hero { width: 272px; transform: rotate(4deg); }
  .handwrite { display: none; }

  .quick { padding: 28px 0; }
  .quick-grid { grid-template-columns: 1fr; gap: 12px; }

  .guide-visual { min-height: 430px; }
  .phones { transform: scale(.74); padding-bottom: 80px; }
  .how-flag { display: none; }
  .steps { gap: 16px; }

  .f-grid, .faq-grid { grid-template-columns: 1fr; }
  .f-card { padding: 18px; }
  .step { flex: 1 1 100%; }

  .footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .socials { justify-content: center; }
}

@media (max-width: 380px) {
  .phone-hero { width: 256px; }
  .phones { transform: scale(.66); }
  .guide-visual { min-height: 360px; }
}
