/* ============================================================
   RIMONE EV CHARGING — Modern Redesign
   CSS Custom Properties & Base Styles
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors — deep yellow from Rimone logo */
  --gold: #E6B300;
  --gold-light: #F5CC00;
  --gold-dark: #CC9A00;
  --gold-pale: #FFF5D1;

  /* Neutrals */
  --black: #111111;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f1f3;
  --gray-200: #e2e4e7;
  --gray-300: #cdd1d6;
  --gray-400: #a0a6b0;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
  padding: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

/* Simple clean headings — no italic, light bold */
.heading-serif {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: 1.875rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .heading-serif {
    font-size: 2.25rem;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn,
.hero-actions .btn,
.feature-card .btn,
.cta-section .btn {
  opacity: 1 !important;
  visibility: visible !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  min-height: 44px;
  text-align: center;
  white-space: normal;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(230, 179, 0, 0.35);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 179, 0, 0.5);
}

/* Solid button on cards — deep yellow with dark text */
.btn-outline {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(230, 179, 0, 0.3);
}

.btn-outline:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 179, 0, 0.45);
}

.btn-white {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Transparent variant for use on the gold CTA band */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.btn-lowercase {
  text-transform: lowercase;
  letter-spacing: 0;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-width: 0;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.site-header.scrolled .nav-link {
  color: var(--gray-700);
}

.site-header.scrolled .nav-link:hover {
  color: var(--gold);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

/* Logo */
.brand-logo {
  position: absolute;
  left: var(--space-md);
}

/* Desktop Nav — centered */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  background: var(--gold-pale);
}

/* App Store Buttons — inside Follow Us column in footer */
.footer-apps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-800);
}

.footer-apps a img {
  height: 36px;
  transition: transform var(--transition);
}

.footer-apps a:hover img {
  transform: scale(1.08);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: absolute;
  right: var(--space-md);
}

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

.site-header.scrolled .menu-toggle span {
  background: var(--gray-900);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

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

.mobile-nav .nav-link {
  color: var(--gray-700);
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--gold);
  background: var(--gold-pale);
}

.mobile-nav .nav-apps {
  margin-top: 1.5rem;
  flex-direction: row;
  border-left: none;
  padding-left: 0;
  justify-content: center;
  gap: 1rem;
}

/* Start Charging — just another link in the hamburger menu; all of its
   appearance comes from .mobile-nav .nav-link above. This rule only keeps it
   off tablet/desktop, even if the menu was left open while the viewport was
   resized upward. */
@media (min-width: 769px) {
  .mobile-nav-cta {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
  max-width: 900px;
}

.hero-content > * {
  opacity: 1 !important; /* safety net — GSAP animates from 0 to 1 */
  visibility: visible !important;
}

.hero-content .section-label {
  color: var(--gold-light);
}

.hero-brand-wrap {
  width: min(360px, 82vw);
  margin: 0 auto;
  position: relative;
}

.hero-brand-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
  filter: none;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
}

.hero-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(0.4rem, 1.8vw, 1.25rem);
}

/* ============================================================
   SECTION STYLES (Shared)
   ============================================================ */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.25rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
  position: relative;
}

.section-header .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: var(--gold-pale);
  border-radius: var(--radius-full);
}

.section-header .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header .section-subtitle {
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
}

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

/* Decorative section divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto var(--space-lg);
}

/* ============================================================
   CARD GRID (3-column)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

/* Premium Feature Card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Gradient accent line on top */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: all 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
  left: 0;
  right: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-color: var(--gold-pale);
}

.feature-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--gold-pale), rgba(161,149,53,0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.08);
}

.feature-card .card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Card image (for solution/business cards) */
.feature-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease;
}

.feature-card:hover .card-img {
  transform: scale(1.03);
}

/* Keep cards in a row on one rhythm: artwork of any aspect ratio gets the
   same vertical band, and the button sits on the card's baseline however
   long the heading runs. Without this, each card's title and button land at
   a different height. */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card .btn {
  margin-top: auto;
  align-self: center;
}

/* Illustration that must not be cropped (transparent SVG/PNG artwork) */
.feature-card .card-media {
  width: 100%;
  max-width: 200px;
  height: 170px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
}

/* ============================================================
   TWO-COLUMN LAYOUT (Premium)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  min-width: 0;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.two-col.reverse .col-image {
  order: 2;
}

@media (max-width: 768px) {
  .two-col.reverse .col-image {
    order: 0;
  }
}

/* Image with decorative frame */
.col-image {
  position: relative;
}

