/* ==========================================================================
   Charge Snip — Brand Advisory & Digital Consulting
   Light, professional, fully responsive theme
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fd;
  --bg-soft: #eaf2fe;
  --ink: #0f2140;
  --body: #51617d;
  --muted: #7b8aa5;
  --primary: #1d6ae5;
  --primary-dark: #1353bd;
  --primary-soft: #e7f0fe;
  --accent: #0ea5c6;
  --border: #e2eaf5;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 33, 64, 0.05);
  --shadow: 0 12px 34px rgba(15, 33, 64, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 33, 64, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 78px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.4px;
}

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

:focus-visible {
  outline: 3px solid rgba(29, 106, 229, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 106, 229, 0.32);
}

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

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

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

.btn-light:hover {
  background: #eef4ff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: #c9d6ec;
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d6ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-item:hover {
  color: #fff;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: #7db3ff;
  flex-shrink: 0;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(29, 106, 229, 0.35);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

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

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

.nav-btn {
  padding: 12px 22px;
  font-size: 14.5px;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 106, 229, 0.12) 0%, rgba(29, 106, 229, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 198, 0.1) 0%, rgba(14, 165, 198, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0 96px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  margin-bottom: 20px;
}

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

.hero-text {
  font-size: 17.5px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero-points svg {
  width: 19px;
  height: 19px;
  color: #16a34a;
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.hero-chip {
  position: absolute;
  left: -26px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
}

.hero-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-chip-icon svg {
  width: 22px;
  height: 22px;
}

.hero-chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}

.hero-chip span {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}

.stat {
  text-align: center;
  padding: 0 10px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */

.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--body);
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #cfe0fb;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 19.5px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

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

/* ==========================================================================
   Why choose us
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.feature-item h4 {
  font-size: 17px;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 14.5px;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18.5px;
  margin-bottom: 9px;
}

.step p {
  font-size: 14.5px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  height: 100%;
}

.stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}

.stars svg {
  width: 17px;
  height: 17px;
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--body);
  flex: 1;
}

.person {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.person strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.person span {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16.5px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   Contact section & forms
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.info-card + .info-card {
  margin-top: 18px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.info-card h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.info-card p,
.info-card a {
  font-size: 14.5px;
  color: var(--body);
  word-break: break-word;
}

.info-card a:hover {
  color: var(--primary);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 14.5px;
  margin-bottom: 26px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-group label .req {
  color: #e02424;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12.5px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 106, 229, 0.12);
  background: #fff;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa8bf;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background: #ecfdf3;
  border: 1px solid #b7ecc8;
  color: #0f7a3d;
}

.form-status.error {
  display: block;
  background: #fef1f1;
  border: 1px solid #f6c6c6;
  color: #b91c1c;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16.5px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   Services page extras
   ========================================================================== */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.service-detail + .service-detail {
  margin-top: 90px;
}

.service-detail.reverse .service-media {
  order: 2;
}

.service-media .media-box {
  border-radius: 22px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #f2faff 100%);
  border: 1px solid var(--border);
}

.service-media .media-box .card-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

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

.service-media .media-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.check-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list strong {
  color: var(--ink);
}

/* ==========================================================================
   About page extras
   ========================================================================== */

.value-card {
  text-align: center;
  padding: 36px 26px;
}

.value-card .card-icon {
  margin: 0 auto 20px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mission-card {
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.mission-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  margin-bottom: 12px;
}

.mission-card h3 svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

/* ==========================================================================
   Map
   ========================================================================== */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 52px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 34px;
}

.legal-meta svg {
  width: 15px;
  height: 15px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 17.5px;
  margin: 26px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 15.5px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.legal-content a {
  font-weight: 600;
}

.legal-contact {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-top: 36px;
}

.legal-contact h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.legal-contact p {
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #eef3fa;
  border-top: 1px solid var(--border);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 50px;
}

.footer-brand p {
  font-size: 14.5px;
  margin: 18px 0 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links li + li {
  margin-top: 11px;
}

.footer-links a {
  font-size: 14.5px;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--body);
}

.footer-contact li + li {
  margin-top: 14px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  color: var(--body);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #dbe4f2;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
    padding: 64px 0 72px;
  }

  .split,
  .service-detail {
    gap: 44px;
  }

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

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

@media (max-width: 992px) {
  .topbar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--bg-alt);
  }

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

  .nav-btn {
    margin-top: 12px;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 0 64px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-media {
    max-width: 560px;
  }

  .hero-chip {
    left: 16px;
    bottom: 16px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-media {
    order: -1;
    max-width: 620px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .service-media {
    order: 0;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: clamp(30px, 8.4vw, 38px);
  }

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

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding: 36px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 46px 24px;
    border-radius: 18px;
  }

  .form-card {
    padding: 28px 22px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .map-wrap iframe {
    height: 300px;
  }
}
