/* =========================================================
   GIO.DEV — liquid glass portfolio
   ========================================================= */
@font-face {
  font-family: "Big Noodle";
  src: url("fonts/big-noodle.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Dachi The Lynx";
  src: url("fonts/dachi-the-lynx.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05060f;
  --text: #f1f4ff;
  --muted: #9aa1ba;
  --dim: #5f6785;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --blue-l: #8ab8ff;
  --violet: #8b5cf6;
  --wa: #25d366;
  --green: #4ade80;
  --red: #ff8a8a;
  --r: 24px;
  /* headings font — to go back, remove "Dachi The Lynx", from this line */
  --head: "Dachi The Lynx", "Big Noodle", "Noto Sans Georgian", sans-serif;
  --head-narrow: "Big Noodle", "Noto Sans Georgian", sans-serif; /* Latin text + numbers */
  --body: "Inter", "Noto Sans Georgian", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; text-align: inherit; }
fieldset { border: 0; min-width: 0; }
svg, canvas { display: block; }
::selection { background: rgba(59, 130, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 10px; }

h1, h2, h3, .logo, .hero-trust b, .card-name, .card-logo {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.28; /* Dachi letters are tall: tighter lines touch or get clipped */
}
h2 { text-wrap: balance; }
em { font-style: normal; color: var(--muted); font-size: .85em; font-weight: 400; }
b { font-weight: 600; }
.grad {
  background: linear-gradient(100deg, #b9d7ff 0%, #5b9bff 40%, #7c6bff 75%, #b18cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------- BACKGROUND ---------------- */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora i:nth-child(1) { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, #1d4ed8 0%, transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 50vmax; height: 50vmax; right: -16vmax; top: 18vh; background: radial-gradient(circle, #6d28d9 0%, transparent 65%); opacity: .35; animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 45vmax; height: 45vmax; left: 20vw; bottom: -25vmax; background: radial-gradient(circle, #0891b2 0%, transparent 65%); opacity: .25; animation: drift3 28s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 20vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -18vh) scale(1.2); } }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- LIQUID GLASS ---------------- */
.lg {
  position: relative;
  isolation: isolate;
  background: linear-gradient(165deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.035) 38%, rgba(255,255,255,.02) 62%, rgba(255,255,255,.06) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-radius: var(--r);
  box-shadow:
    inset 0 1px 0.5px rgba(255,255,255,.42),
    inset 0 -1px 1px rgba(255,255,255,.10),
    inset 0 0 22px rgba(255,255,255,.035),
    0 24px 60px -28px rgba(0,0,0,.75);
}
.lg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 30%, rgba(255,255,255,0) 55%, rgba(255,255,255,.07) 75%, rgba(255,255,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 180, 255, .13), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.lg:hover::after { opacity: 1; }

/* ---------------- TOP BAR ---------------- */
.topbar-wrap {
  position: fixed; z-index: 100; left: 0; right: 0;
  top: max(12px, env(safe-area-inset-top, 0px));
  padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: flex; justify-content: center; pointer-events: none;
}
.topbar {
  pointer-events: auto; width: 100%; max-width: 1180px;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}
.topbar .logo { font-size: 28px; flex: none; }
.logo span { color: var(--blue); }
.topnav { display: flex; gap: 4px; margin: 0 auto; }
.topnav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(241,244,255,.72); transition: color .2s, background .2s; }
.topnav a:hover, .topnav a.active { color: #fff; background: rgba(255,255,255,.09); }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.phone { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); transition: background .2s; }
.phone:hover { background: rgba(255,255,255,.09); }
.phone svg { width: 16px; height: 16px; fill: var(--green); }

/* ---------------- BUTTONS ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #5b9bff 0%, #2f6ff0 55%, #2357d8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(0,0,0,.18), 0 14px 34px -12px rgba(59,130,246,.85);
}
.btn-glass.lg { border-radius: 999px; color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-wa { color: #04260f; background: linear-gradient(180deg, #4ae387, #1fbf5b); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 34px -12px rgba(37,211,102,.8); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; align-items: center; overflow: clip; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 120px var(--gutter) 56px; pointer-events: none; }
.hero-text { max-width: 800px; pointer-events: auto; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px !important; font-size: 13px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); } 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
/* sized from measured widths: widest line ≈ 10.7em, widest word ≈ 6.4em */
.hero-title { font-size: min(72px, 5vw); line-height: 1.32; margin: 22px 0 18px; }
/* no clipping mask: Dachi's letters reach above/below the line box, a mask would cut them */
.hero-title .line { display: block; }
.hero-title .line > span { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
body.ready .hero-title .line > span { opacity: 1; transform: none; }
.hero-sub { color: var(--muted); max-width: 500px; font-size: 17px; }
.hero-sub b { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.hero-trust > i { width: 1px; height: 34px; background: rgba(255,255,255,.12); }
.hero-trust b { display: block; font-size: 34px; }
.hero-trust span { font-size: 12.5px; color: var(--muted); }
.drag-hint {
  position: absolute; z-index: 3; right: 10%; bottom: 8%; font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; pointer-events: none; transition: opacity .5s;
}
.drag-hint span { color: var(--blue-l); }
.drag-hint.gone { opacity: 0; }

/* ---------------- LANYARD ---------------- */
.lanyard-stage { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
#strap { position: absolute; left: 0; pointer-events: none; }
.card3d {
  --cw: 250px; --ch: 356px;
  position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch);
  transform-origin: 50% -16px; transform-style: preserve-3d;
  pointer-events: auto; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
  will-change: transform; visibility: hidden;
}
.card3d.live { visibility: visible; }
.card3d.dragging { cursor: grabbing; }
.card-face { position: absolute; inset: 0; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.card-clip {
  position: absolute; left: 50%; top: -26px; width: 38px; height: 30px; margin-left: -19px; z-index: 3;
  border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg, #e9edf5 0%, #9aa3b5 45%, #5d6578 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -2px 3px rgba(0,0,0,.35), 0 3px 6px rgba(0,0,0,.4);
}
.card-clip i { position: absolute; left: 50%; top: 6px; width: 16px; height: 7px; margin-left: -8px; border-radius: 5px; background: #2a3040; }
.card-front {
  padding: 14px 14px 16px;
  background: linear-gradient(160deg, #f7f9fe 0%, #e4e9f4 55%, #d4dbea 100%);
  color: #0b1020;
  box-shadow: 0 40px 70px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.55) inset, 0 0 90px -30px rgba(91,155,255,.55);
}
.card-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card-slot { width: 52px; height: 8px; border-radius: 8px; background: #a3abbe; box-shadow: inset 0 2px 3px rgba(0,0,0,.45); }
.card-row { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.card-logo { font-size: 26px; color: #0b1020; }
.card-logo span { color: var(--blue); }
.card-chip { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; padding: 4px 8px; border-radius: 6px; background: #0b1020; color: #fff; }
.card-photo {
  position: relative; margin-top: 10px; height: 178px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(circle at 50% 120%, rgba(138,184,255,.65), transparent 55%), radial-gradient(circle at 20% 0%, #3b5fd8, transparent 60%), linear-gradient(160deg, #1b2c74, #0a1033);
  display: flex; align-items: flex-end; justify-content: center;
}
.card-photo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 16px 16px; }
.card-sm { position: relative; z-index: 1; width: 128px; height: 166px; margin-bottom: -4px; }
.card-status { position: absolute; z-index: 2; top: 9px; right: 9px; display: flex; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: .14em; color: #fff; padding: 4px 7px; border-radius: 6px; background: rgba(0,0,0,.35); }
.card-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.card-name { font-size: 46px; text-align: center; margin-top: 10px; letter-spacing: .04em; color: #0b1020; }
.card-role { font-size: 9.5px; text-align: center; font-weight: 700; letter-spacing: .2em; color: #4a5576; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 9px; font-weight: 700; letter-spacing: .14em; color: #4a5576; }
.card-bars { display: flex; gap: 2px; height: 20px; }
.card-bars span { width: 2px; background: #0b1020; }
.card-bars span:nth-child(3n) { width: 4px; }
.card-bars span:nth-child(5n) { width: 1px; }
.card-holo {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, transparent 20%, rgba(255,120,200,.3) 36%, rgba(120,200,255,.35) 46%, rgba(160,255,190,.3) 56%, transparent 72%);
  background-size: 300% 300%; background-position: var(--holo, 50%) 50%;
  mix-blend-mode: overlay; opacity: .45;
}

/* ---------------- STICKMAN ---------------- */
.sm-slot svg { width: 100%; height: 100%; overflow: visible; }
.stickman path, .stickman circle { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.stickman .sm-face { fill: #0e1531; }
.stickman .sm-cap { fill: var(--blue); stroke-width: 5; }
.stickman .sm-hand { fill: #fff; stroke-width: 3; }
.stickman .sm-eyes ellipse { fill: #fff; stroke: none; transform-box: fill-box; transform-origin: center; animation: eyeBlink 4.2s infinite; }
.stickman .sm-smile { stroke-width: 4.5; }
.stickman .sm-blush { fill: #ff7aa8; stroke: none; opacity: .55; }
.stickman .sm-arm { transform-box: view-box; transform-origin: 100px 112px; animation: wave 1.6s ease-in-out infinite; }
.stickman .sm-forearm { transform-box: view-box; transform-origin: 132px 92px; animation: waveHand .4s ease-in-out infinite alternate; }
.stickman .sm-head { transform-box: view-box; transform-origin: 100px 94px; animation: headTilt 3.2s ease-in-out infinite; }
.stickman .sm-eyes { transition: transform .15s ease-out; }
@keyframes eyeBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-12deg); } }
@keyframes waveHand { from { transform: rotate(-18deg); } to { transform: rotate(22deg); } }
@keyframes headTilt { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }

/* ---------------- SECTIONS ---------------- */
.section { max-width: 1180px; margin: 0 auto; padding: 96px var(--gutter) 0; }
.head { max-width: 760px; margin-bottom: 40px; }
.head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--blue-l); margin-bottom: 22px; padding: 6px 12px; border-radius: 999px;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25);
}
.head h2, .order-info h2 { font-size: clamp(34px, 4vw, 56px); }
.head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* WHY */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.why-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-size: 24px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); margin-bottom: 10px; }
.why-card h3 { font-size: 26px; }
.why-card p { color: var(--muted); font-size: 15px; }
.why-card .fix { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); color: var(--text); font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.why-card .fix::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--green); background: rgba(74,222,128,.15); margin-top: 1px; }

/* ORDER */
.order { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.order-info { position: sticky; top: 110px; }
.order-info > p { color: var(--muted); margin-top: 16px; font-size: 16.5px; max-width: 460px; }
.mini-steps { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.mini-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.mini-steps b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; font-size: 13px; color: var(--blue-l); background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.35); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; max-width: 460px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; transition: transform .25s var(--ease); }
.contact:hover { transform: translateY(-2px); }
.contact div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact b { font-size: 15px; white-space: nowrap; }
.contact small { color: var(--muted); font-size: 12.5px; }
.c-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 18px; }
.c-ico svg { width: 22px; height: 22px; }
.c-phone { background: linear-gradient(180deg, #5b9bff, var(--blue-2)); }
.c-wa { background: var(--wa); }

.order-card { padding: 30px; border-radius: 30px; display: flex; flex-direction: column; gap: 22px; }
.group legend, .field > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.req { font-style: normal; color: var(--blue-l); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 10px 15px; border-radius: 12px; font-size: 14.5px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.opt:hover { background: rgba(255,255,255,.09); }
.opt:active { transform: scale(.97); }
.opt.selected { background: rgba(59,130,246,.25); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 6px 18px -8px rgba(59,130,246,.8); }
.group.invalid .opt { box-shadow: inset 0 0 0 1px rgba(255,138,138,.6); }
.field input {
  width: 100%; border: 0; border-radius: 14px; padding: 14px 16px; color: var(--text); font: inherit; font-size: 16px; outline: none;
  background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 2px 6px rgba(0,0,0,.25);
  transition: box-shadow .2s;
}
.field input::placeholder { color: var(--dim); }
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(59,130,246,.18); }
.field.invalid input { box-shadow: inset 0 0 0 1.5px var(--red); }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.4); }
.picked[hidden] { display: none; }
.picked button { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.1); }
.picked button:hover { background: rgba(255,255,255,.2); }
.error { color: var(--red); font-size: 14px; min-height: 1.4em; margin-top: -10px; text-align: center; }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px; }
.s-ico { width: 54px; height: 54px; display: grid; place-items: center; font-size: 26px; border-radius: 16px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); margin-bottom: 18px; }
.service h3 { font-size: 28px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; }
.service ul, .plan ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.service li, .plan li { position: relative; padding-left: 28px; font-size: 14.5px; color: rgba(241,244,255,.88); }
.service li::before, .plan li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--blue-l); background: rgba(59,130,246,.16); }

/* PLANS */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px 28px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 36px; }
.plan-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan-time { margin-top: 18px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; font-weight: 600; align-self: flex-start; }
.plan ul { margin: 20px 0 26px; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
.plan-hot {
  background: linear-gradient(165deg, rgba(91,155,255,.24), rgba(59,130,246,.07) 45%, rgba(139,92,246,.12));
  box-shadow: inset 0 1px 0.5px rgba(255,255,255,.5), inset 0 0 0 1px rgba(91,155,255,.45), 0 40px 90px -30px rgba(59,130,246,.6);
}
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #5b9bff, var(--blue-2)); box-shadow: 0 8px 20px -6px rgba(59,130,246,.9), inset 0 1px 0 rgba(255,255,255,.4); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-size: 16.5px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 400; background: rgba(255,255,255,.08); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* FOOTER */
.footer { margin-top: 110px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer .logo { font-size: 28px; color: var(--text); }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed; z-index: 90;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: #04260f;
  background: linear-gradient(180deg, #4ae387, #1fbf5b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 34px -10px rgba(37,211,102,.75);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float.hide { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* REVEAL (content stays visible if JS doesn't run) */
.js .reveal { transform: translateY(22px); transition: transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { transform: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1000px) {
  .topnav { display: none; }
  .topbar-actions { margin-left: auto; }
  .why, .services { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-hot { margin-top: 8px; }
  .order { grid-template-columns: 1fr; gap: 32px; max-width: 600px; margin: 0 auto; }
  .order-info { position: static; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(var(--hang, 470px) + 24px); padding-bottom: 70px; }
  .hero-text { max-width: none; }
  .hero-title { font-size: min(64px, calc((100vw - 48px) / 6.7)); }
  .drag-hint { right: auto; left: 50%; transform: translateX(-50%); top: calc(var(--hang, 470px) - 8px); bottom: auto; white-space: nowrap; }
  .card3d { --cw: 210px; --ch: 300px; }
  .card-photo { height: 142px; }
  .card-sm { width: 104px; height: 135px; }
  .card-name { font-size: 38px; margin-top: 8px; }
  .card-logo { font-size: 22px; }
}
@media (max-width: 640px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px)); }
  .topbar { padding: 6px 6px 6px 16px; gap: 10px; }
  .topbar .logo { font-size: 24px; }
  .phone { padding: 9px; }
  .phone span { display: none; }
  .phone svg { width: 18px; height: 18px; }
  .section { padding-top: 84px; }
  .head { margin-bottom: 30px; }
  .head p { font-size: 15.5px; }
  .hero-title { font-size: min(56px, calc((100vw - 40px) / 6.7)); }
  .hero-sub { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { gap: 14px; }
  .hero-trust b { font-size: 28px; }
  .why-card, .service { padding: 24px; }
  .order-card { padding: 22px 18px; border-radius: 26px; }
  .contact-list { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px 22px; }
  .footer-inner { justify-content: center; text-align: center; }
  .wa-float { padding: 15px; }
  .wa-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------- WILDWEB LOGO ---------------- */
.ww-logo { display: block; height: 100%; width: auto; overflow: visible; }
.topbar .logo { height: 28px; color: #fff; }
.footer .logo { height: 28px; color: var(--text); display: block; }
.card-logo { height: 20px; color: #0b1020; display: block; }
@media (max-width: 640px) { .topbar .logo { height: 24px; } }

/* narrow font where Latin letters and numbers must stay compact */
.card-name, .hero-trust b { font-family: var(--head-narrow); }

/* phones: size headings from their longest word so nothing overflows (Dachi is a wide font) */
@media (max-width: 640px) {
  .head h2, .order-info h2 { font-size: min(36px, calc((100vw - 32px) / 7.8)); }
  .why-card h3, .service h3 { font-size: min(26px, calc((100vw - 82px) / 7.6)); }
  .plan h3 { font-size: min(34px, calc((100vw - 82px) / 6)); }
}

/* first section right after the hero sits closer */
#why { padding-top: 56px; }
.order-info h2 { font-size: clamp(32px, 3.3vw, 46px); }
@media (max-width: 640px) { .order-info h2 { font-size: min(36px, calc((100vw - 32px) / 7.8)); } }

/* ---------- control-panel live preview helpers ---------- */
.ww-preview [data-edit], .ww-preview [data-edit-ph] { cursor: pointer; border-radius: 6px; transition: outline-color .2s; outline: 1.5px dashed transparent; outline-offset: 3px; }
.ww-preview [data-edit]:hover, .ww-preview [data-edit-ph]:hover { outline-color: rgba(138,184,255,.8); }
.ww-flash { animation: wwFlash 1.4s ease-out; }
@keyframes wwFlash { 0%, 30% { outline: 2px solid #8ab8ff; outline-offset: 4px; background-color: rgba(59,130,246,.22); } 100% { outline: 2px solid transparent; background-color: transparent; } }
