/* Estro — public website (estro.et). Light and clinical, in the logo's blue with orange accents. */
:root {
  --ink: #0f2240;
  --ink-2: #2f4361;
  --muted: #5b6b82;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #edf3fd;
  --line: #dfe7f2;
  --brand: #1f5fbf;
  --brand-700: #173f8f;
  --brand-50: #e8f0fc;
  --blue: #2b6fd6;
  --blue-50: #e9f0fc;
  --accent: #f07a33;
  --radius: 22px;
  --max: 1200px;
  --shadow: 0 18px 50px -24px rgba(15, 42, 55, 0.28);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 42, 55, 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo img { height: 36px; width: auto; }
.logo .mark { width: 44px; height: 44px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(31, 95, 191, 0.75); }
.btn-primary:hover { background: var(--brand-700); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 56px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, rgba(31, 95, 191, 0.12), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: 13px; }
.pill i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-size: 13px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.22em; background: rgba(240, 122, 51, 0.35); border-radius: 4px; z-index: -1; transform-origin: left; animation: underline 1.1s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero .lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand); }

.hero-visual { position: relative; aspect-ratio: 5 / 5.2; }
.slides { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slide.active.has-img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slide-caption { position: absolute; left: 22px; bottom: 20px; right: 22px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(8px); transition: opacity 0.8s 0.5s, transform 0.8s 0.5s; z-index: 2; }
.slide.active .slide-caption { opacity: 1; transform: none; }
.slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 40, 46, 0.55)); z-index: 1; pointer-events: none; }
.dots { position: absolute; right: 20px; top: 20px; display: flex; gap: 6px; z-index: 3; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: width 0.3s, background 0.3s; }
.dots button.active { width: 26px; background: #fff; }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 40px -18px rgba(15, 42, 55, 0.45); font-size: 14px; font-weight: 700; animation: bob 6s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.float-card .ic.blue { background: var(--blue-50); color: var(--blue); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-a { left: -28px; top: 18%; }
.float-b { right: -22px; bottom: 16%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Placeholder art shown until a real photo is dropped into images/ */
.ph { background-color: #dbe8fb; background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 40%), radial-gradient(circle at 80% 70%, rgba(43, 111, 214, 0.18), transparent 45%), linear-gradient(135deg, #d6e6fb, #e8f3fd); }
.ph-1 { background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.75), transparent 40%), radial-gradient(circle at 75% 75%, rgba(31, 95, 191, 0.3), transparent 50%), linear-gradient(135deg, #c9ddf8, #e6f1fc); }
.ph-2 { background-image: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.75), transparent 40%), radial-gradient(circle at 25% 80%, rgba(43, 111, 214, 0.28), transparent 50%), linear-gradient(135deg, #dbe8fb, #d9e8fb); }
.ph-3 { background-image: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.75), transparent 40%), radial-gradient(circle at 80% 80%, rgba(240, 122, 51, 0.25), transparent 50%), linear-gradient(135deg, #e6effc, #fdebdc); }
.ph-art { position: absolute; inset: 0; display: grid; place-items: center; }
.ph-art svg { width: 42%; height: auto; opacity: 0.55; color: var(--brand-700); }
.has-img .ph-art { display: none; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 100px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; transition: transform 0.35s; }
.feature:hover .ic { transform: rotate(-6deg) scale(1.06); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; color: #fff; isolation: isolate; }
.mv-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mv-card:hover .bg { transform: scale(1.05); }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 34, 80, 0.05) 20%, rgba(15, 34, 80, 0.86)); }
.mv-card.vision::before { background: linear-gradient(180deg, rgba(150, 62, 16, 0.05) 20%, rgba(150, 62, 16, 0.86)); }
.mv-card .tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.mv-card h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.value { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.value b { display: block; font-size: 16px; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fbf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 10px); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; overflow: hidden; }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cat-top { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.cat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; background: var(--brand); }
.cat .ic svg { width: 24px; height: 24px; }
.cat h3 { font-size: 18px; }
.cat p { color: var(--muted); font-size: 15px; }
.cat .examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.cat .examples span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.cat .rx { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 8px; background: var(--blue-50); color: var(--blue); }

.cta-band { position: relative; border-radius: 32px; padding: 56px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #173f8f, #1f5fbf 50%, #3d8be0); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); z-index: -1; animation: bob 9s ease-in-out infinite; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.cta-band p { opacity: 0.9; font-size: 17px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg-tint), #fff); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 10px 0 14px; }
.page-hero p { font-size: 18px; color: var(--ink-2); max-width: 680px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search { position: relative; }
.search input { width: 280px; max-width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: 15px; background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.notice { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--blue-50); color: #173f7a; margin-top: 36px; flex-wrap: wrap; }
.notice p { flex: 1 1 320px; }
.notice svg { width: 26px; height: 26px; flex: none; color: var(--blue); }

/* ── Team directory ─────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform 0.35s, box-shadow 0.35s; display: flex; flex-direction: column; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person .photo { position: relative; aspect-ratio: 1 / 1; background-size: cover; background-position: center top; display: grid; place-items: center; }
.person .initials { font-size: 44px; font-weight: 800; color: var(--brand-700); opacity: 0.85; }
.person.has-img .initials { display: none; }
.person .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.person h3 { font-size: 17px; }
.person .role { color: var(--brand-700); font-weight: 700; font-size: 14px; }
.person .dept { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.person .links { display: flex; flex-direction: column; gap: 4px; margin-top: auto; font-size: 14px; }
.person .links a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.person .links a:hover { color: var(--brand-700); }
.person .links svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.sample { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.9); color: #9a6200; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-card { border-radius: 28px; padding: 34px; background: linear-gradient(160deg, #1f5fbf, #173f8f); color: #fff; display: flex; flex-direction: column; gap: 22px; }
.contact-card h3 { font-size: 26px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; opacity: 0.75; font-size: 13px; font-weight: 600; }
.contact-item a { text-decoration: none; font-weight: 700; }
.map { border-radius: 20px; overflow: hidden; min-height: 200px; flex: 1; border: 0; width: 100%; filter: saturate(0.85); }
.form { border-radius: 28px; padding: 34px; border: 1px solid var(--line); background: #fff; display: grid; gap: 14px; align-content: start; }
.form h3 { font-size: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #0f2250; color: #c7d6dc; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #8fa6af; }

/* ── Motion ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-zoom { transform: scale(0.96); }
html.no-js .reveal { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .features, .values { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .mv, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 10px auto 0; aspect-ratio: 5 / 4.4; }
  .float-a { left: 10px; top: 10px; }
  .float-b { right: 10px; bottom: 60px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .main-nav { position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 12px 14px; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn-login-text { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .features, .values, .cat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person .body { padding: 14px; }
  .person .links { font-size: 13px; }
  .form .row { grid-template-columns: 1fr; }
  .form, .contact-card { padding: 26px 22px; }
  .mv-card { min-height: 340px; padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .search input { width: 100%; }
  .search { flex: 1 1 100%; }
  .float-card { font-size: 13px; padding: 10px 12px; }
  .float-card .ic { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
