/* ============================================================
   GRADIENT OCEAN — Complete Design Refresh
   dopravatenerife.cz
   ============================================================ */

/* ========= 1. DESIGN TOKENS ========= */
:root {
  --primary:       #0b3f85;
  --primary2:      #1a6fe8;
  --accent:        #f5921e;
  --amber:         #fbbf24;
  --ocean-deep:    #040d1a;
  --ocean-mid:     #061428;

  /* Light mode */
  --bg:            #d8ebff;
  --panel:         rgba(255, 255, 255, 0.8);
  --text:          #06213e;
  --muted:         #255085;
  --border:        rgba(255, 255, 255, 0.72);
  --shadow:        0 20px 50px rgba(6, 18, 40, 0.13), 0 4px 18px rgba(10, 36, 80, 0.07);
  --shadow-hover:  0 28px 62px rgba(6, 18, 40, 0.2), 0 6px 24px rgba(10, 36, 80, 0.1);
  --heroText:      #f0f8ff;
  --heroMuted:     rgba(215, 238, 255, 0.92);
  --glassBg:       rgba(255, 255, 255, 0.2);
  --glassBorder:   rgba(255, 255, 255, 0.62);
  --radius:        20px;
  --container:     1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #061428;
    --panel:        rgba(8, 22, 44, 0.76);
    --text:         #c5e0ff;
    --muted:        #6090be;
    --primary:      #2a7fff;
    --primary2:     #44b5ff;
    --accent:       #f5921e;
    --border:       rgba(80, 128, 210, 0.22);
    --shadow:       0 24px 56px rgba(0, 0, 0, 0.58), 0 6px 20px rgba(0, 0, 0, 0.32);
    --shadow-hover: 0 32px 68px rgba(0, 0, 0, 0.66), 0 8px 26px rgba(0, 0, 0, 0.4);
    --heroText:     #e4f1ff;
    --heroMuted:    rgba(188, 220, 255, 0.84);
    --glassBg:      rgba(4, 14, 34, 0.62);
    --glassBorder:  rgba(78, 138, 230, 0.32);
  }
}

:root[data-theme="light"] {
  --bg:            #d8ebff;
  --panel:         rgba(255, 255, 255, 0.8);
  --text:          #06213e;
  --muted:         #255085;
  --primary:       #0b3f85;
  --primary2:      #1a6fe8;
  --accent:        #f5921e;
  --border:        rgba(255, 255, 255, 0.72);
  --shadow:        0 20px 50px rgba(6, 18, 40, 0.13), 0 4px 18px rgba(10, 36, 80, 0.07);
  --shadow-hover:  0 28px 62px rgba(6, 18, 40, 0.2), 0 6px 24px rgba(10, 36, 80, 0.1);
  --heroText:      #f0f8ff;
  --heroMuted:     rgba(215, 238, 255, 0.92);
  --glassBg:       rgba(255, 255, 255, 0.2);
  --glassBorder:   rgba(255, 255, 255, 0.62);
}

:root[data-theme="dark"] {
  --bg:           #061428;
  --panel:        rgba(8, 22, 44, 0.76);
  --text:         #c5e0ff;
  --muted:        #6090be;
  --primary:      #2a7fff;
  --primary2:     #44b5ff;
  --accent:       #f5921e;
  --border:       rgba(80, 128, 210, 0.22);
  --shadow:       0 24px 56px rgba(0, 0, 0, 0.58), 0 6px 20px rgba(0, 0, 0, 0.32);
  --shadow-hover: 0 32px 68px rgba(0, 0, 0, 0.66), 0 8px 26px rgba(0, 0, 0, 0.4);
  --heroText:     #e4f1ff;
  --heroMuted:    rgba(188, 220, 255, 0.84);
  --glassBg:      rgba(4, 14, 34, 0.62);
  --glassBorder:  rgba(78, 138, 230, 0.32);
}

