:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-2: 0 18px 50px rgba(15, 23, 42, 0.12);
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --accent: #7c3aed;
  --radius: 16px;
  --radius-lg: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
  background-image: url("./images/20.jpg");
  background-size: cover;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-cn {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.btn.soft {
  background: var(--primary-soft);
  color: var(--primary-2);
  font-weight: 700;
}

.btn.soft:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.btn.full-width {
  width: 100%;
}

.btn.full {
  width: 100%;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.hero {
  padding: 44px 0 24px;
  background: radial-gradient(1000px 420px at 10% 10%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(900px 380px at 90% 15%, rgba(124, 58, 237, 0.12), transparent 55%),
    linear-gradient(to bottom, #ffffff, #fbfbfe);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-2);
  font-weight: 700;
  font-size: 12px;
}

.hero-left h1 {
  margin: 6px 0 10px;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted-2);
  font-size: 12px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.mini-stat {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px 12px 10px;
  box-shadow: var(--shadow);
}

.mini-value {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 2px;
}

.mini-label {
  font-size: 12px;
  color: var(--muted-2);
}

.hero-media-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  margin-top: 46px;
}

.hero-media-card {
  min-height: 92px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.12));
  background-size: cover;
  background-position: center;
}

.hero-media-card.slot1 {
  grid-column: span 7;
}
.hero-media-card.slot2 {
  grid-column: span 5;
}
.hero-media-card.slot3 {
  grid-column: span 5;
}
.hero-media-card.slot4 {
  grid-column: span 7;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-carousel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-2);
  padding: 12px 12px 12px;
}

.carousel-track {
  position: relative;
  min-height: 260px;
  transition: none;
}

.carousel-slide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  position: absolute;
  inset: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.carousel-media {
  width: 100%;
  height: 190px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.carousel-media-ai-comic {
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 50%),
    linear-gradient(135deg, #2563eb, #7c3aed 55%, #f59e0b);
}

.carousel-media-video {
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 50%),
    linear-gradient(135deg, #06b6d4, #22c55e 55%, #fb7185);
}

.carousel-media-app {
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 50%),
    linear-gradient(135deg, #7c3aed, #2563eb 55%, #22c55e);
}

.carousel-content h3 {
  margin: 0;
  font-size: 16px;
}

.carousel-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background 0.18s ease;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  background: var(--bg-alt);
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(100, 116, 139, 0.45);
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
}

.carousel-dots .dot.is-active {
  width: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.gallery-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 92px;
  background-size: cover;
  background-position: center;
}

.gallery-card.g1 {
  grid-column: span 7;
}
.gallery-card.g2 {
  grid-column: span 5;
}
.gallery-card.g3 {
  grid-column: span 5;
}
.gallery-card.g4 {
  grid-column: span 7;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 6px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 10px;
}

.section-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}

.details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.details-body {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 13px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(148, 163, 184, 0.5);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.avatar-1 {
  background-image: radial-gradient(circle at 20% 0, #fef9c3, transparent 55%),
    linear-gradient(135deg, #4f46e5, #ec4899);
}

.avatar-2 {
  background-image: radial-gradient(circle at 0 20%, #fee2e2, transparent 55%),
    linear-gradient(135deg, #ec4899, #f97316);
}

.avatar-3 {
  background-image: radial-gradient(circle at 100% 0, #e0f2fe, transparent 55%),
    linear-gradient(135deg, #22c55e, #0ea5e9);
}

.avatar-4 {
  background-image: radial-gradient(circle at 0 100%, #ede9fe, transparent 55%),
    linear-gradient(135deg, #7c3aed, #4f46e5);
}

.team-head-text h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
}

.team-head-text .role {
  margin: 0;
  font-size: 12px;
  line-height: 1.15;
  color: var(--muted-2);
}

.team-card .desc {
  margin: 0;
  font-size: 12px;
  color: rgba(100, 116, 139, 0.92);
  line-height: 1.7;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.business-intro {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}

.business-intro h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.business-intro p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.business-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.business-tag {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg-alt);
}

.bt-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bt-desc {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--primary-2);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  font-size: 12px;
  color: var(--muted-2);
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.9);
  border-radius: 999px;
  padding: 4px 10px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.case-tile {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-2);
  padding: 18px 18px 16px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.case-tile::before {
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  opacity: 0.92;
  transform: rotate(12deg);
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.02);
}

.case-tile.t1 {
  grid-column: span 7;
}
.case-tile.t2 {
  grid-column: span 5;
}
.case-tile.t3 {
  grid-column: span 5;
}
.case-tile.t4 {
  grid-column: span 7;
}

.case-tile.t1::before {
  background-image: url("./images/12.jpg");
}
.case-tile.t2::before {
  background-image: url("./images/13.jpg");
}
.case-tile.t3::before {
  background-image: url("./images/14.jpg");
}
.case-tile.t4::before {
  background-image: url("./images/15.jpg");
}

.case-tile h3,
.case-tile p,
.case-meta {
  position: relative;
  z-index: 2;
  padding-right: 170px;
}

.irregular-left {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.irregular-left::before {
  content: "";
  position: absolute;
  inset: -40px auto auto -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  transform: rotate(-10deg);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: saturate(1.05) contrast(1.02);
  pointer-events: none;
}

.irregular-left::after {
  content: "";
  position: absolute;
  inset: -40px auto auto -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.14));
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
}

.case-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.case-pill {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-2);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.case-pill.subtle {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.case-tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.case-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.adv-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.full-width-advantages {
  grid-column: 1 / -1;
}

.cta-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  box-shadow: var(--shadow-2);
  padding: 18px 18px 16px;
}

.cta-box h3 {
  margin: 0 0 8px;
}

.cta-box p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cta-tags span {
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-split {
  align-items: start;
}

.contact-intro {
  grid-column: 1 / -1;
}

.contact-split .form-card {
  margin-top: 8px;
}

.scope-box {
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px 12px;
  flex: 1;
  min-height: 140px;
  overflow: hidden;
}

.scope-title {
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}

.scope-body {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
  height: calc(100% - 24px);
  overflow: auto;
}

.contact-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px 12px 10px;
}

.contact-k {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.contact-v {
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  font-size: 13px;
}

.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-2);
  padding: 16px 16px 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.18s ease, border 0.18s ease, background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(100, 116, 139, 0.85);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.form-message {
  margin-top: 6px;
  font-size: 12px;
  min-height: 16px;
}

.form-message.success {
  color: #15803d;
}

.form-message.error {
  color: #b91c1c;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 18px 0 22px;
  color: var(--muted-2);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted-2);
}

.footer-links a:hover {
  color: var(--text);
}

.icp {
  margin-left: 8px;
  color: var(--muted-2);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.psb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
}

.psb:hover,
.icp:hover {
  color: var(--text);
}

.psb-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: 62px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-2);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .case-tile.t1,
  .case-tile.t2,
  .case-tile.t3,
  .case-tile.t4 {
    grid-column: span 12;
  }

  .gallery-card.g1,
  .gallery-card.g2,
  .gallery-card.g3,
  .gallery-card.g4 {
    grid-column: span 12;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

