:root {
  --navy: #0b2a45;
  --navy-2: #123a5a;
  --blue: #2b93d1;
  --sky: #eaf6fd;
  --mint: #dff7ee;
  --gold: #f3b64c;
  --ink: #102033;
  --muted: #607086;
  --line: #dbe7ef;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 43, 70, 0.13);
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.site-header,
main,
.footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-header {
  overflow: visible;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 86px;
  max-width: 100%;
  overflow-x: clip;
}

.band {
  background:
    linear-gradient(180deg, rgba(234, 246, 253, 0.72), rgba(255,255,255,0.92)),
    var(--sky);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  position: relative;
  width: min(1240px, calc(100% - 24px));
  max-width: 100%;
  min-width: 0;
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: grid;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}
.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
}

.header-language { order: 2; }

.nav-menu {
  order: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.93rem;
  font-weight: 700;
}
.mobile-nav-link { display: none; }
.nav-menu > a:not(.btn) { color: var(--navy-2); }
.nav-menu > a:not(.btn):hover { color: var(--blue); }

.language-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  font-weight: 800;
}
.lang-btn.active { color: var(--blue); }

.menu-toggle {
  order: 4;
  flex: 0 0 auto;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  place-items: center;
  gap: 4px;
  padding: 9px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11,42,69,0.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-small { min-height: 38px; padding: 8px 12px; font-size: 0.87rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-proof {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.hero-proof li {
  position: relative;
  color: var(--navy);
  font-weight: 850;
  padding-left: 28px;
}
.hero-proof li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18865a;
  font-weight: 950;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--white));
  pointer-events: none;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 38%, rgba(11,42,69,0.16) 72%, rgba(11,42,69,0.24) 100%),
    url("assets/hero-offshore.jpg") center right / cover no-repeat;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(240px, 320px);
  align-items: end;
  gap: 42px;
  padding: 72px 0 96px;
}
.hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.45rem, 5.4vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 780px;
}
.hero-copy p:not(.eyebrow) {
  color: #364b62;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  max-width: 680px;
  margin: 22px 0 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 900;
}
.hero-panel {
  display: grid;
  gap: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.hero-panel div {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.hero-panel div:last-child { border-bottom: 0; }
.hero-panel strong { color: var(--navy); font-size: 1.45rem; }
.hero-panel span { color: var(--muted); font-weight: 700; text-align: right; }
.hero-panel span { text-align: left; }

.split, .calculator-wrap, .contacts {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}
h3 { color: var(--navy); line-height: 1.2; margin: 0; }
.prose p, .muted { color: var(--muted); margin-top: 0; }
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.check-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px 12px 36px;
  position: relative;
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: #18865a;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.compact-head { margin-bottom: 22px; }
.quick-section { padding: 62px 0; }
.audience-line {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.quick-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(12,43,70,.06);
}
.quick-card p {
  margin: 8px 0 0;
  color: var(--muted);
}
.feature-grid, .pricing-grid, .distribution-grid, .template-grid, .proof-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .price-card, .distribution-card, .template-card, .proof-card, .review-card, .category-card, .qr-card, .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(12, 43, 70, 0.06);
}
.feature-card { padding: 24px; min-height: 132px; display: grid; align-content: space-between; }
.feature-card span { color: var(--blue); font-weight: 900; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.category-card { padding: 22px; }
.category-card ul, .price-card ul {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.category-card li, .price-card li {
  position: relative;
  padding-left: 16px;
}
.category-card li::before, .price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.price-card, .distribution-card { padding: 24px; }
.price {
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 14px 0;
}
.distribution-card .emails {
  display: inline-flex;
  margin: 12px 0 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #14644c;
  font-weight: 900;
}
.distribution-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.notice {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(300px, 28vw, 360px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px clamp(42px, 8vw, 140px) 22px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: #bfd7e8; border-radius: 999px; }
.carousel > * {
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
}

.template-carousel {
  grid-auto-columns: clamp(280px, 24vw, 340px);
}

@media (min-width: 769px) {
  .template-carousel,
  .distribution-carousel {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  }
}

.template-card {
  overflow: hidden;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease;
}
.template-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.template-preview {
  width: 100%;
  border: 0;
  cursor: pointer;
  aspect-ratio: 4 / 5.3;
  padding: 14px;
  background: linear-gradient(135deg, var(--sky), var(--white));
  transition: transform .28s ease;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.template-card:hover .template-preview { transform: scale(1.045); }
.template-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 1px solid #cfdce5;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16,32,51,.12);
}
.template-fallback {
  width: 100%;
  height: 100%;
  display: block;
}
.template-fallback[hidden],
.template-gallery-fallback[hidden] {
  display: none;
}
.cv-sheet {
  height: 100%;
  background: var(--white);
  border: 1px solid #cfdce5;
  box-shadow: 0 10px 24px rgba(16,32,51,.12);
  padding: 14px;
  display: grid;
  grid-template-rows: 48px 1fr;
  gap: 12px;
}
.cv-head {
  background: var(--navy);
  border-radius: 4px;
}
.cv-lines {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 10px;
}
.cv-lines i {
  display: block;
  height: 8px;
  background: #d9e6ef;
  border-radius: 999px;
  margin-bottom: 9px;
}
.cv-lines i:nth-child(3n) { width: 70%; background: #a9d6ef; }
.template-info { padding: 16px; display: flex; justify-content: space-between; gap: 12px; font-weight: 900; }
.template-info span {
  white-space: nowrap;
}
.template-mobile-line { display: none; }
.template-order {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  margin-top: auto;
  min-height: 42px;
  box-shadow: none;
}
.template-order-short { display: none; }

.premium-cv {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(43,147,209,.12)),
    var(--navy);
  color: var(--white);
  border: 1px solid rgba(243,182,76,.55);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.premium-cv h2,
.premium-cv h3 { color: var(--white); }
.premium-cv p {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  max-width: 720px;
}
.premium-badge {
  display: inline-flex;
  margin-bottom: 14px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 950;
  font-size: .78rem;
}
.premium-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.premium-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.9);
  font-weight: 750;
}
.premium-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.premium-price-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  padding: 22px;
  display: grid;
  gap: 16px;
}
.premium-price-box span {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.premium-price-box strong {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.distribution-carousel {
  grid-auto-columns: clamp(310px, 30vw, 380px);
}
.distribution-card {
  transition: transform .24s ease, box-shadow .24s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.distribution-card:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: var(--shadow);
}
.distribution-card:focus-visible {
  outline: 2px solid rgba(43,147,209,.5);
  outline-offset: 3px;
}
.select-label {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 950;
}
.price-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0;
}
.price-row strong {
  color: var(--navy);
  font-size: .95rem;
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
.step {
  border-top: 4px solid var(--blue);
  background: var(--white);
  padding: 18px;
  border-radius: 8px;
  min-height: 126px;
  box-shadow: 0 12px 30px rgba(12,43,70,.06);
}
.step strong { color: var(--blue); display: block; margin-bottom: 10px; }

.calculator {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
legend {
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 10px;
}
.calculator label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 750;
}
.calculator input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
}
#templateSelectorField[hidden],
#distributionSelectorField[hidden],
#mailingsSelectorField[hidden],
.calculator-warning[hidden] { display: none; }
.calculator-warning {
  margin: -4px 0 16px;
  color: #a75f00;
  font-weight: 850;
}
.btn-disabled {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
}
.segmented input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.total-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.total-box div {
  background: var(--sky);
  border-radius: 8px;
  padding: 14px;
}
.total-box span { color: var(--muted); font-size: .88rem; display: block; }
.total-box strong { color: var(--navy); font-size: 1.5rem; }

.proof-card {
  min-height: 230px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.proof-card:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow);
}
.proof-visual {
  min-height: 178px;
  padding: 18px;
  background: #f7fbfe;
  display: grid;
  align-content: start;
  gap: 9px;
}
.mail-line, .blur-line {
  height: 12px;
  border-radius: 999px;
  background: #c4d9e8;
}
.blur-line { filter: blur(4px); background: #8eb5cb; }
.mail-line.short { width: 54%; background: var(--gold); }
.proof-card h3 { padding: 14px 16px; }
#results .section-head .muted { margin: 12px 0 0; }
#cv-examples .section-head .muted { margin: 12px 0 0; }
.compact { margin-top: 22px; grid-template-columns: repeat(3, minmax(0,1fr)); }

.review-card { padding: 22px; }
.review-card p { color: var(--muted); margin: 12px 0 0; }
.review-card strong { color: var(--navy); }

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "header ."
    "visual list";
  gap: 22px 48px;
  align-items: start;
}
.faq-header { grid-area: header; }
.faq-visual-card { grid-area: visual; }
.faq-list { grid-area: list; }
.faq-header h2 {
  margin-bottom: 0;
  white-space: nowrap;
}
.faq-visual-card {
  position: static;
  height: auto;
  min-height: 480px;
  max-height: none;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 16%, rgba(43,147,209,.16), transparent 28%),
    linear-gradient(180deg, rgba(234,246,253,.96), rgba(255,255,255,.98) 58%, rgba(234,246,253,.82)),
    var(--sky);
  box-shadow: 0 12px 30px rgba(12,43,70,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}
.faq-visual-card h3 {
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-size: 1.45rem;
}
.faq-visual-card p {
  position: relative;
  z-index: 2;
  margin: 10px 0 18px;
  color: var(--muted);
}
.faq-visual-card .btn {
  position: relative;
  z-index: 2;
  width: fit-content;
}
.faq-illustration {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
}
.faq-icon {
  width: clamp(48px, 5vw, 66px);
  height: clamp(48px, 5vw, 66px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 950;
  box-shadow: var(--shadow);
}
.faq-art {
  position: relative;
  width: 100%;
  min-height: 170px;
  flex: 1 1 auto;
  border-radius: 8px;
  border: 1px solid rgba(43,147,209,.18);
  background:
    radial-gradient(circle at 70% 28%, rgba(43,147,209,.14), transparent 28%),
    radial-gradient(circle at 20% 78%, rgba(11,42,69,.08), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(43,147,209,.08) 24px 26px, transparent 26px 48px),
    linear-gradient(135deg, rgba(234,246,253,.95), rgba(255,255,255,.8));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  display: grid;
  place-items: center;
}
.faq-art::before {
  content: "";
  width: min(54%, 150px);
  height: min(62%, 172px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18,58,90,.16) 0 42%, transparent 42%),
    linear-gradient(90deg, rgba(43,147,209,.18) 0 58%, transparent 58%) 0 36% / 100% 12px no-repeat,
    linear-gradient(90deg, rgba(18,58,90,.12) 0 76%, transparent 76%) 0 52% / 100% 10px no-repeat,
    linear-gradient(90deg, rgba(18,58,90,.1) 0 62%, transparent 62%) 0 68% / 100% 10px no-repeat,
    rgba(255,255,255,.72);
  border: 2px solid rgba(18,58,90,.16);
  box-shadow: 18px 18px 0 rgba(43,147,209,.1);
}
.faq-art::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 34px;
  border-radius: 999px 999px 8px 8px;
  background:
    radial-gradient(circle at 16% 0, transparent 18px, rgba(43,147,209,.18) 19px 30px, transparent 31px) 0 0 / 86px 42px,
    linear-gradient(180deg, rgba(43,147,209,.12), rgba(11,42,69,.08));
}
.faq-list { display: grid; gap: 12px; }
.faq-item {
  overflow: hidden;
  border-radius: 8px;
  user-select: none;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.faq-item[open] {
  border-color: rgba(43,147,209,.42);
  box-shadow: var(--shadow);
}
.faq-item summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary:focus { outline: none; }
.faq-item summary:focus-visible {
  outline: 2px solid rgba(43,147,209,.5);
  outline-offset: -4px;
  border-radius: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  justify-self: end;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-question-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 950;
}
.faq-answer {
  padding: 0 18px 18px 64px;
  color: var(--muted);
  animation: faqReveal .22s ease;
}
.faq-answer p {
  margin: 0 0 6px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  margin: 6px 0 10px;
  padding-left: 20px;
}
.faq-answer li { margin: 4px 0; }

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.contact-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(12,43,70,.06);
  text-align: center;
  align-items: center;
}
.contact-card-whatsapp { background: rgba(37, 211, 102, 0.10); }
.contact-card-telegram { background: rgba(34, 158, 217, 0.10); }
.contact-card-instagram { background: rgba(225, 48, 108, 0.10); }
.contact-card-linkedin { background: rgba(10, 102, 194, 0.10); }
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  padding: 4px;
  width: 100%;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}
.contact-row:hover {
  background: var(--sky);
  transform: translateY(-1px);
}
.contact-row span:not(.social-icon) {
  display: grid;
  justify-items: start;
  text-align: left;
}
.contact-row small {
  color: var(--muted);
  font-weight: 750;
  margin-top: 2px;
}
.social-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  display: inline-block;
  padding: 7px;
  fill: currentColor;
  color: var(--white);
}
.whatsapp-icon { background: #25d366; }
.telegram-icon { background: #2aabee; }
.instagram-icon { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); }
.linkedin-icon { background: #0a66c2; }
.contact-cta {
  width: 100%;
  min-height: 42px;
  box-shadow: none;
  order: 3;
  justify-content: center;
}
.qr-card {
  padding: 10px;
  text-align: center;
  font-weight: 900;
  color: var(--navy);
  display: grid;
  gap: 8px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.qr-link {
  cursor: pointer;
}
.qr-link:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.desktop-qr { order: 2; }
.contact-card .mobile-qr { display: none; order: 5; }
.mobile-qr-toggle {
  display: none;
  order: 4;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0 auto;
  color: var(--blue);
  font-weight: 900;
  font-size: .9rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-qr-toggle:focus { outline: none; }
.mobile-qr-toggle:focus-visible {
  outline: 2px solid rgba(43,147,209,.45);
  outline-offset: 3px;
  border-radius: 6px;
}
.contact-qr {
  width: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
}
.contact-qr img,
.qr {
  width: 140px;
  max-width: 140px;
  height: 140px;
  max-height: 140px;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border: 10px solid var(--white);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.footer {
  padding: 28px 0;
  background: var(--navy);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.footer-grid div:first-child { display: grid; }
.footer-grid span, .footer p { color: rgba(255,255,255,.72); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.86); font-weight: 700; }
.footer-links a {
  display: inline-flex;
  cursor: pointer;
  transition: all .25s ease;
}
.footer-links a:hover {
  transform: scale(1.06);
  color: var(--white);
  text-shadow: 0 0 16px rgba(43,147,209,.55);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 8;
  min-width: 58px;
  height: 58px;
  display: inline-flex;
  gap: 8px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 999px;
  background: #1fa855;
  color: var(--white);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(31,168,85,.32);
  transition: transform .25s ease, box-shadow .25s ease, bottom .18s ease;
  will-change: bottom;
}
.floating-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 38px rgba(31,168,85,.42);
  cursor: pointer;
}
.floating-whatsapp .social-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: .62rem;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 40;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-weight: 850;
  box-shadow: var(--shadow);
}
.site-toast[hidden] { display: none; }

.privacy-page {
  min-height: calc(100svh - 74px);
  background:
    linear-gradient(180deg, rgba(234,246,253,.72), rgba(255,255,255,.96)),
    var(--white);
}

.privacy-content {
  max-width: 860px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(12, 43, 70, .08);
}

.privacy-content h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.04;
}

.privacy-content h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.privacy-content p {
  color: var(--muted);
  margin: 0 0 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(3, 14, 26, .88);
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 24px);
}
.lightbox[hidden] { display: none; }
.lightbox-content {
  width: auto;
  max-width: 94vw;
  max-height: 88vh;
  overflow: auto;
}
.lightbox-content > * {
  background: transparent;
  border-radius: 0;
}
.template-gallery {
  display: grid;
  gap: 18px;
  width: fit-content;
  max-width: 94vw;
  margin: 0 auto;
}
.template-gallery-page {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.template-gallery-page img,
.template-gallery-fallback {
  width: auto;
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.template-gallery-fallback {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}
.template-gallery-page figcaption {
  color: rgba(255,255,255,.82);
  text-align: center;
  font-weight: 900;
}
.template-preview-lightbox {
  cursor: pointer;
}
.template-preview-lightbox:hover {
  transform: none;
}
.template-lightbox .lightbox-close {
  display: none;
}
.lightbox-close {
  position: fixed;
  right: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-menu { gap: 10px; font-size: .86rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel {
    grid-auto-columns: minmax(280px, 44%);
    padding-right: 72px;
  }
  .distribution-carousel {
    grid-auto-columns: minmax(292px, 48%);
  }
}

@media (max-width: 1024px) {
  .contact-qr { min-height: 145px; }
  .contact-qr img,
  .qr {
    width: 125px;
    max-width: 125px;
    height: 125px;
    max-height: 125px;
  }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .brand { order: 1; }
  .header-language { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; }
  .mobile-nav-link { display: inline-flex; }
  .nav-menu {
    order: 4;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    z-index: 35;
    display: none;
    max-height: calc(100svh - 92px);
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .btn { width: 100%; }
  .hero { min-height: auto; }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.78)),
      url("assets/hero-offshore.jpg") center right / cover no-repeat;
  }
  .hero-grid, .split, .calculator-wrap, .contacts, .premium-cv {
    grid-template-columns: 1fr;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "list"
      "visual";
    gap: 22px;
  }
  .faq-visual-card {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    padding: 22px;
  }
  .faq-illustration {
    display: none;
  }
  .contact-qr { min-height: 145px; }
  .contact-qr img,
  .qr {
    width: 125px;
    max-width: 125px;
    height: 125px;
    max-height: 125px;
  }
  .review-grid,
  #reviewScreens {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .review-grid > *,
  #reviewScreens > * {
    min-width: 280px;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .hero-grid { padding: 64px 0 72px; gap: 28px; }
  .feature-grid, .pricing-grid, .distribution-grid, .template-grid, .proof-grid, .review-grid, .compact {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  #reviewScreens,
  #resultsGrid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 78%);
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  #reviewScreens > *,
  #resultsGrid > * {
    scroll-snap-align: start;
  }
  .quick-grid { grid-template-columns: 1fr; }
  .premium-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .review-grid,
  #reviewScreens {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 0 20px 16px;
    margin-inline: -20px;
    -webkit-overflow-scrolling: touch;
  }
  .review-grid > *,
  #reviewScreens > * {
    flex: 0 0 82%;
    min-width: 280px;
    max-width: 340px;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  #quick-services,
  .quick-section {
    display: none !important;
  }
  .hero-panel { display: none; }
  .hero-grid {
    padding: 40px 0 52px;
    gap: 20px;
  }
  .hero {
    min-height: auto;
    padding-top: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.78) 35%, rgba(255,255,255,.92) 70%, rgba(255,255,255,1) 100%),
      url("assets/hero-offshore.jpg") center top / cover no-repeat;
  }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.8) 40%, rgba(255,255,255,.96) 100%),
      url("assets/hero-offshore.jpg") center top / cover no-repeat;
  }
  .template-info {
    display: block;
    padding: 14px 16px 12px;
    font-size: .98rem;
    line-height: 1.25;
  }
  .template-name,
  .template-price {
    display: none;
  }
  .template-mobile-line {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .template-mobile-line strong,
  .template-mobile-line small {
    display: block;
    white-space: nowrap;
  }
  .template-mobile-line small {
    color: var(--navy);
    font-size: .92rem;
    font-weight: 900;
  }
  .template-order {
    width: calc(100% - 32px);
    min-height: 48px;
    padding-inline: 10px;
    white-space: nowrap;
    font-size: .96rem;
  }
  .template-order-full { display: none; }
  .template-order-short { display: inline; }
  .distribution-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  .distribution-card .emails {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .price-list {
    gap: 10px;
    margin: 12px 0 18px;
  }
  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    line-height: 1.25;
  }
  .price-row:last-child {
    border-bottom: 0;
  }
  .price-row span,
  .price-row strong {
    display: block;
  }
  .price-row strong {
    white-space: nowrap;
  }
  .select-label {
    margin-top: auto;
    align-self: flex-start;
  }
  .contact-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .template-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px 12px;
    line-height: 1.2;
  }
  .template-info span {
    max-width: 100%;
    white-space: nowrap;
  }
  .template-order {
    width: calc(100% - 32px);
    min-height: 48px;
    padding-inline: 12px;
    white-space: nowrap;
  }
  .template-order-full { display: none; }
  .template-order-short { display: inline; }
  .distribution-card {
    min-height: 100%;
  }
  .distribution-card .emails {
    margin-bottom: 14px;
  }
  .price-list {
    gap: 10px;
    margin: 10px 0 18px;
  }
  .price-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .price-row:last-child {
    border-bottom: 0;
  }
  .price-row strong {
    white-space: nowrap;
    line-height: 1.2;
  }
  .select-label {
    margin-top: auto;
  }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-row {
    flex-direction: row;
    gap: 8px;
  }
  .desktop-qr { display: none; }
  .mobile-qr-toggle { display: block; }
  .contact-card:not(.qr-open) {
    height: auto;
    min-height: 0;
  }
  .contact-card:not(.qr-open) .mobile-qr {
    display: none;
    height: 0;
    min-height: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
  .contact-card:not(.qr-open) .contact-cta,
  .contact-card.qr-open .contact-cta {
    height: 52px;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 12px;
  }
  .contact-card.qr-open .mobile-qr {
    display: flex;
    min-height: auto;
    height: auto;
    padding: 12px 0;
    margin-top: 10px;
    max-height: none;
  }
  .contact-card { padding: 16px; }
  .contact-qr {
    min-height: 0;
  }
  .contact-qr img,
  .qr {
    width: 110px;
    max-width: 110px;
    height: 110px;
    max-height: 110px;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1160px); }
  .section { padding: 64px 0; }
  .nav { gap: 8px; width: min(100% - 16px, 1240px); }
  .brand span { font-size: .98rem; }
  .brand small { font-size: .6rem; }
  .hero-copy h1 { font-size: 2.25rem; }
  .button-row, .btn { width: 100%; }
  .hero-proof { display: grid; }
  .hero-panel div { display: grid; text-align: left; }
  .hero-panel span { text-align: left; }
  .feature-grid, .pricing-grid, .distribution-grid, .template-grid, .proof-grid, .review-grid, .compact, .category-grid, .steps, .check-list, .total-box, .qr-grid {
    grid-template-columns: 1fr;
  }
  .carousel { grid-auto-columns: minmax(260px, 88%); }
  .carousel {
    padding-right: 34px;
  }
  .distribution-carousel {
    grid-auto-columns: minmax(260px, 86%);
  }
  .template-order { width: calc(100% - 32px); }
  .contact-card-grid { grid-template-columns: 1fr; }
  .faq-visual-card {
    min-height: 0;
    padding: 20px;
  }
  .faq-item summary {
    grid-template-columns: 30px 1fr 20px;
    padding: 14px;
    gap: 10px;
  }
  .faq-question-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    flex-basis: 30px;
  }
  .faq-answer { padding: 0 14px 16px 54px; }
  .floating-whatsapp {
    width: 56px;
    min-width: 56px;
    height: 56px;
    right: 12px;
    bottom: 20px;
    padding: 0;
  }
  .floating-whatsapp span:last-child { display: none; }
}