/* ========= 2. BASE RESET ========= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: linear-gradient(180deg, #bbd9ff 0%, #c8e3ff 28%, #d5eaff 60%, #eaf4ff 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 82% -8%, rgba(245, 146, 30, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 700px 450px at 18% 110%, rgba(26, 111, 232, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 360px at 78% 6%, rgba(255, 255, 255, 0.86) 0%, transparent 72%),
    radial-gradient(ellipse 1200px 540px at 16% 108%, rgba(90, 165, 255, 0.15) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

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

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary2) 70%, white);
  outline-offset: 2px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

/* ========= 3. LAYOUT ========= */
.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: #0a2f66;
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 22px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.7rem, 1.1rem + 1.95vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  padding-left: 18px;
  border-left: 4px solid var(--primary2);
}

/* Centered headings — no left border */
.facts-section h2,
#pricing > .container > h2 {
  text-align: center;
  padding-left: 0;
  border-left: none;
  color: #0a2f66;
}

.facts-section h2::after,
#pricing > .container > h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--primary2), var(--accent));
  border-radius: 2px;
}

/* ========= 4. DARK SECTIONS ========= */
.section--dark {
  background: #040d1a;
  position: relative;
  isolation: isolate;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% 55%, rgba(26, 111, 232, 0.09) 0%, transparent 68%),
    radial-gradient(ellipse 700px 400px at 88% 45%, rgba(245, 146, 30, 0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

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

.section--dark h2 {
  color: #d8eeff;
  border-left-color: var(--amber);
}

.section--dark .card {
  background: rgba(10, 26, 52, 0.72);
  border-color: rgba(60, 120, 220, 0.22);
  color: #c0dcff;
}

.section--dark .card-value {
  color: var(--amber);
}

.section--dark .card-description {
  color: #7aaad8;
}

/* ========= 5. ANIMATION KEYFRAMES ========= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes waPopIn {
  0%   { opacity: 0; transform: scale(0.65); }
  72%  { opacity: 1; transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 28px rgba(16, 120, 58, 0.38), 0 6px 14px rgba(0, 0, 0, 0.18); }
  50%       { box-shadow: 0 22px 44px rgba(16, 120, 58, 0.58), 0 10px 22px rgba(0, 0, 0, 0.28); }
}

@keyframes warningPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 100, 30, 0.4), 0 14px 32px rgba(180, 50, 20, 0.3); }
  50%       { box-shadow: 0 0 0 10px rgba(245, 100, 30, 0), 0 20px 42px rgba(180, 50, 20, 0.45); }
}

/* ========= 6. SCROLL ANIMATIONS ========= */

/* Progressive enhancement: only animate when JS has loaded */
.js [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js [data-animate="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.js [data-animate="fade"] {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s ease;
}

.js [data-animate="fade"].is-visible {
  opacity: 1;
}

/* Stagger containers: keep container visible, animate children */
.js [data-animate="stagger-children"] {
  opacity: 1 !important;
  transform: none !important;
}

.js [data-animate="stagger-children"] .card,
.js [data-animate="stagger-children"] .trust-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.js [data-animate="stagger-children"].is-visible .card:nth-child(1),
.js [data-animate="stagger-children"].is-visible .trust-card:nth-child(1) {
  opacity: 1; transform: none; transition-delay: 0s;
}
.js [data-animate="stagger-children"].is-visible .card:nth-child(2),
.js [data-animate="stagger-children"].is-visible .trust-card:nth-child(2) {
  opacity: 1; transform: none; transition-delay: 0.1s;
}
.js [data-animate="stagger-children"].is-visible .card:nth-child(3),
.js [data-animate="stagger-children"].is-visible .trust-card:nth-child(3) {
  opacity: 1; transform: none; transition-delay: 0.2s;
}
.js [data-animate="stagger-children"].is-visible .card:nth-child(4),
.js [data-animate="stagger-children"].is-visible .trust-card:nth-child(4) {
  opacity: 1; transform: none; transition-delay: 0.3s;
}

/* Hero trust cards: slide in from right with stagger */
.js .hero-trust[data-animate="stagger-children"] .trust-card {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.js .hero-trust[data-animate="stagger-children"].is-visible .trust-card:nth-child(1) {
  opacity: 1; transform: none; transition-delay: 0.15s;
}
.js .hero-trust[data-animate="stagger-children"].is-visible .trust-card:nth-child(2) {
  opacity: 1; transform: none; transition-delay: 0.28s;
}
.js .hero-trust[data-animate="stagger-children"].is-visible .trust-card:nth-child(3) {
  opacity: 1; transform: none; transition-delay: 0.42s;
}

/* Delay utilities */
[data-delay="0.1s"] { transition-delay: 0.1s; }
[data-delay="0.2s"] { transition-delay: 0.2s; }
[data-delay="0.3s"] { transition-delay: 0.3s; }
[data-delay="0.4s"] { transition-delay: 0.4s; }

/* Count-up pulse animation class (added by JS) */
.count-pulse {
  animation: countPulse 0.45s ease;
}

/* ========= 7. HEADER / NAV ========= */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  margin-bottom: -90px;
  padding-top: 0;
}

.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 44px rgba(8, 28, 64, 0.18), 0 2px 8px rgba(10, 36, 80, 0.1);
  backdrop-filter: blur(22px) saturate(165%);
}

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-left: 14px;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--glassBorder);
  background: color-mix(in srgb, var(--glassBg) 86%, transparent);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #0a2f66;
  margin: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  color: #08224f;
  opacity: 1;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  text-decoration: none;
  opacity: 1;
  border-color: rgba(18, 63, 132, 0.22);
  background: rgba(18, 63, 132, 0.08);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 63, 132, 0.18);
  margin-right: 15px;
}