.col-image::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid var(--gold-pale);
  border-radius: calc(var(--radius-lg) + 10px);
  z-index: -1;
  opacity: 0.5;
}

.col-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.col-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

/* Stats row */
.col-text .stats-row {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}

.stat-item {
  text-align: center;
}

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

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 0.25rem;
}

.col-text .section-title {
  margin-bottom: var(--space-sm);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.col-text p {
  color: var(--gray-500);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.check-list li {
  padding: 0.4rem 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

.check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--gold-pale);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.check-list li::after {
  content: '✓';
  position: absolute;
  left: 0.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================================
   STEPS SECTION (Premium Timeline)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 16%;
  right: 16%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold), var(--gold-pale));
  border-radius: 2px;
  z-index: 0;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--space-lg);
  }
  .steps-grid::before {
    display: none;
  }
}

.step-card {
  text-align: center;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  border-radius: var(--radius-full);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 20px rgba(230, 179, 0, 0.35);
  position: relative;
  z-index: 2;
}

.step-card img {
  width: min(330px, 96%);
  height: 185px;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  transition: transform 0.4s ease;
}

.step-card:hover img {
  transform: translateY(-8px);
}

.step-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 270px;
  margin: 0 auto;
}

/* ============================================================
   CTA SECTION (Premium Gradient)
   ============================================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #D4A800 0%, var(--gold) 40%, var(--gold-light) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

/* Subtle pattern overlay */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative circles */
.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.7;
}

.clients-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  color: var(--gray-900);
  padding: 3.25rem 0 4rem;
  overflow: hidden;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.clients-header {
  margin-bottom: 2rem;
}

.clients-marquee {
  --clients-gap: 1.25rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(10vw, 120px);
  pointer-events: none;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), rgba(248, 249, 250, 0));
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--gray-50), rgba(248, 249, 250, 0));
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-revolve 34s linear infinite;
  will-change: transform;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.clients-loop {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--clients-gap);
  padding-right: var(--clients-gap);
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 1rem;
  width: clamp(250px, 22vw, 320px);
  min-height: 96px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(10px);
}

.client-logo {
  width: 74px;
  height: 58px;
  padding: 0.35rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--gray-100);
  flex: 0 0 auto;
}

.client-logo-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-pale), var(--white));
}

.client-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.client-name {
  color: var(--gray-900);
  font-size: 0.98rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.client-location {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

@keyframes clients-revolve {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    transform: none;
  }

  .clients-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .clients-marquee::-webkit-scrollbar {
    display: none;
  }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  background: var(--white);
}

.legal-content {
  max-width: 960px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.6rem 0 1rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-content strong {
  color: var(--gray-900);
  font-weight: 700;
}

.legal-content h4 {
  color: var(--gray-600);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 1.4rem;
}

.legal-content a {
  color: var(--gold-dark);
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--gold);
}

.feature-card,
.two-col,
.col-image,
.col-text,
.step-card,
.stat-item,
.site-footer,
.page-header h1,
.page-header p,
.section img,
.info-card,
.contact-form {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ============================================================
   FOOTER (Premium Dark)
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-2xl) 0 var(--space-md);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

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

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-full);
  background: var(--gray-800);
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form input::placeholder {
  color: var(--gray-500);
}

.newsletter-form button {
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold-light);
  color: #1a1a1a;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  color: var(--gray-400);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: #1a1a1a;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-400);
}

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

/* ============================================================
   PAGE HEADER (Inner Pages)
   ============================================================ */
.page-header {
  padding: 8rem 0 var(--space-xl);
  text-align: center;
  background: var(--gray-50);
}

.page-header h1 {
  color: var(--gray-900);
}

.page-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: var(--space-xs) auto 0;
  font-size: 1.1rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-2xl);
}

.about-intro p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* Alternating image/text rows */
.pillar-row {
  margin-bottom: var(--space-xl);
}

.about-pillars .pillar-row:last-child {
  margin-bottom: 0;
}

/* SDG goal grid — 3 up on desktop, 2 up on tablet, 1 up on phone */
.sdg-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

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

/* About page mobile layout */
@media (max-width: 768px) {
  .about-pillars .two-col {
    gap: 1.5rem;
  }

  .pillar-row {
    margin-bottom: 2.75rem;
  }

  .about-pillars .col-text {
    text-align: center;
  }

  .about-pillars .col-text .section-title {
    font-size: 1.5rem;
  }

  .about-pillars .col-text p {
    font-size: 1rem;
  }

  /* The decorative offset frame overflows the viewport on small screens */
  .about-pillars .col-image::after {
    inset: -6px;
    border-radius: var(--radius-lg);
  }

  .about-pillars .col-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

/* ============================================================
   PRICING / PLAN CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  text-align: left;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.pricing-card.featured {
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

/* Top row: tier label + optional badge */
.pricing-card .plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-card .plan-name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0;
}

