/* ============================================================
   MOON TREASURE FACILITIES MANAGEMENT — MAIN STYLESHEET
   Brand: Teal #1A6E8E + Orange #E5722A + Navy #0D2E3F
   ============================================================ */

/* =====  RESET & BASE  ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --teal: #1A6E8E;
  --teal-light: #E6F3F8;
  --teal-dark: #145771;
  --orange: #E5722A;
  --orange-light: #FCE7D5;
  --orange-dark: #C95F1E;
  --navy: #0D2E3F;
  --navy-light: #1A4A65;
  --gold: #C4922A;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --green-whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --section-pad: 100px;
  --section-pad-mobile: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 46, 63, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 46, 63, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 46, 63, 0.12);
  --shadow-teal: 0 12px 32px rgba(26, 110, 142, 0.18);
  --shadow-orange: 0 12px 32px rgba(229, 114, 42, 0.22);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--orange);
}

ul {
  list-style: none;
}

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

/* =====  TYPOGRAPHY  ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--gray-500);
  line-height: 1.7;
}

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

.section {
  padding: var(--section-pad) 0;
}

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

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

/* Section heading block */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .pill {
  margin: 0 auto 16px;
}

.section-head h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* =====  PILL / BADGE  ===== */
.pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.pill--teal {
  background: var(--teal-light);
  color: var(--teal);
}

.pill--solid-orange {
  background: var(--orange);
  color: white;
}

/* =====  BUTTONS  ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--t-base);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(26, 110, 142, 0.28);
  color: white;
}

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

.btn--orange:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.btn--orange-solid {
  background: var(--orange);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn--orange-solid:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  color: white;
}

.btn--white {
  background: white;
  color: var(--navy);
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  color: var(--navy);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: white;
}

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

.btn--whatsapp {
  background: var(--green-whatsapp);
  color: white;
}

.btn--whatsapp:hover {
  background: #1da851;
  color: white;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* =====  TOP BAR  ===== */
.topbar {
  background: var(--navy);
  color: white;
  font-size: 13px;
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar__contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__contact a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__contact a:hover {
  color: var(--orange);
}

.topbar__social {
  display: flex;
  gap: 12px;
}

.topbar__social a {
  color: rgba(255, 255, 255, 0.7);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.topbar__social a:hover {
  color: var(--orange);
}

/* =====  NAVBAR  ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), background var(--t-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__brand-text strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.navbar__brand-text span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.navbar__links a {
  color: var(--gray-800);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--teal);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  transform: scaleX(1);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.navbar__toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all var(--t-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 1024px) {
  .navbar__links,
  .navbar__cta .btn {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar.menu-open .navbar__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .navbar.menu-open .navbar__cta .btn {
    display: inline-flex;
    margin-top: 8px;
  }

  .navbar.menu-open .navbar__links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
  }
}

/* =====  HERO  ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(13, 46, 63, 0.92) 0%, rgba(13, 46, 63, 0.65) 50%, rgba(26, 110, 142, 0.4) 100%);
  z-index: 1;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

/* ===== Hero Visual (right column on desktop) ===== */
.hero__visual {
  position: relative;
  height: 540px;
  width: 100%;
}

.hero__visual-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 78%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.08);
}

.hero__visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero__visual:hover .hero__visual-main img {
  transform: scale(1.04);
}

.hero__visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  height: 50%;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

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

.hero__floating-card {
  position: absolute;
  top: 40px;
  left: -8px;
  background: white;
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.30);
  z-index: 3;
  animation: heroFloatA 4.5s ease-in-out infinite;
  max-width: 240px;
}