.lang-switcher a {
  color: #0a2f66;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switcher a.active {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary2));
}

.nav-lang-switcher {
  display: none;
}

/* ========= 8. HERO ========= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100vh, 1000px);
  padding-top: 160px;
  padding-bottom: 60px;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.12) contrast(1.05);
  will-change: transform;
}

/* No fixed overlay — readability is handled by the hero-copy panel itself */

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.hero-copy {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
  background: rgba(4, 14, 30, 0.42);
  border: 1px solid rgba(100, 162, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(245, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.38);
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(2, 8, 22, 0.55), 0 1px 2px rgba(2, 8, 22, 0.6);
}

.hero .lead {
  margin-top: 16px;
  margin-bottom: 28px;
  color: #e8eef9;
  font-size: 1.08rem;
  max-width: 58ch;
  line-height: 1.72;
  text-shadow: 0 1px 6px rgba(2, 8, 22, 0.55);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(130deg, #0b3f85, #1a6fe8);
  box-shadow: 0 12px 28px rgba(11, 63, 133, 0.44);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(11, 63, 133, 0.56);
  background: linear-gradient(130deg, #0e4b9e, #2078f5);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-side {
  display: none;
}

/* ---- Trust cards ---- */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(4, 14, 30, 0.54);
  border: 1px solid rgba(100, 162, 255, 0.3);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px) saturate(130%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.trust-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(130deg, #0b3f85, #1a6fe8);
  box-shadow: 0 8px 20px rgba(26, 111, 232, 0.48);
  flex-shrink: 0;
}

.trust-title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.2;
}

.trust-caption {
  margin: 4px 0 0;
  color: rgba(198, 225, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.38;
}

@supports not (backdrop-filter: blur(8px)) {
  .header-inner,
  .hero-copy,
  .trust-card {
    background: rgba(5, 18, 42, 0.88);
  }
}

/* ========= 9. CARDS & PANELS ========= */
.cards-grid {
  display: grid;
  gap: 16px;
}

.facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.card,
.accordion-item,
.table-wrap,
.closing-cta {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px 32px;
}

.panel.compact {
  margin-top: 16px;
}

.card {
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 111, 232, 0.42);
}

/* ========= 10. FACT CARDS ========= */
.fact-card {
  display: grid;
  gap: 10px;
  align-content: start;
  text-align: center;
}

.fact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(26, 111, 232, 0.16), rgba(245, 146, 30, 0.13));
  border: 1px solid rgba(26, 111, 232, 0.28);
  position: relative;
  margin-inline: auto;
  box-shadow: 0 8px 22px rgba(26, 111, 232, 0.22);
}