.pricing-card .plan-badge {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  white-space: nowrap;
}

.pricing-card.featured .plan-badge {
  color: var(--black);
  border-color: var(--black);
}

/* Price line */
.pricing-card .plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.pricing-card .plan-price .plan-price-note {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0;
}

.pricing-card .plan-desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.pricing-card .plan-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin: 0 0 1.5rem;
}

/* Feature list */
.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.45;
}

.pricing-card .plan-features li::before {
  content: '✓';
  flex-shrink: 0;
  color: #16a34a;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}

/* Pill CTA pinned to the bottom so cards line up */
.pricing-card .plan-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--black);
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-card .plan-cta:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

.pricing-card.featured .plan-cta {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.pricing-card.featured .plan-cta:hover {
  background: var(--gray-800);
}

.pricing-card .plan-cta .plan-cta-arrow {
  transition: transform var(--transition);
}

.pricing-card .plan-cta:hover .plan-cta-arrow {
  transform: translateX(3px);
}

/* Rate disclaimer under the grid */
.plan-note {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 480px;
  }

  .pricing-card {
    padding: 1.75rem 1.5rem;
  }

  .pricing-card .plan-price {
    font-size: 2.5rem;
  }

  .pricing-card .plan-features li,
  .pricing-card .plan-desc {
    font-size: 0.9375rem;
  }
}

/* ============================================================
   HOST A CHARGER (PARTNER PROGRAM)
   ============================================================ */
.host-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.host-type {
  flex: 0 0 210px;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.host-type:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.host-type i {
  font-size: 1.375rem;
  color: var(--gold);
  flex-shrink: 0;
}

.form-wide {
  max-width: 780px;
  margin: 0 auto;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 640px) {
  .host-type {
    flex-basis: 100%;
    padding: 1rem;
    font-size: 0.9375rem;
  }
}

/* ============================================================
   RIMONECHARGE APP
   ============================================================ */
.app-hero-grid {
  align-items: center;
}

.app-store-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-md);
}

.app-store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.app-store-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.app-store-links img {
  height: 44px;
  width: auto;
}

.feature-card .card-icon i {
  color: var(--gold);
  font-size: 1.75rem;
}

.app-visual img {
  object-fit: cover;
}

@media (max-width: 640px) {
  .app-store-links {
    justify-content: center;
  }

  .app-store-links a {
    width: min(100%, 190px);
  }

  .app-store-links img {
    width: 100%;
    height: auto;
  }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-groups {
  display: grid;
  gap: var(--space-xl);
  max-width: 920px;
  margin: 0 auto;
}

.faq-group-heading {
  margin-bottom: var(--space-md);
}

.faq-group-heading .section-label {
  margin-bottom: 0.6rem;
}

.faq-group-heading h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

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

.faq-item:hover,
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.2rem 1.35rem;
  color: var(--gray-900);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  transition: transform var(--transition);
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-answer {
  border-top: 1px solid var(--gray-100);
  padding: 0 1.35rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 1rem 0 0;
}

.faq-answer a {
  color: var(--gold-dark);
  font-weight: 700;
}

.faq-answer ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.8rem 0 0;
}

.faq-answer li {
  margin-bottom: 0.45rem;
}

.faq-answer strong {
  color: var(--gray-900);
}

@media (max-width: 640px) {
  .faq-groups {
    gap: var(--space-lg);
  }

  .faq-item summary {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9375rem;
  }

  .faq-page .section-header {
    text-align: left;
  }
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.openings {
  max-width: 860px;
  margin: 0 auto;
}

.openings-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.openings-count {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}

.openings-count #total-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  margin-right: 0.375rem;
  background: var(--gold);
  color: #1a1a1a;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
}

/* Department chips */
.job-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-700);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.job-filter:hover {
  border-color: var(--gold);
  color: var(--gray-900);
}

.job-filter.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.job-filter-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

.job-filter.active .job-filter-count {
  color: rgba(255, 255, 255, 0.7);
}

/* Job cards */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.job-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}

.job-card.is-open {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.job-head-main {
  display: block;
  min-width: 0;
}

.job-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
}

.job-summary {
  display: block;
  margin-top: 0.375rem;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.55;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.job-tag {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--gold-pale);
  color: #7a6400;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Chevron drawn in CSS so it needs no icon font */
.job-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--gray-100);
  position: relative;
  transition: background var(--transition), transform var(--transition);
}