.hero__floating-card i {
  font-size: 30px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero__floating-card strong {
  display: block;
  color: var(--gray-800);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__floating-card span {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

.hero__floating-stat {
  position: absolute;
  bottom: 50px;
  right: -16px;
  background: var(--orange);
  color: white;
  padding: 16px 22px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(229, 114, 42, 0.55);
  z-index: 3;
  animation: heroFloatB 5s ease-in-out infinite;
  min-width: 110px;
}

.hero__floating-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
}

.hero__floating-stat strong i {
  font-size: 18px;
  margin-left: 2px;
  vertical-align: 2px;
}

.hero__floating-stat span {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

@keyframes heroFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Tablet — keep visual but smaller */
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero__visual {
    height: 420px;
    max-width: 540px;
    margin: 0 auto;
  }
}

/* Mobile — hide visual since the bg image carries the feel */
@media (max-width: 640px) {
  .hero__visual {
    display: none;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat {
  position: relative;
  padding-right: 32px;
}

.hero__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.hero__stat span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(229, 114, 42, 0.15) 0%, transparent 50%);
}

.page-hero h1 {
  color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: var(--orange);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
}

/* =====  CARDS  ===== */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-teal);
  border-left: 4px solid var(--orange);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all var(--t-base);
}

.card:hover .card__icon {
  background: var(--orange);
  color: white;
  transform: rotate(-6deg);
}

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

.card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card:hover .card__link {
  color: var(--orange);
}

.card__link:hover {
  gap: 8px;
}

/* ===== Image-background card variant ===== */
.card.card--bg {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  border: none;
  padding: 28px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.card--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: 0;
}

.card--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 46, 63, 0.15) 0%,
    rgba(13, 46, 63, 0.65) 45%,
    rgba(13, 46, 63, 0.95) 85%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.card--bg > * {
  position: relative;
  z-index: 2;
}

.card--bg .card__icon {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0;
}

.card--bg h3 {
  color: white;
  margin-bottom: 8px;
}

.card--bg p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.card--bg .card__link {
  color: var(--orange);
  font-weight: 700;
}

/* Override default card hover for bg variant */
.card.card--bg:hover {
  transform: translateY(-10px);
  border-left: none;
  box-shadow: 0 24px 50px rgba(13, 46, 63, 0.35);
}

.card--bg:hover::before {
  transform: scale(1.08);
}

.card--bg:hover .card__icon {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-6deg);
}

.card--bg:hover .card__link {
  color: white;
  gap: 8px;
}

/* Subtle bottom orange accent on hover */
.card--bg::before {
  /* keep above */
}

.card--bg:hover {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

/* Grid */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

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

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* =====  STATS BANNER (multi-color card design)  ===== */
.stats-banner {
  background: var(--bg-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(143, 60, 244, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(229, 114, 42, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(26, 110, 142, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  --accent: var(--orange);
  --accent-soft: rgba(229, 114, 42, 0.18);
  --accent-glow: rgba(229, 114, 42, 0.30);
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(13, 46, 63, 0.05);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(ellipse at top, var(--accent-soft) 0%, transparent 75%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity var(--t-base);
}

.stat-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-soft);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base);
}

.stat-item__icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 24px var(--accent-glow);
  transition: transform var(--t-base);
}

.stat-item__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.stat-item__label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 1;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--accent-glow);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover::after {
  opacity: 1;
}

.stat-item:hover .stat-item__icon {
  transform: scale(1.08) rotate(-6deg);
}

/* Per-stat color themes */
.stat-item--purple {
  --accent: #8F3CF4;
  --accent-soft: rgba(143, 60, 244, 0.18);
  --accent-glow: rgba(143, 60, 244, 0.30);
}

.stat-item--teal {
  --accent: #1A6E8E;
  --accent-soft: rgba(26, 110, 142, 0.18);
  --accent-glow: rgba(26, 110, 142, 0.28);
}

.stat-item--orange {
  --accent: #E5722A;
  --accent-soft: rgba(229, 114, 42, 0.18);
  --accent-glow: rgba(229, 114, 42, 0.32);
}

.stat-item--gold {
  --accent: #C4922A;
  --accent-soft: rgba(196, 146, 42, 0.20);
  --accent-glow: rgba(196, 146, 42, 0.28);
}

@media (max-width: 1024px) {
  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-banner { padding: 72px 0; }
}

@media (max-width: 480px) {
  .stats-banner__grid { grid-template-columns: 1fr; }
}

/* =====  TWO-COLUMN LAYOUT  ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.two-col__image {
  position: relative;
}

.two-col__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--orange);
  color: white;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange);
  transform: rotate(-3deg);
  z-index: 2;
}

.floating-card small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.floating-card strong {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

/* Check list */
.check-list {
  margin: 24px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-800);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* =====  INDUSTRY CARDS  ===== */
.industry-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-base);
}

