/* ============================================================
   ESIMM — Main Stylesheet
   Dark Navy + Gold Premium Design
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-primary:      #004C93;
  --color-secondary:    #1B4CC4;
  --color-accent:       #1B5BDB;
  --color-accent-light: #4A8FEF;
  --color-accent-dim:   rgba(27, 91, 219, 0.10);
  --color-bg:           #FFFFFF;
  --color-surface:      #F8FAFC;
  --color-surface-2:    #F1F5F9;
  --color-surface-3:    #E2E8F0;
  --color-text:         #0F172A;
  --color-text-muted:   #64748B;
  --color-text-dim:     #94A3B8;
  --color-success:      #10B981;
  --color-error:        #EF4444;
  --color-warning:      #F59E0B;
  --color-border:       rgba(13, 43, 107, 0.18);
  --color-border-subtle:rgba(0, 0, 0, 0.08);

  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.13);
  --shadow-glow:0 0 24px rgba(13, 43, 107, 0.15);
  --shadow-gold:0 4px 20px rgba(27, 91, 219, 0.22);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.25; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }

/* ============================================================
   Typography
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section-title span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,43,107,0.30);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-secondary:hover {
  background: var(--color-accent-dim);
  color: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1.5px solid var(--color-border-subtle);
}
.btn-ghost:hover {
  background: var(--color-surface-3);
  border-color: var(--color-border);
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.0625rem; }
.btn-icon { padding: 10px; width: 40px; height: 40px; }

.btn-success {
  background: linear-gradient(135deg, #059669, var(--color-success));
  color: #fff;
}
.btn-danger {
  background: linear-gradient(135deg, #dc2626, var(--color-error));
  color: #fff;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: #004C93;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
  display: flex;
  align-items: center;
}
.navbar > .container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.navbar.scrolled {
  background: #004C93;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #22C55E, #4ADE80);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #0A1628;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(34,197,94,0.30);
}
.navbar__logo span { color: #22C55E; }
.navbar__logo:hover { color: #fff; }

.navbar__logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.navbar__logo-wordmark span {
  color: #22C55E;
}
.footer__logo .navbar__logo-wordmark {
  color: #004C93;
}
.footer__logo .navbar__logo-wordmark span {
  color: #22C55E;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__right {
  display: flex;
  align-items: center;
  justify-self: end;
}
.navbar__nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: all var(--transition);
}
.navbar__nav a:hover,
.navbar__nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.navbar__nav a.active { color: #22C55E; }

/* Language Selector — Navbar */
.lang-selector {
  position: relative;
}
.lang-selector__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-selector__btn:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
}
.lang-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
}
.lang-selector.open .lang-selector__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.lang-selector__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.lang-selector__item:hover { background: var(--color-surface-2); color: var(--color-text); }
.lang-selector__item.current { color: var(--color-accent); background: var(--color-accent-dim); font-weight: 600; }
.lang-selector__flag { font-size: 1.1rem; line-height: 1; }

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  background: #fff !important;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   Hero Section — Image top-right, text bottom-left (Marco Polo style)
   ============================================================ */
.hero {
  position: relative;
  background: #004C93;
  overflow: hidden;
}

/* Image anchored to the top-right corner of the section */
.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  max-width: 500px;
  pointer-events: none;
  z-index: 1;
}
.hero__image img {
  display: block;
  width: 100%;
  /* invert dark outlines → light, screen blend → white bg disappears into blue */
  filter: invert(1) brightness(0.85);
  mix-blend-mode: screen;
}

/* Text content sits below the image area */
.hero__content {
  position: relative;
  z-index: 2;
  /* padding-top clears the image: image height ≈ width × 0.64 (750×480 ratio)
     60vw × 0.64 = 38.4vw; cap at max-width 500px → max height ≈ 320px         */
  padding: clamp(170px, calc(38.4vw + 10px), 340px) 0 64px;
  text-align: left;
  max-width: 600px;
}

/* Title */
.hero__title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 28px;
  animation: heroFadeUp 0.7s 0.1s cubic-bezier(0.22,0.97,0.58,1) both;
}
.hero__title em {
  font-style: normal;
  color: #22C55E; /* green stays for contrast on dark blue hero bg */
}

