/* ==========================================================
   ALGRIIM — Precision. Performance. Excellence.
   ========================================================== */
:root {
	--red: #e8141b;
	--red-dark: #c00f15;
	--blue: #0a5cff;
	--ink: #14111a;
	--ink-2: #1e1a24;
	--body: #5b5f6b;
	--line: #e7e8ee;
	--soft: #f5f6f9;
	--white: #fff;
	--radius: 18px;
	--shadow: 0 14px 40px rgba(20,17,26,.08);
	--shadow-lg: 0 24px 60px rgba(20,17,26,.16);
	--head: "Outfit", "Helvetica Neue", Arial, sans-serif;
	--font: "Inter", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, .h1 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Tags (slanted, from original brand style) ---------- */
.tag { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; color: #fff; background: var(--red); padding: 6px 18px 6px 14px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); margin-bottom: 18px; }
.tag-light { background: var(--red); }
.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 15.5px; padding: 14px 28px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(232,20,27,.28); }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { position: relative; display: block; }
.brand img { height: 44px; width: auto; transition: opacity .3s; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #fff; font-family: var(--head); font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: 14.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s, background .3s; }
.site-header.solid { background: rgba(255,255,255,.97); box-shadow: 0 6px 30px rgba(20,17,26,.08); backdrop-filter: blur(8px); }
.site-header.solid .logo-light { opacity: 0; }
.site-header.solid .logo-dark { opacity: 1; }
.site-header.solid .main-nav a { color: var(--ink); }
.site-header.solid .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 960px; background: #000; overflow: hidden; color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,14,.92) 0%, rgba(10,8,14,.7) 42%, rgba(10,8,14,.15) 100%), linear-gradient(0deg, rgba(10,8,14,.75) 0%, transparent 40%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.slide-content > * { max-width: 680px; align-self: flex-start; opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .45s; }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; border-left: 4px solid var(--red); padding-left: 22px; margin-bottom: 22px; }
.hero h1 span, .hero .h1 span { display: block; color: #fff; }
.hero p { font-size: 17.5px; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 42px; z-index: 5; display: flex; align-items: center; gap: 30px; }
.counter { font-family: var(--head); display: flex; align-items: baseline; gap: 6px; }
.counter strong { font-size: 44px; font-weight: 700; line-height: 1; }
.counter span { font-size: 17px; opacity: .7; }
.progress { flex: 1; height: 3px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; max-width: 380px; }
.progress span { display: block; height: 100%; width: 0; background: var(--red); }
.progress span.run { animation: prog var(--dur, 6s) linear forwards; }
@keyframes prog { to { width: 100%; } }
.thumbs { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.thumbs .prev, .thumbs .next { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.thumbs .prev:hover, .thumbs .next:hover { background: var(--red); border-color: var(--red); }
.thumbs .prev svg, .thumbs .next svg { width: 20px; height: 20px; }
.thumb { width: 64px; height: 64px; border-radius: 50%; padding: 3px; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color .3s, transform .3s; }
.thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.4) brightness(.8); transition: filter .3s; }
.thumb.is-active { border-color: var(--red); transform: scale(1.12); }
.thumb.is-active img, .thumb:hover img { filter: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 120px; z-index: 5; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-top: 3px solid var(--red); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 600; font-size: 20px; white-space: nowrap; letter-spacing: .01em; }
.marquee i { width: 14px; height: 14px; flex: 0 0 14px; background: var(--blue); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); }
.marquee i:nth-of-type(even) { background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.bg-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head p { font-size: 16px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.75); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; height: 560px; }
.about-media img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.am-1 { left: 0; top: 70px; width: 46%; height: 380px; }
.am-2 { right: 0; top: 0; width: 56%; height: 520px; }
.am-badge { position: absolute; left: 22%; bottom: 0; background: var(--red); color: #fff; border-radius: 16px; padding: 20px 26px; box-shadow: 0 18px 40px rgba(232,20,27,.35); z-index: 2; }
.am-badge strong { display: block; font-family: var(--head); font-size: 30px; line-height: 1; }
.am-badge span { font-size: 14px; opacity: .9; }
.am-deco { position: absolute; left: -26px; top: 0; width: 90px; height: 90px; color: var(--blue); opacity: .9; }
.about-copy h2 { font-size: clamp(32px, 4vw, 46px); border-left: 4px solid var(--red); padding-left: 18px; }
.lead { font-size: 18.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.pillars { display: grid; gap: 18px; margin-top: 30px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.pillar:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(6px); }
.pillar-ic { flex: 0 0 50px; height: 50px; border-radius: 12px; background: rgba(10,92,255,.08); color: var(--blue); display: grid; place-items: center; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar:nth-child(2) .pillar-ic { background: rgba(232,20,27,.08); color: var(--red); }
.pillar h3 { font-size: 19px; margin-bottom: 2px; }
.pillar p { margin: 0; font-size: 15px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-img { position: relative; height: 220px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,8,14,.55), transparent 55%); }
.svc-num { position: absolute; right: 18px; bottom: 10px; z-index: 1; font-family: var(--head); font-weight: 800; font-size: 46px; color: rgba(255,255,255,.9); line-height: 1; }
.svc-body { position: relative; padding: 42px 28px 30px; flex: 1; }
.svc-ic { position: absolute; top: -30px; left: 28px; width: 60px; height: 60px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(232,20,27,.35); }
.svc-card:nth-child(2) .svc-ic { background: var(--blue); box-shadow: 0 12px 26px rgba(10,92,255,.35); }
.svc-card:nth-child(3) .svc-ic { background: var(--ink); box-shadow: 0 12px 26px rgba(20,17,26,.3); }
.svc-ic svg { width: 28px; height: 28px; }
.svc-body h3 { font-size: 21px; }
.svc-body p { font-size: 15px; }
.svc-list { list-style: none; padding: 0; margin: 16px 0 0; }
.svc-list li { position: relative; padding-left: 26px; margin: 7px 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--red); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); }
.svc-note { font-size: 13px !important; font-style: italic; margin-top: 14px; color: #7a7e89; }

/* ---------- Reach graphic ---------- */
.reach { background: radial-gradient(1200px 500px at 80% 50%, #1a1640 0%, var(--ink) 60%); color: rgba(255,255,255,.8); padding: 100px 0; overflow: hidden; }
.reach-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.reach h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.reach h2 span { color: var(--red); }
.reach p { font-size: 17px; margin-bottom: 28px; }
.network { width: 100%; height: auto; stroke: none; }
.network text { stroke: none; }
.network .routes path { stroke: url(#none); stroke: rgba(255,255,255,.25); stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
.network .routes path:nth-child(odd) { stroke: rgba(10,92,255,.75); }
.network .routes path:nth-child(even) { stroke: rgba(232,20,27,.7); }
@keyframes dash { to { stroke-dashoffset: -56; } }
.network .nodes circle { fill: #fff; stroke: var(--blue); stroke-width: 3; }
.network .pulse circle { fill: none; stroke: var(--red); stroke-width: 2; transform-origin: 190px 230px; animation: pulse 2.6s ease-out infinite; }
.network .pulse circle:nth-child(2) { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }
.network .labels text { opacity: .85; }

/* ---------- Approach steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.step:hover .step-num { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; }

/* ---------- Testimonials ---------- */
.insights { background: #000; }
.insights .tag { margin-bottom: 14px; }
.t-slider { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .7s cubic-bezier(.65,.05,.36,1); }
.t-card { flex: 0 0 calc((100% - 56px) / 3); margin: 0 28px 0 0; background: #fff; border-radius: var(--radius); padding: 40px 34px 34px; position: relative; display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.t-card:hover { transform: translateY(-6px); }
.t-quote { width: 44px; height: 44px; fill: var(--red); stroke: none; margin-bottom: 18px; }
.t-card blockquote { margin: 0 0 26px; font-size: 16px; color: var(--body); flex: 1; }
.t-card figcaption strong { display: block; font-family: var(--head); font-size: 18px; color: var(--ink); }
.t-card figcaption span { font-size: 14px; color: #8a8e99; }
.t-card figcaption { border-top: 1px solid var(--line); padding-top: 18px; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.t-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.t-nav button:hover { background: var(--red); border-color: var(--red); }
.t-nav button svg { width: 20px; height: 20px; }
.t-dots { display: flex; gap: 10px; }
.t-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.t-dots button.on { width: 30px; background: var(--red); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--head); font-weight: 600; font-size: 16.5px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .3s, background .3s, color .3s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq p { padding: 0 22px 20px; margin: 0; font-size: 15px; }
.faq[open] summary { color: var(--red); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--ink) 0%, #221a33 100%); color: rgba(255,255,255,.8); overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: var(--red); opacity: .12; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; position: relative; }
.contact h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); }
.contact-info { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-info li { display: flex; gap: 16px; margin-bottom: 22px; font-size: 15px; }
.contact-info strong { display: block; color: #fff; font-family: var(--head); font-size: 16.5px; }
.ci-ic { flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.ci-ic svg { width: 22px; height: 22px; }
.contact-form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 10px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: #7a7e89; margin: 0 0 18px; }
.hp-field { position: absolute; left: -9999px; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; font-size: 15px; }
.form-alert.ok { background: #e6f6ee; color: #12643a; }
.form-alert.err { background: #fdecec; color: #a12a2a; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(135deg, var(--red) 0%, #a80d12 100%); color: rgba(255,255,255,.88); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.f-brand img { height: 50px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.f-brand p { font-size: 14.5px; max-width: 420px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 14.5px; }
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); padding: 22px 0; text-align: center; font-size: 14px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.marquee-track, .network .routes path, .network .pulse circle { animation: none; }
	.slide-bg { transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.main-nav ul { gap: 22px; }
	.header-cta .btn { display: none; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.t-card { flex-basis: calc((100% - 28px) / 2); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
	.section { padding: 80px 0; }
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 84px; left: 0; right: 0; background: #fff; box-shadow: 0 16px 30px rgba(20,17,26,.12); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
	.nav-open .main-nav { max-height: 460px; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
	.main-nav a { display: block; padding: 13px 0; color: var(--ink) !important; border-bottom: 1px solid var(--line); }
	.main-nav a::after { display: none; }
	.nav-open .site-header { background: #fff; }
	.nav-open .site-header .logo-light { opacity: 0; }
	.nav-open .site-header .logo-dark { opacity: 1; }
	.nav-open .site-header .nav-toggle span { background: var(--ink); }
	.about-grid, .reach-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
	.about-media { height: 460px; }
	.am-2 { height: 430px; }
	.am-1 { height: 300px; }
	.steps { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
	.steps::before { display: none; }
	.faq-grid { grid-template-columns: 1fr; }
	.progress { display: none; }
}
@media (max-width: 640px) {
	.header-inner { height: 72px; }
	.brand img { height: 36px; }
	.main-nav { top: 72px; }
	.hero { min-height: 660px; }
	.slide-content { justify-content: flex-start; padding-top: 140px; }
	.hero p { font-size: 16px; }
	.hero-controls { bottom: 26px; gap: 14px; }
	.counter strong { font-size: 32px; }
	.thumb { width: 48px; height: 48px; }
	.thumbs { gap: 8px; }
	.thumbs .prev, .thumbs .next { width: 38px; height: 38px; }
	.services-grid, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
	.t-card { flex-basis: 100%; margin-right: 0; padding: 32px 24px 26px; }
	.about-media { height: 380px; }
	.am-2 { height: 350px; width: 60%; }
	.am-1 { height: 250px; width: 50%; top: 60px; }
	.am-badge { left: 8%; padding: 16px 20px; }
	.contact-form { padding: 28px 20px; }
	.am-deco { display: none; }
	.marquee span { font-size: 17px; }
}
