/* =========================================================
   HASH-TAX Accounting & Audit Co., Ltd.
   Modern High-Performance Design System
   ========================================================= */

:root {
  --navy-950: #09162b;
  --navy-900: #0f2547;
  --navy-800: #1a3660;
  --navy-700: #274878;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-500: #0ea5e9;
  --sky-100: #e0f2fe;
  --amber-500: #f59e0b;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 37, 71, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 37, 71, 0.14);

  --container: 1180px;
  --header-h: 74px;
  --font-sans: "Prompt", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   Buttons & Badges
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn i,
.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--sky-500));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.btn-mali {
  background: var(--white);
  color: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.btn-mali:hover {
  background: var(--sky-100);
  color: var(--navy-950);
  transform: translateY(-1px);
}

.site-header.scrolled .btn-mali,
.site-header.solid .btn-mali,
.btn-mali-solid {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.site-header.scrolled .btn-mali:hover,
.site-header.solid .btn-mali:hover,
.btn-mali-solid:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--slate-50);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge-glass {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.badge-soft {
  background: var(--sky-100);
  color: var(--navy-800);
}

/* =========================================================
   Header & Navigation
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: rgba(9, 22, 43, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.2s ease;
}

.site-header.scrolled .brand,
.site-header.solid .brand {
  color: var(--navy-900);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sky-100);
}

.site-header.scrolled .nav-links a,
.site-header.solid .nav-links a {
  color: var(--slate-700);
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active,
.site-header.solid .nav-links a:hover,
.site-header.solid .nav-links a.active {
  color: var(--blue-600);
}

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

.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.scrolled .lang-switcher,
.site-header.solid .lang-switcher {
  background: var(--slate-100);
  border-color: var(--slate-200);
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  transition: background 0.18s ease, color 0.18s ease;
}

.site-header.scrolled .lang-btn,
.site-header.solid .lang-btn {
  color: var(--slate-600);
}

.lang-btn.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .lang-btn.active,
.site-header.solid .lang-btn.active {
  background: var(--navy-900);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.site-header.scrolled .menu-toggle,
.site-header.solid .menu-toggle {
  background: var(--slate-100);
  border-color: var(--slate-200);
  color: var(--navy-900);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(9, 22, 43, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lg);
}

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

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-drawer-head .brand {
  color: var(--navy-900);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--slate-700);
}

.mobile-nav-list a:hover {
  background: var(--slate-100);
  color: var(--blue-600);
}

.mobile-drawer .lang-switcher {
  background: var(--slate-100);
  border-color: var(--slate-200);
  justify-content: center;
}

.mobile-drawer .lang-btn {
  color: var(--slate-600);
  flex: 1;
  padding: 7px 12px;
}

.mobile-drawer .lang-btn.active {
  background: var(--navy-900);
  color: var(--white);
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../opt/photo3.jpg") center / cover no-repeat;
  opacity: 0.34;
  transform: scale(1.03);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 22, 43, 0.92) 0%,
    rgba(15, 37, 71, 0.82) 55%,
    rgba(14, 165, 233, 0.32) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 660px;
}

.stat-item strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
}

.stat-item span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.74);
}

/* =========================================================
   Sections Common
   ========================================================= */
.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--slate-50);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  color: var(--navy-900);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1rem;
}

/* =========================================================
   Feature Split Blocks
   ========================================================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-grid.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--slate-200);
}

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

.split-body h3 {
  margin: 12px 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--navy-900);
  line-height: 1.3;
}

.split-body p {
  margin: 0 0 14px;
  color: var(--slate-600);
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.check-list i,
.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================================================
   Services 4 Cards
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--navy-900);
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* =========================================================
   Pricing Cards
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.price-card.featured {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-500));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--navy-900);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
}

.price-amount strong {
  font-size: 2rem;
  color: var(--navy-900);
  line-height: 1;
}

.price-amount span {
  font-size: 0.88rem;
  color: var(--slate-500);
}

.price-subhead {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 12px 0 6px;
}

.price-card .check-list {
  margin-top: 0;
  margin-bottom: 24px;
  flex: 1;
}

.price-card .btn {
  width: 100%;
}

/* =========================================================
   Mali Highlight Banner
   ========================================================= */
.mali-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}

.mali-banner h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.mali-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

/* =========================================================
   About & Team
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.about-highlight {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.about-highlight h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
}

.about-highlight .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.about-highlight .check-list svg {
  color: var(--sky-500);
}

.about-story p {
  margin: 0 0 14px;
  color: var(--slate-600);
}

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

.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--sky-100);
}

.team-card h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.team-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--sky-100);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.team-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--slate-600);
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--amber-500);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
}

.author-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy-900);
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-500);
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--slate-600);
  font-size: 0.94rem;
}

/* =========================================================
   Contact Section
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-row h4 {
  margin: 0 0 3px;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.contact-row p,
.contact-row a {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.contact-row a:hover {
  color: var(--blue-600);
}

.quick-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--slate-100);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.channel-chip:hover {
  background: var(--sky-100);
  border-color: var(--sky-500);
}

.channel-chip.line {
  background: #e9f9ef;
  color: #067a36;
  border-color: #b7eccb;
}

.channel-chip svg {
  width: 16px;
  height: 16px;
}

.map-frame {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius-md);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-900);
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--slate-500);
  min-height: 20px;
}

.form-note.success {
  color: var(--emerald-600);
  font-weight: 500;
}

/* =========================================================
   Articles & Article Detail (Consistent Modern Theme)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 52px) 0 52px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.25;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.article-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.article-card h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--navy-900);
}

.article-card p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--slate-600);
  flex: 1;
}

.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.article-prose h2 {
  color: var(--navy-900);
  font-size: 1.38rem;
  margin: 28px 0 12px;
}

.article-prose p,
.article-prose li {
  color: var(--slate-700);
  font-size: 0.98rem;
}

.article-prose ul,
.article-prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose a {
  color: var(--blue-600);
  text-decoration: underline;
}

.author-card {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.author-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--navy-900);
}

.author-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* =========================================================
   Footer & Utilities
   ========================================================= */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.56);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-600);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 950;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
  .header-actions .btn-mali,
  .header-actions .lang-switcher {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .split-grid,
  .about-grid,
  .contact-grid,
  .pricing-grid,
  .testimonials-grid,
  .articles-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .split-grid.reverse .split-media {
    order: 0;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .stat-item strong {
    font-size: 1.25rem;
  }
  .mali-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
  .article-wrap {
    padding: 22px 18px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}