@media (max-width: 360px) {
  .brand small { display: none; }
  .brand span { font-size: .94rem; }
}

#reviews.section {
  padding: 80px 0;
}

#reviews .container {
  max-width: 1320px;
}

#reviewCards.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  overflow: visible;
  padding: 0;
  margin: 0;
}

#reviewCards.review-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 24vw, 340px);
  grid-template-columns: none;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px clamp(42px, 8vw, 140px) 24px 2px;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

#reviewCards.review-carousel::-webkit-scrollbar {
  height: 8px;
}

#reviewCards.review-carousel::-webkit-scrollbar-thumb {
  background: #bfd7e8;
  border-radius: 999px;
}

#reviewCards.review-carousel > * {
  height: 100%;
  scroll-snap-align: start;
}

.review-image-card {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .review-image-card:hover {
    transform: translateY(-6px) scale(1.055);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
    z-index: 2;
  }
}

@media (min-width: 769px) {
  #reviewCards.review-carousel {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  }
}

@media (max-width: 1024px) {
  #reviews.section {
    padding: 64px 0;
  }

  #reviewCards.review-carousel {
    grid-auto-columns: minmax(280px, 44%);
    padding-right: 72px;
  }
}

@media (max-width: 640px) {
  #reviews.section {
    padding: 48px 0;
  }

  #reviews .container {
    width: min(100% - 32px, 1320px);
    padding-left: 0;
    padding-right: 0;
  }

  #reviewCards.review-carousel {
    grid-auto-columns: minmax(270px, 86%);
    gap: 18px;
    padding: 6px 36px 18px 0;
  }

  .review-image-card {
    border-radius: 20px;
  }
}

