:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --text: #1f2933;
  --muted: #6b7280;
  --nav-bg: #15181d;
  --nav-text: #e8eaed;
  --accent: #2d7ff9;
  --accent-ink: #ffffff;
  --border: #e5e8ec;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.06);
  --maxw: 1080px;
  --nav-h: 60px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--bg); line-height: 1.6; padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: var(--nav-bg); color: var(--nav-text);
  display: flex; align-items: center;
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.nav-toggle, .nav-toggle-label { display: none; }
.nav-links { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.nav-links a { color: var(--nav-text); padding: 8px 12px; border-radius: 8px; display: block; }
.nav-links a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.nav-links a[aria-current="page"] { background: rgba(255,255,255,.14); }

@media (max-width: 760px) {
  .nav-toggle-label {
    display: block; cursor: pointer; padding: 8px; color: var(--nav-text);
    font-size: 1.4rem; line-height: 1; user-select: none;
  }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--nav-bg);
    max-height: 0; overflow: hidden; transition: max-height .2s ease;
  }
  .nav-links a { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav-toggle:checked ~ .nav-links { max-height: 320px; }
}

/* Hero carousel */
.hero { position: relative; height: clamp(360px, 60vh, 560px); overflow: hidden; background: #000; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide:first-child { opacity: 1; } /* visible without JS */
.hero-slide.is-active ~ .hero-slide:first-child { opacity: 0; }
.hero-caption {
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; padding: 0 0 8vh;
}
.hero-ctrl {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem;
}
.hero-ctrl:hover { background: rgba(0,0,0,.55); }
.hero-ctrl--prev { left: 16px; } .hero-ctrl--next { right: 16px; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: #fff; }

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
.page-header { margin: 8px 0 4px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-header small { color: var(--muted); font-weight: 400; font-size: .5em; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--border); }

/* Generic responsive grid */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

/* Cards */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.card h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.card svg { width: 28px; height: 28px; flex: none; color: var(--accent); }

/* Client logos */
.client-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: center; }
.client { display: flex; align-items: center; justify-content: center; }
.client img { width: 100%; max-width: 140px; height: 48px; object-fit: contain; opacity: .9; transition: .2s; }
.client:hover img { opacity: 1; transform: translateY(-2px); }

/* Pricing */
.price-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.price-card__head { background: var(--surface); padding: 18px; font-weight: 700; font-size: 1.15rem; }
.price-card--featured { border-color: var(--accent); box-shadow: 0 12px 32px rgba(45,127,249,.18); }
.price-card--featured .price-card__head { background: var(--accent); color: var(--accent-ink); }
/* corner ribbon (kept out of the header so all headers stay uniform height) */
.ribbon { position: absolute; top: 0; right: 0; width: 116px; height: 116px; overflow: hidden; pointer-events: none; z-index: 2; }
.ribbon span {
  position: absolute; right: -38px; top: 22px; width: 160px; padding: 5px 0;
  transform: rotate(45deg); text-align: center;
  background: #16a34a; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.price-card__body { padding: 24px; }
.price { font-size: 2.6rem; font-weight: 700; }
.price sup { font-size: .5em; }
.period { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.price-list { list-style: none; margin: 0; padding: 0; flex: 1 0 auto; }
.price-list li { padding: 12px 16px; border-top: 1px solid var(--border); }
.price-card__foot { padding: 16px 20px 22px; margin-top: auto; border-top: 1px solid var(--border); }

/* Tools */
.tool { text-align: center; }
.tool img { margin: 0 auto 12px; border-radius: var(--radius); }
.tool h3 { display: block; margin: 0; }
.tool h3 small { display: block; color: var(--muted); font-weight: 400; font-size: .6em; }

/* CTA + buttons */
.cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 620px) { .cta { grid-template-columns: 1fr; } }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-weight: 600; cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--block { display: block; text-align: center; }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-map { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-map img { width: 100%; height: auto; }
.contact-intro { margin: 0 0 16px; }
.contact-intro strong { display: block; font-size: 1.1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); }
.contact-list li:first-child { border-top: 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }
.contact-list .label { font-weight: 700; margin-right: 4px; }
.legal h2, .legal h3, .legal h4 { margin-top: 1.6em; }
.legal p, .legal li { color: #374151; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
