/* ---------- Base ---------- */
/* IRC brand: logo blues only (#6BB9F0, #14A5E9, #0056B3) - beautiful blue gradients */
:root {
  /* Dark mode (default) */
  --bg: #0b1220;
  --card: #0f1a2e;
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .72);
  --line: rgba(234, 240, 255, .12);
  --brand: #6BB9F0;
  --brand2: #14A5E9;
  --brand-dark: #0056B3;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(0, 0, 0, .35);
  --radius: 18px;
  --radius2: 12px;
  --container: 1200px;
  --container-padding: 20px;
  --section-padding: 54px;
  --touch-min: 44px;
}

/* Light mode */
[data-theme="light"] {
  --bg: #ffffff;
  --card: #f8fafc;
  --text: #1e293b;
  --muted: rgba(30, 41, 59, .72);
  --line: rgba(30, 41, 59, .12);
  --brand: #14A5E9;
  --brand2: #0056B3;
  --brand-dark: #0056B3;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(107, 185, 240, .14), transparent 55%),
    radial-gradient(1000px 500px at 85% 15%, rgba(20, 165, 233, .10), transparent 50%),
    radial-gradient(800px 400px at 70% 80%, rgba(0, 86, 179, .08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] body {
  background: linear-gradient(180deg, #fff 0%, rgba(248, 252, 255, .98) 50%, rgba(240, 248, 255, .95) 100%);
}

/* Smooth transitions for theme switching */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Light mode specific adjustments */
[data-theme="light"] .topbar {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .header {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .nav a {
  color: rgba(30, 41, 59, .88);
}

[data-theme="light"] .nav a:hover {
  background: var(--card);
}

[data-theme="light"] .topbar__link:hover {
  background: var(--card);
  border-color: var(--line);
}

[data-theme="light"] .topbar__icon {
  background: linear-gradient(135deg, rgba(20, 165, 233, .1), rgba(0, 86, 179, .06));
  border: 1px solid rgba(20, 165, 233, .22);
  color: var(--text);
}

[data-theme="light"] .mobile-nav {
  background: var(--card);
}

[data-theme="light"] .mobile-nav a {
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
}

[data-theme="light"] .theme-toggle {
  background: var(--card);
  border-color: var(--line);
}

[data-theme="light"] .theme-toggle:hover {
  background: var(--card);
  border-color: var(--line);
}

/* Light mode - Cards and containers */
[data-theme="light"] .card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

[data-theme="light"] .visual-card {
  background: linear-gradient(180deg, #fff 0%, rgba(248, 252, 255, .98) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

[data-theme="light"] .mini {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
}

[data-theme="light"] .info {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
}

[data-theme="light"] .map-placeholder {
  background: var(--card);
  border: 1px dashed var(--line);
}

[data-theme="light"] .section--alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Light mode - Floating Action Buttons */
[data-theme="light"] .fab {
  background: #fff;
  border: 1px solid rgba(30, 41, 59, .14);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .06);
  backdrop-filter: none;
}

[data-theme="light"] .fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14), 0 4px 10px rgba(0, 0, 0, .08);
  border-color: rgba(30, 41, 59, .2);
  filter: none;
}

[data-theme="light"] .fab:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 165, 233, .25), 0 4px 14px rgba(0, 0, 0, .12);
}

[data-theme="light"] .fab--whatsapp {
  background: linear-gradient(145deg, #25d366, #128c7e);
  border-color: rgba(0, 0, 0, .08);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .1);
}

[data-theme="light"] .fab--whatsapp:hover {
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4), 0 4px 10px rgba(0, 0, 0, .1);
}

[data-theme="light"] .fab--call,
[data-theme="light"] .fab--mail {
  background: linear-gradient(145deg, #14A5E9, #0056B3);
  border: 1px solid rgba(0, 0, 0, .08);
  color: white;
  box-shadow: 0 4px 14px rgba(20, 165, 233, .35), 0 2px 6px rgba(0, 0, 0, .1);
}

[data-theme="light"] .fab--call:hover,
[data-theme="light"] .fab--mail:hover {
  box-shadow: 0 8px 22px rgba(20, 165, 233, .4), 0 4px 10px rgba(0, 0, 0, .1);
}

/* All FAB icons white in light mode */
[data-theme="light"] .fab img {
  filter: brightness(0) invert(1);
}

/* Light mode - Contact Form */
[data-theme="light"] .cta__form {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
}

[data-theme="light"] .cta__form input,
[data-theme="light"] .cta__form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .cta__form input:focus,
[data-theme="light"] .cta__form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(20, 165, 233, .2);
}

[data-theme="light"] .cta__form label {
  color: var(--text);
}

/* Light mode - Text visibility fixes */
[data-theme="light"] .lead {
  color: rgba(30, 41, 59, .85);
}

[data-theme="light"] .brand__tag {
  color: var(--muted);
}

[data-theme="light"] .badge {
  background: linear-gradient(135deg, rgba(20, 165, 233, .12), rgba(0, 86, 179, .08));
  border: 1px solid rgba(20, 165, 233, .28);
  color: var(--text);
}

[data-theme="light"] .chip {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .pill {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .country {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .step {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .flow__item {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .tag {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .logo {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Light mode - Footer */
[data-theme="light"] .footer {
  background: var(--card);
  border-top: 1px solid var(--line);
}

/* Light mode - Buttons */
[data-theme="light"] .btn--ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

[data-theme="light"] .btn--dark {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

[data-theme="light"] .btn--light {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

/* Light mode - Section CTA */
[data-theme="light"] .section--cta {
  background: linear-gradient(135deg, rgba(20, 165, 233, .06), rgba(0, 86, 179, .04));
  border-top: 1px solid var(--line);
}

/* Light mode - Nav toggle */
[data-theme="light"] .nav-toggle {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

[data-theme="light"] .nav-toggle:hover {
  background: var(--card);
}

/* Light mode - Hero section text */
[data-theme="light"] .hero h1 {
  color: var(--text);
}

[data-theme="light"] .visual-card__title {
  color: var(--text);
}

[data-theme="light"] .visual-card__text {
  color: var(--muted);
}

[data-theme="light"] .section__head h2 {
  color: var(--text);
}

[data-theme="light"] .section__head p {
  color: var(--muted);
}

[data-theme="light"] .card h3 {
  color: var(--text);
}

[data-theme="light"] .info h3 {
  color: var(--text);
}

[data-theme="light"] .two-col h2 {
  color: var(--text);
}

[data-theme="light"] .cta__content h2 {
  color: var(--text);
}

[data-theme="light"] .cta__content p {
  color: var(--muted);
}

[data-theme="light"] .footer {
  color: var(--text);
}

[data-theme="light"] .footer .muted {
  color: var(--muted);
}

/* Light mode - Media carousel buttons */

/* Light mode - Timeline */
[data-theme="light"] .timeline li {
  background: var(--card);
  border: 1px solid var(--line);
}

[data-theme="light"] .timeline .n {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

[data-theme="light"] .timeline h3 {
  color: var(--text);
}

[data-theme="light"] .timeline p {
  color: var(--muted);
}

/* Light mode - Ensure all text elements are visible */
[data-theme="light"] .muted {
  color: var(--muted);
}

[data-theme="light"] .small {
  color: var(--muted);
}

[data-theme="light"] #medicalInquiryStatus {
  color: var(--text);
}

/* Light mode - Map placeholder badge */
[data-theme="light"] .map-placeholder__badge {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

/* Light mode - Media carousel */
[data-theme="light"] .media-carousel {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
}

[data-theme="light"] .media-carousel__img {
  border: 1px solid var(--line);
  background: var(--card);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .9;
}

.container {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .92rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 1;
  min-width: 0;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-height: var(--touch-min);
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 650;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  will-change: transform;
}

.topbar__link:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .10);
  transform: translateY(-1px);
  opacity: 1;
}

.topbar__link:focus-visible {
  outline: none;
  border-color: rgba(107, 185, 240, .35);
  box-shadow: 0 0 0 4px rgba(107, 185, 240, .18);
}

.topbar__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(107, 185, 240, .20), rgba(0, 86, 179, .14));
  border: 1px solid rgba(107, 185, 240, .24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
  color: rgba(234, 240, 255, .95);
}

.topbar__icon svg {
  width: 16px;
  height: 16px;
}

.topbar__text {
  white-space: nowrap;
}

.topbar__link--lang {
  font-weight: 800;
}

.topbar__link--lang .topbar__text {
  letter-spacing: .2px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(234, 240, 255, .35);
  opacity: .9;
  margin: 0 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 185, 240, .10);
  border: 1px solid rgba(107, 185, 240, .22);
  color: rgba(234, 240, 255, .92);
  font-size: .86rem;
}

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: start;
  padding-bottom: env(safe-area-inset-bottom);
}

.fab {
  --fab-size: 60px;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(11, 18, 32, .72);
  color: rgba(234, 240, 255, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease, background .12s ease;
  will-change: transform;
  opacity: 1;
}

.fab svg {
  width: 22px;
  height: 22px;
}

.fab:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .22);
  filter: brightness(1.05);
  opacity: 1;
}

.fab:focus-visible {
  outline: none;
  border-color: rgba(107, 185, 240, .35);
  box-shadow: 0 0 0 4px rgba(107, 185, 240, .22), 0 18px 50px rgba(0, 0, 0, .42);
}

.fab--whatsapp {
  background: linear-gradient(135deg, rgba(34, 197, 94, .35), rgba(16, 185, 129, .25));
  border-color: rgba(34, 197, 94, .35);
}

.fab--call {
  background: linear-gradient(135deg, rgba(107, 185, 240, .4), rgba(20, 165, 233, .35));
  border-color: rgba(107, 185, 240, .4);
}

.fab--mail {
  background: linear-gradient(135deg, rgba(107, 185, 240, .4), rgba(20, 165, 233, .35));
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 720px) {
  .fab-stack {
    left: 14px;
    bottom: 14px;
  }

  .fab {
    --fab-size: 48px;
  }

  .fab svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, .68);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .5px;
  background: linear-gradient(135deg, rgba(107, 185, 240, .22), rgba(0, 86, 179, .18));
  border: 1px solid rgba(107, 185, 240, .28);
}

.brand__name {
  font-weight: 800;
}

.brand__tag {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 650;
  color: rgba(234, 240, 255, .88);
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(255, 255, 255, .05);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
  margin-left: 8px;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: none;
  border-color: rgba(107, 185, 240, .35);
  box-shadow: 0 0 0 4px rgba(107, 185, 240, .18);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.theme-toggle .theme-icon--sun {
  display: none;
}

.theme-toggle .theme-icon--moon {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon--sun {
  display: block;
}

[data-theme="light"] .theme-toggle .theme-icon--moon {
  display: none;
}

.nav-toggle .nav-toggle__icon {
  display: block;
  width: 16px;
  height: 16px;
  position: relative;
}

.nav-toggle .nav-toggle__icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle .nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle .nav-toggle__icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .nav-toggle__icon span:nth-child(3) { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 12px var(--container-padding) 16px;
  display: grid;
  grid: auto / 1fr;
  gap: 8px;
  background: rgba(11, 18, 32, .5);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  padding: 12px 14px;
  min-height: var(--touch-min);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  font-weight: 650;
  display: flex;
  align-items: center;
  color:white ;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
  flex-wrap: wrap;
}

.mobile-nav a.btn {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .10);
}

.btn--dark {
  background: rgba(0, 0, 0, .35);
  border-color: rgba(255, 255, 255, .12);
}

.btn--light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}

.btn--block {
  width: 100%;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  vertical-align: middle;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Hero Slider Section (Full Width Images) ---------- */
.hero-slider-section {
  width: 100%;
  position: relative;
  margin-bottom: 0;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 705px;
  overflow: hidden;
  border-radius: 0;
}

/* On smaller screens, let height adjust dynamically based on image */
@media (max-width: 980px) {
  .hero__slider {
    height: auto;
  }
  
  .hero__slider-viewport {
    height: auto;
  }
  
  .hero__slider-track {
    height: auto;
  }
  
  .hero__slider-slide {
    height: auto;
  }
}

.hero__slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .hero__slider::after {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.4), transparent);
}

.hero__slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slider-track {
  display: flex;
  gap: 0;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  will-change: scroll-position;
}

.hero__slider-track::-webkit-scrollbar {
  display: none;
}

.hero__slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.hero__slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.4s ease;
}

/* On smaller screens, let image determine height dynamically */
@media (max-width: 980px) {
  .hero__slider-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

.hero__slider-slide {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* ---------- Hero Content Section ---------- */
.hero {
  padding: 48px 0 18px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: stretch;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.lead {
  color: rgba(234, 240, 255, .82);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0 0 18px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__mini {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.mini {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.mini__kpi {
  font-size: 1.35rem;
  font-weight: 900;
}

.mini__label {
  color: var(--muted);
  font-size: .92rem;
}

.hero__visual {
  display: flex;
}

.visual-card {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.visual-card__title {
  font-weight: 900;
  font-size: 1.05rem;
}

.visual-card__text {
  color: var(--muted);
}

.visual-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(107, 185, 240, .10);
  border: 1px solid rgba(107, 185, 240, .22);
  font-weight: 700;
  font-size: .9rem;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background: rgba(255, 255, 255, .02);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.section__head {
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.two-col h2 {
  margin-top: 0;
}

/* ---------- Cards & grids ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.map-placeholder {
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, .18);
  padding: 28px;
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.map-placeholder__badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(107, 185, 240, .14), rgba(20, 165, 233, .10));
  border: 1px solid rgba(107, 185, 240, .28);
  font-weight: 800;
  margin-bottom: 10px;
}

/* ---------- Media carousel ---------- */
.media-carousel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  box-shadow: var(--shadow);
  padding: 16px;
}

.media-carousel__viewport {
  overflow: hidden;
}

.media-carousel__track {
  --gap: 14px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  scrollbar-width: none;
  /* Firefox */
}

.media-carousel__track::-webkit-scrollbar {
  display: none;
}

.media-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.media-carousel__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .15);
  image-rendering: auto;
  object-fit: contain;
  object-position: center;
}

.media-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(11, 18, 32, .65);
  color: rgba(234, 240, 255, .92);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.media-carousel__btn:hover {
  background: rgba(11, 18, 32, .78);
}

.media-carousel__btn:disabled {
  opacity: .35;
  cursor: default;
}

.media-carousel__btn--prev {
  left: 24px;
}

.media-carousel__btn--next {
  right: 24px;
}

/* Hero slider buttons - minimal, professional */
.hero__slider .media-carousel__btn {
  z-index: 3;
  width: 40px;
  height: 40px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero__slider:hover .media-carousel__btn {
  opacity: 1;
}

.hero__slider .media-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__slider .media-carousel__btn:active {
  transform: translateY(-50%) scale(0.95);
}

[data-theme="light"] .hero__slider .media-carousel__btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero__slider .media-carousel__btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hero slider: pagination dots - minimal & professional */
.hero__slider-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero__slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, width 0.25s ease;
  flex-shrink: 0;
}

.hero__slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.25);
}

.hero__slider-dot.is-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
  transform: scale(1);
}

[data-theme="light"] .hero__slider-dots {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .hero__slider-dot {
  background: rgba(30, 41, 59, 0.3);
}

[data-theme="light"] .hero__slider-dot:hover {
  background: rgba(30, 41, 59, 0.5);
}

[data-theme="light"] .hero__slider-dot.is-active {
  background: var(--brand);
  width: 24px;
}

/* Responsive hero slider */
@media (max-width: 720px) {

  .hero__slider .media-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
    opacity: 1;
  }

  .hero__slider .media-carousel__btn--prev {
    left: 16px;
  }

  .hero__slider .media-carousel__btn--next {
    right: 16px;
  }
  
  .hero__slider-controls {
    bottom: 16px;
  }
  
  .hero__slider-dots {
    padding: 5px 10px;
    gap: 6px;
  }
  
  .hero__slider-dot {
    width: 7px;
    height: 7px;
  }
  
  .hero__slider-dot.is-active {
    width: 20px;
  }

  [dir="rtl"] .hero__slider .media-carousel__btn--prev {
    left: auto;
    right: 16px;
  }

  [dir="rtl"] .hero__slider .media-carousel__btn--next {
    right: auto;
    left: 16px;
  }
}



@media (max-width: 480px) {
  
  .hero__slider-controls {
    bottom: 12px;
  }
  
  .hero__slider-dots {
    padding: 4px 8px;
    gap: 5px;
  }
  
  .hero__slider-dot {
    width: 6px;
    height: 6px;
  }
  
  .hero__slider-dot.is-active {
    width: 18px;
  }

  .hero {
    padding: 32px 0 18px;
  }
}

[dir="rtl"] .media-carousel__btn--prev {
  left: auto;
  right: 20px;
}

[dir="rtl"] .media-carousel__btn--next {
  right: auto;
  left: 20px;
}

.media-carousel:not(.is-scrollable) .media-carousel__btn {
  opacity: .55;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pill {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(107, 185, 240, .10), rgba(0, 86, 179, .08));
  border: 1px solid rgba(107, 185, 240, .18);
  font-weight: 850;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 18px;
}

.info h3 {
  margin: 0 0 8px;
}

.info p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.step {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  font-weight: 850;
}

.country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.country {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  font-weight: 750;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.timeline .n {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(107, 185, 240, .12);
  border: 1px solid rgba(107, 185, 240, .22);
  font-weight: 950;
  color: rgba(234, 240, 255, .95);
}

.timeline h3 {
  margin: 2px 0 4px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Flow ---------- */
.flow {
  display: grid;
  gap: 12px;
}

.flow__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.flow__item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(234, 240, 255, .90);
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  margin-right: 8px;
  background: rgba(0, 86, 179, .12);
  border: 1px solid rgba(0, 86, 179, .20);
  font-weight: 900;
}

/* ---------- Assets placeholders ---------- */
.asset-placeholder {
  margin-top: 12px;
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(255, 255, 255, .18);
  color: var(--muted);
}

/* ---------- Logos ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.logo {
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: rgba(234, 240, 255, .70);
  font-weight: 800;
}

/* ---------- CTA ---------- */
.section--cta {
  padding: calc(var(--section-padding) + 10px) 0;
  background: linear-gradient(135deg, rgba(107, 185, 240, .10), rgba(20, 165, 233, .06)), linear-gradient(180deg, rgba(0, 86, 179, .06), transparent);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

[dir="rtl"] .cta {
  align-items: stretch;
}

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__content h2 {
  margin: 0;
}

.cta__content p {
  margin: 0;
  color: rgba(234, 240, 255, .85);
}

.cta__button {
  margin-top: 8px;
  max-width: 100%;
}

.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta__actions .btn {
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}


.cta__actions .btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  vertical-align: middle;
}

.cta__actions .btn__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta__form {
  background: rgba(11, 18, 32, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
}

.cta__form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
}

.cta__form input,
.cta__form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
}

.cta__form input:focus,
.cta__form textarea:focus {
  border-color: rgba(107, 185, 240, .35);
  box-shadow: 0 0 0 4px rgba(107, 185, 240, .08);
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-family: "Poppins", Tahoma, "Segoe UI", sans-serif;
}

/* Prevent images from causing overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Section / content images (clarity, alignment, fast loading) ---------- */
.section-img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .08);
  image-rendering: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.section img[width][height] {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.map-placeholder .section-img,
.map-placeholder img {
  border-radius: 14px;
}

.fab img {
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
  padding: 18px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* ---------- Responsive ---------- */
/* Desktop: default (--container-padding 20px, --section-padding 54px) */

@media (max-width: 1210px) {
  .topbar__inner {
    padding: 10px 10px;
  }

  .header__inner {
    padding: 10px 10px;
  }
}

/* Tablet and below */
@media (max-width: 980px) {
  :root {
    --container-padding: 24px;
    --section-padding: 44px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    padding: 20px 16px;
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 720px) {
  :root {
    --container-padding: 20px;
    --section-padding: 36px;
  }

  .nav {
    display: none;
  }

  .theme-toggle {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .header__inner {
    gap: 12px;
  }

  .header__inner > div:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand__tag {
    display: none;
  }
}

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    min-height: var(--touch-min);
    justify-content: center;
  }

  .hero__mini {
    flex-direction: column;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-carousel__slide {
    flex-basis: 100%;
  }

  .media-carousel__btn--prev {
    left: 8px;
  }

  .media-carousel__btn--next {
    right: 8px;
  }

  [dir="rtl"] .media-carousel__btn--prev {
    right: 8px;
  }

  [dir="rtl"] .media-carousel__btn--next {
    left: 8px;
  }

  .media-carousel {
    padding: 12px;
  }

  .cta__form-row {
    grid-template-columns: 1fr 1fr;
  }

  .cta__actions {
    flex-direction: column;
  }

  .cta__actions .btn {
    min-height: var(--touch-min);
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .section__head p {
    max-width: none;
  }


/* Topbar: hide link text on small screens, show icons only for contact */
@media (max-width: 600px) {
  .topbar__left {
    flex-shrink: 1;
    min-width: 0;
  }

  .topbar__left .badge {
    font-size: .78rem;
    padding: 5px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar__link .topbar__text {
    display: none;
  }

  .topbar__link {
    padding: 8px;
    flex-shrink: 0;
  }

  .topbar__link--lang {
    padding: 8px 10px;
    flex-shrink: 0;
  }

  .topbar__link--lang .topbar__text {
    display: inline;
  }

  .topbar__right {
    gap: 6px;
  }

  .dot {
    display: none;
  }
}

/* Phone form row: stack on very narrow screens */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --section-padding: 28px;
  }

  .header__inner {
    padding: 10px 10px !important;
  }

  .topbar__inner {
    padding: 10px 10px !important;
    gap: 8px;
  }

  .topbar__right {
    gap: 4px;
  }

  .topbar__link {
    padding: 6px;
  }

  .topbar__link--lang {
    padding: 6px 8px;
    font-size: .85rem;
  }

  .header__inner {
    padding: 10px 0;
    gap: 8px;
  }

  .theme-toggle {
    padding: 8px;
    min-width: 40px;
  }

  .nav-toggle {
    padding: 8px 10px;
    min-width: 40px;
  }

  .brand__tag {
    font-size: .8rem;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 14px;
    min-height: var(--touch-min);
  }

  .card,
  .info {
    padding: 14px;
  }

  .map-placeholder {
    padding: 16px 12px;
  }

  .map-placeholder 
  .country {
    padding: 8px 10px;
    font-size: .9rem;
  }
}

/* Large desktop: slightly more padding */
@media (min-width: 1200px) {
  :root {
    --container-padding: 24px;
  }
}
