/* ============================================================
   FICHERO — Redesign 2026
   ============================================================ */

:root {
  --blue: #00a9e0;
  --blue-dark: #0084b8;
  --blue-soft: #e3f6fd;
  --navy: #071422;
  --navy-800: #0b1e33;
  --navy-700: #12293f;
  --ink: #0e1c2b;
  --muted: #5b6b7c;
  --line: #e4ecf2;
  --bg: #f5f9fc;
  --card: #ffffff;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(7, 20, 34, 0.05), 0 4px 16px rgba(7, 20, 34, 0.05);
  --shadow-md: 0 2px 4px rgba(7, 20, 34, 0.05), 0 16px 40px rgba(7, 20, 34, 0.1);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
}

.h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 169, 224, 0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 169, 224, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(228, 236, 242, 0.8);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--blue-soft); }
.nav-links a.active { color: var(--blue-dark); background: var(--blue-soft); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(46% 55% at 78% 30%, rgba(0, 169, 224, 0.16), transparent 70%),
    radial-gradient(38% 48% at 12% 12%, rgba(0, 169, 224, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .display { margin: 18px 0 20px; }
.hero-copy .display em {
  font-style: normal;
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual .blob {
  position: absolute;
  inset: 8% 4%;
  background: linear-gradient(140deg, #dff4fd 0%, #eef8fd 55%, #ffffff 100%);
  border-radius: 44% 56% 58% 42% / 48% 44% 56% 52%;
  box-shadow: var(--shadow-md);
}
.hero-visual img {
  position: relative;
  width: min(480px, 92%);
  filter: drop-shadow(0 30px 40px rgba(7, 20, 34, 0.18));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.stat-pill svg { color: var(--blue); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section-head .lead { margin-top: 12px; }

/* ---------- Bento / product grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento .card:nth-child(1) { grid-column: span 3; }
.bento .card:nth-child(2) { grid-column: span 3; }
.bento .card:nth-child(3),
.bento .card:nth-child(4),
.bento .card:nth-child(5) { grid-column: span 2; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.card:hover, .card.hoverable:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 169, 224, 0.4);
}
.card-media {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f2f9fd, #fbfdff);
  border-radius: 16px;
  height: 210px;
  margin-bottom: 16px;
  overflow: hidden;
}
.card-media img {
  max-height: 82%;
  max-width: 82%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
a.card:hover .card-media img { transform: scale(1.06); }
.card-media.photo { padding: 0; }
.card-media.photo img { max-height: 100%; max-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-link {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.92rem;
}
.card-link svg { transition: transform 0.2s ease; }
a.card:hover .card-link svg { transform: translateX(4px); }

.tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.tag.blue { background: var(--blue); }

/* ---------- Feature strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Dark CTA band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(0, 169, 224, 0.35), transparent 70%),
    radial-gradient(40% 60% at 10% 90%, rgba(0, 169, 224, 0.18), transparent 70%);
  pointer-events: none;
}
.band > * { position: relative; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.72); margin-top: 12px; max-width: 52ch; }
.band .btn-primary { box-shadow: 0 8px 30px rgba(0, 169, 224, 0.5); }
.band-visual img {
  width: min(380px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  counter-increment: step;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 8px; }
.step p, .step li { color: var(--muted); font-size: 0.96rem; }
.step ol { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.step-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.step-imgs img {
  height: 150px;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.step-imgs img.wide { height: 110px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tab-btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 14px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.acc-item[open] { border-color: rgba(0, 169, 224, 0.45); box-shadow: var(--shadow-sm); }
.acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.acc-item[open] .acc-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.acc-body {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 0.97rem;
}
.acc-body ul, .acc-body ol { padding-left: 20px; display: grid; gap: 6px; list-style: disc; }
.acc-body ol { list-style: decimal; }
.acc-body p + p, .acc-body p + ul, .acc-body ul + p { margin-top: 10px; }
.acc-body .step-imgs { margin-top: 14px; }

/* ---------- Download cards (drivers) ---------- */
.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0, 169, 224, 0.4); }
.dl-card .os-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  margin-bottom: 18px;
}
.dl-card h3 { font-size: 1.25rem; }
.dl-meta {
  display: flex;
  gap: 8px;
  margin: 10px 0 20px;
  flex-wrap: wrap;
}
.dl-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 12px;
}
.dl-card .btn { margin-top: auto; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.info-card:hover { transform: translateY(-3px); border-color: rgba(0, 169, 224, 0.4); }
.info-card .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.info-card h3 { font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.95rem; }
.info-card a:hover { color: var(--blue-dark); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.88rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 169, 224, 0.14);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 84px) 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto;
  height: 160%;
  background:
    radial-gradient(42% 60% at 82% 20%, rgba(0, 169, 224, 0.14), transparent 70%),
    radial-gradient(34% 50% at 8% 30%, rgba(0, 169, 224, 0.08), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { margin: 16px 0 14px; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }

/* ---------- Specs list ---------- */
.spec-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 24px;
  font-size: 0.95rem;
}
.spec-row:nth-child(odd) { background: var(--bg); }
.spec-row dt { font-weight: 600; }
.spec-row dd { color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}
.checklist li svg { flex: none; margin-top: 4px; color: var(--blue); }
.checklist li strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-grid p { font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { display: grid; gap: 10px; font-size: 0.94rem; }
.footer-grid ul a { transition: color 0.15s ease; }
.footer-grid ul a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Reveal animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card { grid-column: span 1 !important; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-grid, .band, .contact-grid { grid-template-columns: 1fr; }
  .band-visual { order: -1; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 1.1rem; border-radius: 14px; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .bento, .features, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .container { width: calc(100% - 36px); }
  .step-imgs img { height: 120px; }
}
