/* ==========================================================================
   Zhijun E-Commerce Firm — Visual Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --color-ink: #0c1222;
  --color-ink-soft: #1e293b;
  --color-accent: #e85d04;
  --color-accent-2: #0891b2;
  --color-accent-3: #7c3aed;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-warm: #fffbf7;
  --color-bg-cool: #f0f9ff;
  --color-bg-dark: #0c1222;
  --color-border: #e2e8f0;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(12, 18, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 18, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 18, 34, 0.12);
  --max-width: 1180px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-2);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover { color: var(--color-accent); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header.header-dark {
  background: transparent;
}

.site-header.header-dark.scrolled {
  background: rgba(12, 18, 34, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
}

.header-dark:not(.scrolled) .logo { color: #fff; }

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-dark:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.65); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: 0.3s;
}

.header-dark:not(.scrolled) .nav-toggle span { background: #fff; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.125rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s;
}

.header-dark:not(.scrolled) .main-nav a { color: rgba(255,255,255,0.85); }

.main-nav a:hover,
.main-nav a.active {
  background: rgba(232, 93, 4, 0.1);
  color: var(--color-accent);
}

.header-dark:not(.scrolled) .main-nav a:hover,
.header-dark:not(.scrolled) .main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.35);
}

.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
  color: #fff;
}

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

.btn-dark:hover {
  background: var(--color-ink-soft);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ── Hero: Full Image ── */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
  overflow: hidden;
}

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

.hero-full__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.92) saturate(0.85);
}

.hero-full__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(12, 18, 34, 0.88) 0%,
      rgba(12, 18, 34, 0.72) 42%,
      rgba(12, 18, 34, 0.55) 100%
    );
}

.hero-full__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-full__text { color: #fff; }

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(232, 93, 4, 0.2);
  border: 1px solid rgba(232, 93, 4, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 1.25rem;
}

.hero-full h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-full h1 em {
  font-style: italic;
  color: #fdba74;
}

.hero-full p {
  font-size: 1.05rem;
  opacity: 0.88;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero-full__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.hero-full__visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-full__visual img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 280px;
}

.hero-full__visual img:nth-child(2) { margin-top: 1.5rem; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--color-ink);
  color: #fff;
  padding: 2.5rem 1.5rem;
}

.stats-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: #fdba74;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.82rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* ── Section Base ── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1rem;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-item:hover img { transform: scale(1.05); }

.bento-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,18,34,0.85) 0%, rgba(12,18,34,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.bento-item__overlay h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.bento-item__overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
}

.bento-item--lg { grid-column: span 7; grid-row: span 2; min-height: 440px; }
.bento-item--md { grid-column: span 5; }
.bento-item--sm { grid-column: span 4; }
.bento-item--wide { grid-column: span 8; }
.bento-item--accent {
  grid-column: span 4;
  background: linear-gradient(135deg, var(--color-accent) 0%, #c2410c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #fff;
  text-align: center;
}

.bento-item--accent h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.bento-item--accent p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.bento-item--accent a {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

/* ── Split Section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split-section--reverse { direction: rtl; }
.split-section--reverse > * { direction: ltr; }

.split-section__media {
  position: relative;
  min-height: 480px;
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.split-section__body {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bg-warm { background: var(--color-bg-warm); }
.bg-cool { background: var(--color-bg-cool); }

.feature-pills {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-pills li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-pills li:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feature-pills .num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-ink);
  color: #fdba74;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-pills strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.feature-pills span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ── Image Gallery Row ── */
.gallery-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
  height: 320px;
}

.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ── Page Hero (Image) ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 1.5rem 4rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 34, 0.72);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.88;
}

