/* =========================================================
   Aligned Events — Design System
   Brand: navy / cyan / green (soundwave logo)
   ========================================================= */

:root {
  --navy: #16244a;
  --navy-900: #0f1a36;
  --navy-700: #23335c;
  --blue: #4fb0e0;
  --blue-dark: #2f93c8;
  --green: #86c33f;
  --green-dark: #6ba82e;
  --teal: #35707f;
  --ink: #1d2433;
  --slate: #56617a;
  --mist: #697590;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef4fb;
  --white: #ffffff;
  --grad: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  --grad-diag: linear-gradient(135deg, #16244a 0%, #234a6e 55%, #2f93c8 100%);
  --shadow-sm: 0 2px 10px rgba(22, 36, 74, .06);
  --shadow: 0 18px 40px -18px rgba(22, 36, 74, .28);
  --shadow-lg: 0 40px 80px -30px rgba(22, 36, 74, .45);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.16, .84, .44, 1);
  --container: 1200px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: 1400px; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #dbe4f2; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2.title { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 62ch; }
.section-head { max-width: 720px; margin: 0 auto 60px; }
.section-head.left { margin-left: 0; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 100px; transition: all .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn-primary { background: var(--grad); color: var(--navy); font-weight: 600; box-shadow: 0 12px 26px -10px rgba(79, 176, 224, .7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -12px rgba(79, 176, 224, .8); }
/* Keep gradient-button text navy even when the button is an <a> inside nav/footer (which set their own link colours) */
a.btn-primary,
.nav-menu a.btn-primary, .nav-menu a.btn-primary:hover,
.footer-col a.btn-primary, .footer-col a.btn-primary:hover,
.footer-contact a.btn-primary, .footer-contact a.btn-primary:hover,
.site-header.scrolled .nav-menu a.btn-primary,
.site-header.solid .nav-menu a.btn-primary { color: var(--navy); }
.nav-menu a.btn-primary::after { display: none; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; transition: opacity .3s; }
.brand .logo-white { display: block; }
.brand .logo-color { display: none; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: #fff; padding: 10px 16px; border-radius: 100px; position: relative;
  transition: color .3s, background .3s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
/* the in-menu CTA button is only for the mobile slide-out; desktop uses .nav-cta */
.nav-menu > a.btn { display: none; }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 12px 24px; }
.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 1100; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s, background .3s;
}
.hamburger span { top: 22px; }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

/* scrolled state */
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(22,36,74,.4); padding: 14px 0; }
.site-header.scrolled .brand .logo-white { display: none; }
.site-header.scrolled .brand .logo-color { display: block; }
.site-header.scrolled .nav-menu a { color: var(--navy); }
.site-header.scrolled .hamburger span,
.site-header.scrolled .hamburger span::before,
.site-header.scrolled .hamburger span::after { background: var(--navy); }

/* pages that start with light header (no dark hero) */
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(22,36,74,.35); }
.site-header.solid .brand .logo-white { display: none; }
.site-header.solid .brand .logo-color { display: block; }
.site-header.solid .nav-menu a { color: var(--navy); }
.site-header.solid .hamburger span,
.site-header.solid .hamburger span::before,
.site-header.solid .hamburger span::after { background: var(--navy); }