.fact-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  background-color: var(--amber);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* Dark section overrides for fact icons */
.section--dark .fact-icon {
  background: linear-gradient(145deg, rgba(26, 111, 232, 0.24), rgba(245, 146, 30, 0.18));
  border-color: rgba(100, 165, 255, 0.32);
  box-shadow: 0 8px 26px rgba(26, 111, 232, 0.32);
}

.section--dark .fact-icon::before {
  background-color: var(--amber);
}

/* 1) Calendar */
.fact-icon-0::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='black'/%3E%3Crect x='3' y='9' width='18' height='2' fill='white'/%3E%3Crect x='7' y='2' width='2' height='6' fill='black'/%3E%3Crect x='15' y='2' width='2' height='6' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='black'/%3E%3Crect x='3' y='9' width='18' height='2' fill='white'/%3E%3Crect x='7' y='2' width='2' height='6' fill='black'/%3E%3Crect x='15' y='2' width='2' height='6' fill='black'/%3E%3C/svg%3E");
}

/* 2) Arrows */
.fact-icon-1::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8L3 12l4 4M3 12h18M17 8l4 4-4 4' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8L3 12l4 4M3 12h18M17 8l4 4-4 4' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 3) Ferry */
.fact-icon-2::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 15h14l-2 4H7l-2-4zM9 8h6v4H9zM11 5h2v3h-2zM3 21c2-2 4-2 6 0 2-2 4-2 6 0 2-2 4-2 6 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 15h14l-2 4H7l-2-4zM9 8h6v4H9zM11 5h2v3h-2zM3 21c2-2 4-2 6 0 2-2 4-2 6 0 2-2 4-2 6 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 4) Van */
.fact-icon-3::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 8h13v8H2zM15 11h4l3 3v2h-7z' fill='black'/%3E%3Ccircle cx='7' cy='18' r='2' fill='black'/%3E%3Ccircle cx='18' cy='18' r='2' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 8h13v8H2zM15 11h4l3 3v2h-7z' fill='black'/%3E%3Ccircle cx='7' cy='18' r='2' fill='black'/%3E%3Ccircle cx='18' cy='18' r='2' fill='black'/%3E%3C/svg%3E");
}

.card-value {
  margin: 0;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.15rem, 0.95rem + 0.85vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* ========= 11. PRICING ========= */
#pricing .cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

#pricing .card {
  text-align: center;
}

/* Highlighted middle pricing card */
#pricing .cards-grid .card:nth-child(2) {
  background: linear-gradient(155deg, #0b3f85, #1157b0 50%, #1a6fe8);
  border-color: rgba(100, 172, 255, 0.52);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(11, 63, 133, 0.5), 0 6px 22px rgba(26, 111, 232, 0.36);
  transform: translateY(-10px) scale(1.02);
  position: relative;
  z-index: 2;
}

#pricing .cards-grid .card:nth-child(2)::after {
  content: "★ POPULAR";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(130deg, var(--accent), var(--amber));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(245, 146, 30, 0.44);
  white-space: nowrap;
}

#pricing .cards-grid .card:nth-child(2) .card-value {
  color: #ffffff;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
}

#pricing .cards-grid .card:nth-child(2) .card-title {
  color: #ffffff;
}

#pricing .cards-grid .card:nth-child(2) .card-description {
  color: rgba(200, 230, 255, 0.88);
}

#pricing .cards-grid .card:nth-child(2):hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 32px 68px rgba(11, 63, 133, 0.58), 0 8px 26px rgba(26, 111, 232, 0.42);
}

