/* ===== SafarQu — Professional Website CSS ===== */
/* Brand: Hijau Tua #01564E + Aksen Emas #C9A227 */
/* Font: Plus Jakarta Sans (body) + Amiri (Arabic accents) */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

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

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

ul {
  list-style: none
}

/* --- Variables --- */
:root {
  --brand: #01564E;
  --brand-dark: #003D36;
  --brand-light: #017B6E;
  --brand-lighter: #E0F2F0;
  --gold: #C9A227;
  --gold-light: #E8C84A;
  --gold-dark: #A8861E;
  --text: #1a1a2e;
  --text-light: #5a5a6e;
  --text-muted: #8a8a9e;
  --white: #fff;
  --bg-alt: #F8F9FA;
  --bg-soft: #F0F4F3;
  --border: #E4E7E6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text)
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem)
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem)
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem)
}

h4 {
  font-size: 1.125rem
}

h5 {
  font-size: 1rem
}

h6 {
  font-size: .875rem
}

p {
  margin-bottom: 1rem;
  line-height: 1.8
}

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

a:hover {
  color: var(--gold)
}

strong {
  font-weight: 800
}

small {
  font-size: .875rem;
  color: var(--text-light)
}

.text-muted {
  color: var(--text-light)
}

.text-center {
  text-align: center
}

.text-left {
  text-align: left
}

.text-right {
  text-align: right
}

.section-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: .75rem
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 1rem;
  line-height: 1.25
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9375rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none
}

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

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 86, 78, .3)
}

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

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, .3)
}

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

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

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem
}

.btn-nav-primary {
  padding: .625rem 1.25rem;
  font-size: .875rem;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm)
}

.btn-nav-primary:hover {
  background: #001c19;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md)
}

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

.btn-dark:hover {
  background: #001c19;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 28, 25, .3)
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: .75rem 0;
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px)
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  padding: .5rem 0
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0
}

.nav-brand-icon {
  font-size: 1.5rem
}

.nav-brand-text {
  color: var(--brand)
}

.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain
}

/* Dual Logo Logic */
.nav-logo.logo-white { display: none; }
.navbar:not(.scrolled) .nav-logo.logo-white { display: block; }
.navbar:not(.scrolled) .nav-logo.logo-dark:not(.force-show) { display: none; }

.navbar:not(.scrolled) .nav-brand-text {
  color: #fff
}

.navbar:not(.scrolled) .nav-brand-icon {
  filter: none
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none
}

.nav-link {
  padding: .5rem .875rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  transition: var(--transition);
  position: relative
}

.navbar.scrolled .nav-link {
  color: var(--text)
}

.nav-link:hover {
  background: rgba(255, 255, 255, .12)
}

.navbar.scrolled .nav-link:hover {
  background: var(--brand-lighter);
  color: var(--brand)
}

.nav-link.active {
  color: var(--gold-light)
}

.navbar.scrolled .nav-link.active {
  color: var(--brand);
  font-weight: 600
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .375rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  color: rgba(255, 255, 255, .9);
  outline: none;
  height: 100%
}

.navbar.scrolled .nav-dropdown-toggle {
  color: var(--text)
}

.nav-dropdown-toggle.active {
  color: var(--gold-light)
}

.navbar.scrolled .nav-dropdown-toggle.active {
  color: var(--brand)
}

.nav-dropdown-chevron {
  transition: transform .3s ease;
  opacity: .8;
  margin-top: 1px
}

.nav-dropdown-toggle.open .nav-dropdown-chevron {
  transform: rotate(180deg)
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 1100;
  list-style: none;
  margin-top: .25rem
}

.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0)
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1rem;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text)
}

.nav-dropdown-link:hover {
  background: var(--brand-lighter)
}

.nav-dropdown-link.active {
  background: var(--brand-lighter);
  color: var(--brand)
}

.nav-dropdown-link .icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(1, 86, 78, .15) 0%, rgba(0, 61, 54, .08) 100%);
  border-radius: 10px;
  padding: 8px;
  color: var(--brand);
  border: 1px solid rgba(1, 86, 78, .25)
}

.nav-dropdown-link span {
  display: flex;
  flex-direction: column;
  gap: .125rem
}

