/* ==========================================================================
   BUUMER ENTERPRISE DESIGN SYSTEM (theme.css)
   Font: Outfit (Weights 100-900) + Google Material Symbols Outlined
   Themes: Light (#F8F8F5 / #C9A961) & Dark (#0A0A0A / #D4B872)
   Mobile-First • 100% Responsive • Zero Horizontal Overflow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Noto+Sans+Arabic:wght@400;600;700&family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+KR:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');

/* ==========================================================================
   THEME VARIABLES
   ========================================================================== */
:root,
[data-theme="light"] {
  /* LIGHT THEME (Default & Printer-Friendly) */
  --bg-color: #F8F8F5;
  --surface-color: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --surface-card: #FFFFFF;
  --text-main: #0A0A0A;
  --text-muted: #555555;
  --text-subtle: #777777;
  --accent-gold: #C9A961;
  --accent-hover: #B8973E;
  --accent-soft: rgba(201, 169, 97, 0.12);
  --border-color: #E2E2E2;
  --border-strong: #D5D5CE;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 10px 30px rgba(201, 169, 97, 0.2);
  --modal-bg: #FFFFFF;

  /* Aliases for backwards compatibility */
  --bg: var(--bg-color);
  --surface: var(--surface-color);
  --text: var(--text-main);
  --accent: var(--accent-gold);
  --border: var(--border-color);
}

[data-theme="dark"] {
  /* DARK THEME (Luxury Night Mode) */
  --bg-color: #0A0A0A;
  --surface-color: #1A1A1A;
  --surface-elevated: #222222;
  --surface-card: #141414;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-subtle: #737373;
  --accent-gold: #D4B872;
  --accent-hover: #E0C788;
  --accent-soft: rgba(212, 184, 114, 0.16);
  --border-color: #333333;
  --border-strong: #444444;
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 10px 30px rgba(212, 184, 114, 0.25);
  --modal-bg: #141414;

  /* Aliases */
  --bg: var(--bg-color);
  --surface: var(--surface-color);
  --text: var(--text-main);
  --accent: var(--accent-gold);
  --border: var(--border-color);
}

:root {
  --font-main: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  color: inherit;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   PERSISTENT HEADER & BRAND IDENTITY
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Concept 2: Stacked Left-Aligned Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  text-decoration: none;
  outline: none;
}

.logo-concept-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}

.logo-concept-left .line1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: -0.1rem;
  transition: color var(--transition-normal);
}

.logo-concept-left .line2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   BUUMER FULL BRAND LOCKUP (Pure HTML/CSS 4-Line Logo)
   ========================================================================== */
.buumer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1;
  user-select: none;
  margin-bottom: 1.5rem;
}

.bl-line1 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: -0.1rem;
}

.bl-line1-dot {
  color: var(--accent-gold);
}

.bl-line2 {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.bl-line2-esim {
  font-weight: 300;
}

.bl-line2-brand {
  font-weight: 800;
  color: var(--accent-gold);
}

.bl-line3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.bl-line4 {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--accent-gold);
  letter-spacing: 0.01em;
}

/* Dealer Tag (Shown ONLY when ?ref= present) */
.dealer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--accent-soft);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.dealer-tag .material-symbols-outlined {
  font-size: 14px;
  color: var(--accent-gold);
}

/* Soul Switcher: SPOT vs HUB */
.brand-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 3px;
}

.switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.switch-btn .material-symbols-outlined {
  font-size: 18px;
}

.switch-btn.active {
  background: var(--surface-color);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.switch-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Header Actions (Language & Theme) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-selector {
  background: var(--bg-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.lang-selector:focus {
  border-color: var(--accent-gold);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   MAIN VIEWS (SPOT B2C & HUB B2B)
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 3rem 1.25rem 4rem;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

/* Hero Header Common */
.hero-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 auto 1.25rem auto;
  text-align: center;
  width: fit-content;
}

.hero-pill .material-symbols-outlined {
  font-size: 16px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS GRID (VISTA SPOT B2C)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.product-card.featured {
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent-gold);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

.product-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
}

.price-tax {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.product-features li strong {
  color: var(--text-main);
}

.check-icon {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

/* Primary Button CTA */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.75rem;
  background: var(--accent-gold);
  color: #000000;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--surface-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-card);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.trust-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   PRE-FOOTER MULTILINGUA (SOLO SPOT B2C)
   Grid: 2 righe x 5 colonne (Desktop) -> 2 col (Tablet) -> 1 col (Mobile)
   ========================================================================== */
.prefooter-languages {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.lang-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition-fast);
}

.lang-card:hover {
  border-color: var(--accent-gold);
}

.lang-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.35rem;
}

.lang-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.lang-plans {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.lang-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.lang-card-active {
  border-color: var(--accent-gold) !important;
  box-shadow: 0 0 18px rgba(201, 169, 97, 0.5) !important;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

/* Toast Notification */
.buumer-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface-color);
  color: var(--text-main);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.buumer-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

/* ==========================================================================
   VISTA 2: eSimHUB (B2B HOSPITALITY & AFFILIATES)
   ========================================================================== */
.micro-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.micro-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.micro-badge-item .material-symbols-outlined {
  color: var(--accent-gold);
  font-size: 20px;
  flex-shrink: 0;
}

.micro-badge-item strong {
  color: var(--text-main);
}

/* Interactive Calculator */
.hub-calculator {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
}

.calculator-header {
  margin-bottom: 2rem;
  text-align: center;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent-gold);
  cursor: pointer;
  height: 6px;
  background: var(--border-color);
  border-radius: 4px;
}

.calc-result-box {
  background: var(--bg-color);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.calc-result-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.calc-result-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* Forms Grid */
.hub-forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.form-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
}

/* Result Box for Pull Tracking */
#track-result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold);
  background: var(--accent-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   MODALS (CHECKOUT, FULFILLMENT, LEGAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 1.5rem;
  line-height: 1.6;
}

.fulfillment-qr {
  width: 220px;
  height: 220px;
  margin: 1rem auto;
  padding: 8px;
  background: #FFFFFF;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fulfillment-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lpa-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: monospace;
  font-size: 0.78rem;
  word-break: break-all;
  margin-top: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .products-grid {
    gap: 1.5rem;
  }
  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .micro-badges-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Smartphone (max-width: 768px) */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .brand-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .switch-btn {
    flex: 1;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  .main-content {
    padding: 2rem 1rem 3rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hub-forms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .languages-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 1.75rem 1.25rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Small Smartphone (max-width: 480px) */
@media (max-width: 480px) {
  .logo-concept-left .line1 {
    font-size: 1.2rem;
  }
  .logo-concept-left .line2 {
    font-size: 1.3rem;
  }
  .price-amount {
    font-size: 2.3rem;
  }
  .calc-result-amount {
    font-size: 2.75rem;
  }
  .btn-primary {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }
}

/* ==========================================================================
   MOBILE & VIEWPORT OVERFLOW FIXES (Partner Portal & Verifica Saldo)
   ========================================================================== */
.form-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#affiliate-tracking,
#track-result-box {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hub-forms-grid {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem 1.15rem;
  }
  .hub-forms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  #track-result-box {
    padding: 0.85rem;
  }
}


/* Quick City Selector Pills */
.btn-city-pill {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.74rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-city-pill:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--bg-color);
}


/* Value Proposition & Objection Killers Grid */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.value-prop-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.value-prop-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.value-prop-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.value-prop-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.value-prop-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