#resultsGrid.result-carousel,
#cvExamplesGrid.cv-examples-carousel {
  grid-auto-columns: clamp(280px, 24vw, 340px);
}

#resultsGrid.result-carousel .proof-card,
#cvExamplesGrid.cv-examples-carousel .proof-card {
  min-height: 230px;
  scroll-snap-align: start;
}

.cv-example-preview {
  width: 100%;
  border: 0;
  cursor: pointer;
  min-height: 178px;
  aspect-ratio: 4 / 5.3;
  padding: 14px;
  background: linear-gradient(135deg, var(--sky), var(--white));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cv-example-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(12, 43, 70, 0.08);
}

@media (min-width: 769px) {
  #resultsGrid.result-carousel,
  #cvExamplesGrid.cv-examples-carousel {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  }
}

@media (max-width: 1080px) {
  #resultsGrid.result-carousel,
  #cvExamplesGrid.cv-examples-carousel {
    grid-auto-columns: minmax(280px, 44%);
    padding-right: 72px;
  }
}

@media (max-width: 640px) {
  #resultsGrid.result-carousel,
  #cvExamplesGrid.cv-examples-carousel {
    grid-auto-columns: minmax(260px, 88%);
    padding: 6px 34px 20px 0;
  }

  .cv-example-preview {
    min-height: 220px;
    padding: 12px;
  }
}

