/* ZATRANO — Tourism Tech design system */
:root {
  --cyan: #00bcd4;
  --cyan-dark: #0097a7;
  --cyan-light: #e0f7fa;
  --orange: #ff6f00;
  --orange-dark: #e65100;
  --white: #ffffff;
  --ink: #1a2b3c;
  --ink-muted: #4a6278;
  --ink-light: #6b8299;
  --surface-mint: #f0fbfc;
  --border: rgba(0, 188, 212, 0.14);
  --border-strong: rgba(0, 188, 212, 0.28);
  --shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 43, 60, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 43, 60, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
  --wrap: min(1140px, calc(100% - 2rem));
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --platform-gradient: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

a {
  color: var(--cyan-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--orange); }

h1, h2, h3, h4, h5, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ── Header ── */
.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1rem, calc((100% - 1140px) / 2 + 1rem));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.top-bar.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.top-bar__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.top-bar__logo span { color: var(--cyan); }

.top-bar__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.top-bar__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.top-bar__nav a:hover { color: var(--cyan-dark); }

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar__cta {
  display: none;
  align-items: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--platform-gradient);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.top-bar__cta:hover {
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.45);
}

.top-bar__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.top-bar__burger:hover { background: var(--surface-mint); }

/* Lang switch */
.lang-switch {
  display: flex;
  padding: 3px;
  background: var(--surface-mint);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch__btn {
  padding: 0.35rem 0.75rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.lang-switch__btn.active {
  color: var(--white);
  background: var(--cyan-dark);
  box-shadow: 0 2px 8px rgba(0, 151, 167, 0.35);
}

.lang-switch--mobile { margin-bottom: 1rem; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 10px;
}

.mobile-menu a:hover { background: var(--surface-mint); }

/* ── Buttons ── */
.btn-zatrano {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--platform-gradient);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 151, 167, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-zatrano:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 151, 167, 0.4);
}

.btn-zatrano-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink) !important;
  background: var(--white);
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.btn-outline:hover {
  color: var(--cyan-dark) !important;
  border-color: var(--cyan);
  background: var(--cyan-light);
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: all 0.2s var(--ease);
}

.btn-outline-light-custom:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--white);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero__title .highlight,
.highlight {
  color: var(--cyan-dark);
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
  max-width: 26rem;
  margin-bottom: 0.5rem;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 0;
}

.hero__actions .btn-zatrano,
.hero__actions .btn-outline {
  width: 100%;
  border-radius: 6px;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  width: 100%;
  max-width: none;
}

.hero__stat {
  padding: 0.5rem 0.35rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.hero__stat strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--cyan-dark);
  line-height: 1.2;
}

.hero__stat span {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(26, 43, 60, 0.04), 0 1px 3px rgba(26, 43, 60, 0.03);
  overflow: hidden;
}

.hero__panel-head {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--platform-gradient);
}

.hero__panel-list { padding: 0.5rem 0; }

.hero__panel-item {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.hero__panel-item:last-child { border-bottom: none; }

.hero__panel-item .tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(255, 111, 0, 0.1);
  border-radius: 4px;
}

.hero__panel-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero__panel-item p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── Ticker ── */
.ticker {
  background: var(--platform-gradient);
  color: var(--white);
  padding: 0.75rem 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 50s linear infinite;
  will-change: transform;
}

.ticker__group {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ticker__group span {
  color: var(--cyan-light);
  font-weight: 800;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section--mint { background: var(--surface-mint); }
.section--dark { background: var(--ink); color: var(--white); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  border-radius: 999px;
}

.section-badge i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.section--dark .section-subtitle { color: rgba(255, 255, 255, 0.7); }

/* ── Grids ── */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── Feature cards ── */
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  border-radius: 12px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.package-modules {
  display: block;
  padding-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-dark);
  border-top: 1px dashed var(--border);
  font-family: ui-monospace, 'Cascadia Code', monospace;
}

/* ── Showcase cards ── */
.showcase-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.showcase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--platform-gradient);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.3);
}

