/* ==========================================================================
   BAC E-Commerce — Design System
   Palette: Brand orange #DA6331 / Warm white #FFFFFF / Tint #FDF7F3
   ========================================================================== */

:root {
  --brand: #da6331;
  --brand-600: #c1531f;
  --brand-700: #a4441a;
  --brand-soft: #fbeee7;
  --brand-tint: #fdf7f3;

  --ink: #0a0a0b;
  --ink-800: #16161a;
  --ink-700: #232327;
  --muted: #6e6a66;
  --muted-light: #9a948e;

  --paper: #ffffff;
  --mist: #f7f4f1;
  --line: #e8e3de;
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(10, 10, 11, 0.05);
  --shadow-md: 0 18px 45px rgba(10, 10, 11, 0.09);
  --shadow-brand: 0 14px 30px rgba(218, 99, 49, 0.28);

  --font-display: "Sora", "Manrope", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--mist {
  background: var(--mist);
}

.section--ink {
  background: var(--brand-tint);
  color: var(--ink);
}

.section--top-line {
  border-top: 1px solid var(--line);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b4501f;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head__text {
  max-width: 680px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-top: 18px;
}

.section-head .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
}

.section--ink .section-head .lead {
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.section-link svg {
  transition: transform 0.25s var(--ease);
}

.section-link:hover {
  color: var(--brand-700);
  border-color: var(--brand-700);
}

.section-link:hover svg {
  transform: translateX(4px);
}

.section--ink .section-link {
  color: var(--ink);
  border-color: var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 0 0 rgba(218, 99, 49, 0);
}

.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.btn-sm {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 10, 11, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 0;
  transition: color 0.22s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-tint);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(253, 247, 243, 0.96) 0%, rgba(253, 247, 243, 0.78) 42%, rgba(253, 247, 243, 0.32) 100%),
    linear-gradient(to top, rgba(253, 247, 243, 0.94) 0%, rgba(253, 247, 243, 0) 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 118px;
  padding-bottom: 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-top: 24px;
}

.hero-title .accent {
  color: var(--brand);
}

.hero-lead {
  margin-top: 26px;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: 76px;
  padding-top: 30px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__num .unit {
  color: var(--brand);
}

.stat__label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--brand-tint);
  color: var(--ink);
  padding: 64px 0 56px;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-banner .hero-bg img {
  opacity: 0.5;
  object-position: center 50%;
}

.page-banner .hero-bg::after {
  background: linear-gradient(90deg, rgba(253, 247, 243, 0.96) 0%, rgba(253, 247, 243, 0.78) 52%, rgba(253, 247, 243, 0.36) 100%),
    linear-gradient(to top, rgba(253, 247, 243, 0.92) 0%, rgba(253, 247, 243, 0) 50%);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  margin-bottom: 26px;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb .sep {
  color: var(--line);
}

.breadcrumb .current {
  color: var(--ink);
  opacity: 0.75;
}

.page-banner h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 20px;
  max-width: 780px;
}

.page-banner p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  background: var(--mist);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--wide {
  aspect-ratio: 4 / 3;
}

.media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
}

.media-badge span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.split h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin-top: 18px;
}

.split p {
  color: var(--muted);
  margin-top: 22px;
  font-size: 16.5px;
}

.check-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-700);
}

.check-list .tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.split .btn {
  margin-top: 38px;
}

/* ---------- Services grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(218, 99, 49, 0.4);
  box-shadow: var(--shadow-md);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.service-card:hover .icon-box {
  background: var(--brand);
  color: #fff;
}

.index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8a837c;
}

.service-card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-700);
}

.card-link svg {
  transition: transform 0.25s var(--ease);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* ---------- Platform strip ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.platform {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.platform:hover {
  border-color: rgba(218, 99, 49, 0.65);
  background: rgba(218, 99, 49, 0.12);
  color: #fff;
  transform: translateY(-3px);
}

.platform small {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 6px;
}

/* ---------- Feature list ---------- */
.feature-list {
  display: grid;
  gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brand-700);
  padding-top: 4px;
}

.feature h3 {
  font-size: 19px;
}

.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(218, 99, 49, 0.35);
  box-shadow: var(--shadow-md);
}

.news-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.news-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7d766f;
}

.news-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.news-card h3 {
  font-size: 19px;
  line-height: 1.36;
  margin-top: 14px;
  transition: color 0.25s var(--ease);
}

.news-card:hover h3 {
  color: var(--brand);
}

.news-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.news-card .card-link {
  padding-top: 22px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand-600);
  color: #fff;
  padding: 84px 0;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.cta-band::after {
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(5, 1, 2, 0.16), transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 620px;
}

.cta-inner p {
  margin-top: 14px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-tint);
  color: var(--ink);
  padding: 76px 0 0;
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 60px;
}