.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13, 46, 63, 0.92) 100%);
}

.industry-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: white;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.industry-card__content h3 {
  color: white;
  font-size: 1.3rem;
  margin: 0;
}

.industry-card__icon {
  font-size: 28px;
  opacity: 0.9;
}

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

.industry-card:hover img {
  transform: scale(1.08);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 2;
  pointer-events: none;
}

.industry-card:hover::before {
  opacity: 1;
}

/* =====  PROCESS STEPS  ===== */
.process {
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process__grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--teal) 50%, transparent 50%);
  background-size: 12px 2px;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.process-step__icon {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* =====  TRUST BADGES ROW  ===== */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-badge {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--t-base);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.trust-badge__icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 12px;
}

.trust-badge h4 {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
}

.trust-badge small {
  font-size: 12px;
  color: var(--gray-500);
  display: block;
}

@media (max-width: 768px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

/* =====  TESTIMONIALS  ===== */
.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  font-family: serif;
}

.testimonial p {
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial__name {
  flex: 1;
}

.testimonial__name strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.testimonial__name span {
  font-size: 12px;
  color: var(--gray-500);
}

.testimonial__stars {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 1px;
}

/* =====  FAQ ACCORDION  ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t-base);
}

.faq-item.open {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.faq-item__q::after {
  content: "+";
  font-size: 24px;
  color: var(--teal);
  font-weight: 300;
  transition: transform var(--t-base);
}

.faq-item.open .faq-item__q::after {
  content: "−";
  color: var(--orange);
}

.faq-item__a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base), padding var(--t-base);
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-item__a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* =====  CTA BANNER  ===== */
.cta-banner {
  background: linear-gradient(95deg, var(--orange) 0%, #d35e16 100%);
  padding: 64px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
                    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: white;
  margin: 0 0 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-banner__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====  FOOTER  ===== */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.footer__main {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer h4 {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__brand {
  max-width: 360px;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand-row img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  padding: 4px;
}

.footer__brand-row strong {
  color: white;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.3;
  display: block;
}

.footer__brand p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
}

.footer__social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
  color: white;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  color: var(--gray-400);
  font-size: 14px;
}

.footer__list a:hover {
  color: var(--teal-light);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-400);
}

.footer__contact-item i {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1024px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =====  FLOATING BUTTONS  ===== */
.float-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  transition: all var(--t-base);
  cursor: pointer;
}

.float-btn--whatsapp {
  background: var(--green-whatsapp);
  animation: pulse 2s infinite;
}

.float-btn--phone {
  background: var(--teal);
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 14px rgba(37, 211, 102, 0); }
}

#scrollTop {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 89;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--t-base);
}

#scrollTop.show {
  display: inline-flex;
}

#scrollTop:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

/* =====  FORMS  ===== */
.form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form__group {
  margin-bottom: 16px;
}

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-light);
  transition: all var(--t-fast);
  color: var(--navy);
}

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

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 110, 142, 0.1);
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* =====  ANIMATIONS  ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =====  UTILITIES  ===== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* =====  GALLERY  ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  background: rgba(13, 46, 63, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  opacity: 0;
  transition: opacity var(--t-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* =====  FILTER TABS  ===== */
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.tab {
  padding: 10px 22px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--t-base);
}

.tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tab.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* =====  COMPARISON TABLE  ===== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.compare-table thead th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}

.compare-table thead th:nth-child(2) {
  background: var(--teal);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-light);
}