.nav-dropdown-link strong {
  font-size: .875rem;
  font-weight: 600
}

.nav-dropdown-link small {
  font-size: .75rem;
  color: var(--text-light)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1100
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: var(--transition)
}

.navbar:not(.scrolled) .hamburger span {
  background: #fff
}

.hamburger.active span {
  background: var(--brand) !important
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* --- Backdrop --- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(2px)
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto
}

/* --- Section Spacing --- */
.section {
  padding: 120px 0;
  position: relative
}

.section-sm {
  padding: 80px 0;
  position: relative
}

.section-tight {
  padding: 64px 0;
  position: relative
}

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

.section-brand {
  background: var(--brand);
  color: #fff;
  position: relative
}

.section-brand p {
  color: rgba(255, 255, 255, .8)
}

.section-brand .section-title {
  color: #fff
}

.section-soft {
  background: var(--bg-soft);
  position: relative
}

/* --- Hero (Home) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--brand-dark);
  overflow: hidden;
  padding: 100px 0 80px
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) contrast(1.05) saturate(1.15);
  transform: scale(1.02)
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 61, 54, .72) 0%, rgba(1, 86, 78, .5) 45%, rgba(0, 61, 54, .65) 100%), radial-gradient(circle at 18% 25%, rgba(1, 123, 110, .25) 0%, transparent 60%), radial-gradient(circle at 85% 40%, rgba(201, 162, 39, .12) 0%, transparent 62%);
  backdrop-filter: blur(1px)
}

.hero-ornaments {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none
}

.hero-ornament {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: .6;
  transform: translate3d(0, 0, 0);
  animation: heroOrnamentFloat 12s ease-in-out infinite
}

.hero-ornament.o1 {
  width: 220px;
  height: 220px;
  left: -60px;
  top: 140px;
  background: radial-gradient(circle at 30% 30%, rgba(1, 123, 110, .55) 0%, transparent 70%);
  animation-duration: 13s
}

.hero-ornament.o2 {
  width: 160px;
  height: 160px;
  right: 6%;
  top: 110px;
  background: radial-gradient(circle at 30% 30%, rgba(201, 162, 39, .35) 0%, transparent 70%);
  animation-duration: 11s
}

.hero-ornament.o3 {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: 110px;
  background: radial-gradient(circle at 30% 30%, rgba(1, 86, 78, .45) 0%, transparent 72%);
  animation-duration: 15s
}

.hero-ornament.o4 {
  width: 140px;
  height: 140px;
  left: 38%;
  bottom: 60px;
  background: radial-gradient(circle at 30% 30%, rgba(201, 162, 39, .2) 0%, transparent 70%);
  animation-duration: 10s
}

@keyframes heroOrnamentFloat {
  0% {
    transform: translate3d(-10px, -6px, 0) scale(1)
  }

  50% {
    transform: translate3d(10px, 8px, 0) scale(1.04)
  }

  100% {
    transform: translate3d(-6px, 10px, 0) scale(1.02)
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%
}

.hero-text {
  animation: fadeInUp .8s ease;
  text-align: center
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50px;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px)
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s infinite
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em
}

.hero-title .gold {
  color: var(--gold-light)
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, .9);
  margin-bottom: 1.5rem;
  font-weight: 500
}

.hero-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .75);
  margin: 0 auto 2rem auto;
  max-width: 540px;
  line-height: 1.8
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  justify-content: center
}

.hero-stat {
  text-align: center
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1
}

.hero-stat-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  margin-top: .25rem
}

.hero-visual {
  position: relative;
  animation: fadeInRight .8s ease;
  z-index: 3
}

.hero-phone {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  animation: heroPhoneFloat 3s ease-in-out infinite
}

.hero-phone-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .35)) drop-shadow(0 10px 18px rgba(0, 0, 0, .2))
}

@keyframes heroPhoneFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .4;
  animation: float 6s ease-in-out infinite
}

.hero-decoration.d1 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: -40px;
  right: -40px;
  animation-delay: 0s
}

.hero-decoration.d2 {
  width: 160px;
  height: 160px;
  background: var(--brand-light);
  bottom: -30px;
  left: -30px;
  animation-delay: 2s
}

/* --- Marquee --- */
.section-marquee { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-container { position: relative; width: 100vw; max-width: 100%; overflow: hidden; }
.marquee-container::before, .marquee-container::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee-container::before { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }
.marquee-content { display: flex; align-items: center; width: max-content; animation: scrollMarquee 30s linear infinite; gap: 4rem; padding: 0 2rem; }
.marquee-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; filter: grayscale(100%) opacity(0.6); transition: var(--transition); }
.marquee-item:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Z-Pattern Features --- */
.z-pattern-section { padding: 100px 0; overflow: hidden; }
.z-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.z-row-reverse .z-content { order: 2; }
.z-row-reverse .z-image { order: 1; }
.z-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--brand); margin-bottom: 1.25rem; line-height: 1.2; }
.z-desc { font-size: 1.0625rem; color: var(--text-light); line-height: 1.8; margin-bottom: 2rem; }
.z-list { display: flex; flex-direction: column; gap: 1rem; }
.z-list li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--text); }
.z-list .icon { color: var(--gold); }
.z-image { position: relative; }
.z-image-wrapper { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.z-image-wrapper img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.7s ease; }
.z-row:hover .z-image-wrapper img { transform: scale(1.03); }

