/* ============================================================
   RAMATECH — rama.tech
   Edit colours here once and the whole site updates.
   ============================================================ */
:root {
  --navy: #160d33;          /* deep violet-black (dark sections) */
  --navy-2: #1e1245;
  --blue: #7c3aed;          /* primary brand purple (from logo) */
  --blue-dark: #6d28d9;
  --cyan: #a855f7;          /* lighter purple for gradients */
  --ink: #241b3a;
  --muted: #6b6480;
  --bg: #ffffff;
  --bg-soft: #f7f5fc;
  --line: #e8e4f2;
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(22, 13, 51, .15);
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  background: #f1e9fe;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.7rem;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(124, 58, 237, .5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(124, 58, 237, .6); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: .85rem;
  padding: .45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .65rem; color: var(--navy); text-decoration: none !important; }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
}
.logo-mark svg { width: 42px; height: 42px; }
.logo span em { font-style: normal; color: var(--blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; color: var(--navy); }
.logo-text i { font-style: normal; font-weight: 700; font-size: .53rem; letter-spacing: .21em; text-transform: uppercase; color: var(--muted); }
footer.site .logo-text b { color: #fff; }
footer.site .logo-text i { color: #a99fc4; }

nav.main { display: flex; align-items: center; gap: 1.6rem; }
nav.main a { color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none !important; }
nav.main a:hover, nav.main a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 5px auto;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 60% 50% at 80% -10%, rgba(168, 85, 247, .28), transparent),
    radial-gradient(ellipse 50% 60% at 10% 110%, rgba(124, 58, 237, .32), transparent);
  color: #e2e8f0;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin: 1rem 0 1.2rem; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #b6c2d9; max-width: 34rem; margin-bottom: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem; font-weight: 600; color: #fff;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 10px #c084fc; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-points { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; font-size: .9rem; color: #b6c2d9; }
.hero-points li { list-style: none; display: flex; align-items: center; gap: .45rem; }
.hero-points svg { color: #c084fc; flex: none; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
  transition: transform .25s ease-out;
  will-change: transform;
}
.hero .container { will-change: transform, opacity; }
.hero-card h3 { color: #fff; margin-bottom: 1.2rem; }
.hero-card ul { list-style: none; display: grid; gap: .9rem; }
.hero-card li { display: flex; gap: .8rem; align-items: flex-start; color: #cbd5e1; font-size: .95rem; }
.hero-card .ic {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); display: grid; place-items: center; color: #fff;
}

/* ---------- Sections ---------- */
section.block { padding: 4.5rem 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { max-width: 44rem; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: .8rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,.65), rgba(168,85,247,.1));
  -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, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card .ic {
  position: relative;
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(145deg, #a855f7 0%, #7c3aed 55%, #5b21b6 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 1.4rem; margin-bottom: 1.1rem;
  box-shadow:
    0 10px 20px -6px rgba(124, 58, 237, .5),
    inset 0 2px 3px rgba(255, 255, 255, .4),
    inset 0 -4px 6px rgba(40, 10, 90, .45);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}
.card .ic::after {
  content: "";
  position: absolute;
  top: 3px; left: 4px; right: 4px; height: 38%;
  border-radius: 12px 12px 40% 40%;
  background: linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,0));
  pointer-events: none;
}
.card:hover .ic {
  transform: perspective(420px) translateY(-7px) rotateX(14deg) rotateY(-12deg) scale(1.1);
  box-shadow:
    0 20px 32px -8px rgba(124, 58, 237, .65),
    inset 0 2px 3px rgba(255, 255, 255, .45),
    inset 0 -4px 6px rgba(40, 10, 90, .45);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { display: inline-block; margin-top: .9rem; font-weight: 700; font-size: .9rem; }

/* ---------- Steps (animated "how it works" flow) ---------- */
.step { position: relative; }
.step .num {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  background: #efeafc; color: var(--blue);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem;
  transition: background .45s ease, color .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s ease;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

.steps-flow { position: relative; }
.steps-flow .step {
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.steps-flow.in .step { opacity: 1; transform: none; }
.steps-flow.in .step:nth-child(2) { transition-delay: .1s; }
.steps-flow.in .step:nth-child(3) { transition-delay: .55s; }
.steps-flow.in .step:nth-child(4) { transition-delay: 1s; }

.steps-track {
  position: absolute;
  top: 25px; left: 17%; right: 17%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.steps-track-fill {
  height: 100%; width: 0;
  background: var(--grad);
  transition: width 1.5s ease .3s;
}
.steps-flow.in .steps-track-fill { width: 100%; }

.steps-flow.in .num {
  background: var(--grad);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 8px 24px -6px rgba(124, 58, 237, .6);
}
.steps-flow.in .step:nth-child(2) .num { transition-delay: .3s; }
.steps-flow.in .step:nth-child(3) .num { transition-delay: .8s; }
.steps-flow.in .step:nth-child(4) .num { transition-delay: 1.3s; }
.steps-flow.in .num::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, .45);
  opacity: 0;
  animation: numPulse 1.4s ease-out forwards;
}
.steps-flow.in .step:nth-child(2) .num::after { animation-delay: .45s; }
.steps-flow.in .step:nth-child(3) .num::after { animation-delay: .95s; }
.steps-flow.in .step:nth-child(4) .num::after { animation-delay: 1.45s; }
@keyframes numPulse {
  0% { opacity: .9; transform: scale(.8); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* ---------- Why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.checklist { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  margin-top: .15rem;
}
.checklist strong { color: var(--navy); }
.checklist span.sub { display: block; color: var(--muted); font-size: .92rem; }

.stat-panel {
  background: var(--navy);
  border-radius: 24px;
  padding: 2.5rem;
  color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.stat-panel .stat b { font-size: 2.2rem; font-weight: 800; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-panel .stat span { color: #94a3b8; font-size: .9rem; }

/* ---------- Why Ramatech: dark premium band + 3D chip hologram ---------- */
.why-dark {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 55% 60% at 90% 10%, rgba(168, 85, 247, .2), transparent),
    radial-gradient(ellipse 45% 55% at 5% 95%, rgba(124, 58, 237, .22), transparent);
  overflow: hidden;
}
.why-dark h2 { color: #fff; }
.why-dark .eyebrow { background: rgba(168, 85, 247, .16); color: #c4b5fd; }
.why-dark .checklist strong { color: #fff; }
.why-dark .checklist span.sub { color: #b6c2d9; }
.why-dark .checklist .tick { background: rgba(74, 222, 128, .16); color: #4ade80; }

.why-visual { display: grid; justify-items: center; }
.why-dark .stat-panel {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  transition: transform .25s ease-out;
  will-change: transform;
}
.why-dark .stat-panel .stat span { color: #a99fc4; }

.chip3d {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 1.4rem;
  z-index: 2;
  animation: chipFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 22px 28px rgba(124, 58, 237, .45));
}
.chip3d svg { display: block; }
@keyframes chipFloat {
  0%, 100% { transform: perspective(700px) translateY(0) rotateY(-16deg) rotateX(7deg); }
  50% { transform: perspective(700px) translateY(-14px) rotateY(16deg) rotateX(-7deg); }
}
.orbit {
  position: absolute;
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: 50%;
  animation: orbitSpin 9s linear infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%; margin-left: -3.5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px #c084fc;
}
.o1 { inset: -20px; }
.o2 { inset: -38px; border-color: rgba(167, 139, 250, .18); animation-duration: 14s; animation-direction: reverse; }
.o3 { inset: -56px; border-color: rgba(167, 139, 250, .1); animation-duration: 21s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero-card, .stat-panel { transition: transform .25s ease-out; }

/* ---------- Areas ---------- */
.area-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.area-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  font-size: .92rem; font-weight: 600;
  color: var(--navy);
  text-decoration: none !important;
  transition: .15s;
}
.area-links a:hover { border-color: var(--blue); color: var(--blue); background: #f4edfe; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin: 0 auto; display: grid; gap: .9rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { opacity: .9; margin-bottom: 1.6rem; }
.cta-band .btn { background: #fff; color: var(--blue-dark); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(168,85,247,.22), transparent);
  color: #b6c2d9;
  padding: 3.8rem 0;
}
.page-hero h1 { color: #fff; margin: .6rem 0 .9rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero p { max-width: 44rem; font-size: 1.05rem; }
.crumbs { font-size: .85rem; color: #7c8db0; }
.crumbs a { color: #a5b4d4; }

/* ---------- Article / content pages ---------- */
.content { max-width: 50rem; }
.content h2 { margin: 2.4rem 0 .9rem; }
.content p { margin-bottom: 1rem; color: #334155; }
.content ul { margin: 0 0 1rem 1.3rem; color: #334155; }
.content li { margin-bottom: .45rem; }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
aside.side { position: sticky; top: 96px; display: grid; gap: 1.4rem; }
.side-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.side-card.dark { background: var(--navy); border: 0; color: #cbd5e1; }
.side-card.dark h3 { color: #fff; }
.side-card h3 { margin-bottom: .8rem; }
.side-card ul { list-style: none; display: grid; gap: .55rem; }
.side-card ul a { font-weight: 600; font-size: .95rem; }
.side-card.dark .btn { width: 100%; justify-content: center; margin-top: 1rem; }
.side-card .phone-big { font-size: 1.4rem; font-weight: 800; color: #fff; display: block; margin-top: .4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info ul { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.contact-info b { color: var(--navy); display: block; }
.contact-info span { color: var(--muted); font-size: .95rem; }

form.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
form.contact label { font-weight: 600; font-size: .9rem; color: var(--navy); display: grid; gap: .35rem; }
form.contact input, form.contact select, form.contact textarea {
  font: inherit;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  width: 100%;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus {
  outline: 2px solid var(--blue); border-color: transparent; background: #fff;
}
form.contact button { border: 0; cursor: pointer; justify-content: center; }
form.contact button:disabled { opacity: .6; cursor: wait; }

.form-success { text-align: center; padding: 2.5rem 1rem; display: grid; gap: .7rem; justify-items: center; }
.form-success .big-tick {
  width: 68px; height: 68px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: grid; place-items: center;
  font-size: 2rem; font-weight: 800;
}
.form-success h3 { font-size: 1.35rem; }
.form-success p { color: var(--muted); max-width: 26rem; }

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .92rem;
  margin: 0;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: .92rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
footer.site ul { list-style: none; display: grid; gap: .55rem; }
footer.site a { color: #94a3b8; }
footer.site a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip3d, .orbit { animation: none; }
  .steps-flow .step { opacity: 1; transform: none; transition: none; }
  .steps-flow .num { background: var(--grad); color: #fff; }
  .steps-track-fill { width: 100%; transition: none; }
  .steps-flow.in .num::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.2rem; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .layout, .contact-grid { grid-template-columns: 1fr; }
  aside.side { position: static; }
  footer.site .cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* header */
  header.site .container { height: 62px; }
  .logo-mark, .logo-mark svg { width: 34px; height: 34px; }
  .logo-text b { font-size: 1.05rem; }
  .logo-text i { font-size: .45rem; }
  nav.main {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.1rem 0;
    gap: 1rem;
    box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; width: 38px; height: 38px; }
  .nav-cta { gap: .5rem; }
  .nav-cta .btn { padding: .5rem .85rem; font-size: .85rem; border-radius: 10px; }

  /* buttons sized for thumbs, not desktops */
  .btn { padding: .72rem 1.25rem; font-size: .95rem; }

  /* topbar */
  .topbar { font-size: .78rem; padding: .35rem 0; }
  .topbar .container { justify-content: center; text-align: center; row-gap: .1rem; }

  /* hero */
  .hero { padding: 3rem 0 3.5rem; }
  h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .hero p.lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: .7rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-points { gap: .8rem 1.2rem; font-size: .85rem; margin-top: 1.6rem; }
  .hero-card { padding: 1.3rem; }
  .hero-badge { font-size: .78rem; padding: .35rem .85rem; }

  /* sections & cards */
  section.block { padding: 2.6rem 0; }
  .section-head { margin-bottom: 1.8rem; }
  .steps-track { display: none; }
  .chip3d { width: 96px; height: 96px; margin-bottom: 1rem; }
  .chip3d svg { width: 96px; height: 96px; }
  .o3 { display: none; }
  .card { padding: 1.4rem; }
  .grid { gap: 1rem; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .step .num { width: 38px; height: 38px; }
  .stat-panel { grid-template-columns: 1fr 1fr; padding: 1.6rem; gap: 1.3rem; border-radius: 18px; }
  .stat-panel .stat b { font-size: 1.7rem; }
  .cta-band { padding: 2rem 1.2rem; border-radius: 18px; }
  .page-hero { padding: 2.5rem 0; }
  .area-links { gap: .5rem; }
  .area-links a { padding: .5rem 1rem; font-size: .88rem; }
  .side-card { padding: 1.2rem; }
  .faq details { padding: .9rem 1.1rem; }

  /* contact */
  form.contact { padding: 1.4rem; border-radius: 16px; }
  .contact-info .ic { width: 38px; height: 38px; }

  /* footer */
  footer.site { padding: 2.8rem 0 1.6rem; }
  footer.site .cols { gap: 1.8rem; padding-bottom: 1.8rem; }
}

@media (max-width: 560px) {
  .topbar .container > div:first-child { display: none; } /* hide announcement, keep hours + phone */
  footer.site .cols { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .container { width: 91%; }
}

@media (max-width: 420px) {
  .logo-text i { display: none; }
  .logo-text b { font-size: 1.1rem; }
  .nav-cta .btn { padding: .45rem .7rem; font-size: .8rem; }
}