/* mobile menu open */
body.menu-open { overflow: hidden; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translateY(7px) rotate(45deg); background: var(--navy); }
.hamburger.open span::after { transform: translateY(-7px) rotate(-45deg); background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,26,54,.72) 0%, rgba(15,26,54,.55) 45%, rgba(15,26,54,.82) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 60px; }
.hero-content { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .rotator { display: inline-block; position: relative; min-height: 1.15em; }
.hero .rotator .word {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: absolute; left: 0; white-space: nowrap; opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero .rotator .word.in { opacity: 1; transform: translateY(0); position: relative; }
.hero .rotator .word.out { opacity: 0; transform: translateY(-18px); }
.hero p.lead { color: rgba(255,255,255,.9); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); transition: background .3s; }
.hero-dots button.active { background: var(--grad); }
.scroll-cue { position: absolute; bottom: 30px; right: 40px; z-index: 3; color: rgba(255,255,255,.8); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 46px; background: rgba(255,255,255,.5); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 90px; color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-diag); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-size: cover; background-position: center; }
.page-hero.has-img::after { opacity: .28; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #bfe6c9; }
.page-hero .eyebrow::before { background: var(--green); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 60ch; margin-top: 18px; font-size: 1.15rem; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; font-family: var(--font-head); }
.breadcrumbs a:hover { color: #fff; }

/* wave divider */
.wave-sep { display: block; width: 100%; height: auto; }

/* ---------- Intro / about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-copy p { color: var(--slate); margin-bottom: 18px; }
.about-copy p.big { font-size: 1.35rem; color: var(--ink); line-height: 1.5; font-family: var(--font-head); font-weight: 500; }
.stat-row { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--navy); line-height: 1; }
.stat .num small { font-size: 1.4rem; color: var(--blue); }
.stat .lbl { color: var(--mist); font-size: .92rem; margin-top: 6px; }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 520px; object-fit: cover; }
.about-visual .badge {
  position: absolute; left: -26px; bottom: 40px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 26px; display: flex; align-items: center; gap: 16px; max-width: 280px;
}
.about-visual .badge .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; }
.about-visual .badge .ic svg { width: 24px; height: 24px; color: #fff; }
.about-visual .badge b { font-family: var(--font-head); color: var(--navy); display: block; }
.about-visual .badge span { font-size: .85rem; color: var(--slate); }

/* ---------- Services / capabilities ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.svc-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
}
.svc-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .8s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,26,54,0) 30%, rgba(15,26,54,.9) 100%); }
.svc-card:hover .bg { transform: scale(1.08); }
.svc-card .inner { padding: 30px; width: 100%; }
.svc-card .ic { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); display: grid; place-items: center; margin-bottom: 16px; transition: background .4s; }
.svc-card .ic img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.svc-card:hover .ic { background: var(--grad); }
.svc-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.35rem; }
.svc-card p { color: rgba(255,255,255,.82); font-size: .98rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.svc-card:hover p { max-height: 120px; opacity: 1; }
.svc-card .tag { display: inline-block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #bfe6c9; margin-bottom: 10px; }

/* feature list (offset rows) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 40px; }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; }
.feature-copy .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 22px -10px rgba(79,176,224,.6); }
.feature-copy .ic img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.feature-copy h2, .feature-copy h3 { font-size: 1.9rem; margin-bottom: 14px; }
.feature-copy p { color: var(--slate); font-size: 1.08rem; }

/* ---------- Steps / approach ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step .no { font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--slate); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; color: #fff; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: var(--grad-diag); z-index: -2; }
.testimonials::after { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; z-index: -1; }
.testi-wrap { max-width: 860px; margin: 0 auto; text-align: center; }
.testi-quote { font-size: 3.4rem; line-height: 1; color: var(--green); font-family: Georgia, serif; margin-bottom: 4px; }
.testi-track { position: relative; min-height: 220px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.testi-slide.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.testi-slide p { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.15rem, 2.3vw, 1.6rem); line-height: 1.5; color: #fff; margin-bottom: 24px; }
.testi-slide .who { font-family: var(--font-head); font-weight: 600; color: #bfe6c9; letter-spacing: .02em; }
.testi-nav { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.testi-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; transition: all .3s; }
.testi-nav button:hover { background: #fff; color: var(--navy); border-color: #fff; }
.testi-nav button svg { width: 20px; height: 20px; }

/* ---------- Clients strip ---------- */
.clients { text-align: center; }
.clients .lbl { font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-bottom: 34px; }
.client-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.client-logos img { height: 44px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.client-logos img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { background: var(--grad-diag); border-radius: var(--radius-lg); padding: 70px 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(134,195,63,.35), transparent 70%); }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); position: relative; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 16px auto 30px; position: relative; }
.cta-inner .btn { position: relative; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--blue-dark); line-height: 1; transition: transform .3s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 24px; }
.faq-item .faq-a p { color: var(--slate); margin: 0; }
.faq-item .faq-a a { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gallery-filters button {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; padding: 10px 22px; border-radius: 100px;
  color: var(--slate); border: 1.5px solid var(--line); transition: all .3s;
}
.gallery-filters button:hover { border-color: var(--blue); color: var(--blue-dark); }
.gallery-filters button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-grid .g-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-grid .g-item img { width: 100%; transition: transform .6s var(--ease); }
.gallery-grid .g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,26,54,.55)); opacity: 0; transition: opacity .4s; }
.gallery-grid .g-item .loc { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; z-index: 2; opacity: 0; transform: translateY(8px); transition: all .4s; }
.gallery-grid .g-item:hover img { transform: scale(1.06); }
.gallery-grid .g-item:hover::after { opacity: 1; }
.gallery-grid .g-item:hover .loc { opacity: 1; transform: translateY(0); }
.g-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(9,15,32,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--grad); }
.lb-prev { left: 26px; } .lb-next { right: 26px; }
.lb-close { position: absolute; top: 26px; right: 26px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-btn svg, .lb-close svg { width: 24px; height: 24px; }
.lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--font-head); font-size: .9rem; letter-spacing: .05em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info .info-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-card:last-child { border-bottom: none; }
.contact-info .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); display: grid; place-items: center; flex: none; }
.contact-info .ic svg { width: 24px; height: 24px; color: var(--blue-dark); }
.contact-info h3, .contact-info h4 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-info a, .contact-info p { color: var(--slate); }
.contact-info a:hover { color: var(--blue-dark); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); transition: border .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(79,176,224,.12); }
.form-note { font-size: .82rem; color: var(--mist); margin-top: 6px; }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: #eafaef; color: #2d7d46; border: 1px solid #b7e6c6; }
.form-status.err { background: #fdecec; color: #c0392b; border: 1px solid #f3c4c0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb0cc; padding: 80px 0 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }
.site-footer .brand img { height: 40px; margin-bottom: 20px; }
.site-footer .about { color: #8ea3c4; font-size: .96rem; max-width: 34ch; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a, .footer-col p { color: #9fb0cc; display: block; padding: 6px 0; transition: color .3s; font-size: .97rem; }
.footer-col a:hover { color: var(--blue); }
.footer-contact a { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
/* Reveal-on-scroll only applies when JS is active; without JS all content stays visible */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; } .js .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .about-visual img { height: 420px; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px); background: #fff; flex-direction: column;
    align-items: stretch; justify-content: flex-start; padding: 100px 28px 40px; gap: 4px;
    transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { color: var(--navy); font-size: 1.15rem; padding: 16px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu a::after { display: none; }
  .nav-menu > a.btn { display: inline-flex; margin-top: 18px; justify-content: center; }
  .site-header .nav-menu a { color: var(--navy); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 74px 0; }
  .container { padding-inline: 20px; }
  .stat-row { gap: 26px; }
  .cta-inner { padding: 44px 24px; }
  .form-card { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .about-visual .badge { left: 16px; right: 16px; max-width: none; }
  .testi-track { min-height: 300px; }
}