/* Toggle — Marcopolo style */
.hero__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  animation: heroFadeUp 0.7s 0.25s cubic-bezier(0.22,0.97,0.58,1) both;
}
.hero__toggle-btn {
  padding: 18px 52px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
.hero__toggle-btn.active {
  background: #22C55E;
  color: #fff;
  border-color: #22C55E;
  box-shadow: 0 2px 16px rgba(34,197,94,0.35);
}
.hero__toggle-btn:not(.active):hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ============================================================
   Filters Bar
   ============================================================ */
.filters {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 20px 0;
}

.filters__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filters__search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.filters__search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filters__search input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}
.filters__search input::placeholder { color: var(--color-text-dim); }
.filters__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dim);
  pointer-events: none;
}

.filters__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filters__sort-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.sort-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border-subtle);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.sort-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.sort-btn.active {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filters__results {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.filters__results strong { color: var(--color-accent); }

/* ============================================================
   Plans Grid
   ============================================================ */
.plans-section { padding: 20px 0 60px; }

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

/* Plan Card */
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border-radius: inherit;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}
.plan-card:hover::before { opacity: 1; }

.plan-card--popular {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
}
.plan-card--popular::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.plan-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.plan-card__country {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-card__flag {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.plan-card__country-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}
.plan-card__operator {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.plan-card__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-popular {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-primary);
}
.badge-pro {
  background: rgba(30,58,95,0.08);
  color: #1E3A5F;
  border: 1px solid rgba(30,58,95,0.2);
}
.badge-tourist {
  background: rgba(16,185,129,0.15);
  color: var(--color-success);
  border: 1px solid rgba(16,185,129,0.2);
}

.plan-card__data {
  margin-bottom: 16px;
}
.plan-card__gb {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-card__gb span {
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-card__validity {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.plan-card__features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.plan-card__features li:last-child { border-bottom: none; }
.plan-card__features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.plan-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-subtle);
}
.plan-card__price {
  display: flex;
  flex-direction: column;
}
.plan-card__price-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.plan-card__price-currency {
  font-size: 1rem;
}
.plan-card__price-label {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

/* ============================================================
   Group Separator — Marcopolo style
   ============================================================ */
.mp-separator {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b7280;
  padding: 28px 0 12px;
  letter-spacing: 0.02em;
}

/* ============================================================
   Recharge Banner — Marcopolo style
   ============================================================ */
.mp-recharge-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.mp-recharge-btn:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mp-recharge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mp-recharge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.mp-recharge-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #004C93;
}
.mp-recharge-discount {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f59e0b;
}
.mp-recharge-arrow {
  color: #9ca3af;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ============================================================
   Marcopolo-style Plan Cards
   ============================================================ */
.mp-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}
.mp-wrap:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }

.mp-card {
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.mp-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mp-body {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0 32px;
}

.mp-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mp-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-icon-carrier {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.mp-icon-feat {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.55;
}

.mp-coverage {
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.45;
}

/* Days column */
.mp-days {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}
.mp-days .mp-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #4a7ab5;
  line-height: 1;
}
.mp-days .mp-lbl {
  font-size: 0.8rem;
  color: #4a7ab5;
  margin-top: 4px;
}

/* GB column */
.mp-gb {
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.mp-gb .mp-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1;
}
.mp-gb .mp-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a5f;
}

/* Price column — green */
.mp-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.mp-price .mp-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1;
}
.mp-price .mp-unit {
  font-size: 1.15rem;
  font-weight: 700;
  color: #16a34a;
}

/* Bestseller badge — top right */
.mp-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #22c55e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  z-index: 1;
  pointer-events: none;
}