#cv-examples .section-head {
  max-width: 820px;
}

#cvExamplesGrid.cv-examples-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 24vw, 340px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px clamp(42px, 8vw, 140px) 24px 2px;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
}

#cvExamplesGrid.cv-examples-carousel > * {
  scroll-snap-align: start;
}

.cv-example-card {
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}

.cv-example-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.cv-example-preview {
  min-height: 0;
  aspect-ratio: 210 / 297;
  padding: 14px;
  background: #f7fbfe;
}

.cv-example-preview img {
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  transition: transform 0.25s ease;
}

.cv-example-caption {
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.cv-example-caption h3 {
  padding: 0;
}

.cv-example-caption span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
}

@media (hover: hover) and (pointer: fine) {
  .cv-example-card:hover .cv-example-preview img {
    transform: scale(1.035);
  }
}

@media (max-width: 1024px) {
  #cvExamplesGrid.cv-examples-carousel {
    grid-auto-columns: minmax(280px, 44%);
    padding-right: 72px;
  }
}

@media (max-width: 640px) {
  #cvExamplesGrid.cv-examples-carousel {
    grid-auto-columns: minmax(260px, 88%);
    padding: 6px 34px 20px 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

#resultsGrid.result-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 24vw, 340px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px clamp(42px, 8vw, 140px) 24px 2px;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
}