/* ========= 12. WARNING BANNER ========= */
.warning-banner {
  margin-top: 20px;
  border-radius: 20px;
  padding: 22px 24px;
  background: linear-gradient(128deg, #b02818, #d43020, #ef7a2f);
  color: #fff;
  box-shadow: 0 14px 34px rgba(180, 48, 35, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(255, 140, 80, 0.36);
  animation: warningPulse 2.6s ease-in-out infinite;
  position: relative;
}

.warning-banner::before {
  content: "⚠";
  font-size: 1.8rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.warning-title {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.1rem, 0.95rem + 0.65vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.warning-banner p {
  margin-inline: auto;
  max-width: 980px;
  font-size: 0.97rem;
}

/* Rich variant — used for the longer Mobility-Package notice */
.warning-banner--rich {
  text-align: left;
  align-items: stretch;
  padding: 32px clamp(22px, 4vw, 44px);
  gap: 4px;
  animation: warningPulse 5.4s ease-in-out infinite;
}

.warning-banner--rich::before {
  align-self: center;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.warning-banner--rich .warning-title {
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.25;
}

.warning-banner--rich p {
  max-width: 880px;
  margin: 0 auto 12px;
  line-height: 1.55;
}

.warning-banner--rich .warning-salutation {
  margin-top: 2px;
  font-weight: 600;
}

.warning-banner--rich .warning-subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #fff;
}

.warning-banner--rich .warning-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 8px;
  max-width: 880px;
  display: grid;
  gap: 10px;
}

.warning-banner--rich .warning-list li {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border-left: 3px solid rgba(255, 255, 255, 0.55);
  font-size: 0.97rem;
  line-height: 1.5;
}

.warning-banner--rich .warning-list strong {
  display: inline;
  margin-right: 4px;
  color: #fff8e7;
  font-weight: 800;
}

.warning-banner--rich .warning-cta {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .warning-banner--rich {
    padding: 24px 18px;
  }
  .warning-banner--rich .warning-list li {
    padding: 10px 12px;
  }
}

/* ========= 13. ACCORDION ========= */
.accordion {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.accordion-item {
  overflow: clip;
  transition: box-shadow 0.25s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-hover);
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-trigger:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, var(--primary), var(--primary2));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(26, 111, 232, 0.32);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel.open {
  padding: 0 22px 20px;
}

/* ========= 14. TABLES ========= */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
}

thead th {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

tbody tr:nth-child(odd) {
  background: color-mix(in srgb, var(--panel) 45%, transparent);
}

tbody tr + tr td {
  border-top: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

/* ========= 15. SOCIAL LINKS ========= */
.social-links {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  box-shadow: 0 10px 22px rgba(10, 31, 61, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-floating .social-link {
  width: 34px;
  height: 34px;
}

.social-floating .social-link svg {
  width: 18px;
  height: 18px;
}

.social-facebook {
  background: linear-gradient(135deg, #1877f2, #0b5fd6);
}

.social-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af 78%, #515bd4);
}

.social-link:hover {
  text-decoration: none;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 34px rgba(10, 31, 61, 0.34);
  filter: brightness(1.09);
}

.social-link:focus-visible {
  outline: 3px solid rgba(10, 47, 102, 0.4);
  outline-offset: 2px;
}

.social-floating {
  position: fixed;
  right: 12px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}

/* ========= 16. CONTACT SECTION ========= */
.contact-details {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-person {
  margin: 0;
  line-height: 1.5;
}

.contact-phone {
  color: var(--primary2);
  font-weight: 800;
  font-size: 1.08rem;
}

.contact-phone:hover {
  text-decoration: underline;
}

/* ========= 17. PROCESS NOTE ========= */
.process-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  border-left: 4px solid var(--primary2);
  font-style: italic;
  color: var(--muted);
}

.extra-services,
.insurance-note,
.social-note {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

.social-note {
  font-weight: 600;
}

/* ========= 18. CLOSING CTA ========= */
.closing-cta {
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 68px);
  text-align: center;
  background: linear-gradient(135deg, #030b18 0%, #071d3a 45%, #040d1a 100%);
  background-size: 200% 200%;
  animation: gradientShift 9s ease infinite;
  color: #fff;
  box-shadow: 0 30px 68px rgba(3, 11, 24, 0.58);
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 18% 52%, rgba(26, 111, 232, 0.13) 0%, transparent 66%),
    radial-gradient(ellipse 500px 380px at 82% 48%, rgba(245, 146, 30, 0.09) 0%, transparent 66%);
  pointer-events: none;
}

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

.closing-cta h2,
.closing-cta p {
  color: #fff;
}

.closing-cta h2 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  border-left: none;
  padding-left: 0;
}

.closing-cta p {
  max-width: 74ch;
  margin-inline: auto;
  color: rgba(196, 228, 255, 0.88);
  font-size: 1.05rem;
}

.closing-cta .btn-row {
  justify-content: center;
  margin-top: 24px;
}

.closing-cta .btn {
  min-height: 66px;
  padding: 16px 42px;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 18px;
}

.closing-cta .cta-whatsapp {
  background: linear-gradient(145deg, #25d366, #19bb5c);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(16, 120, 58, 0.52);
}

.closing-cta .cta-whatsapp:hover {
  box-shadow: 0 24px 50px rgba(16, 120, 58, 0.64);
}

/* ========= 19. CONTACTS PANEL ========= */
#contacts .panel {
  text-align: left;
}

/* ========= 20. LEGAL / SMALLPRINT ========= */
.smallprint p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ========= 21. WHATSAPP FLOAT ========= */
.whatsapp-float {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #25d366, #16b758);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 28px rgba(16, 120, 58, 0.4), 0 6px 14px rgba(0, 0, 0, 0.18);
  z-index: 120;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: waPopIn 0.45s ease-out, waPulse 2.4s ease-in-out 1.1s infinite;
}

.whatsapp-float svg {
  width: 38px;
  height: 38px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 40px rgba(16, 120, 58, 0.52), 0 8px 18px rgba(0, 0, 0, 0.24);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #0b3f85;
  outline-offset: 2px;
}

/* ========= 22. RESPONSIVE BREAKPOINTS ========= */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .hero-side {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
    padding-top: 148px;
  }

  .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts-grid,
  #pricing .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pricing .cards-grid .card:nth-child(2) {
    transform: none;
  }

  #pricing .cards-grid .card:nth-child(2):hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .hero-media img {
    object-position: center 25%;
  }
}

@media (max-width: 840px) {
  .site-header {
    top: 8px;
    margin-bottom: -78px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    border-radius: 20px;
    padding: 8px 10px;
  }

  .logo {
    margin-left: 6px;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 4px;
    padding: 10px;
    border: 1px solid rgba(18, 63, 132, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 10px 14px;
    border: 1px solid transparent;
    background: linear-gradient(120deg, #0b3f85, #1a6fe8);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(11, 63, 133, 0.28);
    border-radius: 12px;
  }

  .main-nav a:hover {
    background: linear-gradient(120deg, #0e4b9e, #2078f5);
  }

  .header-controls {
    display: none;
  }

  .lang-switcher {
    margin-right: 4px;
  }

  .nav-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(18, 63, 132, 0.14);
  }

  .nav-lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(120deg, #0b3f85, #1a6fe8);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(11, 63, 133, 0.26);
  }

  .nav-lang-switcher a.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--accent), var(--amber));
  }

  .hero {
    min-height: 780px;
    padding-top: 130px;
  }

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

  .hero-side {
    display: none;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero {
    min-height: 820px;
    padding-top: 116px;
    padding-bottom: 36px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    max-width: none;
    padding: 20px 18px 24px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9.5vw, 2.6rem);
    line-height: 1.1;
  }

  .btn {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-card {
    padding: 14px;
  }

  .trust-caption {
    font-size: 0.8rem;
  }

  .social-link {
    width: 60px;
    height: 60px;
  }

  .social-link svg {
    width: 30px;
    height: 30px;
  }

  .closing-cta {
    padding: 36px 18px;
  }

  .closing-cta .btn {
    min-height: 58px;
    font-size: 1.02rem;
    padding: 14px 22px;
  }

  .facts-grid,
  #pricing .cards-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .card,
  .closing-cta,
  .accordion-trigger {
    border-radius: 16px;
  }

  .panel {
    padding: 20px 18px;
  }

  .table-wrap {
    padding: 8px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody tr {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    background: color-mix(in srgb, var(--panel) 62%, transparent);
  }

  tbody tr + tr {
    margin-top: 8px;
  }

  td {
    border: 0;
    padding: 7px 8px;
  }

  td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--muted);
  }

  .whatsapp-float {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 68px;
    height: 68px;
  }

  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }

  /* Reset popular card offset on mobile */
  #pricing .cards-grid .card:nth-child(2) {
    transform: none;
    margin-top: 20px;
  }

  #pricing .cards-grid .card:nth-child(2):hover {
    transform: translateY(-5px);
  }
}