/* --- Promo Banner --- */
.promo-banner { position: relative; background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); border-radius: var(--radius-xl); padding: 4rem; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.promo-banner-content { position: relative; z-index: 2; max-width: 600px; }
.promo-title { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.promo-desc { font-size: 1.125rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; line-height: 1.7; }
.promo-banner-illustration { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: 1; pointer-events: none; }
.promo-shape { position: absolute; border-radius: 50%; opacity: 0.15; }
.promo-shape.shape-1 { width: 300px; height: 300px; background: var(--gold); top: -100px; right: -50px; }
.promo-shape.shape-2 { width: 400px; height: 400px; background: var(--brand-light); bottom: -150px; right: 100px; }

/* --- Blog Section --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand-lighter); }
.blog-image { position: relative; height: 220px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-category { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: #fff; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; }
.blog-content { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; line-height: 1.4; transition: var(--transition); }
.blog-card:hover .blog-title { color: var(--brand); }
.blog-excerpt { font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.blog-read-more { font-size: 0.875rem; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.blog-card:hover .blog-read-more { gap: 0.75rem; color: var(--gold); }

/* --- Page Hero (non-home pages) --- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  position: relative;
  overflow: hidden
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, .1) 0%, transparent 50%)
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .75);
  max-width: 640px;
  margin: 0 auto
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5)
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .7);
  transition: var(--transition)
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-light)
}

/* --- Icons --- */
.icon {
  color: var(--brand);
  transition: var(--transition)
}

.icon-gold {
  color: var(--brand)
}

.icon-bronze {
  color: var(--brand-dark)
}

.icon-white {
  color: #fff
}

.icon-muted {
  color: var(--text-light)
}

.icon svg {
  width: 100%;
  height: 100%
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(1, 86, 78, .1) 0%, rgba(0, 61, 54, .05) 100%);
  border-radius: 12px;
  padding: 12px;
  color: var(--brand);
  border: 1px solid rgba(1, 86, 78, .2)
}

.feature-card:hover .icon {
  background: linear-gradient(135deg, rgba(1, 86, 78, .2) 0%, rgba(0, 61, 54, .1) 100%);
  transform: scale(1.05)
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  text-align: center
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-lighter)
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem auto;
  background: var(--brand-lighter);
  color: var(--brand)
}

.card-icon-gold {
  background: rgba(201, 162, 39, .12);
  color: var(--gold)
}

.card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .625rem
}

.card-text {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: center
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1)
}

.feature-card:hover::before {
  transform: scaleX(1)
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(1, 86, 78, .15), 0 8px 16px -8px rgba(201, 162, 39, .1);
  border-color: rgba(1, 86, 78, .2)
}

.feature-card .icon {
  margin: 0 auto 1.5rem auto
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: .875rem;
  color: var(--text);
  font-weight: 700
}

.feature-card p {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center
}

