/* ============================================================
   PROPHASUD — main.css
   All colors via CSS variables set by config/colors.js
   ============================================================ */

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

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

body {
  font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
  background: var(--color-body-bg);
  color: var(--color-text-muted);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.accent { color: var(--color-accent-green); }
.text-muted { color: var(--color-text-muted); }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--color-accent-green);
  border-radius: 2px;
}
.section-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--color-accent-green);
  color: var(--color-text-white);
  border-color: var(--color-accent-green);
  box-shadow: 0 0 20px rgba(76,178,108,0.35);
}
.btn-primary:hover {
  background: var(--color-accent-green-dark);
  border-color: var(--color-accent-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(76,178,108,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-text-white);
  transform: translateY(-2px);
}

/* ============================================================
   TOP CONTACT BAR (SV1)
   ============================================================ */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: 36px;
  background: var(--color-primary-dark);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.78rem;
  direction: ltr;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.topbar-item:hover { color: #fff; }
.topbar-item svg { flex-shrink: 0; opacity: 0.75; }
.topbar-sep { color: rgba(255,255,255,0.25); }
.topbar-phones {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#navbar.scrolled {
  background: #ffffff;
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
}

/* Switch text/ui to dark when header is white */
#navbar.scrolled .nav-links a {
  color: var(--color-text-dark);
}
#navbar.scrolled .nav-links a:hover {
  color: var(--color-primary);
}
#navbar.scrolled .lang-switcher a {
  color: var(--color-text-muted);
}
#navbar.scrolled .lang-switcher a:hover,
#navbar.scrolled .lang-switcher a.active {
  color: var(--color-primary-dark);
  background: rgba(47,93,169,0.08);
}
#navbar.scrolled .hamburger span {
  background: var(--color-primary-dark);
}
#navbar.scrolled .nav-logo {
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--color-accent-green); }
.nav-logo {
  /* background: rgba(255,255,255,0.96); */
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s;
}
.nav-logo:hover { background: #ffffff; }
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text-white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lang-switcher {
  display: flex;
  gap: 0.25rem;
}
.lang-switcher a {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--color-text-white);
  background: rgba(255,255,255,0.12);
}
.nav-cta {
  background: var(--color-accent-green);
  color: var(--color-text-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--color-accent-green-dark) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--color-primary-dark);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }
.mobile-menu .mobile-lang {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.mobile-menu .mobile-lang a {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
.hero-bg-shape-1 {
  width: 600px; height: 600px;
  background: var(--color-primary);
  top: -100px; right: -150px;
}
.hero-bg-shape-2 {
  width: 400px; height: 400px;
  background: var(--color-accent-green);
  bottom: -80px; left: -100px;
}
.hero-content { /* padding-top clears topbar(36px) + navbar(~70px) */
  position: relative;
  z-index: 2;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.hero-headline {
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
}
.hero-headline .line-accent { color: var(--color-accent-green); }
.hero-subheadline {
  color: var(--color-text-light);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   PILLARS
   ============================================================ */
#pillars {
  background: var(--color-card-bg);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
  margin-top: -2px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(47,93,169,0.12);
  border-color: var(--color-primary);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}
.pillar-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.pillar-card p { font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--color-primary-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card-main {
  background: var(--color-primary-dark);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
}
.about-card-main::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: var(--color-accent-green);
  border-radius: 50%;
  opacity: 0.07;
}
.about-card-main .year {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-accent-green);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.about-card-main .year-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-accent-green);
  color: var(--color-text-white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(76,178,108,0.4);
}
.about-badge .big { font-size: 1.8rem; font-weight: 900; display: block; line-height: 1; }
.about-badge-hours .big { font-size: 3rem; }
.about-badge-hours {
  top: -1rem;
  left: -1rem;
  bottom: auto;
  right: auto;
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(47,93,169,0.4);
  padding: 1.4rem 2rem;
  border-radius: 16px;
  text-align: center;
}
.about-text { }
.about-text p { margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.8; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about-tag {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: all 0.2s;
}
.about-tag:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--color-card-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(47,93,169,0.1);
  border-color: var(--color-primary);
}
.service-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
}
.service-card h4 { margin-bottom: 0.5rem; color: var(--color-text-dark); }
.service-card p { font-size: 0.88rem; line-height: 1.7; }

/* ============================================================
   PORTAL
   ============================================================ */
#portal { background: var(--color-card-bg); }
.portal-strip {
  background: var(--color-card-bg-alt);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(47,93,169,0.07);
}
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.portal-badge-corner {
  background: var(--color-primary-dark);
  color: var(--color-text-white);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
}
.portal-badge-corner span { display: block; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.05em; }
.portal-badge-corner small { display: block; font-size: 0.68rem; font-weight: 400; opacity: 0.75; margin-top: 0.15rem; }
.portal-features {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}
.portal-feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-right: 2rem;
  margin-right: 2rem;
  border-right: 1px solid var(--color-border);
}
.portal-feature-item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.portal-feature-icon { color: var(--color-accent-green); flex-shrink: 0; }
.portal-feature-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-accent-green);
  flex-shrink: 0;
  line-height: 1;
}
.portal-feature-sep {
  width: 1px;
  height: 38px;
  background: var(--color-border);
  flex-shrink: 0;
}
.portal-feature-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}
.portal-cta-row { text-align: right; }
.portal-cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   STATS
   ============================================================ */
