/* ============================================================
   Digital Techno Lab — Design System
   Bright · Clean · Playful · Approachable
   Primary #145CFF · Accent #20C9C3
   ============================================================ */

:root {
  --primary: #145CFF;
  --primary-600: #0D45CC;
  --primary-700: #0A36A0;
  --accent: #20C9C3;
  --accent-600: #17A9A4;

  --ink: #131A2A;
  --body: #4A5468;
  --muted: #7A8498;
  --faint: #9AA4B5;

  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --bg-tint: #F2F6FF;

  --primary-soft: #EBF1FF;
  --accent-soft: #E4FAF7;

  --border: #E6EAF2;
  --border-strong: #D5DCEA;

  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(19,26,42,.05), 0 4px 14px rgba(19,26,42,.05);
  --shadow-md: 0 2px 6px rgba(19,26,42,.05), 0 14px 40px rgba(19,26,42,.09);
  --shadow-lg: 0 30px 70px -18px rgba(13,69,204,.28);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1160px;
  --header-h: 74px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
ul, ol { list-style: none; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head--left .eyebrow::before { display: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; font-weight: 800; letter-spacing: -0.02em; text-wrap: pretty; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.section-head p { font-size: 1.08rem; color: var(--muted); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15.5px; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease,
              background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { flex: 0 0 auto; }

.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(20,92,255,.45);
}
.btn--primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(20,92,255,.5); }

.btn--accent { background: var(--accent); color: #043A37; }
.btn--accent:hover { background: var(--accent-600); color: #043A37; transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { opacity: .86; color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 17px 32px; font-size: 16.5px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn .arrow { transition: transform .22s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(19,26,42,.06); }
.header.hidden { transform: translateY(-100%); }

.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 14px; font-size: 15px; font-weight: 550; color: var(--ink);
  border-radius: var(--radius-pill); transition: color .2s ease, background .2s ease;
}
.nav a::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transition: width .3s ease; transform: translateX(-50%);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 40%; }
.nav a.active { color: var(--primary); }
.nav a.active::after { width: 40%; }

.header__cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px;
  transition: transform .4s cubic-bezier(.68,-.55,.27,1.55), opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: #fff; padding: 12px 24px 28px; overflow: hidden;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 15px 4px; font-size: 17px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .btn {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 9px;
  width: auto;
  margin-top: 20px;
  padding: 16px 30px;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--bg-tint);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.84) 27%,
    rgba(255,255,255,.42) 54%,
    rgba(255,255,255,0) 76%);
}
.hero__content { position: relative; z-index: 2; }
.hero__text { max-width: 580px; padding: 84px 0; }

.hero--page { min-height: 720px; }
.hero--page .hero__text { max-width: 780px; padding: 84px 0; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--body); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(32,201,195,.5);} 50% { box-shadow: 0 0 0 6px rgba(32,201,195,0);} }

.hero h1 { margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(92deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: 1.16rem; color: var(--body); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 13.5px; color: var(--body); display: flex; align-items: center; gap: 7px; }
.hero__note svg { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.stat__num { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat__num .counter { font-variant-numeric: tabular-nums; }
.stat__num .plus { color: var(--primary); }
.stat__label { margin-top: 10px; font-size: 14.5px; color: var(--muted); font-weight: 550; }

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

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px; transition: transform .35s ease;
}
.card:hover .card__icon { transform: scale(1.1) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; }
.icon--blue { background: var(--primary-soft); color: var(--primary); }
.icon--teal { background: var(--accent-soft); color: var(--accent-600); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Service list ---------- */
.service-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.service-row__num {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: var(--primary); background: var(--primary-soft);
}
.service-row--teal .service-row__num { color: var(--accent-600); background: var(--accent-soft); }
.service-row h3 { margin-bottom: 8px; }
.service-row p { font-size: 15px; color: var(--muted); }

/* ---------- Approach / steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(20,92,255,.5);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Portfolio ---------- */
.work-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-card__media { position: relative; overflow: hidden; background: var(--bg-soft); }
.work-card__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 22px 24px 24px; }
.work-card__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 8px; }
.work-card h3 { margin-bottom: 8px; }
.work-card p { font-size: 14.5px; color: var(--muted); }
.work-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 14px; font-weight: 650; color: var(--primary);
}
.work-link:hover { color: var(--primary-600); }
.work-link svg { transition: transform .2s ease; }
.work-link:hover svg { transform: translate(2px,-2px); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item.open { border-color: var(--primary-soft); box-shadow: var(--shadow-sm); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 16.5px; font-weight: 650; color: var(--ink); text-align: left;
}
.faq-item__q .chev { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); transition: transform .35s ease, background .3s ease, color .3s ease; }
.faq-item.open .chev { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item__a p { padding: 0 24px 22px; font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 68px 48px; text-align: center; color: #fff; background: linear-gradient(120deg, var(--primary-700) 0%, var(--primary) 48%, #1f9fe0 100%); }
.cta::before {
  content: ""; position: absolute; top: -60%; left: -30%; width: 90%; height: 200%;
  background: radial-gradient(circle at center, rgba(32,201,195,.35), transparent 62%);
  animation: ctaGlow 9s ease-in-out infinite; pointer-events: none;
}
@keyframes ctaGlow { 0%,100% { transform: translate(0,0) rotate(0deg);} 33% { transform: translate(40px,-30px) rotate(40deg);} 66% { transform: translate(-30px,20px) rotate(-30deg);} }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .btn { position: relative; z-index: 1; }
.cta .btn--light { background: #fff; color: var(--primary-700); }
.cta .btn--light:hover { color: var(--primary-700); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(0,0,0,.3); }

/* ---------- Footer ---------- */
.footer { background: #0E1424; color: #A7B1C6; padding: 72px 0 32px; }
.footer a { color: #A7B1C6; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: 14.5px; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: #6E7890; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background:
  radial-gradient(900px 420px at 90% -20%, var(--primary-soft) 0%, transparent 60%),
  radial-gradient(700px 400px at 4% 120%, var(--accent-soft) 0%, transparent 55%),
  var(--bg); text-align: center; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { max-width: 660px; margin: 0 auto; font-size: 1.13rem; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity .75s ease, transform .75s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity .75s ease, transform .75s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s ease, transform .7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.stagger.visible > *:nth-child(6) { transition-delay: .40s; }
.stagger.visible > *:nth-child(7) { transition-delay: .48s; }
.stagger.visible > *:nth-child(8) { transition-delay: .56s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; position: relative; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 26px;
  font-size: 1.05rem; font-weight: 700; color: var(--faint); white-space: nowrap;
}
.marquee__item .sep { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-grid ul { margin-top: 20px; display: grid; gap: 12px; }
.about-grid ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--body); }
.about-grid ul li svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent-600); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--primary-soft); color: var(--primary); }
.contact-card__icon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); }
.contact-card a:hover { color: var(--primary); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--bg-soft); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8498' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,92,255,.15); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 520px; }
  .hero__text { max-width: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .cta { padding: 52px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero { flex-direction: column; min-height: auto; align-items: stretch; }
  .hero__bg { position: relative; inset: auto; order: 2; width: 100%; }
  .hero__bg img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
  .hero__bg::after { display: none; }
  .hero__content { order: 1; }
  .hero__text { padding: 52px 0 30px; max-width: 100%; }
  .hero--page { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