#resultsGrid.result-carousel > * {
  scroll-snap-align: start;
}

.distribution-example-card {
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}

.distribution-example-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.distribution-example-visual {
  aspect-ratio: 4 / 3;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.distribution-example-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.distribution-example-body {
  padding: 14px 16px 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
}

.distribution-example-body h3 {
  padding: 0;
}

.distribution-example-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  #resultsGrid.result-carousel {
    grid-auto-columns: minmax(280px, 44%);
    padding-right: 72px;
  }
}

@media (max-width: 640px) {
  #resultsGrid.result-carousel {
    grid-auto-columns: minmax(260px, 88%);
    padding: 6px 34px 20px 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .distribution-example-visual {
    padding: 10px;
  }
}

/* Final QA polish: keep repeated carousel sections aligned and predictable. */
.results-group .container,
#reviews .container,
#templates .container,
#distribution .container {
  min-width: 0;
}

#templateGrid,
#distributionGrid,
#reviewCards,
#resultsGrid,
#cvExamplesGrid {
  scroll-padding-inline: 2px;
}

#resultsGrid.result-carousel,
#cvExamplesGrid.cv-examples-carousel,
#reviewCards.review-carousel {
  align-items: stretch;
}

#resultsGrid.result-carousel .proof-card,
#cvExamplesGrid.cv-examples-carousel .proof-card,
#reviewCards.review-carousel .review-card {
  scroll-snap-align: start;
}