#stats {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  transition: transform 0.3s, background 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}
.stat-value {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-text-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-value .counter { color: var(--color-accent-green); }
.stat-suffix { color: var(--color-accent-green); }
.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================================
   SITES
   ============================================================ */
#sites { background: var(--color-body-bg); }
.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.site-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(47,93,169,0.15);
}
.site-card-header {
  background: var(--gradient-accent);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-card-header .site-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
}
.site-card-header .city {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text-white);
}
.site-card-header .region {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.15rem;
}
.site-card-body {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.site-card-body svg { color: var(--color-primary); flex-shrink: 0; }

/* ============================================================
   BECOME CLIENT
   ============================================================ */
#become { background: var(--color-primary-light); }
.become-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: calc(100% - 48px);
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(47,93,169,0.3);
}
.step-body h4 { margin-bottom: 0.25rem; color: var(--color-text-dark); }
.step-body p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Form */
.prospect-form {
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(47,93,169,0.08);
}
.prospect-form h3 {
  margin-bottom: 1.75rem;
  font-size: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text-dark);
  background: var(--color-body-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47,93,169,0.1);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  font-size: 1rem;
}
.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-message.success {
  display: block;
  background: rgba(76,178,108,0.12);
  color: var(--color-success);
  border: 1px solid rgba(76,178,108,0.3);
}
.form-message.error {
  display: block;
  background: rgba(234,84,85,0.1);
  color: var(--color-danger);
  border: 1px solid rgba(234,84,85,0.25);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--color-card-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-item-body .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-green);
  margin-bottom: 0.3rem;
}
.contact-item-body p,
.contact-item-body li { font-size: 0.9rem; line-height: 1.8; }
.contact-item-body .note {
  font-size: 0.78rem;
  color: var(--color-accent-green);
  font-weight: 600;
  margin-top: 0.15rem;
}
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-wrap {
  margin-bottom: 0.75rem;
  display: inline-block;
  /* background: rgba(255,255,255,0.95); */
  border-radius: 8px;
  padding: 5px 12px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.7;
}
.footer-links h5 {
  color: var(--color-text-white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-accent-green); }
.footer-contact h5 {
  color: var(--color-text-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.7; }
.footer-contact-item div,
.footer-contact-item a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-contact-item a:hover { color: var(--color-accent-green); }
.footer-note {
  font-size: 0.75rem;
  color: var(--color-accent-green);
  margin-top: 0.1rem;
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-accent-green);
  color: var(--color-text-white);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(76,178,108,0.4);
  transition: transform 0.2s, background 0.2s;
  z-index: 900;
}
#scroll-top:hover {
  background: var(--color-accent-green-dark);
  transform: translateY(-2px);
}
#scroll-top.visible { display: flex; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 420px; }
  .become-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 768px) {
  .portal-strip { padding: 2rem 1.5rem; }
  .portal-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .portal-features { flex-direction: column; }
  .portal-feature-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .portal-feature-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .portal-cta-row { text-align: left; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  #topbar { display: none; }
  #navbar { top: 0; }
  .hero-content { padding-top: 6rem; }
  .hamburger { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sites-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .lang-switcher { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