.footer-brand img {
  height: 46px;
  width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}

.footer-brand p {
  margin-top: 22px;
  max-width: 300px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: var(--muted);
  transition: color 0.22s var(--ease);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

.footer-contact svg {
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted-light);
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--brand);
}

/* ---------- Forms ---------- */
.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-700);
}

.field label .req {
  color: var(--brand);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.field input,
.field select {
  height: 52px;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
  line-height: 1.65;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b4ada7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(218, 99, 49, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex: none;
}

.form-note {
  font-size: 13px;
  color: var(--muted-light);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: #f0f9f2;
  border: 1px solid #c9e9d1;
  color: #1f6b39;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14.5px;
}

.form-success.is-visible {
  display: flex;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-card h2 {
  font-size: 28px;
}

.contact-card > p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 15px;
}

.contact-card form {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.info-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--mist);
  border-radius: 16px;
  transition: background 0.3s var(--ease);
}

.info-item:hover {
  background: var(--brand-tint);
}

.info-item .icon-box {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.info-item h3 {
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.info-item p,
.info-item a {
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink);
  display: block;
  font-weight: 500;
}

.info-item a:hover {
  color: var(--brand);
}

.office-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 16px;
  aspect-ratio: 4 / 2.6;
  background: var(--mist);
}

.office-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-map__card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.office-map__card strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.office-map__card span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 24px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq details[open] {
  border-color: rgba(218, 99, 49, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-body {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 700px;
}

/* ---------- Page: About ---------- */
.stats-band {
  background: var(--brand);
  color: #fff;
  padding: 56px 0;
}

.stats-band .hero-stats {
  margin: 0;
  padding: 0;
  border: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 30px 0 30px 40px;
  border-left: 1px solid var(--line);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 40px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.timeline-item:last-child {
  border-left-color: transparent;
}

.timeline-item__year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
}

.timeline-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 15px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.value-card .icon-box {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
}

.value-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Page: Services ---------- */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav__inner {
  display: flex;
  gap: 32px;
  padding: 18px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.22s var(--ease);
}

.anchor-nav a:hover {
  color: var(--brand);
}

.service-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-row__head .index {
  display: block;
  margin-bottom: 18px;
}

.service-row__head h2 {
  font-size: clamp(26px, 2.8vw, 34px);
}

.service-row__head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-700);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.service-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process__item {
  position: relative;
  padding: 32px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.process__item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand);
}

.process__item h3 {
  margin-top: 16px;
  font-size: 18px;
}

.process__item p {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Page: News ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.22s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.featured-news {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  background: #fff;
}

.featured-news__media {
  position: relative;
  min-height: 380px;
  background: var(--mist);
}

.featured-news__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news__body h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-top: 16px;
}

.featured-news__body p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

.featured-news__body .btn {
  margin-top: 30px;
  align-self: flex-start;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.22s var(--ease);
}

.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pagination .is-current {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

/* ---------- Page: Article ---------- */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.article-meta .pill {
  background: var(--brand-soft);
  color: var(--brand-700);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 11.5px;
}

.article-body {
  padding-top: 36px;
  font-size: 17px;
  line-height: 1.85;
  color: #34302c;
}

.article-body > p {
  margin-bottom: 24px;
}

.article-body > p:first-child {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2 {
  font-size: 27px;
  margin: 46px 0 18px;
}

.article-body h3 {
  font-size: 21px;
  margin: 34px 0 14px;
}

.article-body ul {
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

.article-body ul li {
  position: relative;
  padding-left: 24px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.article-body blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--mist);
  border-left: 3px solid var(--brand);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
}

.article-body figure {
  margin: 38px 0;
}

.article-body figure img {
  border-radius: var(--radius);
  width: 100%;
}

.article-body figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-light);
}

.article-footer {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.share a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.22s var(--ease);
}

.share a:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .split {
    gap: 48px;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  .brand img {
    height: 38px;
  }

  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(10, 10, 11, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 28px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--brand);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }

  .hero-inner {
    padding-top: 88px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
  }

  .split,
  .contact-layout,
  .featured-news,
  .service-row {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split__media {
    aspect-ratio: 4 / 3;
  }

  .split__media--order {
    order: -1;
  }

  .featured-news__media {
    min-height: 280px;
  }

  .featured-news__body {
    padding: 34px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .page-banner {
    min-height: 240px;
    padding: 48px 0 40px;
  }

  .contact-card {
    padding: 30px;
  }

  .service-row {
    padding: 48px 0;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat__num {
    font-size: 28px;
  }

  .card-grid,
  .news-grid,
  .service-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-2 {
    grid-column: auto;
  }

  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 26px;
  }

  .timeline-item__year {
    font-size: 22px;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .btn {
    height: 50px;
  }
}
