/* ===========================
   JCS Mobile Caravan Services
   Stylesheet
   =========================== */

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

:root {
  --blue: #3BAED4;
  --blue-dark: #2a8fb0;
  --blue-light: #5dc4e6;
  --black: #0a0a0a;
  --black-mid: #141414;
  --black-card: #1a1a1a;
  --black-border: #2a2a2a;
  --white: #ffffff;
  --grey-light: #f4f4f4;
  --grey-text: #aaaaaa;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --transition: 0.25s ease;
  --section-pad: 80px 20px;
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--blue);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--grey-text);
  max-width: 580px;
}

.section-header {
  margin-bottom: 48px;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

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

.btn-ghost {
  background: rgba(59, 174, 212, 0.1);
  border: 1px solid rgba(59, 174, 212, 0.3);
  color: var(--blue);
}

.btn-ghost:hover {
  background: rgba(59, 174, 212, 0.2);
}

/* ===========================
   NAVBAR
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-text);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

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

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

.nav-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

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

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: 16px 0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 24px;
  font-size: 0.95rem;
  color: var(--grey-text);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav a:hover {
  color: var(--white);
  background: rgba(59, 174, 212, 0.08);
}

.mobile-nav .btn {
  margin: 8px 24px 4px;
  justify-content: center;
}

/* ===========================
   HERO
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59, 174, 212, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(59, 174, 212, 0.05) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 174, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 174, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 174, 212, 0.12);
  border: 1px solid rgba(59, 174, 212, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--grey-text);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--grey-text);
  margin-top: 4px;
}

.hero-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 174, 212, 0.15) 0%, transparent 70%);
  filter: blur(20px);
}

.hero-logo {
  position: relative;
  width: 240px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(59, 174, 212, 0.3));
}

/* Mobile-only badge row (shown below CTAs on small screens) */
.hero-mobile-badges {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.hero-ncc-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 10px 16px;
}

.hero-ncc-badge img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.hero-ncc-badge span {
  font-size: 0.8rem;
  color: var(--grey-text);
  font-weight: 500;
}

/* Info cards row below logo */
.hero-cards-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-float-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.hero-float-card svg {
  color: var(--blue);
  flex-shrink: 0;
}

.hero-float-card .card-title {
  font-weight: 600;
  color: var(--white);
  font-size: 0.8rem;
}

.hero-float-card .card-sub {
  font-size: 0.72rem;
  color: var(--grey-text);
}

/* ===========================
   SERVICES
   =========================== */
#services {
  padding: var(--section-pad);
  background: var(--black-mid);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.3;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  flex: 1 1 280px;
  max-width: 400px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(59, 174, 212, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59, 174, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.6;
}

.services-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services-cta p {
  color: var(--grey-text);
  font-size: 0.9rem;
}

.services-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===========================
   ABOUT
   =========================== */
#about {
  padding: var(--section-pad);
  background: var(--black);
}

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

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: 12px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--black-border);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.about-img-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 174, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.about-img-badge .badge-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.about-img-badge .badge-text span {
  font-size: 0.78rem;
  color: var(--grey-text);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content p {
  color: var(--grey-text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.highlight-item svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--grey-text);
}

/* ===========================
   GALLERY
   =========================== */
#gallery {
  padding: var(--section-pad);
  background: var(--black-mid);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--black-card);
}

/* 10 images × 4-col grid:
   items 1,5 span 2×2 = 2×4 = 8 cells
   remaining 8 items = 8 cells
   total = 16 cells = 4 rows × 4 cols — no gaps */
.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 174, 212, 0.2);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.overlay svg {
  color: var(--white);
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  /* Force the image to fill most of the viewport */
  width: 90vw;
  height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(59, 174, 212, 0.2);
  border: 1px solid rgba(59, 174, 212, 0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  transition: background var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(59, 174, 212, 0.5);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--grey-text);
}

/* ===========================
   REVIEWS
   =========================== */
#reviews {
  padding: var(--section-pad);
  background: var(--black);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(59, 174, 212, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.review-stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.review-text::before { content: '\201C'; }
.review-text::after  { content: '\201D'; }

.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

/* ===========================
   ACCREDITATIONS
   =========================== */
#accreditations {
  padding: var(--section-pad);
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
}

.accred-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}

.accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 24px 32px;
  transition: var(--transition);
  min-width: 150px;
}

.accred-item:hover {
  border-color: rgba(59, 174, 212, 0.3);
  transform: translateY(-3px);
}

