/* ==========================================================================
   Wynvera — main stylesheet
   ========================================================================== */

/* Self-hosted fonts (latin subset): no requests to third-party font servers. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

:root {
  --brand: #5271ff;
  --brand-600: #3f5cf0;
  --brand-700: #2f47cc;
  --brand-tint: #ccd4ff;
  --brand-soft: #eef1ff;
  --ink: #131313;
  --ink-2: #2a2d3a;
  --muted: #5f6475;
  --line: #e4e7f1;
  --bg: #ffffff;
  --bg-soft: #f6f8ff;
  --dark: #0f1220;
  --dark-2: #171b2e;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(19, 23, 50, .06);
  --shadow: 0 18px 40px -18px rgba(33, 48, 140, .25);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; color: #fff; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.text-brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .9em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(82, 113, 255, .8); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: .6em 1.2em; font-size: .92rem; }

/* ---------- Header ---------- */
.site-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 .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { height: 30px; width: auto; }
.brand-word {
  font-family: var(--font-head); font-weight: 700; font-size: 1.85rem;
  letter-spacing: -0.03em; line-height: 1; transform: translateY(1px);
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  font-family: var(--font-head); font-weight: 500; font-size: .97rem;
  color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-links .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-flush-bottom { padding-bottom: 0; }
.split-top { align-items: start; }
.btn-spaced { margin-top: 32px; }
.section-dark { background: var(--dark); color: #c6cbe0; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 60%, var(--brand-tint) 60%);
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-dark .section-head p { color: #a9b0cc; }

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(82, 113, 255, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(204, 212, 255, .45), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .text-brand { position: relative; white-space: nowrap; }
.hero .lead { max-width: 560px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding: 0; list-style: none; }
.hero-tags li {
  font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-art .art-mark { position: absolute; inset: 20% 4% auto 4%; width: 92%; animation: floaty 7s ease-in-out infinite; }
.hero-art .art-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed var(--brand-tint);
  animation: spin 60s linear infinite;
}
.hero-art .art-ring.inner { inset: 14%; border-style: solid; border-color: var(--brand-soft); animation: none; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 16px 10px 10px; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.chip .chip-icon {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.chip .chip-icon svg { width: 20px; height: 20px; }
.chip-1 { top: 6%; left: -2%; animation-delay: -1s; }
.chip-2 { top: 44%; right: -4%; animation-delay: -3s; }
.chip-3 { bottom: 6%; left: 8%; animation-delay: -2s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  background: var(--dark); color: #b8bfdc;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--dark) 25%, rgba(15, 18, 32, .78) 60%, rgba(15, 18, 32, .55));
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 460px; height: 290px; z-index: 1;
  transform: translateY(-50%);
  background: url("../img/logo-mark.svg") no-repeat center / contain;
  opacity: .16; pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.5rem); max-width: 760px; }
.page-hero p { max-width: 620px; font-size: 1.15rem; margin: 0; }
.page-hero .container { position: relative; z-index: 2; }

.breadcrumb { display: flex; gap: 8px; font-size: .9rem; margin-bottom: 18px; padding: 0; list-style: none; }
.breadcrumb a { color: var(--brand-tint); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5d6587; }

/* ---------- Cards / grids ---------- */
.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 {
  --card-pad: 32px;
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--card-pad); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-media {
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 0;
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--brand-soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media + .icon-box {
  position: relative; margin-top: -28px; background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
  transition: background-color .25s ease, color .25s ease;
}
.icon-box svg { width: 28px; height: 28px; }
.card:hover .icon-box { background: var(--brand); color: #fff; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card-link:hover svg { transform: translateX(4px); }

.card-cta {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #dfe4ff; border: 0; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: #dfe4ff; }
.card-cta .btn { align-self: flex-start; margin-top: 24px; }
.card-cta::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  border-radius: 50%; border: 36px solid rgba(255, 255, 255, .1);
}

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 13px;
}

.stat-stack { position: relative; z-index: 1; display: grid; gap: 16px; max-width: 280px; }

.photo-panel { position: relative; isolation: isolate; margin: 0 24px 24px 0; }
.photo-panel::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--brand-soft);
}
.photo-panel .photo {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.photo-panel .stat-stack { position: absolute; left: -32px; bottom: 32px; gap: 12px; }
.photo-panel .photo-mark { position: absolute; right: -14px; top: -22px; width: 110px; }

.side-photo { margin-top: 32px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.stat-pill {
  background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.stat-pill strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.stat-pill span { font-size: .88rem; color: var(--muted); }
.stat-pill .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.stat-pill .icon-box svg { width: 22px; height: 22px; }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #252a44; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--brand); background: rgba(82, 113, 255, .14); padding: 4px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.step p { margin: 0; color: #a9b0cc; font-size: 1rem; }

/* ---------- Value / values ---------- */
.value { padding: 28px 0; border-top: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 12px; }
.value h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.value p { color: var(--muted); margin: 0; }

/* ---------- Service detail rows ---------- */
.service-row { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-row:last-of-type { border-bottom: 0; }
.service-row:nth-of-type(even) .split > :first-child { order: 2; }
.service-num { font-family: var(--font-head); font-weight: 700; color: var(--brand-tint); font-size: 1rem; letter-spacing: .1em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.tag-list li {
  font-size: .88rem; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-700);
}

.service-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-soft); box-shadow: var(--shadow);
}
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(15, 18, 32, .45));
}
.sv-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 1;
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(82, 113, 255, .9);
}
.sv-badge svg { width: 30px; height: 30px; }

.service-index { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-index a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  transition: all .2s ease;
}
.service-index a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px);
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #e3e8ff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 560px; }
.cta-band::before {
  content: ""; position: absolute; right: 22%; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 44px solid rgba(255, 255, 255, .08);
}
.cta-band > * { position: relative; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-item .icon-box { margin: 0; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; }
.info-item .icon-box svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin: 0 0 4px; }
.info-item p, .info-item a { margin: 0; color: var(--muted); font-size: 1rem; }
.info-item a:hover { color: var(--brand); }

.form-title { font-size: 1.75rem; }
.form-intro { color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(82, 113, 255, .14);
}
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-700); font-weight: 500; }
.form-status[hidden] { display: none; }

.map-embed {
  margin-top: 16px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.map-embed iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a3aac6; padding: 80px 0 32px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #a3aac6; }
.site-footer a:hover { color: #fff; }
.footer-about p { max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--dark-2); border: 1px solid #252a44; color: #c6cbe0; transition: all .2s ease;
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; color: var(--brand); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #222740;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

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

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 16px 24px 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .nav-links .btn { margin: 10px 0 0; }

  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-row:nth-of-type(even) .split > :first-child { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .page-hero::after { width: 300px; height: 190px; right: -80px; opacity: .1; }
  .page-hero::before { background: rgba(15, 18, 32, .8); }
  .photo-panel .stat-stack { left: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .card { --card-pad: 26px; }
  .photo-panel { margin: 0 12px 12px 0; }
  .photo-panel::before { inset: 12px -12px -12px 12px; }
  .photo-panel .photo { aspect-ratio: 4 / 5; }
  .photo-panel .stat-stack { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .photo-panel .stat-pill { padding: 12px 14px; }
  .photo-panel .photo-mark { width: 80px; right: -6px; top: -16px; }
  .chip { font-size: .8rem; padding: 8px 12px 8px 8px; }
  .chip .chip-icon { width: 30px; height: 30px; }
  .chip-2 { right: 0; }
  .hero h1 .text-brand { white-space: normal; }
  .brand-word { font-size: 1.6rem; }
  .brand-mark { height: 26px; }
}
