:root {
  --ink: #182a3b;
  --ink-soft: #536273;
  --navy: #263d52;
  --navy-deep: #172b3e;
  --blue: #226bb5;
  --blue-dark: #185795;
  --blue-soft: #eaf3fc;
  --red: #ca3f36;
  --paper: #ffffff;
  --paper-warm: #fbfaf7;
  --line: #dce3e9;
  --shadow: 0 18px 55px rgba(24, 42, 59, .12);
  --radius: 20px;
  --content: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(34, 107, 181, .35);
  outline-offset: 4px;
  border-radius: 6px;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(34, 107, 181, .35);
  outline-offset: 3px;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 18px; }
h3 { font-size: 1.28rem; margin-bottom: 10px; }

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  color: white;
  background: var(--navy-deep);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 233, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.nav-links a { color: var(--ink-soft); font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.language-link { padding-left: 20px; border-left: 1px solid var(--line); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 107, 181, .15), transparent 27rem),
    linear-gradient(145deg, #f6f9fb, #fff 52%, #f8f5ee);
}
.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -180px;
  bottom: -240px;
  border: 70px solid rgba(202, 63, 54, .05);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 70px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--red); }
.lead { max-width: 660px; color: var(--ink-soft); font-size: clamp(1.12rem, 2.1vw, 1.36rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: white;
  background: var(--blue);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(34, 107, 181, .18);
}
.button:hover { color: white; background: var(--blue-dark); }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--blue-dark); border-color: #abc2d9; }
.play-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
}
.play-badge img {
  width: 210px;
  height: auto;
}
.fine-print { margin: 15px 0 0; color: var(--ink-soft); font-size: .83rem; }

.hero-visual { position: relative; min-height: 700px; display: grid; place-items: center; }
.hero-phone {
  position: relative;
  z-index: 2;
  width: min(390px, 86vw);
}
.hero-phone img { display: block; width: 100%; height: auto; }
.file-chip {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  border: 1px solid rgba(220, 227, 233, .9);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(24, 42, 59, .12);
}
.chip-pdf { top: 45px; left: 0; color: var(--red); transform: rotate(-5deg); }
.chip-cv { right: 0; top: 115px; color: var(--blue); transform: rotate(4deg); }
.chip-cl { right: 24px; bottom: 35px; color: var(--blue); transform: rotate(-2deg); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-warm); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 1.08rem; }
.trust-item span { color: var(--ink-soft); font-size: .88rem; }