/* Accordion detail */
.mp-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mp-wrap.is-open .mp-detail {
  max-height: 1200px;
}
.mp-detail-inner {
  padding: 16px 20px 20px;
  border-top: 1px solid #e5e7eb;
}
.mp-detail .pd-buy-btn {
  margin-top: 20px;
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.mp-detail .pd-buy-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

/* Skeleton loader */
.plan-card--skeleton {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-line {
  height: 14px;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.skeleton-line--lg { height: 48px; width: 40%; }
.skeleton-line--md { height: 18px; width: 60%; }
.skeleton-line--sm { height: 12px; width: 80%; }
@keyframes skeleton-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}
.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

/* ============================================================
   Top Destinations Section
   ============================================================ */
.destinations {
  background: var(--color-surface);
  padding: 80px 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.destinations__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.dest-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.dest-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.dest-card__flag { font-size: 2.25rem; margin-bottom: 8px; display:flex; align-items:center; justify-content:center; min-height: 30px; }
.dest-card__name { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.dest-card__count { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

/* ============================================================
   How It Works
   ============================================================ */
.how {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 50%, var(--color-bg) 100%);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 60px;
  position: relative;
}
.how__steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  display: none;
}

.how__step {
  text-align: center;
  position: relative;
}
.how__step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition);
}
.how__step:hover .how__step-num { transform: scale(1.1); }
.how__step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.how__step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   USP Features Section
   ============================================================ */
.usp {
  padding: 80px 0;
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.usp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}
.usp-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.usp-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.usp-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.usp-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   Partners Section
   ============================================================ */
.partners {
  background: var(--color-surface);
  padding: 56px 0;
  border-top: 1px solid var(--color-border-subtle);
}
.partners__label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  margin-bottom: 32px;
  font-weight: 500;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
  opacity: 0.6;
  transition: opacity var(--transition), color var(--transition);
}
.partner-logo:hover { opacity: 1; color: var(--color-accent); }

/* ============================================================
   Checkout Modal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(20px);
  transition: transform var(--transition-slow);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-subtle) transparent;
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 0;
  margin-bottom: 4px;
}
.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.modal__close:hover { background: var(--color-error); color: #fff; border-color: var(--color-error); }

/* Checkout steps */
.checkout-steps {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  gap: 0;
}
.checkout-step {
  display: flex;
  align-items: center;
  flex: 1;
}
.checkout-step__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 2px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}
.checkout-step.active .checkout-step__num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}
.checkout-step.done .checkout-step__num {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}
.checkout-step__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-left: 8px;
  white-space: nowrap;
}
.checkout-step.active .checkout-step__label { color: var(--color-text); font-weight: 600; }
.checkout-step__line {
  flex: 1;
  height: 2px;
  background: var(--color-border-subtle);
  margin: 0 8px;
  transition: background var(--transition);
}
.checkout-step.done + .checkout-step .checkout-step__line,
.checkout-step.done .checkout-step__line { background: var(--color-success); }

.modal__body { padding: 0 28px 28px; }

.checkout-pane { display: none; }
.checkout-pane.active { display: block; }

/* Plan summary in modal */
.checkout-plan-summary {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.checkout-plan-summary__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.checkout-plan-summary__flag { font-size: 1.75rem; }
.checkout-plan-summary__name { font-size: 1.0625rem; font-weight: 700; }
.checkout-plan-summary__op { font-size: 0.8125rem; color: var(--color-text-muted); }
.checkout-plan-summary__details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.summary-detail__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}
.summary-detail__value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================================
   Premium Checkout Overlay (full-screen 4-step)
   ============================================================ */

.ckout-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow: hidden;
}
.ckout-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Plan bar */
.ckout-plan-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid var(--color-border-subtle);
  background: #fff;
  flex-shrink: 0;
  gap: 16px;
}
.ckout-plan-bar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ckout-plan-bar__flag {
  width: 44px;
  height: 33px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.ckout-plan-bar__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ckout-plan-bar__meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 1px;
}
.ckout-plan-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.ckout-plan-bar__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
}
.ckout-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.ckout-close:hover { background: #FEE2E2; color: var(--color-error); border-color: #FECACA; }

/* Step dots */
.ckout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  gap: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}
.ckout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ckout-step__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-surface-3);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ckout-step__dot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}
.ckout-step.active .ckout-step__dot {
  border-color: var(--color-accent);
}
.ckout-step.active .ckout-step__dot span {
  background: var(--color-accent);
}
.ckout-step.done .ckout-step__dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
}
.ckout-step.done .ckout-step__dot span {
  background: #fff;
}
.ckout-step__label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-dim);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.ckout-step.active .ckout-step__label { color: var(--color-text); font-weight: 600; }
.ckout-step.done  .ckout-step__label  { color: var(--color-accent); }

.ckout-step__connector {
  flex: 1;
  height: 1px;
  background: var(--color-surface-3);
  margin: 0 10px;
  margin-bottom: 20px; /* offset for label */
  min-width: 40px;
  transition: background 0.3s ease;
}

