/* ========================================
   重庆畅想科技发展有限公司 网站样式
   设计系统：深紫 + 香槟金，专业、稳重、大气
   ======================================== */

:root {
  /* 品牌色 */
  --primary: #1a0f2e;
  --primary-light: #2d1b4e;
  --primary-dark: #12091c;
  --accent: #c9a962;
  --accent-light: #e8d9a8;
  --accent-dark: #a88a42;

  /* 中性色 */
  --white: #ffffff;
  --light: #faf9f7;
  --cream: #f5f0e6;
  --dark: #1a1a1a;
  --gray: #555555;
  --gray-light: #888888;
  --border: #e8e4dc;
  --shadow: 0 10px 40px rgba(26, 15, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 15, 46, 0.14);

  /* 字体 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;

  /* 间距系统 (4px base) */
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.25rem;  /* 20 */
  --space-6: 1.5rem;   /* 24 */
  --space-8: 2rem;     /* 32 */
  --space-10: 2.5rem;  /* 40 */
  --space-12: 3rem;    /* 48 */
  --space-16: 4rem;    /* 64 */
  --space-20: 5rem;    /* 80 */
  --space-24: 6rem;    /* 96 */

  /* 字号 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray);
  background-color: var(--light);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-12);
  }
}

.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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: var(--text-3xl);
  color: var(--primary);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-light);
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.3);
}

.btn-outline {
  border: 1px solid currentColor;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-outline-light {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(26, 15, 46, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

@media (min-width: 480px) {
  .logo-title {
    font-size: var(--text-lg);
  }
}

.logo-subtitle {
  display: none;
  font-size: var(--text-xs);
  color: var(--gray-light);
  line-height: 1.2;
}

@media (min-width: 480px) {
  .logo-subtitle {
    display: block;
  }
}

@media (max-width: 479px) {
  .header-inner {
    height: 64px;
  }

  .logo img {
    height: 34px;
  }

  .logo-text {
    max-width: 120px;
  }
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }

  .nav-link {
    position: relative;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray);
    padding: var(--space-2) 0;
  }

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

  .nav-link.active::after,
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a.active {
  color: var(--accent-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 15, 46, 0.85) 0%,
    rgba(26, 15, 46, 0.65) 50%,
    rgba(26, 15, 46, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-24) var(--space-6) var(--space-20);
}

.hero-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--accent);
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

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

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto var(--space-8);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat {
  padding: var(--space-8) var(--space-4);
  text-align: center;
  background: rgba(26, 15, 46, 0.4);
  backdrop-filter: blur(4px);
}

.hero-stat-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* Section spacing */
.section {
  padding: var(--space-20) 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-label {
  color: var(--accent-light);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Intro section */
.intro-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.intro-images {
  position: relative;
}

.intro-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.intro-sub-img {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 45%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .intro-sub-img {
    right: -40px;
  }
}

.intro-sub-img img {
  width: 100%;
  height: auto;
}

.intro-content p {
  margin-bottom: var(--space-4);
}

.intro-features {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.intro-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.intro-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  color: var(--accent-dark);
}

.intro-feature-icon svg {
  width: 24px;
  height: 24px;
}

.intro-feature h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.intro-feature p {
  font-size: var(--text-sm);
  color: var(--gray-light);
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  color: var(--accent-dark);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--gray-light);
  margin-bottom: var(--space-4);
}

.service-card ul {
  font-size: var(--text-sm);
  color: var(--gray);
}

.service-card ul li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services detail page */
.service-detail {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-20);
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .service-detail.reverse {
    direction: rtl;
  }

  .service-detail.reverse > * {
    direction: ltr;
  }
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.service-detail-content p {
  margin-bottom: var(--space-4);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.service-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--cream);
  color: var(--accent-dark);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

/* Cases */
.cases-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 15, 46, 0.9) 0%,
    rgba(26, 15, 46, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--transition-normal);
}

.case-card:hover .case-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 15, 46, 0.95) 0%,
    rgba(26, 15, 46, 0.5) 60%,
    rgba(26, 15, 46, 0.2) 100%
  );
}

.case-tag {
  display: inline-block;
  align-self: flex-start;
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.case-title {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.case-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
}

/* Cases page table */
.cases-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--white);
}

.cases-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.cases-table th,
.cases-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cases-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}

.cases-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.cases-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.cases-table tr:hover td {
  background: var(--cream);
}

.cases-table td {
  color: var(--gray);
}

/* Certificates */
.certs-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.cert-card p {
  font-size: var(--text-sm);
  color: var(--gray-light);
}

/* Values / Philosophy */
.values-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-normal);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  margin-bottom: var(--space-6);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.value-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

/* Stats section */
.stats-grid {
  display: grid;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-item-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

/* CTA section */
.cta {
  position: relative;
  padding: var(--space-24) 0;
  text-align: center;
  background: var(--primary);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 46, 0.8);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: var(--text-4xl);
  }
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.contact-list {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  color: var(--accent-dark);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.contact-item p {
  font-size: var(--text-sm);
  color: var(--gray-light);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
  height: 100%;
  min-height: 360px;
}

.contact-map iframe,
.contact-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-20);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 56px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-contact li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer-bottom {
  padding: var(--space-6) 0;
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* Page banner */
.page-banner {
  position: relative;
  padding: calc(72px + var(--space-24)) 0 var(--space-20);
  background: var(--primary);
  text-align: center;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 46, 0.75);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-title {
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-banner-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb-current {
  color: var(--accent);
}

/* Timeline / history */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-12);
  padding-bottom: var(--space-10);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-year {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: var(--space-1);
}

.timeline-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

/* Team grid */
.team-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
}

.team-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  aspect-ratio: 1 / 1;
}

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

.team-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.team-card p {
  font-size: var(--text-sm);
  color: var(--gray-light);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-light);
}

/* Utilities for text */
.text-accent {
  color: var(--accent);
}

.text-white {
  color: var(--white);
}

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

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .section {
    padding: var(--space-16) 0;
  }

  .intro-sub-img {
    display: none;
  }

  .hero-stat {
    padding: var(--space-6) var(--space-3);
  }

  .hero-stat-number {
    font-size: var(--text-2xl);
  }

  .page-banner {
    padding: calc(72px + var(--space-16)) 0 var(--space-12);
  }
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .scroll-top,
  .mobile-menu-btn,
  .hero-actions,
  .cta {
    display: none !important;
  }

  body {
    color: #000;
  }
}