.section { padding: 96px 0; }
.section-tinted { background: #f5f8fa; }
.section-dark { color: white; background: var(--navy-deep); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: #d8e1e9; }
.section-heading { max-width: 740px; margin-bottom: 46px; }
.section-heading p { color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-heading p { color: #d8e1e9; }

.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.output-card {
  position: relative;
  min-height: 260px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 32px rgba(24, 42, 59, .06);
}
.output-card::after {
  content: attr(data-ext);
  position: absolute;
  right: -9px;
  bottom: -20px;
  color: rgba(34, 107, 181, .07);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -.08em;
}
.output-card.pdf::after { color: rgba(202, 63, 54, .07); }
.file-mark {
  display: inline-block;
  margin-bottom: 38px;
  padding: 6px 10px;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-size: .78rem;
  font-weight: 850;
}
.pdf .file-mark { background: var(--red); }
.output-card p { position: relative; z-index: 1; color: var(--ink-soft); }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-weight: 850;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 56px; width: calc(100% - 58px); height: 1px; background: var(--line); }
.step p { color: var(--ink-soft); font-size: .94rem; }

.no-subscription {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}
.no-subscription h2 { margin-bottom: 0; }
.no-subscription-copy {
  padding: 34px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: white;
  box-shadow: 0 10px 32px rgba(24, 42, 59, .06);
}
.no-subscription-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.no-subscription-copy p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 700; }

.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.privacy-card { padding: 28px; border-top: 3px solid #6ba8df; background: rgba(255,255,255,.06); }
.privacy-card p { margin-bottom: 0; font-size: .94rem; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 2px; cursor: pointer; font-weight: 750; }
.faq details p { padding: 0 36px 22px 2px; color: var(--ink-soft); }

.contact-form { position: relative; display: grid; gap: 9px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 32px rgba(24, 42, 59, .06); }
.contact-form label { font-size: .92rem; font-weight: 750; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 12px 14px; margin-bottom: 9px; border: 1px solid #aebdca; border-radius: 10px; color: var(--ink); background: white; font: inherit; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .62; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 1.65em; margin: 4px 0 0; color: var(--ink-soft); font-size: .92rem; }
.form-status.success { color: #216e39; }
.form-status.error { color: #a52f27; }

.cta { padding: 78px 0; background: linear-gradient(135deg, var(--blue-dark), var(--navy-deep)); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 680px; margin-bottom: 12px; }
.cta p { margin-bottom: 0; color: #d8e7f5; }
.cta .button { color: var(--navy-deep); background: white; border-color: white; white-space: nowrap; }
.cta .play-badge { flex: 0 0 auto; }

.site-footer { padding: 48px 0 34px; color: #cbd6df; background: #102231; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 45px; }
.site-footer .brand { color: white; margin-bottom: 14px; }
.site-footer p { max-width: 470px; color: #9fb0be; font-size: .9rem; }
.footer-title { margin-bottom: 13px; color: white; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #cbd6df; font-size: .92rem; text-decoration: none; }
.footer-bottom { padding-top: 30px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.12); color: #8397a6; font-size: .8rem; }

/* Legal pages */
.legal-hero { padding: 68px 0 42px; background: #f5f8fa; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 850px; font-size: clamp(2.25rem, 5vw, 4rem); }
.legal-hero p { color: var(--ink-soft); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); align-items: start; gap: 55px; padding: 64px 0 100px; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: 7px; }
.legal-nav a { padding: 6px 10px; color: var(--ink-soft); border-radius: 7px; font-size: .86rem; text-decoration: none; }
.legal-nav a:hover { color: var(--blue-dark); background: var(--blue-soft); }
.legal-content section { margin-bottom: 47px; }
.legal-content h2 { font-size: 1.62rem; }
.legal-content h3 { margin-top: 27px; font-size: 1.06rem; }
.legal-content li { margin-bottom: 7px; }
.placeholder { display: inline-block; padding: 1px 6px; color: #8a2f27; background: #fff0ee; border: 1px dashed #d8827b; border-radius: 4px; font-weight: 750; }
.address { padding: 20px; border-left: 3px solid var(--blue); background: #f5f8fa; font-style: normal; }

/* Construction pages */
.construction-main {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 72px 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(34, 107, 181, .15), transparent 25rem),
    linear-gradient(145deg, #f6f9fb, #fff 52%, #f8f5ee);
}
.construction-card {
  width: min(100%, 720px);
  padding: clamp(34px, 7vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  text-align: center;
}
.construction-card .eyebrow { justify-content: center; }
.construction-card h1 { font-size: clamp(2.35rem, 7vw, 4.5rem); }
.construction-card .lead { margin-inline: auto; }
.construction-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 30px; }
.construction-links a { font-weight: 700; }

@media (max-width: 900px) {
  .nav-links a:not(.language-link) { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .no-subscription { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 650px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .output-grid, .privacy-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after, .step:last-child::after { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .nav { min-height: 67px; }
  .brand span { max-width: 150px; white-space: normal; line-height: 1.1; }
  .brand img { width: 39px; height: 39px; }
  .nav-links { gap: 10px; }
  .language-link { padding-left: 10px; }
  .hero { padding: 53px 0 66px; }
  .hero-visual { min-height: 550px; }
  .hero-phone { width: min(310px, 88vw); }
  .file-chip { padding: 8px 10px; font-size: .76rem; }
  .chip-pdf { left: 5px; }
  .chip-cv { right: 3px; top: 90px; }
  .chip-cl { right: 10px; bottom: 25px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .section { padding: 70px 0; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .cta-inner { display: block; }
  .cta .button, .cta .play-badge { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-hero { padding-top: 48px; }
  .legal-layout { padding-top: 40px; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 22px; }
  .construction-main { min-height: calc(100vh - 67px); padding: 42px 0; }
  .construction-card { padding-inline: 24px; }
  .construction-links { flex-direction: column; align-items: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .legal-nav, .skip-link { display: none; }
  body { font-size: 11pt; color: black; }
  .legal-hero { padding: 0; border: 0; background: white; }
  .legal-layout { display: block; padding: 25px 0; }
  a { color: black; text-decoration: none; }
}

.language-select {
  appearance: none;
  max-width: 130px;
  padding: 8px 36px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white url("language-chevron.svg") no-repeat right 12px center;
  background-size: 14px 14px;
  font: inherit;
  font-size: .9rem;
}
.language-select:focus-visible { outline: 3px solid rgba(34, 107, 181, .35); outline-offset: 3px; }