/* Scrollable content area */
.ckout-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface-3) transparent;
}

/* Panes */
.ckout-pane {
  display: none;
  max-width: 480px;
  margin: 0 auto;
  animation: ckoutFadeIn 0.25s ease both;
}
.ckout-pane.active { display: block; }
@keyframes ckoutFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ckout-pane__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ckout-pane__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Proceed / dark button */
.ckout-btn-proceed {
  width: 100%;
  padding: 16px 24px;
  background: #0F172A;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 24px;
}
.ckout-btn-proceed:hover {
  background: #1E293B;
  transform: translateY(-1px);
  color: #fff;
}
.ckout-btn-proceed:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Back button */
.ckout-btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}
.ckout-btn-back:hover { color: var(--color-text); background: var(--color-surface); }

/* Terms checkbox */
.ckout-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 6px;
  margin-top: 4px;
}
.ckout-terms input { margin-top: 3px; accent-color: var(--color-accent); flex-shrink: 0; }
.ckout-terms .form-check-label { font-size: 0.875rem; color: var(--color-text-muted); }
.ckout-terms a { color: var(--color-accent); }

/* Form hints */
.form-label-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-dim);
}
.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-top: 4px;
}

/* Payment method cards */
.ckout-pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.ckout-pm-card {
  position: relative;
  border: 2px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.ckout-pm-card:hover { border-color: var(--color-accent); }
.ckout-pm-card.selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.ckout-pm-card__check {
  position: absolute;
  top: 10px; right: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}
.ckout-pm-card.selected .ckout-pm-card__check { display: flex; }
.ckout-pm-card__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Payment logos */
.ckout-pm-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pm-logo {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.pm-visa   { background: #1A1F71; color: #fff; }
.pm-mc     { background: #EB001B; color: #fff; }
.pm-amex   { background: #007BC1; color: #fff; }
.pm-apple  { background: #000; color: #fff; }
.pm-google { background: #4285F4; color: #fff; }

/* PayPal logo */
.paypal-logo {
  font-size: 1.125rem;
  font-weight: 800;
  font-style: italic;
  color: #003087;
}
.paypal-logo span { color: #009CDE; }

/* Promo code */
.ckout-promo { margin-bottom: 20px; }
.ckout-promo__toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ckout-promo__toggle:hover { color: var(--color-accent-light); }
.ckout-promo__row {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.ckout-promo__row.open { display: flex; }
.ckout-promo__row .form-control { flex: 1; }

/* Total row */
.ckout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 4px;
}
.ckout-total-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.ckout-total-amount {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-text);
}

/* Secure badge */
.ckout-pay-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-top: 14px;
}

/* ID Check step */
.ckout-idcheck { text-align: center; padding: 16px 0 8px; }
.ckout-idcheck__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(13,43,107,0.08);
  border: 2px solid rgba(13,43,107,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: #004C93;
}
.ckout-idcheck__list {
  list-style: none;
  text-align: left;
  margin: 24px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.ckout-idcheck__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--color-text-muted);
}
.ckout-idcheck__list li svg { color: #22C55E; flex-shrink: 0; }
.ckout-idcheck__skip {
  margin-top: 14px; font-size: 0.82rem;
}
.ckout-idcheck__skip a { color: var(--color-text-dim); text-decoration: underline; }
.ckout-idcheck__skip a:hover { color: var(--color-text-muted); }

/* Processing step (kept for reference) */
.ckout-processing {
  text-align: center;
  padding: 40px 0;
}
.ckout-processing__ring {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
}
.ckout-processing__ring svg { width: 100%; height: 100%; }
.ckout-processing__arc {
  stroke-dasharray: 163;
  stroke-dashoffset: 40;
  transform-origin: center;
  animation: ckoutSpin 1.2s linear infinite;
}
@keyframes ckoutSpin {
  to { transform: rotate(360deg); }
}

/* Success step */
.ckout-success {
  text-align: center;
  padding: 40px 0;
}
.ckout-success__check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: ckoutCheckPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ckoutCheckPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.ckout-success__email-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-top: 8px;
  margin-bottom: 16px;
}
.ckout-success__order {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================================ */

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}
.form-control::placeholder { color: var(--color-text-dim); }
.form-control.error { border-color: var(--color-error); }
.form-error {
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-check-label { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; }
.form-check-label a { color: var(--color-accent); }

/* Payment step */
.payment-total {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.payment-total__label { color: var(--color-text-muted); font-size: 0.9375rem; }
.payment-total__amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.payment-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  margin-top: 12px;
  justify-content: center;
}

.modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.modal__actions .btn { flex: 1; }

/* ============================================================
   Forms (contact, recharge)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(34,197,94,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.page-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-info-item__label { font-size: 0.75rem; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-info-item__value { font-size: 0.9375rem; color: var(--color-text); font-weight: 500; }

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--color-success);
}
.alert-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--color-error);
}

/* ============================================================
   Recharge Page
   ============================================================ */
.rch-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 80px;
}
.rch-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.rch-card__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--color-border-subtle);
}
.rch-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 6px;
}
.rch-card__title em {
  font-style: normal;
  color: #004C93;
}
.rch-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

/* Phone input */
.rch-phone-row {
  display: flex;
  align-items: stretch;
  margin: 20px 28px 0;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.rch-phone-row:focus-within { border-color: #004C93; }
.rch-prefix-wrap {
  border-right: 1.5px solid var(--color-border);
  flex-shrink: 0;
}
.rch-prefix {
  height: 100%;
  padding: 0 10px;
  border: none;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  min-width: 96px;
}
.rch-phone-input {
  flex: 1;
  border: none;
  padding: 13px 16px;
  font-size: 0.9375rem;
  background: transparent;
  color: var(--color-text);
  outline: none;
}
.rch-phone-input::placeholder { color: var(--color-text-dim); }
.rch-phone-input.error { background: rgba(239,68,68,0.04); }

/* Promo banner */
.rch-promo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 28px;
  padding: 12px 16px;
  background: rgba(34,197,94,0.08);
  border: 1.5px solid rgba(34,197,94,0.25);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #15803d;
}

/* Plans list */
.rch-plans {
  margin: 4px 0 0;
}
.rch-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid var(--color-border-subtle);
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.rch-plan-row:hover { background: var(--color-surface-2); }
.rch-plan-row.selected { background: rgba(13,43,107,0.04); }
.rch-plan-row__name {
  font-size: 0.9375rem;
  color: var(--color-text);
}
.rch-plan-row__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #004C93;
  flex-shrink: 0;
}
.rch-plan-row__currency {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 520px) {
  .rch-page { padding: 0 0 60px; }
  .rch-card { border-radius: 0; border-left: none; border-right: none; max-width: 100%; }
  .rch-card__header { padding: 24px 20px 16px; }
  .rch-phone-row { margin: 16px 20px 0; }
  .rch-promo-banner { margin: 12px 20px; }
  .rch-plan-row { padding: 15px 20px; }
}

/* ============================================================
   Terms Page — Marcopolo style
   ============================================================ */
.mp-terms {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px var(--container-pad) 80px;
}
.mp-terms__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 36px;
}
.mp-terms__list {
  list-style: decimal;
  padding-left: 20px;
}
.mp-terms__list > li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 16px;
}
.mp-terms__list ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 8px;
}
.mp-terms__list ul li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 6px;
}