.compare-table .yes { color: #16a34a; font-size: 18px; font-weight: 700; }
.compare-table .no { color: #dc2626; font-size: 18px; font-weight: 700; }

@media (max-width: 768px) {
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 6px; }
}

/* =====  CERT CARD  ===== */
.cert-card {
  background: white;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--t-base);
}

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

.cert-card__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}

.cert-card__head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cert-card__head .status {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.cert-card__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: 14px;
}

.cert-card__details dt {
  color: var(--gray-500);
  font-weight: 500;
}

.cert-card__details dd {
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font-accent);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================================ */

/* TABLET (≤ 1024px) ------------------------------------------ */
@media (max-width: 1024px) {
  .section,
  .stats-banner,
  .cta-banner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-head { margin-bottom: 40px; }

  .navbar__inner { height: 72px; }

  .navbar__brand img { width: 46px; height: 46px; }

  .navbar__brand-text strong { font-size: 14px; }

  .navbar__brand-text span { font-size: 10px; }

  /* Mobile drawer styling */
  .navbar.menu-open .navbar__links {
    top: 72px;
    padding: 8px 18px 24px;
    gap: 0;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 16px 40px rgba(13, 46, 63, 0.15);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    animation: drawerSlide 0.3s ease;
  }

  .navbar.menu-open .navbar__links a {
    width: 100%;
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-200);
  }

  .navbar.menu-open .navbar__links li:last-child a {
    border-bottom: none;
  }

  .navbar.menu-open .navbar__cta .btn {
    width: 100%;
    margin: 12px 18px 18px;
    justify-content: center;
    padding: 14px;
  }

  @keyframes drawerSlide {
    from { transform: translateY(-12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}

/* MOBILE (≤ 768px) ------------------------------------------- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Section padding */
  .section { padding: 60px 0; }
  .stats-banner { padding: 64px 0; }
  .cta-banner { padding: 50px 0; }

  /* Typography scaling */
  h1 { font-size: 2rem; line-height: 1.15; }
  h2 { font-size: 1.55rem; line-height: 1.25; }
  h3 { font-size: 1.1rem; }

  .section-head {
    margin-bottom: 32px;
    padding: 0 4px;
  }

  .section-head p { font-size: 0.95rem; }

  /* HERO mobile */
  .hero {
    min-height: 92vh;
    min-height: 92dvh;
  }

  .hero__inner {
    padding: 40px 0 80px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.1;
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  /* Hero buttons - full width */
  .hero__buttons {
    flex-direction: column;
    margin-bottom: 32px;
    gap: 12px;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* Hero stats - 2x2 glass cards */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero__stat {
    padding: 14px 10px;
    border-right: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-align: center;
  }

  .hero__stat::after { display: none; }

  .hero__stat strong { font-size: 1.5rem; }

  .hero__stat span { font-size: 12px; }

  .hero__scroll { display: none; }

  /* Page hero */
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 1.85rem; }
  .page-hero p { font-size: 0.95rem; }

  /* Two-col stacks */
  .two-col { gap: 36px; }

  /* Floating image cards in hero (kept hidden via existing rule) */

  /* Cards mobile */
  .card { padding: 24px; }

  .card.card--bg {
    min-height: 340px;
    padding: 24px;
  }

  .card.card--bg h3 { font-size: 1.2rem; }

  /* Floating image card on About */
  .floating-card {
    bottom: -16px;
    left: -16px;
    padding: 14px 18px;
  }

  .floating-card strong { font-size: 16px; }

  /* Stats banner mobile */
  .stats-banner__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-item {
    padding: 30px 16px 24px;
  }

  .stat-item__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  /* Industry cards taller for visual impact */
  .industry-card { height: 220px; }

  .industry-card__content { padding: 20px; }

  .industry-card__content h3 { font-size: 1.15rem; }

  /* Process steps */
  .process-step__num { width: 60px; height: 60px; font-size: 1.5rem; }
  .process-step h3 { font-size: 1.05rem; }
  .process-step p { font-size: 13px; }

  /* Trust badges 2-col */
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-badge { padding: 18px 14px; }
  .trust-badge__icon { font-size: 28px; }

  /* Testimonials */
  .testimonial { padding: 24px; }
  .testimonial p { font-size: 14px; }

  /* FAQ */
  .faq-item__q {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.4;
  }

  .faq-item__a {
    padding: 0 20px;
    font-size: 13px;
  }

  .faq-item.open .faq-item__a {
    padding: 0 20px 18px;
  }

  /* CTA banner stack */
  .cta-banner__inner {
    text-align: center;
    flex-direction: column;
    gap: 24px;
  }

  .cta-banner h2 { font-size: 1.5rem; }

  .cta-banner__buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .cta-banner__buttons .btn { width: 100%; padding: 14px; }

  /* Forms - 16px to prevent iOS zoom */
  .form { padding: 24px; border-radius: var(--radius-md); }
  .form__group input,
  .form__group select,
  .form__group textarea {
    font-size: 16px;
    padding: 14px 14px;
  }

  .form__group label { font-size: 13px; }

  /* Filter tabs - horizontal scroll */
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin: 0 -18px 32px;
    padding-left: 18px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar { display: none; }

  .tab { flex-shrink: 0; padding: 10px 18px; font-size: 13px; }

  /* Compare table - tighter */
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 6px; }

  /* Cert cards full width */
  .cert-card { padding: 22px; }
  .cert-card h3 { font-size: 1.1rem; }
  .cert-card__details { gap: 6px 14px; font-size: 13px; }

  /* Floating buttons - smaller, lower visibility on mobile */
  .float-buttons {
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  #scrollTop {
    bottom: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Footer mobile */
  .footer__main {
    padding: 56px 0 32px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer h4 { margin-bottom: 14px; }

  .footer__list li { margin-bottom: 8px; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 18px 0;
  }

  /* Hide brand sub-text on tiny screens */
  .navbar__brand-text strong { font-size: 13px; }
  .navbar__brand-text span { font-size: 9.5px; }

  /* Gallery 2-col */
  .gallery-grid { gap: 10px; }

  /* About credentials strip */
  section[style*="background: var(--orange)"] .grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* SMALL PHONES (≤ 480px) ------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .section { padding: 52px 0; }
  .stats-banner { padding: 56px 0; }

  /* Navbar */
  .navbar__inner { height: 64px; }
  .navbar__brand img { width: 38px; height: 38px; }
  .navbar.menu-open .navbar__links { top: 64px; }

  /* Brand text — KEEP visible on mobile (compact form) */
  .navbar__brand-text { display: flex; }
  .navbar__brand-text strong { font-size: 12px; letter-spacing: 0.2px; }
  .navbar__brand-text span { font-size: 9px; letter-spacing: 0.3px; }

  /* Headings */
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }

  .hero h1 { font-size: 2rem; }

  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p { font-size: 0.9rem; }

  /* Stats banner 1-col on tiny screens */
  .stats-banner__grid { grid-template-columns: 1fr; gap: 12px; }

  .stat-item__num { font-size: 2.4rem; }

  /* Hero stats - keep 2x2 but tighter */
  .hero__stat strong { font-size: 1.3rem; }
  .hero__stat span { font-size: 11px; }

  /* Industry cards 1-col on tiny screens */
  .industry-card { height: 180px; }
  .industry-card__content h3 { font-size: 1.05rem; }

  /* Smaller floating buttons */
  .float-btn { width: 46px; height: 46px; font-size: 19px; }

  /* Form padding tight */
  .form { padding: 20px; }
  .form__row { gap: 12px; }

  /* Cert card details */
  .cert-card__details { font-size: 12px; gap: 4px 12px; }
  .cert-card__details dt { font-size: 11px; }
  .cert-card__details dd { font-size: 12px; }

  /* CTA banner mobile */
  .cta-banner h2 { font-size: 1.3rem; }
  .cta-banner p { font-size: 0.9rem; }
}

/* ============================================================
   MOBILE HERO — Playful, human-designed redesign
   Active below 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Hero gets a softer, more designed feel on mobile */
  .hero {
    background: linear-gradient(165deg, #1F0A38 0%, #2A0F4A 35%, #1A6E8E 100%);
  }

  .hero::before {
    opacity: 0.18;
  }

  .hero::after {
    background: linear-gradient(165deg,
      rgba(31, 10, 56, 0.85) 0%,
      rgba(42, 15, 74, 0.55) 40%,
      rgba(143, 60, 244, 0.18) 75%,
      rgba(229, 114, 42, 0.10) 100%);
  }

  .hero__inner {
    position: relative;
  }

  /* Decorative blob shapes */
  .hero__inner::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 114, 42, 0.30) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
  }

  .hero__inner::after {
    content: "";
    position: absolute;
    bottom: 80px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 60, 244, 0.35) 0%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  /* Visual hidden on mobile — decorative blobs + gradient handle the visual */
  .hero__visual { display: none !important; }

  /* Hero badge — more playful */
  .hero__badge {
    background: linear-gradient(135deg, var(--orange) 0%, #f0883a 100%);
    box-shadow: 0 6px 20px rgba(229, 114, 42, 0.45);
    animation: badgeBounce 2.5s ease-in-out infinite;
  }

  @keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }

  /* Hero h1 — highlight a key word */
  .hero h1 .hl {
    background: linear-gradient(120deg, var(--orange) 0%, #ffa75c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
  }

  .hero h1 .hl::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 6px;
    background: rgba(229, 114, 42, 0.30);
    border-radius: 4px;
    z-index: -1;
    transform: skew(-3deg);
  }

  /* Decorative dots near headline */
  .hero h1::before {
    content: "✦";
    position: absolute;
    color: rgba(229, 114, 42, 0.6);
    font-size: 14px;
    margin-left: -22px;
    margin-top: 6px;
    animation: twinkle 2s ease-in-out infinite;
  }

  @keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
  }

  /* Hero buttons — first button gets vivid lift */
  .hero__buttons .btn--primary {
    background: linear-gradient(135deg, var(--orange) 0%, #f0883a 100%);
    box-shadow: 0 10px 26px rgba(229, 114, 42, 0.45);
    border: none;
  }

  .hero__buttons .btn--primary:hover {
    background: linear-gradient(135deg, #d95f1a 0%, var(--orange) 100%);
  }

  .hero__buttons .btn--orange {
    background: rgba(255, 255, 255, 0.10);
    border: 2px solid rgba(255, 255, 255, 0.30);
    color: white;
    backdrop-filter: blur(10px);
  }

  .hero__buttons .btn--orange:hover {
    background: rgba(255, 255, 255, 0.18);
    color: white;
  }

  /* Stats — horizontal scroll for personality + each different color */
  .hero__stats {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 4px 12px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero__stats::-webkit-scrollbar { display: none; }

  .hero__stat {
    flex: 0 0 auto;
    min-width: 130px;
    padding: 14px 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    border-left: 3px solid var(--orange);
    transition: transform var(--t-base);
  }

  .hero__stat:nth-child(1) { border-left-color: #ff8a3d; }
  .hero__stat:nth-child(2) { border-left-color: #5db8d6; }
  .hero__stat:nth-child(3) { border-left-color: #b67dff; }
  .hero__stat:nth-child(4) { border-left-color: #d6b664; }

  .hero__stat strong {
    font-size: 1.4rem;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero__stat span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
  }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .industry-card:hover,
  .stat-item:hover,
  .trust-badge:hover {
    transform: none;
  }

  /* Larger tap targets */
  .btn { min-height: 44px; }
  .navbar__links a { min-height: 44px; display: inline-flex; align-items: center; }
  .faq-item__q { min-height: 56px; }
  .footer__list a { padding: 4px 0; display: inline-block; }
}