.distribution-example-card,
.cv-example-card,
.review-image-card,
.template-card {
  will-change: transform;
}

.distribution-example-card h3,
.cv-example-caption h3,
.template-info,
.price-row,
.btn {
  overflow-wrap: normal;
  word-break: normal;
}

.btn:focus-visible,
.nav-menu a:focus-visible,
.footer-links a:focus-visible,
.floating-whatsapp:focus-visible,
.template-preview:focus-visible,
.cv-example-preview:focus-visible {
  outline: 3px solid rgba(43,147,209,.45);
  outline-offset: 3px;
}

@media (min-width: 1180px) {
  #templateGrid.template-carousel,
  #distributionGrid.distribution-carousel,
  #reviewCards.review-carousel,
  #resultsGrid.result-carousel,
  #cvExamplesGrid.cv-examples-carousel {
    grid-auto-columns: clamp(300px, 24%, 350px);
  }
}

@media (max-width: 768px) {
  #templateGrid.template-carousel,
  #distributionGrid.distribution-carousel,
  #reviewCards.review-carousel,
  #resultsGrid.result-carousel,
  #cvExamplesGrid.cv-examples-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 600px) {
  .contact-row span:not(.social-icon) {
    justify-items: center;
    text-align: center;
  }

  .contact-row {
    gap: 10px;
  }

  .contact-card {
    gap: 12px;
  }
}

/* Privacy page has a slimmer header; keep the brand readable on every viewport. */
.site-header .nav[aria-label="Privacy navigation"] {
  gap: 12px;
}

.site-header .nav[aria-label="Privacy navigation"] .brand {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow: visible;
}

.site-header .nav[aria-label="Privacy navigation"] .brand span,
.site-header .nav[aria-label="Privacy navigation"] .brand small {
  display: block;
}

.site-header .nav[aria-label="Privacy navigation"] .brand span {
  font-size: clamp(.98rem, 4vw, 1.08rem);
}

.site-header .nav[aria-label="Privacy navigation"] .brand small {
  font-size: clamp(.62rem, 2.8vw, .72rem);
}

.site-header .nav[aria-label="Privacy navigation"] .btn-small {
  flex: 0 0 auto;
}