/* ============================================================
   Order Confirm
   ============================================================ */
.confirm-wrapper {
  max-width: 540px;
  margin: 0 auto;
  padding: 80px var(--container-pad);
  text-align: center;
}
.confirm-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 2px solid var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  font-size: 2rem;
  margin: 0 auto 28px;
  animation: scaleIn 0.4s ease both;
}
@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.confirm-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.confirm-subtitle { color: var(--color-text-muted); margin-bottom: 36px; }
.confirm-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  margin-bottom: 28px;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row__label { font-size: 0.875rem; color: var(--color-text-muted); }
.confirm-row__value { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.confirm-row__value--accent { color: var(--color-accent); font-size: 1.0625rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand {}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}
.footer__logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--color-primary);
}
.footer__tagline { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.7; max-width: 260px; }

.footer__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-accent); }

.footer__bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copyright {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}
.footer__copyright strong { color: var(--color-text-muted); }

/* Language selector in footer */
.footer__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__lang-label {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--color-border-subtle);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.footer__lang-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer__lang-btn.current { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-dim); }

/* ============================================================
   Marcopolo-style Footer
   ============================================================ */
.mp-footer {
  background: #004C93;
  text-align: center;
  padding: 48px 20px 40px;
}
.mp-footer__brand {
  margin-bottom: 32px;
}
.mp-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #22C55E;
  letter-spacing: -0.02em;
}
.mp-footer__logo span {
  color: #fff;
}
.mp-footer__motto {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
.mp-footer__top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}
.mp-footer__top-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.mp-footer__top:hover .mp-footer__top-circle {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transform: translateY(-3px);
}
.mp-footer__top-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.mp-footer__top:hover .mp-footer__top-label {
  color: rgba(255,255,255,0.75);
}

