/* =========================================================
   Summy Enterprises — main stylesheet
   Palette taken from the Summy logo: red #CA1E26, dark #331819
   Mobile-first. Breakpoints: 576 / 768 / 992 / 1200px
   ========================================================= */

:root {
  --red: #ca1e26;
  --red-600: #a8161d;
  --red-50: #fdf2f2;
  --red-100: #f9dfe0;
  --ink: #331819;
  --text: #4a3a3b;
  --muted: #6a5a5b;
  --bg: #ffffff;
  --bg-soft: #faf6f5;
  --line: #eee4e3;
  --dark: #241314;
  --dark-2: #2f1a1b;
  --mds: #428fca;
  --mds-ink: #2a6ea3;
  --mds-soft: #eef5fb;
  --aar: #51372f;
  --aar-soft: #f6f0ec;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(51, 24, 25, .06);
  --shadow: 0 10px 30px rgba(51, 24, 25, .08);
  --shadow-lg: 0 24px 60px rgba(51, 24, 25, .14);
  --header-h: 72px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
ul { margin: 0; padding: 0; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 576px) { .container { padding: 0 24px; } }

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: .75em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(202, 30, 38, .28); }
.btn-primary:hover { background: var(--red-600); color: #fff; box-shadow: 0 12px 26px rgba(202, 30, 38, .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { color: var(--red-600); box-shadow: var(--shadow); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-wa { background: var(--wa); color: #0b3d1f; }
.btn-wa:hover { background: #1fbd5a; color: #0b3d1f; }
.btn-mds { background: var(--mds-ink); color: #fff; }
.btn-mds:hover { background: #215a87; color: #fff; }
.btn-aar { background: var(--aar); color: #fff; }
.btn-aar:hover { background: #3d2923; color: #fff; }
.btn-sm { min-height: 42px; padding: .55em 1.15em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
body.nav-open .site-header { z-index: 130; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.header-cta { display: none; }

/* Mobile slide-in nav (below 992px) */
.site-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  clip-path: inset(0 0 0 100%);
  transition: clip-path .35s var(--ease), visibility 0s linear .35s;
  visibility: hidden;
  z-index: 120;
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding: 16px 20px 28px;
}
body.nav-open .site-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease); }
body.nav-open .site-nav > * { animation: navIn .35s var(--ease) both; }
@keyframes navIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nav-head img { height: 40px; width: auto; }
.nav-close { border: 0; background: var(--bg-soft); border-radius: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-close svg { width: 22px; height: 22px; }

.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-item { display: flex; align-items: center; justify-content: space-between; }
.nav-link {
  display: block; flex: 1;
  padding: 14px 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--red); }
.dd-toggle {
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.dd-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dropdown { list-style: none; display: none; padding: 0 0 12px 8px; }
.has-dd.open .dropdown { display: block; }
.dropdown a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .95rem;
}
.dropdown a:hover { background: var(--red-50); color: var(--red); }
.nav-cta { margin-top: 20px; width: 100%; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(36, 19, 20, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; z-index: 110;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition: opacity .3s; }

@media (min-width: 992px) {
  :root { --header-h: 84px; }
  .site-header { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }
  .brand img { height: 54px; }
  .nav-toggle, .nav-head, .nav-close, .nav-cta, .nav-overlay { display: none; }
  body.nav-open .site-nav > * { animation: none; }
  .header-cta { display: inline-flex; }
  .site-nav {
    position: static; transform: none; clip-path: none; visibility: visible; width: auto;
    background: transparent; box-shadow: none; padding: 0; overflow: visible;
    flex-direction: row; margin-left: auto; transition: none;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { padding: 10px 12px; font-size: .96rem; border-radius: 10px; }
  .nav-link[aria-current="page"] { color: var(--red); }
  .nav-link[aria-current="page"]::after {
    content: ""; display: block; height: 2px; background: var(--red); border-radius: 2px; margin-top: 2px;
  }
  .dd-toggle { width: 28px; height: 36px; margin-left: -8px; }
  .dropdown {
    display: block;
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 270px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s;
  }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-dd:hover .dropdown, .has-dd.open .dropdown {
    opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease);
  }
  .has-dd:hover .dd-toggle svg { transform: rotate(180deg); }
  .header-cta { margin-left: 16px; }
}
@media (min-width: 1200px) { .nav-link { padding: 10px 16px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--red-50) 55%, #fff6ee 100%);
  padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 9vw, 120px);
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: float 14s ease-in-out infinite; }
.shape-1 { width: 380px; height: 380px; background: radial-gradient(circle at 30% 30%, #f7c3c5, transparent 70%); top: -120px; right: -80px; }
.shape-2 { width: 260px; height: 260px; background: radial-gradient(circle at 50% 50%, #ffd9b8, transparent 70%); bottom: -80px; left: -60px; animation-delay: -4s; animation-duration: 18s; }
.shape-3 { width: 120px; height: 120px; border: 2px solid rgba(202, 30, 38, .18); background: transparent; top: 22%; left: 46%; animation-delay: -8s; filter: none; }
.shape-4 { width: 18px; height: 18px; background: var(--red); opacity: .35; top: 70%; right: 12%; filter: none; animation-duration: 10s; }
.shape-5 { width: 60px; height: 60px; border-radius: 16px; background: transparent; border: 2px solid rgba(66, 143, 202, .25); bottom: 18%; left: 8%; filter: none; animation-duration: 16s; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(18px, -24px) rotate(8deg); }
  66% { transform: translate(-14px, 14px) rotate(-6deg); }
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--text); max-width: 600px; margin-bottom: 1.8em; }
.hero-visual { position: relative; display: none; }
.vcard-stack { display: grid; gap: 16px; }
.vmini {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.vmini:nth-child(2) { margin-left: 40px; animation-delay: -2s; }
.vmini:nth-child(3) { animation-delay: -4s; }
.vmini .vm-logo { width: 140px; height: 48px; display: flex; align-items: center; justify-content: center; flex: none; }
.vmini .vm-logo img { max-height: 44px; width: auto; }
.vmini .vm-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.vmini .vm-icon svg { width: 26px; height: 26px; }
.vmini strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.3; display: block; }
.vmini span { font-size: .85rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { display: block; }
}

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--red-50) 60%, #fff6ee 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 7vw, 80px);
  text-align: center;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 860px; margin-left: auto; margin-right: auto; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; color: var(--text); }

/* ---------- Intro ---------- */
.intro-statement {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.6; color: var(--ink);
}
.intro-statement strong { color: var(--red); font-weight: 600; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 576px) { .grid-2-sm { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3-md { grid-template-columns: repeat(3, 1fr); } .grid-2-md { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3-lg { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid-4-xl { grid-template-columns: repeat(4, 1fr); } .grid-5-xl { grid-template-columns: repeat(5, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-50); color: var(--red); margin-bottom: 18px;
  transition: background-color .25s, color .25s;
}
.icon-badge svg { width: 26px; height: 26px; }
.service-card:hover .icon-badge { background: var(--red); color: #fff; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-card .link-arrow { margin-top: auto; padding-top: 18px; color: var(--red); font-size: .92rem; }
.service-card:hover { border-color: var(--red-100); color: inherit; }

/* Verticals */
.vertical-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.vertical-top {
  height: 150px; display: flex; align-items: center; justify-content: center;
  padding: 24px; border-bottom: 1px solid var(--line);
}
.vertical-top img { max-height: 84px; width: auto; max-width: 88%; }
.vertical-top.v-digital { background: linear-gradient(135deg, var(--red) 0%, #8f141a 100%); color: #fff; }
.vertical-top.v-digital svg { width: 64px; height: 64px; }
.vertical-top.v-mds { background: var(--mds-soft); }
.vertical-top.v-aar { background: var(--aar-soft); }
.vertical-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.vertical-body .label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.v-digital-label { color: var(--red); }
.v-mds-label { color: var(--mds-ink); }
.v-aar-label { color: var(--aar); }
.vertical-body p { margin-bottom: 22px; }
.vertical-body .btn { margin-top: auto; align-self: flex-start; }

/* Why choose */
.why-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .why-grid { grid-template-columns: repeat(6, 1fr); } .why-grid > * { grid-column: span 2; } .why-grid > :nth-child(4) { grid-column: 2 / span 2; } }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .icon-badge { margin: 0; flex: none; width: 48px; height: 48px; border-radius: 14px; }
.why-item .icon-badge svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.08rem; margin-bottom: .3em; }

/* Highlights strip */
.highlights {
  background: linear-gradient(120deg, var(--red) 0%, #9c151c 100%);
  color: #fff; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden;
}
.highlights::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.06); right: -140px; top: -180px;
}
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; position: relative; z-index: 1; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; color: #fff; }
.stat-num.stat-text { font-size: clamp(1.6rem, 5.4vw, 3.2rem); white-space: nowrap; }
.stat-label { display: block; margin-top: 6px; font-size: .98rem; color: #fff; opacity: .95; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--red-100), var(--red), var(--red-100));
}
.tl-step { position: relative; padding-left: 78px; }
.tl-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--red); color: var(--red);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.tl-step h3 { margin-bottom: .25em; padding-top: 12px; }
.tl-step p { color: var(--muted); margin: 0; }
@media (min-width: 992px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .timeline::before { left: 10%; right: 10%; top: 28px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--red-100), var(--red), var(--red-100)); }
  .tl-step { padding-left: 0; text-align: center; }
  .tl-num { position: relative; margin: 0 auto 18px; }
  .tl-step h3 { padding-top: 0; }
}

/* Industries */
.chips { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 400px) { .chips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .chips { grid-template-columns: repeat(4, 1fr); } }
.chip {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .96rem;
  transition: border-color .2s, box-shadow .2s;
}
.chip:hover { border-color: var(--red-100); box-shadow: var(--shadow-sm); }
.chip svg { width: 22px; height: 22px; color: var(--red); flex: none; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--red-100); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.45;
}
.faq-q:hover { color: var(--red); }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--red-50); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease), background-color .2s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease), visibility 0s linear .3s; visibility: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.no-js .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dark);
  color: #fff; border-radius: 28px;
  padding: clamp(36px, 7vw, 72px) clamp(22px, 6vw, 72px);
  text-align: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band::before { width: 360px; height: 360px; background: radial-gradient(circle, rgba(202,30,38,.55), transparent 70%); left: -120px; top: -160px; }
.cta-band::after { width: 300px; height: 300px; background: radial-gradient(circle, rgba(202,30,38,.35), transparent 70%); right: -100px; bottom: -150px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f1e6e6; max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) { .story-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.story-text p { font-size: 1.05rem; }
.mv-stack { display: grid; gap: 20px; }
.mv-card { border-left: 4px solid var(--red); }
.mv-card .icon-badge { width: 48px; height: 48px; margin-bottom: 14px; }
.mv-card p { color: var(--text); }
.values-grid { display: grid; gap: 20px; }
@media (min-width: 576px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .values-grid { grid-template-columns: repeat(6, 1fr); } .values-grid > * { grid-column: span 2; } .values-grid > :nth-child(4) { grid-column: 2 / span 2; } }

/* ---------- Services page ---------- */
.svc-block { display: grid; gap: 32px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
@media (min-width: 992px) {
  .svc-block { grid-template-columns: 1fr 1fr; gap: 72px; }
  .svc-block.reverse .svc-visual { order: 2; }
}
.svc-visual {
  position: relative; border-radius: 24px; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(140deg, var(--red-50) 0%, #fff 60%, #fff6ee 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.svc-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--red-100); }
.svc-visual::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(202,30,38,.12), transparent 70%); }
.svc-visual .big-icon {
  position: relative; z-index: 1;
  width: clamp(92px, 18vw, 132px); height: clamp(92px, 18vw, 132px); border-radius: 32px;
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px rgba(202, 30, 38, .3); transform: rotate(-6deg);
}
.svc-visual .big-icon svg { width: 46%; height: 46%; transform: rotate(6deg); }
.svc-visual .svc-num {
  position: absolute; z-index: 1; top: 18px; left: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4rem); color: rgba(202, 30, 38, .12); line-height: 1;
}
.svc-content h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.svc-content .lead { font-size: 1.08rem; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ca1e26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Ventures ---------- */
.venture { border-radius: 28px; overflow: hidden; display: grid; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.venture + .venture { margin-top: clamp(28px, 5vw, 48px); }
@media (min-width: 992px) {
  .venture { grid-template-columns: .9fr 1.1fr; }
  .venture.reverse .venture-brand { order: 2; }
}
.venture-brand { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 7vw, 64px) 28px; position: relative; overflow: hidden; }
.venture-brand img { width: 100%; max-width: 360px; position: relative; z-index: 1; }
.venture-brand::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -100px; bottom: -120px; }
.v-mds-bg { background: var(--mds-soft); }
.v-mds-bg::before { background: rgba(66, 143, 202, .12); }
.v-aar-bg { background: var(--aar-soft); }
.v-aar-bg::before { background: rgba(81, 55, 47, .08); }
.venture-body { padding: clamp(28px, 5vw, 56px); }
.venture-body .tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.tag-mds { background: var(--mds-soft); color: var(--mds-ink); }
.tag-aar { background: var(--aar-soft); color: var(--aar); }
.venture-body h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.venture-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 16px; word-break: break-all; }
.venture-site svg { width: 16px; height: 16px; flex: none; }
.v-mds .venture-site { color: var(--mds-ink); }
.v-aar .venture-site { color: var(--aar); }
.v-mds { border-top: 4px solid var(--mds); }
.v-aar { border-top: 4px solid var(--aar); }
.v-mds .check-list li::before { background-color: var(--mds-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a6ea3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.v-aar .check-list li::before { background-color: var(--aar-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351372f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.form-card { padding: clamp(22px, 4vw, 40px); }
.form-card:hover, .info-card:hover { transform: none; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .94rem; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #ddd0cf; border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23331819' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(202, 30, 38, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3141c; background: #fffafa; }
.error-msg { display: none; color: #b3141c; font-size: .88rem; margin-top: 6px; font-weight: 500; }
.field.invalid .error-msg { display: block; }
.hp { position: absolute; left: -9999px; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; display: none; font-weight: 500; }
.form-status.show { display: block; }
.form-status.success { background: #edf8f0; color: #155d2e; border: 1px solid #bfe3ca; }
.form-status.error { background: #fdf0f0; color: #8e1117; border: 1px solid #f3c7c9; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.info-card { padding: clamp(22px, 4vw, 34px); }
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon-badge { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.info-list .icon-badge svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.info-list a, .info-list span { color: var(--text); word-break: break-word; }
.info-list a:hover { color: var(--red); }
.map-wrap { margin-top: clamp(28px, 5vw, 48px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map-wrap iframe { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-size: .95rem; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.nf .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 20vw, 9rem); line-height: 1; color: var(--red); margin-bottom: 12px; }
.nf .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #e2d5d5; padding-top: clamp(56px, 8vw, 88px); margin-top: 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.5fr .8fr 1fr 1.3fr; gap: 48px; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #d9cbcb; font-size: .96rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #e2d5d5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; list-style: none; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s;
}
.socials a:hover { background: var(--red); text-decoration: none; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #f08a8f; }
.footer-contact a, .footer-contact span { word-break: break-word; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; font-size: .9rem; color: #cbbcbc;
}
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; text-align: center; }
@media (min-width: 992px) { .footer-bottom p { justify-content: flex-start; } }
.footer-bottom .sep { opacity: .5; display: none; }
.footer-bottom p { flex-direction: column; align-items: center; }
@media (min-width: 768px) { .footer-bottom .sep { display: inline; } .footer-bottom p { flex-direction: row; } }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.to-top {
  position: fixed; right: 24px; bottom: 90px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.to-top:hover { color: var(--red); border-color: var(--red); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tiny screens */
@media (max-width: 360px) {
  .btn { padding: .75em 1.1em; font-size: .94rem; }
  .card { padding: 22px; }
  .brand img { height: 40px; }
}