.job-chevron::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gray-700);
  border-bottom: 2px solid var(--gray-700);
  transform: translate(-50%, -50%) rotate(45deg);
}

.job-card.is-open .job-chevron {
  background: var(--gold);
  transform: rotate(180deg);
}

/* Expanded description */
.job-panel {
  border-top: 1px solid var(--gray-200);
}

.job-panel-inner {
  padding: 1.5rem;
}

.job-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.job-facts dt {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  align-self: center;
}

.job-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
}

.job-description h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.job-description h4:first-child {
  margin-top: 0;
}

.job-description p {
  margin: 0 0 0.875rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
  line-height: 1.7;
}

.job-description ul {
  margin: 0 0 0.875rem;
  padding: 0;
  list-style: none;
}

.job-description li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
  line-height: 1.65;
}

.job-description li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.job-apply {
  margin-top: 1.5rem;
}

.job-empty {
  padding: var(--space-lg);
  text-align: center;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

/* Team photo gallery */
.team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.team-shot {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

.team-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-shot:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .openings-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.875rem;
  }

  .job-head,
  .job-panel-inner {
    padding: 1.25rem;
  }

  .job-title {
    font-size: 1.0625rem;
  }

  .job-facts {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .job-facts dd {
    margin-bottom: 0.5rem;
  }

  .job-apply {
    width: 100%;
  }

  .team-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
}

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

.contact-info .info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.contact-info .info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}

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

.contact-info .info-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info .info-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(161, 149, 53, 0.1);
}

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

/* Two fields side by side, stacking on small screens */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Conditional "please specify" rows */
.form-group[hidden],
[data-reveal-target] + [hidden] {
  display: none;
}

/* Inline submit feedback */
.form-status {
  margin: 0 0 var(--space-md);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.form-status.is-pending {
  background: var(--gray-50);
  border-color: var(--gray-200);
  color: var(--gray-600);
}

.form-status.is-success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.form-status.is-error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.form-status.is-notice {
  background: #fffaeb;
  border-color: #fedf89;
  color: #93370d;
}

.form-status code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.9em;
}

.contact-form button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}


/* ============================================================
   RESPONSIVE NAV
   ============================================================ */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 768px) {
  body {
    line-height: 1.6;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    padding: 0.55rem 0;
  }

  .brand-logo {
    left: 1rem;
  }

  .brand-logo img {
    height: 38px;
  }

  .menu-toggle {
    right: 1rem;
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 6.5rem 0 3rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-brand-wrap {
    width: min(320px, 82vw);
  }

  .hero-brand-image {
    opacity: 0.92;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .section,
  .cta-section {
    padding: 3rem 0;
  }

  .section-sm {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header .section-title {
    font-size: 1.85rem;
  }

  .section-header .section-subtitle,
  .col-text p,
  .cta-section p,
  .page-header p {
    font-size: 1rem;
  }

  .card-grid,
  .pricing-grid,
  .contact-grid,
  .footer-grid {
    gap: 1.25rem;
  }

  .feature-card,
  .contact-form {
    padding: 1.5rem;
  }

  .two-col {
    gap: 1.75rem;
  }

  .col-text .stats-row {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .col-text .btn-lowercase {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item {
    flex: 1 1 120px;
  }

  .steps-grid {
    gap: 1.5rem;
  }

  .step-card {
    padding: 0;
  }

  .step-card img {
    width: min(300px, 88vw);
    height: 168px;
  }

  .clients-section {
    padding: 2.75rem 0 3.15rem;
  }

  .clients-header {
    margin-bottom: 1.5rem;
  }

  .clients-marquee {
    --clients-gap: 0.85rem;
  }

  .clients-marquee::before,
  .clients-marquee::after {
    width: 44px;
  }

  .client-item {
    width: min(76vw, 255px);
    min-height: 82px;
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
  }

  .client-logo {
    width: 58px;
    height: 48px;
  }

  .client-name {
    font-size: 0.9rem;
  }

  .client-location {
    font-size: 0.76rem;
  }

  .legal-content {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .legal-content h4 {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .page-header {
    padding: 6rem 0 2.5rem;
  }

  .site-footer {
    padding: 3rem 0 1.25rem;
  }

  .footer-grid {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.15rem; }

  .section {
    padding: 2.5rem 0;
  }

  .section-sm {
    padding: 2rem 0;
  }

  .section-header {
    margin-bottom: 1.6rem;
  }

  .section-header .section-label {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-apps,
  .footer-social,
  .footer-bottom-links {
    flex-wrap: wrap;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 0.8rem 1rem;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.hidden { display: none; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}