/* Hide old fixed back-to-top (now in footer) */
button.back-to-top { display: none !important; }

/* ============================================================
   Animations (triggered by IntersectionObserver in main.js)
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

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

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ============================================================
   Plan Detail Drawer
   ============================================================ */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pd-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pd-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 400px;
  max-width: 100vw;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.pd-overlay.open .pd-panel {
  transform: translateX(0);
}

.pd-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background var(--transition);
  z-index: 2;
}
.pd-close:hover { background: var(--color-surface-3); color: var(--color-text); }

.pd-body {
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  padding-right: 36px;
  line-height: 1.3;
}

/* Header row: icons left, stats right */
.pd-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pd-feat-icons {
  display: flex;
  gap: 6px;
}
.pd-feat-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

/* Stats */
.pd-stats {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.pd-stat {
  text-align: center;
}
.pd-stat__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.pd-stat__lbl {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.pd-stat__num--gb {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.pd-stat__num--gb .pd-stat__unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
.pd-stat__num--price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.pd-stat__num--price .pd-stat__unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Coverage */
.pd-coverage {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Buy button */
.pd-buy-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition);
  margin-bottom: 24px;
}
.pd-buy-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

.pd-divider {
  border: none;
  height: 1px;
  background: var(--color-border-subtle);
  margin: 0 0 20px;
}

/* Info list */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pd-info-icon {
  flex-shrink: 0;
  color: var(--color-text-dim);
  margin-top: 1px;
}
.pd-info-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.pd-info-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ============================================================
   Responsive — Mobile First
   ============================================================ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .destinations__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
  .navbar__logo { flex: 1; }
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }

  /* Language selector stays visible next to the hamburger on mobile */
  .navbar__inner { gap: 8px; }
  .navbar__right { display: flex; }
  .navbar__right .lang-selector__btn { padding: 7px 10px; }
  /* Compact: show only the flag + chevron, hide the language label text */
  .navbar__right .lang-selector__btn > span:not(.lang-selector__flag) { display: none; }

  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #004C93;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    gap: 4px;
    z-index: 999;
  }

  .hero__image { width: 70%; }
  .destinations__grid { grid-template-columns: repeat(3, 1fr); }

  .filters__inner { gap: 12px; }
  .filters__search { min-width: 100%; max-width: 100%; }
  .filters__results { width: 100%; margin-left: 0; }

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

  .modal { border-radius: var(--radius-lg); }

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

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__image { width: 75%; }
  .hero__toggle-btn { padding: 12px 28px; font-size: 0.95rem; }
  .destinations__grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .plans-grid { gap: 16px; }
  .plan-card { padding: 20px; }
  .plan-card__gb { font-size: 2.75rem; }
  .mp-body { gap: 0 12px; }
  .mp-card { padding: 12px 14px; }
  .mp-icon-carrier { width: 30px; height: 30px; }
  .mp-icon-feat { width: 16px; height: 16px; }
  .mp-days .mp-val { font-size: 1.2rem; }
  .mp-gb .mp-val { font-size: 1.35rem; }
  .mp-price .mp-val { font-size: 1.2rem; }
  .how__steps { grid-template-columns: 1fr; }

  /* Checkout overlay mobile */
  .ckout-plan-bar { padding: 12px 16px; }
  .ckout-steps { padding: 14px 16px; gap: 0; }
  .ckout-step__label { display: none; }
  .ckout-step.active .ckout-step__label { display: block; }
  .ckout-step__connector { min-width: 20px; }
  .ckout-content { padding: 24px 16px; }
  .ckout-pm-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Plan List — Professional row-based layout
   ============================================================ */
.plans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Group header */
.plan-group {
  margin-bottom: 8px;
}
.plan-group + .plan-group { margin-top: 32px; }

