/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E4002B;
  --red-dark: #b8001f;
  --ink: #111214;
  --ink-soft: #4a4d55;
  --grey-line: #e9e9ec;
  --grey-bg: #f7f7f8;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(17, 18, 20, 0.18);
  --shadow-soft: 0 10px 30px -15px rgba(17, 18, 20, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.accent { color: var(--red); }

/* ===== Progress bar ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--red); z-index: 1000; transition: width 0.1s linear;
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,0);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--grey-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo-img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
  position: relative; padding: 4px 0;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0%;
  background: var(--red); transition: width 0.3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.main-nav a.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 20px;
  border-radius: 999px; transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 24px -10px rgba(228,0,43,0.55); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--grey-line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); width: 100%; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero { padding: 168px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(228,0,43,0.08), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
.hero-sub { margin-top: 24px; font-size: 1.1rem; color: var(--ink-soft); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 46px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-trust .dot { margin: 0 10px; color: var(--grey-line); }

.hero-media { position: relative; }
.hero-photo-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5; position: relative;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--grey-bg); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-title.center { text-align: center; margin: 0 auto 18px; max-width: 700px; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; margin: 0 auto 60px; max-width: 560px; }
.section-lead.center { text-align: center; }

/* ===== Service cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 34px 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.service-icon { font-size: 2rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Feature band (QR) ===== */
.feature-band { padding: 90px 0; }
.feature-inner {
  background: var(--ink); border-radius: 28px; padding: 64px; color: #fff;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
  position: relative; overflow: hidden;
}
.feature-inner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 85% 20%, rgba(228,0,43,0.25), transparent 70%);
  pointer-events: none;
}
.feature-text .eyebrow { color: #ff8a9e; }
.feature-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 18px; }
.feature-text p { color: #cfd0d4; font-size: 1.03rem; max-width: 480px; }
.feature-visual { display: flex; justify-content: center; }
.qr-mock {
  background: #fff; border-radius: var(--radius); padding: 28px; width: 220px;
  text-align: center; box-shadow: var(--shadow); transform: rotate(-3deg);
}
.qr-mock-grid {
  width: 100%; aspect-ratio: 1; margin-bottom: 14px; border-radius: 8px;
  border: 1px solid var(--grey-line); shape-rendering: crispEdges;
}
.qr-mock span { font-size: 0.85rem; font-weight: 700; color: var(--ink); }

/* ===== About ===== */
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.about-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 22px; }
.about-text .btn { margin-top: 10px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.price-tag { font-size: 2.4rem; font-weight: 800; margin-bottom: 26px; }
.price-from { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin-right: 6px; }
.price-features { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.price-features li {
  padding: 10px 0; border-top: 1px solid var(--grey-line); color: var(--ink-soft); font-size: 0.95rem;
}
.price-features li:first-child { border-top: none; }
.price-card-highlight { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); }
.price-card-highlight:hover { transform: scale(1.03) translateY(-6px); }
.price-card-highlight .price-features li { border-color: rgba(255,255,255,0.14); color: #cfd0d4; }
.price-card-highlight .price-from { color: #b7b9be; }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 18px; }
.gallery-item { margin: 0; }
.gallery-img-btn {
  display: block; width: 100%; border: none; padding: 0; background: none; cursor: pointer; border-radius: var(--radius-sm);
  overflow: hidden; aspect-ratio: 4/5; position: relative;
}
.gallery-img-btn img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.gallery-img-btn:hover img { transform: scale(1.06); }
.gallery-img-btn::after {
  content: "\2795"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; background: rgba(17,18,20,0); opacity: 0; transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.gallery-img-btn:hover::after { opacity: 1; background: rgba(17,18,20,0.28); }
.gallery-item figcaption {
  margin-top: 12px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,12,0.92); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 26px; right: 30px; background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1; opacity: 0.8; transition: opacity 0.2s var(--ease);
}
.lightbox-close:hover { opacity: 1; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.contact-text p { color: var(--ink-soft); margin-bottom: 34px; max-width: 420px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex; align-items: center; gap: 16px; background: var(--white);
  border: 1px solid var(--grey-line); border-radius: var(--radius-sm); padding: 16px 20px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  font-size: 0.92rem;
}
.contact-method strong { font-size: 0.95rem; }
.contact-method:hover { transform: translateX(4px); border-color: var(--red); box-shadow: var(--shadow-soft); }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }

.contact-form {
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 20px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.form-row .optional { color: var(--ink-soft); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.96rem; color: var(--ink); background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,0.1);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cfd0d4; padding: 50px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { height: 26px; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 26px; font-size: 0.9rem; }
.footer-links a { transition: color 0.2s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.82rem; color: #8b8d94; width: 100%; text-align: center; margin-top: 10px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.4s; }

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

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner, .about-inner, .contact-inner, .feature-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 360px; margin: 0 auto; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card-highlight { transform: none; }
  .price-card-highlight:hover { transform: translateY(-6px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-inner { padding: 44px 28px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 20px 24px 30px; gap: 18px; border-bottom: 1px solid var(--grey-line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 130px 0 70px; }
  .section { padding: 76px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