.showcase-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.showcase-description {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Module cards ── */
.module-group { margin-bottom: 2.5rem; }

.module-group:last-of-type { margin-bottom: 1.5rem; }

.module-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cyan-light);
}

.module-category-title::before {
  content: '';
  width: 4px;
  height: 1.25rem;
  background: var(--orange);
  border-radius: 2px;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.module-card {
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.module-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

.module-code {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  border-radius: 4px;
  text-transform: lowercase;
}

.module-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.module-card p {
  font-size: 0.825rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.prod-infra-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 1.25rem;
  background: var(--cyan-light);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ── Architecture ── */
.arch-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.arch-feature-list { display: flex; flex-direction: column; gap: 1rem; }

.arch-feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.arch-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: var(--orange);
  background: var(--cyan-light);
  border-radius: 10px;
}

.arch-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.arch-text p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.product-showcase-item {
  padding: 1.25rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}

.product-showcase-item:hover { transform: scale(1.03); }

.product-showcase-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  font-size: 1.2rem;
  color: var(--cyan-dark);
  background: var(--cyan-light);
  border-radius: 10px;
}

.product-showcase-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-showcase-item p {
  font-size: 0.75rem;
  color: var(--ink-light);
}

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

.arch-intro { margin-bottom: 1.5rem; }

/* ── Ecosystem ── */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.ecosystem-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

.ecosystem-card:hover { border-color: var(--cyan); }

.ecosystem-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--platform-gradient);
  border-radius: 10px;
}

.ecosystem-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.ecosystem-text p {
  font-size: 0.825rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── Contact ── */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--platform-gradient);
  border-radius: 12px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  font-family: ui-monospace, monospace;
  word-break: break-all;
}

.contact-value:hover { color: var(--cyan-dark); }

.contact-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--cyan-dark);
  border-radius: 999px;
  transition: background 0.2s var(--ease);
}

.contact-btn:hover {
  color: var(--white) !important;
  background: var(--cyan);
}

/* ── Testimonials ── */
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  background: var(--platform-gradient);
  border-radius: 50%;
}

.testimonial-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--platform-gradient);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--cyan); }

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
}

.social-link:hover {
  color: var(--white) !important;
  background: var(--cyan-dark);
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover { color: var(--cyan) !important; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-developer { order: 1; }

.footer-copyright {
  order: 2;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-legal { order: 3; }

.footer-developer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-developer img {
  height: 18px;
  width: auto;
  border-radius: 2px;
}

.footer-developer span {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-legal a:hover { color: var(--cyan) !important; }

/* ── Scroll top ── */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147483647;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--white) !important;
  background: var(--cyan-dark) !important;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.scroll-top i {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
}

.scroll-top:hover {
  background: var(--cyan) !important;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .top-bar__nav { display: flex; }
  .top-bar__cta { display: inline-flex; }
  .top-bar__burger { display: none; }
  .lang-switch--header { display: flex; }
  .mobile-menu { display: none !important; }

  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .arch-split { grid-template-columns: 1fr 1fr; }

  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "copy madein legal";
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .footer-copyright {
    order: unset;
    grid-area: copy;
    justify-self: start;
    text-align: left;
  }

  .footer-developer {
    order: unset;
    grid-area: madein;
    justify-self: center;
  }

  .footer-legal {
    order: unset;
    grid-area: legal;
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .lang-switch--header { display: none; }

  .hero__inner {
    align-items: center;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__badge { margin-inline: auto; }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__toolbar {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
  }

  .hero__panel {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
  }

  .scroll-top {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }

  .contact-item { flex-direction: column; align-items: flex-start; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 1.25rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0.5rem;
  }

  .footer-grid > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-grid > :nth-child(3) { grid-column: 1; grid-row: 3; }
  .footer-grid > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .footer-grid > :nth-child(5) { grid-column: 2; grid-row: 3; }

  .footer-title {
    margin-bottom: 0.65rem;
    font-size: 0.8rem;
  }

  .footer-links a {
    font-size: 0.8125rem;
  }
}
