/* ===== SanPav Inc — styles.css ===== */
:root {
  --navy: #2E1065;
  --navy-2: #3B0764;
  --navy-3: #4C1D95;
  --accent: #7C3AED;
  --accent-2: #22C55E;
  --ink: #0F172A;
  --slate: #475569;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F3FBF6;
  --border: #E2E8F0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(13, 38, 76, .12);
  --container: 1140px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.18; color: var(--ink); margin: 0; }
p { margin: 0 0 1rem; color: var(--slate); }
a { color: var(--accent); text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.32); }
.btn--primary:hover { background: #6d28d9; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.logo__mark { display: inline-flex; }
.logo__text { color: var(--accent); }
.logo__suffix { color: #16A34A; margin-left: 2px; }
.logo--light, .logo--light .logo__text { color: #fff; }

.nav__links { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.nav__link { color: var(--slate); font-weight: 500; font-size: .95rem; position: relative; }
.nav__link:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.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); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1000px 560px at 82% -10%, #7c3aed 0%, rgba(124,58,237,0) 58%),
              linear-gradient(155deg, #4c1d95 0%, #6d28d9 42%, #15803d 100%);
  color: #fff;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 320px at 12% 92%, rgba(74,222,128,.30), transparent 70%),
              radial-gradient(480px 300px at 96% 18%, rgba(167,139,250,.32), transparent 70%);
}
.hero__inner { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 100px); max-width: 880px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: #a7f3d0; margin-bottom: 1rem; }
.hero__brandline { display: inline-block; color: #fff; font-weight: 700; letter-spacing: .07em; margin-bottom: 1.1rem; padding: .38rem .78rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero__text { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #d6efe5; margin: 1.4rem 0 2rem; max-width: 680px; }
.hero__support { color: #cfc4e8; max-width: 700px; margin: -1rem 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__actions--center { justify-content: center; }
.hero__note { color: #c7f9df; font-size: .9rem; margin: 1rem 0 0; }

/* ===== Trust strip ===== */
.trust { background: var(--navy-2); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: 1.1rem 24px; }
.trust__item { color: #d9cef0; font-size: .92rem; font-weight: 500; text-align: center; position: relative; }
.trust__item::before { content: "✓"; color: var(--accent-2); font-weight: 700; margin-right: .5rem; }

/* ===== Sections ===== */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head--wide { max-width: 860px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .7rem; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
.section__subtitle { font-size: 1.08rem; margin-top: 1rem; }
.section__title--light { color: #fff; }
.eyebrow--light { color: #a7f3d0; }

/* ===== Strategy and problem framing ===== */
.strategy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.strategy-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.strategy-card__label { display: inline-block; color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.strategy-card h3 { font-size: 1.25rem; margin-bottom: .65rem; }
.mini-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.mini-list li { color: var(--slate); font-size: .9rem; padding-left: 1.15rem; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.problem-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.problem-card__problem { font-size: .92rem; }
.problem-card__response { border-top: 1px solid var(--border); padding-top: .9rem; margin: .9rem 0 0; font-size: .9rem; }
.problem-card__response strong { display: block; color: var(--accent); margin-bottom: .25rem; }

/* ===== Cards (services) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e0d4fb; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(34,197,94,.14));
  margin-bottom: 1.1rem;
}
.card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.card__text { font-size: .96rem; margin: 0; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__content .section__title { margin-bottom: 1.2rem; text-align: left; }
.about__content .eyebrow { text-align: left; }
.experience-statement { margin-top: 1.25rem; padding: 1rem 1.1rem; border-left: 3px solid var(--accent); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-weight: 500; }
.point-list { list-style: none; margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.point-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.point-list li:last-child { border-bottom: 0; }
.point-list__k { color: var(--muted); font-size: .9rem; }
.point-list__v { color: var(--ink); font-weight: 600; font-size: .95rem; text-align: right; }

/* ===== Ecosystem ===== */
.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.eco-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.eco-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eco-item--active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
.eco-item h3 { font-size: 1.1rem; margin: .9rem 0 .4rem; }
.eco-item p { font-size: .92rem; margin: 0; }
.eco-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border); padding: .25rem .6rem; border-radius: 999px; }
.eco-badge--active { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ===== Why grid ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-2); background: rgba(34,197,94,.14); margin-bottom: 1rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature p { font-size: .93rem; margin: 0; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info .section__title, .contact__info .eyebrow { text-align: left; }
.contact__info .section__title { margin-bottom: 1rem; }
.contact__list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact__list li { padding: .7rem 0; border-bottom: 1px solid var(--border); }
.contact__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .15rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: .75rem .85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fdfefe; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.field textarea { resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.hidden-field { display: none; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #d3c8ea; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__blurb { color: #b6a6d4; max-width: 340px; margin-top: 1rem; font-size: .95rem; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer__col a, .footer__muted { display: block; color: #c3b5de; font-size: .92rem; padding: .25rem 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #a08fc0; }

/* ===== Service detail pages ===== */
.hero--sub .hero__inner { padding: clamp(48px, 7vw, 84px) 0; max-width: 840px; }
.breadcrumb { font-size: .85rem; color: #a7f3d0; margin-bottom: 1.1rem; }
.breadcrumb a { color: #d6efe5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #6f9e88; margin: 0 .45rem; }

.lead { font-size: 1.12rem; color: var(--slate); max-width: 760px; }

.svc-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-two .section__title { text-align: left; margin-bottom: 1rem; }
.svc-two .eyebrow { text-align: left; }
.svc-aside { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.svc-aside h3 { font-size: 1rem; margin-bottom: 1rem; }
.svc-aside ul { list-style: none; margin: 0; padding: 0; }
.svc-aside li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.svc-aside li:last-child { border-bottom: 0; }
.svc-aside .k { color: var(--muted); }
.svc-aside .v { color: var(--ink); font-weight: 600; text-align: right; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 2rem; }
.check-item { position: relative; padding-left: 2rem; color: var(--slate); font-size: .96rem; }
.check-item::before { content: "\2713"; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 7px; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.check-item strong { display: block; color: var(--ink); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: #fff; font-family: "Sora", sans-serif; font-weight: 700; margin-bottom: .9rem; }
.step h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; margin: 0; }

.cta-band { background: radial-gradient(700px 300px at 80% -20%, #7c3aed, transparent 60%), linear-gradient(155deg, var(--navy), #15803d); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.4rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #e9ddfb; max-width: 580px; margin: .8rem auto 1.7rem; }
.svc-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 500; color: var(--slate); }
.chip:hover { border-color: var(--accent); color: var(--accent); }

.card { display: flex; flex-direction: column; }
.card__link { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .92rem; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; }
.card__link::after { content: "\2192"; transition: transform .15s ease; }
.card:hover .card__link::after { transform: translateX(3px); }

/* ===== Industries ===== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.industry-card {
  position: relative; overflow: hidden; min-height: 250px; padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(155deg, #fff 0%, #f8f4ff 58%, #edfff3 100%);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8c9f7; }
.industry-card__num {
  position: absolute; top: .7rem; right: 1rem; font-family: "Sora", sans-serif;
  font-size: 3.2rem; font-weight: 800; line-height: 1; color: rgba(124,58,237,.1);
}
.industry-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.industry-card p { font-size: .93rem; margin: 0; }

/* ===== Approach ===== */
.approach-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.approach-step { background: #35136c; padding: 1.5rem 1.25rem; min-height: 225px; }
.approach-step span { color: #86efac; font-family: "Sora", sans-serif; font-size: .78rem; font-weight: 700; }
.approach-step h3 { color: #fff; font-size: 1.05rem; margin: 2.1rem 0 .55rem; }
.approach-step p { color: #cfc4e8; font-size: .9rem; margin: 0; }
.approach-note { color: #ded4f2; text-align: center; max-width: 820px; margin: 2rem auto 0; font-weight: 500; }

/* ===== Specialization, products and leadership ===== */
.specialization { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.specialization__content .section__title { margin-bottom: 1rem; }
.specialization__map { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 1.2rem; border: 1px solid var(--border); border-radius: 24px; background: var(--bg-soft); }
.specialization__map span { display: grid; place-items: center; min-height: 72px; padding: .75rem; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--ink); font-weight: 600; font-size: .9rem; }
.text-link { display: inline-flex; gap: .45rem; align-items: center; font-weight: 700; margin-top: .65rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.product-card--featured { border-color: #cbb9f5; background: linear-gradient(145deg, #fff, #f7f2ff); }
.product-card h3 { font-size: 1.15rem; margin: 1rem 0 .6rem; }
.product-card p { font-size: .93rem; }
.status { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: .28rem .65rem; color: var(--muted); background: var(--bg-soft); text-transform: uppercase; font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.status--active { color: #166534; background: #dcfce7; border-color: #bbf7d0; }
.leadership { margin-top: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.leadership__marker { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 22px; color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.7rem; background: linear-gradient(145deg, var(--accent), #15803d); }
.leadership__content { max-width: 820px; }
.leadership__content h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: .8rem; }
.ecosystem-stack { max-width: 920px; margin: 0 auto; display: grid; gap: 1rem; }
.ecosystem-tier { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 1.6rem; }
.ecosystem-tier--core { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.ecosystem-tier--development { background: #fdfcff; }
.ecosystem-tier--future { max-width: 780px; justify-self: center; width: 100%; padding: 1.25rem 1.4rem; background: transparent; border-style: dashed; }
.ecosystem-tier__label { margin: 0 0 .65rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ecosystem-tier h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.ecosystem-tier p { font-size: .92rem; margin-bottom: 0; }
.ecosystem-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ecosystem-tier__note { text-align: center; color: var(--muted); margin-top: .8rem !important; font-size: .82rem !important; }
.venture-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.2rem; }
.venture-themes span { border: 1px solid var(--border); border-radius: 999px; padding: .4rem .75rem; color: var(--muted); background: #fff; font-size: .8rem; font-weight: 600; }
.cta-section { padding-top: 0; }

@media (max-width: 760px) {
  .svc-two { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}

/* ===== Reveal animation (progressive enhancement) ===== */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards, .eco-grid, .why-grid, .industry-grid, .strategy-grid, .problem-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid, .specialization { grid-template-columns: 1fr; }
  .product-card--featured { grid-column: 1 / -1; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: .5rem 24px 1rem; margin: 0; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .cards, .eco-grid, .why-grid, .industry-grid, .strategy-grid, .problem-grid, .product-grid, .form-row, .approach-grid { grid-template-columns: 1fr; }
  .product-card--featured { grid-column: auto; }
  .leadership { grid-template-columns: 1fr; }
  .ecosystem-items { grid-template-columns: 1fr; }
  .leadership__marker { width: 70px; height: 70px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}