.plan-group__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 14px;
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: 0;
}
.plan-group__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.plan-group__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.plan-group__subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-left: auto;
}
.plan-group__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(251,146,60,0.12);
  color: #ea580c;
  border: 1px solid rgba(251,146,60,0.25);
}

/* ── Plan Row — card individuale cu gap ─────────────────── */
.plan-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-row {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.plan-row:hover { box-shadow: var(--shadow-md); }

.plan-row--popular { border-left: 3px solid #22C55E !important; }

/* Summary row (always visible, clickable) */
.plan-row__summary {
  display: grid;
  grid-template-columns: 48px 1fr auto 28px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}
.plan-row__summary:hover { background: var(--color-surface); }
.plan-row.is-open .plan-row__summary { background: var(--color-surface); }

/* eSIM icon box (replaces flag) */
.plan-row__icon-wrap {
  width: 48px; height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #004C93;
  overflow: hidden;
}
.plan-row__sim-svg {
  width: 26px; height: 34px;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

/* Info */
.plan-row__info { min-width: 0; }
.plan-row__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.3;
}
.plan-row__bestseller {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #22C55E, #4ADE80);
  color: #0A1628;
}
.plan-row__coverage {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-row__feature-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}
.plan-row__feat-icon {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.7rem; color: var(--color-text-dim);
}
.plan-row__feat-icon svg { width: 12px; height: 12px; color: var(--color-accent); flex-shrink: 0; }

/* Stats cluster (days + GB + price) */
.plan-row__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.plan-row__stat {
  text-align: center;
  white-space: nowrap;
}
.plan-row__stat-num {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  display: block;
}
.plan-row__stat-num--gb { font-size: 1.25rem; color: var(--color-text-muted); }
.plan-row__stat-num--gb strong { font-size: 1.375rem; color: var(--color-text); }
.plan-row__stat-label {
  font-size: 0.6875rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  display: block;
}
.plan-row__stat-sub { font-size: 0.625rem; color: var(--color-text-dim); display: block; margin-top: 1px; }
.plan-row__price-col { text-align: right; }
.plan-row__price-value {
  font-size: 1.625rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1;
}
.plan-row__price-currency { font-size: 1rem; font-weight: 600; }
.plan-row__price-label { font-size: 0.6875rem; color: var(--color-text-dim); margin-top: 2px; }

/* Chevron */
.plan-row__chevron {
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.plan-row.is-open .plan-row__chevron { transform: rotate(180deg); }

/* ── Expandable detail ───────────────────────────────────── */
.plan-row__detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.plan-row.is-open .plan-row__detail { max-height: 1200px; }

.plan-row__detail-inner {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}

/* Buy button inside detail */
.plan-row__detail .pd-buy-btn {
  margin-top: 20px;
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.plan-row__detail .pd-buy-btn:hover { background: var(--color-secondary); transform: translateY(-1px); }

/* Tourist mode card grid */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
/* Card accordion summary wrapper */
.plan-card__summary { cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.plan-card .plan-row__chevron { color: var(--color-text-dim); transition: transform 0.3s ease; }
.plan-card.is-open .plan-row__chevron { transform: rotate(180deg); }

/* Tourist cards: detail expands below */
.plan-card .plan-row__detail { border-top: 1px solid var(--color-border-subtle); margin-top: 12px; }
.plan-card.is-open .plan-row__detail { max-height: 1200px; }

/* ── Mobile responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  /* Professional rows — Marco Polo style on mobile */
  .plan-row__summary {
    grid-template-columns: 40px 1fr auto 16px;
    grid-template-rows: auto auto;
    padding: 12px 14px;
    gap: 2px 8px;
  }
  .plan-row__icon-wrap  { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; }
  .plan-row__info       { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .plan-row__stats      { grid-column: 3; grid-row: 1 / span 2; align-self: center; flex-direction: row; gap: 10px; align-items: baseline; }
  .plan-row__chevron    { grid-column: 4; grid-row: 1; align-self: start; }
  /* Toate numerele: același font-size și line-height → aliniere perfectă pe baseline */
  .plan-row__stat       { display: flex; flex-direction: column; align-items: center; }
  .plan-row__stat-num   { font-size: 1.25rem; font-weight: 800; line-height: 1; display: block; }
  .plan-row__stat-label { font-size: 0.6rem; color: #9ca3af; margin-top: 2px; display: block; }
  .plan-row__stat-num--gb { font-size: 1.25rem; line-height: 1; display: flex; align-items: baseline; gap: 1px; }
  .plan-row__stat-num--gb strong { font-size: 1.25rem; font-weight: 800; line-height: 1; color: #1e3a5f; }
  .plan-row__price-col  { display: flex; flex-direction: column; align-items: center; }
  .plan-row__price-value { font-size: 1.25rem; font-weight: 800; line-height: 1; color: #16a34a !important; }
  .plan-row__price-label { display: none; }
  .plan-group__subtitle { display: none; }
  .plan-row__detail-inner { padding: 16px; }

}

/* ── Chat Widget ─────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
}

/* Toggle button */
.chat-widget__toggle {
  width: 56px;
  height: 56px;
  background: #004C93;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,43,107,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-widget__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(13,43,107,0.55);
}
.chat-widget__toggle svg {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-widget__toggle .icon-chat  { opacity: 1; transform: scale(1) rotate(0deg); }
.chat-widget__toggle .icon-close { opacity: 0; transform: scale(0.4) rotate(-90deg); }
.chat-widget.is-open .chat-widget__toggle .icon-chat  { opacity: 0; transform: scale(0.4) rotate(90deg); }
.chat-widget.is-open .chat-widget__toggle .icon-close { opacity: 1; transform: scale(1) rotate(0deg); }

/* Invite bubble */
.chat-widget__invite {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: #fff;
  color: #004C93;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px 12px 0 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-widget__invite.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.chat-widget.is-open .chat-widget__invite { display: none; }

/* Badge */
.chat-widget__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #22C55E;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: chat-badge-pop 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes chat-badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* Window */
.chat-widget__window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  background: var(--color-bg);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  max-height: 530px;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.88) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
}
.chat-widget.is-open .chat-widget__window {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.chat-widget__header {
  background: #004C93;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.chat-widget__avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.chat-widget__info { flex: 1; min-width: 0; }
.chat-widget__name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.chat-widget__status {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-widget__status::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-widget__close-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-widget__close-btn:hover { background: rgba(255,255,255,0.24); }

/* Messages body */
.chat-widget__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-widget__body::-webkit-scrollbar { width: 4px; }
.chat-widget__body::-webkit-scrollbar-track { background: transparent; }
.chat-widget__body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* Message rows */
.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: chat-msg-in 0.22s ease;
}
@keyframes chat-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg--user { flex-direction: row-reverse; }

.chat-msg__avatar {
  width: 26px;
  height: 26px;
  background: #004C93;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chat-msg__bubble {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 0.855rem;
  line-height: 1.6;
}
.chat-msg--bot .chat-msg__bubble {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-bottom-left-radius: 4px;
  color: var(--color-text);
}
.chat-msg--user .chat-msg__bubble {
  background: #004C93;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--color-text-dim);
  border-radius: 50%;
  display: block;
  animation: chat-dot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* Quick replies */
.chat-widget__quick-replies {
  padding: 6px 12px 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
  max-height: 120px;
  overflow-y: auto;
}
.chat-widget__quick-replies:empty { padding: 0; }

.chat-qr-btn {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: #004C93;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  line-height: 1.4;
}
.chat-qr-btn:hover {
  background: #004C93;
  color: #fff;
  border-color: #004C93;
}
.chat-qr-btn--back {
  color: var(--color-text-muted);
  border-color: var(--color-border-subtle);
  font-size: 0.77rem;
}
.chat-qr-btn--back:hover {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

/* Input row */
.chat-widget__input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}
.chat-widget__input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.855rem;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}
.chat-widget__input:focus { border-color: #004C93; }
.chat-widget__input::placeholder { color: var(--color-text-dim); }
.chat-widget__send {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #004C93;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.chat-widget__send:hover { background: #1B4CC4; transform: scale(1.06); }

/* Mobile */
@media (max-width: 500px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-widget__window {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 78vh;
    transform-origin: bottom center;
  }
  .chat-widget.is-open .chat-widget__window {
    transform: translateY(0);
  }
  .chat-widget__window:not(.is-open) {
    transform: translateY(20px);
  }
}
