:root {
  --red: #e60000;
  --red-dark: #b80000;
  --ink: #0b0b0b;
  --grey: #5a5a5a;
  --light: #f5f4f2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section--dark :focus-visible, .stats :focus-visible, .footer :focus-visible, .cta__box :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
.accent { color: var(--red); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--red-dark); margin-bottom: .8em; }
.eyebrow--light { color: #ff5a5a; }
.lead { font-size: 1.15rem; color: var(--grey); max-width: 34em; }

.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--red); cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { padding: 9px 18px; font-size: .95rem; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #2a2a2a; border-color: #2a2a2a; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid #eee; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

.hero { background: linear-gradient(180deg, var(--light), var(--white)); padding: 72px 0 56px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.illus { width: 100%; height: auto; }
.gear { animation: spin 4s linear 1; transform-box: fill-box; transform-origin: center; }
.blink { animation: blink 1.2s ease-in-out 4; }
.gate { animation: slide 4.5s ease-in-out 1; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes slide { 0%, 20%, 100% { transform: translateX(0); } 50%, 70% { transform: translateX(-14px); } }

.stats { background: var(--ink); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--red); }
.stats span { font-size: .95rem; opacity: .85; }

.section { padding: 88px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; color: var(--grey); }
.section__head h2 { color: var(--ink); }
.section--dark { background: var(--ink); color: #f1f1f1; }
.section--dark p { color: #c9c9c9; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--red); }
.card__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.card p { color: var(--grey); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 16px; }
.benefits h3 { margin-bottom: .2em; font-family: var(--sans); font-size: 1.05rem; }
.benefits p { margin: 0; }
.dot { flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 5px var(--red), inset 0 0 0 9px #fff; }

.art-box { background: var(--light); border-radius: var(--radius); padding: 32px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }


.btn--light { background: #fff; color: var(--red); border-color: #fff; }
.btn--light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--big { display: inline-flex; align-items: center; gap: 12px; font-size: 1.15rem; padding: 18px 34px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.btn--big svg { width: 24px; height: 24px; }

.cta { background: var(--light); }
.cta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; background: var(--red); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.cta__box::before, .cta__box::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta__box::before { width: 420px; height: 420px; right: -140px; top: -160px; border: 60px solid rgba(0, 0, 0, .12); }
.cta__box::after { width: 90px; height: 90px; right: 60px; top: 30px; background: rgba(0, 0, 0, .12); }
.cta__main, .cta__tips { position: relative; z-index: 1; }
.cta .eyebrow--light { color: #fff; }
.cta__lead { font-size: 1.1rem; max-width: 32em; margin-bottom: 28px; }
.cta__mail { margin: 18px 0 0; }
.cta__phone { margin-top: 6px; }
.cta__phone a { white-space: nowrap; }
.cta__mail a { font-weight: 700; text-underline-offset: 4px; word-break: break-all; }
.cta__tips { background: var(--ink); border-radius: var(--radius); padding: 28px; align-self: center; }
.cta__tips h3 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 1em; }
.checklist--light li { font-weight: 400; color: #e8e8e8; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--grey); }
.steps__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 700; margin-bottom: 14px; box-shadow: 0 0 0 4px var(--light), 0 0 0 6px var(--red); }

.gallery-section { background: var(--light); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gallery__link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #e4e2de; box-shadow: var(--shadow); }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__link:hover img, .gallery__link:focus-visible img { transform: scale(1.06); }
.gallery__link::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--red); border-radius: inherit; opacity: 0; transition: opacity .25s; }
.gallery__link:hover::after, .gallery__link:focus-visible::after { opacity: 1; }
.gallery__figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.gallery__figure .gallery__link { border-radius: 0; box-shadow: none; }
.gallery__legend { padding: 14px 16px 16px; border-top: 3px solid var(--red); display: grid; gap: 4px; }
.gallery__title { color: var(--ink); font-size: 1rem; }
.gallery__text { color: #444; font-size: .9rem; line-height: 1.5; }

.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(11, 11, 11, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 8px; }
.lightbox__caption { color: #eee; margin-top: 12px; min-height: 1.4em; max-width: 70ch; display: grid; gap: 4px; text-align: center; }
.lightbox__caption strong { color: #fff; }
.lightbox__btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox__btn:hover { background: var(--red-dark); }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 760px) {
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.error-page img { width: 220px; height: auto; margin: 0 auto 24px; }
.error-page .lead { margin-inline: auto; }

.footer { background: var(--ink); color: #bbb; padding: 32px 0; font-size: .92rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { height: 54px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer p { margin: 0; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split { grid-template-columns: 1fr; }
  .cta__box { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin-inline: auto; }
  .split--reverse .art-box { order: 2; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid #eee; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; text-align: center; }
  .nav .btn { margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