/* --- Persona Cards --- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem
}

.persona-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, .1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, .05)
}

.persona-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .15)
}

.persona-header {
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  background: var(--brand)
}

.persona-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem
}

.persona-title {
  font-size: 1.3125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem
}

.persona-subtitle {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .85)
}

.persona-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center
}

.persona-body p {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  text-align: center
}

.persona-features {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center
}

.persona-feature {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  color: var(--text)
}

.persona-feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--gold));
  transform: translateX(-50%)
}

.timeline-item {
  position: relative;
  padding: 0 3rem 3rem 3rem;
  width: 50%
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left
}

.timeline-item:last-child {
  padding-bottom: 0
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
  z-index: 2
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px
}

.timeline-number {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .5rem
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .625rem
}

.timeline-text {
  font-size: .9375rem;
  color: var(--text-light);
  text-align: justify
}

/* --- Steps (How It Works) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem
}

.steps-column {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem
}

.steps-column h3 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  color: var(--brand)
}

.steps-column .column-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem
}

.steps-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}

.steps-list-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-lighter);
  color: var(--brand);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.steps-list-content h4 {
  font-size: 1rem;
  margin-bottom: .25rem
}

.steps-list-content p {
  font-size: .875rem;
  color: var(--text-light)
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition)
}

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

.testimonial-rating {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: .1em
}

.testimonial-text {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: justify
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700
}

.testimonial-name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text)
}

.testimonial-role {
  font-size: .8125rem;
  color: var(--text-muted)
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition)
}

.faq-item:hover {
  border-color: var(--brand-lighter)
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--transition)
}

.faq-question:hover {
  color: var(--brand)
}

.faq-question.active {
  color: var(--brand)
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-lighter);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  font-weight: 300
}

.faq-question.active .faq-icon {
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg)
}

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

.faq-answer.open {
  max-height: 300px
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.7
}

/* --- Gallery Slider --- */
.section-gallery {
  background: var(--bg-soft)
}

.gallery-slider-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0
}

.gallery-slider {
  overflow: hidden
}

.gallery-track {
  display: flex;
  gap: 2rem;
  transition: transform .5s ease;
  padding: 1rem
}

.gallery-slide {
  flex: 0 0 auto;
  width: 280px;
  user-select: none;
  transition: transform .3s ease
}

.gallery-slide:hover {
  transform: scale(1.05)
}

.gallery-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border: none;
  aspect-ratio: 9/16
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.gallery-caption {
  margin-top: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--brand);
  font-size: .875rem
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  z-index: 10
}

.gallery-nav:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-50%) scale(1.1)
}

.gallery-nav:disabled {
  opacity: .3;
  cursor: not-allowed;
  transform: translateY(-50%)
}

.gallery-prev {
  left: 10px
}

.gallery-next {
  right: 10px
}

.gallery-nav svg {
  width: 24px;
  height: 24px
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-lighter);
  border: none;
  cursor: pointer;
  transition: all .3s ease
}

.gallery-dot.active {
  background: var(--brand);
  transform: scale(1.2)
}

@media(max-width:768px) {
  .gallery-slide {
    width: 230px
  }

  .gallery-nav {
    width: 40px;
    height: 40px
  }

  .gallery-nav svg {
    width: 20px;
    height: 20px
  }
  
  .z-title { font-size: 2rem; }
  .promo-banner { padding: 2rem 1.5rem; }
  .promo-title { font-size: 1.75rem; }
}


/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, .15) 0%, transparent 50%)
}

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

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto
}

.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius)
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-lighter);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem
}

.contact-info-label {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem
}

.contact-info-value {
  font-size: .9375rem;
  color: var(--text)
}

.contact-info-value a {
  color: var(--brand);
  transition: var(--transition)
}

.contact-info-value a:hover {
  color: var(--gold)
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem
}

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

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem
}

.form-input,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .9375rem;
  font-family: inherit;
  color: var(--text);
  transition: var(--transition);
  background: var(--bg-alt)
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 86, 78, .1);
  background: #fff
}

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

/* --- Stats Banner --- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center
}

.stat-item-brand .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1
}

.stat-item-brand .stat-label {
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
  margin-top: .5rem;
  display: block
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: var(--brand-lighter);
  border-radius: var(--radius)
}

.about-highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  flex-shrink: 0
}

.about-highlight-text {
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand)
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative
}

.about-visual-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-lighter) 0%, rgba(201, 162, 39, .1) 100%);
  display: flex;
  align-items: center;
  justify-content: center
}

.about-visual-icon {
  font-size: 8rem
}

/* --- Footer --- */
.footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, .8);
  padding: 64px 0 24px
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem
}

