/* desktop.css: layout for 1024px and up ONLY. Loaded with media="(min-width:1024px)".
   Calm, compact, story layout (RULES.md §8): 1200 wrap, 8px scale, H1 56 / H2 40 / body 17,
   contained photos (never full-bleed), white pages with a few dark-blue bands. */
:root { --wrap: 1200px; --gutter: 24px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 80px; }
body { font-size: 17px; }
h1 { font-size: 60px; line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; }
h3 { font-size: 20px; }
.lead { font-size: 19px; }
.sec { min-height: 560px; padding: var(--s7) 0; display: grid; align-items: center; }
.sec-head { margin-bottom: var(--s4); max-width: 720px; }
.wrap { width: min(var(--wrap), 100% - 64px); }

/* Header */
.site-header .wrap { width: min(1400px, 100% - 64px); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4); height: 80px; }
.nav { display: flex; gap: 28px; justify-content: center; }
.header-cta { display: flex; align-items: center; gap: var(--s3); }
.burger, .round-call, .drawer, .drawer-overlay, .sticky-bar, .header-tools { display: none; }

/* Hero banner: 480px, text on 7 of 12 columns */
.hero { height: 640px; display: grid; align-items: center; }
.hero-body { gap: 20px; max-width: 860px; }

.hero p { font-size: 20px; max-width: 60ch; }
.hero-actions .btn { min-height: 52px; padding: 0 26px; }

/* Offer row: 4 columns */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }

/* Story: 7 columns text, 5 columns photo (max 400px tall), alternating sides */
.story { display: grid; grid-template-columns: 4fr 7fr; gap: var(--s6); align-items: center; }
.story.flip { grid-template-columns: 7fr 4fr; }
.story.flip .story-media { order: 2; }
.story-media { aspect-ratio: 4 / 3; max-height: 340px; }
.panel-list { grid-template-columns: 1fr 1fr; }
.ticks.two-col { grid-template-columns: 1fr 1fr; column-gap: var(--s3); }

/* Why: 4 across */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }

/* Gallery: 4 tiles, 220px; clients below */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: var(--gutter); }
.clients { margin-top: var(--s4); }

/* Reviews, FAQ, contact */
.reviews-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: var(--gutter); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.contact-side { display: grid; gap: var(--s4); }
.map { height: 260px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: var(--s5); padding: var(--s6) 0 var(--s5); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: var(--s3); }

/* Motion: stagger only */
.reveal { transition-duration: .7s; }
@media (max-width: 1279.98px) { h1 { font-size: 48px; } h2 { font-size: 36px; } .offer-grid, .why-grid { grid-template-columns: repeat(2, 1fr); } .story, .story.flip { grid-template-columns: 1fr 1fr; } }

/* Counters strip + CTA band: shorter than full sections */

.counters { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.cta-row { grid-template-columns: 1.4fr 1fr; }
.cta-actions { justify-content: flex-end; }

/* premium spacing */
.sec { padding: 96px 0; }
.sec-head { margin-bottom: 40px; }
.story { gap: 72px; }
.offer { padding: 28px; }
.why-grid li { padding: 28px; }

/* client logos */
.logo-track li { height: 62px; padding: 0 30px; }
.logo-track img { height: 52px; max-width: 150px; }
.clients-also { margin-top: 20px; }

/* short bands stay short (after the .sec padding rule, so this wins) */
.sec.counters-sec, .sec.cta-band { min-height: 0; padding: 52px 0; }

.sec.trust-strip { min-height: 0; padding: 40px 0 36px; }

#about-us .story { grid-template-columns: 6fr 5fr; }
#about-us .about-text { max-width: 58ch; }

.reviews-grid { grid-template-columns: 1fr 1.6fr; align-items: start; }
.slider-slide { padding-right: 2px; }

.hero p:not(.hero-line) { font-size: 18px; max-width: 64ch; }

/* hero headline: full size, left edge, two lines */
.hero h1 { font-size: 58px; }
.hero-accent { min-height: 1.05em; }
.hero-body { max-width: 1000px; }
.hero p:not(.hero-line) { max-width: 58ch; }

.hero p:not(.hero-line) { max-width: 60ch; }

.page-hero { padding: 92px 0 84px; }
.page-hero h1 { font-size: 52px; }
.page-hero p { font-size: 19px; }

.steps { grid-template-columns: repeat(4, 1fr); }
.areas { grid-template-columns: repeat(3, 1fr); }

.panel-cards { grid-template-columns: repeat(4, 1fr); }
.facts.center-facts { grid-template-columns: repeat(4, 1fr); }

.svc-cta { margin-top: 40px; }

/* tighter rhythm and one step smaller type (Aji, 9 Oct) */
body { font-size: 16px; }
h1 { font-size: 54px; }
h2 { font-size: 36px; }
h3 { font-size: 19px; }
.lead { font-size: 18px; }
.sec { min-height: 0; display: block; padding: 64px 0; }
.sec-head { margin-bottom: 32px; }
.story { gap: 56px; }
.story-media { max-height: 300px; }
.svc-cta { margin-top: 32px; }
.sec.counters-sec, .sec.cta-band { padding: 44px 0; }
.sec.trust-strip { padding: 34px 0 30px; }
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: 46px; }
.page-hero p { font-size: 18px; }
.hero { height: 600px; }
.hero h1 { font-size: 54px; }
.hero p:not(.hero-line) { font-size: 18px; }
.footer-grid { padding: 56px 0 40px; }

/* closer heading-to-text sizes (Aji, 9 Oct): less jump between a heading and the words under it */
h1 { font-size: 48px; }
h2 { font-size: 30px; max-width: 24ch; }
h3 { font-size: 18px; }
.lead { font-size: 18px; }
.hero h1 { font-size: 48px; }
.page-hero h1 { font-size: 40px; }
.sec-head { gap: 8px; }
.story-text h2 { max-width: 20ch; }

.sec-head.center { margin-inline: auto; }
.sec-head.center h2 { max-width: none; margin-inline: auto; }