.page-hero--minimal {
  background: var(--color-bg-warm);
  color: var(--color-ink);
  padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero--minimal .page-hero__overlay { display: none; }
.page-hero--minimal h1 { color: var(--color-ink); }
.page-hero--minimal p { color: var(--color-muted); opacity: 1; }

/* ── Zigzag Services ── */
.zigzag-list { display: flex; flex-direction: column; gap: 0; }

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.zigzag-item:nth-child(even) { direction: rtl; }
.zigzag-item:nth-child(even) > * { direction: ltr; }

.zigzag-item__img {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.zigzag-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform 0.6s ease;
}

.zigzag-item:hover .zigzag-item__img img { transform: scale(1.04); }

.zigzag-item__img .tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.zigzag-item__body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zigzag-item:nth-child(odd) .zigzag-item__body { background: var(--color-bg-warm); }
.zigzag-item:nth-child(even) .zigzag-item__body { background: var(--color-bg-cool); }

.zigzag-item__body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.zigzag-item__body > p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags li {
  padding: 0.45rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}

/* ── Tech Page ── */
.tech-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tech-intro__text p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.tech-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.tech-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tech-card__img {
  height: 160px;
  overflow: hidden;
}

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

.tech-card__body {
  padding: 1.25rem 1.5rem;
}

.tech-card__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.tech-card__body p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.tech-dark {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 5rem 1.5rem;
}

.tech-dark .section-title { color: #fff; }
.tech-dark .section-desc { color: rgba(255,255,255,0.6); }

.api-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.api-list li {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.api-list li::before {
  content: "→";
  color: #fdba74;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-story p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.license-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.license-card__header {
  padding: 1rem 1.5rem;
  background: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-border);
}

.license-card__header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
}

.license-card img {
  width: 100%;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.info-table tr {
  border-bottom: 1px solid var(--color-border);
}

.info-table td {
  padding: 0.875rem 0;
  vertical-align: top;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--color-ink);
  width: 38%;
  padding-right: 1rem;
}

.mission-block {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-ink) 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
}

.mission-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #fdba74;
}

.mission-block p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.88;
  line-height: 1.75;
}

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-sidebar {
  position: relative;
  padding: 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-sidebar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.contact-sidebar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,18,34,0.92) 0%, rgba(232,93,4,0.75) 100%);
  z-index: 1;
}

.contact-sidebar__content {
  position: relative;
  z-index: 2;
}

.contact-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.contact-detail {
  margin-bottom: 1.75rem;
}

.contact-detail h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-bottom: 0.4rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.95rem;
  color: #fff;
}

.contact-form-panel {
  padding: 3rem;
  background: var(--color-bg);
}

.contact-form-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--color-bg-warm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.12);
  background: #fff;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #dcfce7;
  color: #166534;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-success.visible { display: block; }

/* ── Legal / Content ── */
.content-block {
  max-width: 760px;
  margin: 0 auto;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-ink);
  margin: 2.5rem 0 1rem;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.content-block ul {
  margin: 0 0 1.5rem 1.25rem;
}

.content-block li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.info-box {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.info-box p { margin-bottom: 0.5rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--color-ink); }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.legal-sidebar img {
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.legal-sidebar p {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-image {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta-image__bg {
  position: absolute;
  inset: 0;
}

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

.cta-image__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 34, 0.78);
}

.cta-image__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta-image h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.cta-image p {
  opacity: 0.88;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
}

.footer-brand a { color: #fdba74; }
.footer-brand a:hover { color: #fff; }

.footer-links h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.45;
}

main { flex: 1; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-full__content { grid-template-columns: 1fr; }
  .hero-full__visual { display: none; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .bento-item--lg,
  .bento-item--md,
  .bento-item--sm,
  .bento-item--wide,
  .bento-item--accent { grid-column: span 12; }
  .split-section,
  .zigzag-item,
  .tech-intro,
  .about-grid,
  .contact-layout,
  .legal-layout { grid-template-columns: 1fr; }
  .split-section--reverse { direction: ltr; }
  .zigzag-item:nth-child(even) { direction: ltr; }
  .split-section__body { padding: 2.5rem 1.5rem; }
  .split-section__media { min-height: 280px; }
  .split-section__media img { min-height: 280px; }
  .gallery-row { grid-template-columns: 1fr; height: auto; }
  .gallery-row img { height: 200px; }
  .tech-cards { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .header-dark .main-nav { background: var(--color-ink); }

  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 1rem; }
  .main-nav a { padding: 0.75rem 1rem; border-radius: var(--radius); }

  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.5rem; }
  .contact-form-panel,
  .contact-sidebar { padding: 2rem 1.5rem; }
}