.accred-item img {
  max-height: 70px;
  max-width: 140px;
  object-fit: contain;
  transition: transform var(--transition);
}

.accred-item:hover img {
  transform: scale(1.05);
}

.accred-item span {
  font-size: 0.75rem;
  color: var(--grey-text);
  text-align: center;
}

/* NCC cert gets special treatment */
.accred-item.ncc img {
  filter: none;
  opacity: 1;
  max-height: 100px;
}

/* ===========================
   PARTS & ACCESSORIES
   =========================== */
#parts {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.parts-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.parts-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(59, 174, 212, 0.1);
  border: 1px solid rgba(59, 174, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--blue);
}

.parts-coming-soon {
  display: inline-block;
  background: rgba(59, 174, 212, 0.1);
  border: 1px solid rgba(59, 174, 212, 0.3);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.parts-inner p {
  color: var(--grey-text);
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.parts-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 174, 212, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===========================
   SERVICE AREA
   =========================== */
#service-area {
  padding: var(--section-pad);
  background: var(--black-mid);
}

.service-area-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.service-area-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-area-info p {
  color: var(--grey-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--grey-text);
}

.coverage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

#map {
  height: 480px;
  border-radius: 12px;
  border: 1px solid var(--black-border);
  overflow: hidden;
  background: var(--black-card);
}

/* ===========================
   CONTACT
   =========================== */
#contact {
  padding: var(--section-pad);
  background: var(--black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: var(--transition);
  text-decoration: none;
}

.contact-method:hover {
  border-color: rgba(59, 174, 212, 0.4);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25D366; }
.icon-phone { background: rgba(59, 174, 212, 0.15); color: var(--blue); }
.icon-email { background: rgba(59, 174, 212, 0.1); color: var(--blue); }

.contact-method-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--grey-text);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-method-text span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.contact-info-panel {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 32px;
}

.contact-info-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--grey-text);
  font-size: 0.9rem;
}

.info-row svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row a {
  color: var(--blue);
  transition: color var(--transition);
}

.info-row a:hover { color: var(--blue-light); }

.contact-quote-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--black-border);
}

.contact-quote-box h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.contact-quote-box p {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--grey-text);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--grey-text);
}

.footer-bottom a {
  color: var(--blue);
}

/* ===========================
   SCROLL TO TOP
   =========================== */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(59, 174, 212, 0.4);
}

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

#scroll-top:hover {
  background: var(--blue-dark);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  /* Show logo panel on mobile, above the content (order: -1) */
  .hero-logo-panel {
    display: flex;
    order: -1;
    gap: 16px;
    padding-top: 8px;
  }

  /* Hide desktop-only elements from the logo panel on mobile */
  .hero-logo-panel .hero-cards-row,
  .hero-logo-panel .hero-ncc-badge {
    display: none;
  }

  .hero-logo {
    width: 160px;
  }

  .hero-logo-glow {
    width: 180px;
    height: 180px;
  }

  /* Show mobile badges below the CTA buttons with a divider line beneath them */
  .hero-mobile-badges {
    display: flex !important;
    width: 100%;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(59, 174, 212, 0.2);
    margin-bottom: 4px;
  }

  /* Give the stats row breathing room above the divider */
  .hero-stats {
    padding-top: 4px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Show the about image on mobile, stacked above the text */
  .about-image-stack {
    display: block;
  }

  .about-img-main {
    height: 260px;
  }

  /* Hide the floating badge to avoid clipping on mobile */
  .about-img-badge {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }

  /* Tablet: 3 cols — items 1,5 span 2 cols × 1 row = 2+2+8 = 12 = 4 rows × 3 cols, no gaps */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

@media (max-width: 768px) {
  :root { --section-pad: 60px 16px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Mobile: 2 cols — items 1,5 span full width = 2+2+8 = 12 = 6 rows × 2 cols, no gaps */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

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

  #map { height: 340px; }

  .accred-grid { gap: 16px; }
  .accred-item { padding: 18px 24px; min-width: 120px; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-auto-rows: 130px;
  }

  /* Inherit 2-col layout and nth-child(1,5) spans from 768px breakpoint */

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .services-cta-btns { flex-direction: column; align-items: center; }

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

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

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Leaflet map */
.leaflet-container {
  background: #1d2733;
}

.leaflet-popup-content-wrapper {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.leaflet-popup-tip {
  background: var(--black-card);
}