.footer-brand-section .footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem
}

.footer-brand-icon {
  font-size: 1.5rem
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff
}

.footer-logo {
  height: 40px;
  width: auto
}

.footer-tagline {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1rem;
  font-style: italic
}

.footer-note {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.6
}

.footer-heading {
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .625rem
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition)
}

.footer-links a:hover {
  color: var(--gold-light)
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition)
}

.social-link:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px)
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center
}

.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .4)
}

.footer-bottom p a {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom p a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.1)
  }
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease
}

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

/* --- Responsive --- */
@media(max-width:1200px) {
  .nav-menu {
    gap: 0
  }

  .nav-link {
    padding: .5rem .625rem;
    font-size: .8125rem
  }
}

@media(max-width:1100px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: .5rem;
    box-shadow: var(--shadow-lg);
    transition: right .3s ease;
    z-index: 999;
    overflow-y: auto
  }

  .nav-menu.active {
    right: 0
  }

  .nav-menu li {
    width: 100%;
    align-self: stretch
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    align-self: stretch;
    padding: .875rem 1rem;
    color: var(--text) !important;
    border-radius: 10px;
    font-size: .875rem
  }

  .nav-link:hover {
    background: var(--brand-lighter)
  }

  .nav-link.active {
    background: var(--brand-lighter);
    color: var(--brand) !important
  }

  .navbar:not(.scrolled) .nav-link {
    color: var(--text) !important
  }

  .hamburger {
    display: flex
  }

  .btn-nav-primary {
    display: none
  }

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

  .nav-dropdown {
    width: 100%;
    display: block
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: .875rem 1rem;
    border-radius: 10px;
    font-size: .875rem;
    color: var(--text) !important;
    height: auto
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    width: 100%;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0;
    margin-top: .5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
  }

  .nav-dropdown-menu.open {
    max-height: 500px;
    padding: .5rem;
    transform: none !important
  }

  .nav-dropdown-link {
    padding: .75rem;
    border-radius: 8px;
    width: 100%
  }

  .nav-dropdown-link span {
    width: 100%
  }
}

@media(max-width:968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center
  }

  .hero-stats {
    justify-content: center
  }

  .hero-buttons {
    justify-content: center
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto
  }

  .hero-visual {
    order: -1;
    max-width: 300px;
    margin: 0 auto 2rem
  }

  .hero-phone {
    max-width: 260px;
    margin: 0 auto
  }

  .persona-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .about-mission-grid {
    grid-template-columns: 1fr
  }

  .z-row { grid-template-columns: 1fr; gap: 3rem; }
  .z-row-reverse .z-content { order: 1; }
  .z-row-reverse .z-image { order: 2; }
  .promo-banner { padding: 3rem 2rem; text-align: center; justify-content: center; flex-direction: column; }
  .promo-banner-illustration { width: 100%; }
  .promo-shape.shape-1 { right: auto; left: -50px; }

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
  }

  .timeline::before {
    left: 10px
  }

  .timeline-item {
    width: 100%;
    padding: 0 0 2rem 2.5rem;
    text-align: left !important;
    left: 0 !important
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    right: auto
  }
}

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

  .page-hero {
    padding: 120px 0 64px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .about-highlights {
    grid-template-columns: 1fr
  }

  .cta-banner {
    padding: 2rem 1.5rem
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem
  }

  .hero-stat-number {
    font-size: 1.5rem
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 16px
  }

  .feature-grid {
    grid-template-columns: 1fr
  }

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

  .stats-banner {
    grid-template-columns: 1fr
  }

  .hero-phone {
    max-width: 240px
  }

  .gallery-slide {
    width: 170px
  }
}
/* --- Image Modal --- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    border-radius: 8px;
    object-fit: contain;
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: none;
    border: none;
    z-index: 10000;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery-card img {
    cursor: pointer;
}


/* Fix gallery nav z-index */
.gallery-nav { z-index: 50 !important; }



