:root {
  --blue: #2458b5;
  --blue-dark: #123674;
  --blue-soft: #eaf1ff;
  --ink: #172033;
  --muted: #5f6879;
  --cream: #f6f8fc;
  --white: #fff;
  --green: #1f8a5b;
  --border: #dfe5ef;
  --shadow: 0 18px 55px rgba(22, 43, 84, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.35rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section-soft { background: var(--cream); }
.eyebrow { margin-bottom: 14px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(223,229,239,.8); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: min(300px, 52vw); height: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 12px 14px; color: var(--ink); border-radius: 12px; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-soft); }
.main-nav .nav-cta { margin-left: 8px; padding-inline: 20px; color: #fff; background: var(--blue); }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { color: #fff; background: var(--blue-dark); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 12px; background: var(--blue-soft); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { min-height: min(820px, calc(100vh - 86px)); display: grid; align-items: end; color: #fff; background: linear-gradient(90deg, rgba(8,28,65,.88) 0%, rgba(8,28,65,.54) 48%, rgba(8,28,65,.08) 75%), url('../images/hero.jpg') center/cover no-repeat; }
.hero-inner { padding-block: clamp(90px, 14vw, 170px); }
.hero-copy { max-width: 690px; }
.hero h1 { margin-bottom: 22px; }
.hero .eyebrow { color: #bcd2ff; }
.hero .lead { color: rgba(255,255,255,.88); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 14px; color: #fff; background: var(--blue); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); }
.btn-white { color: var(--blue-dark); background: #fff; }
.btn-white:hover { color: #fff; }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.65); background: transparent; }
.btn-dark { background: var(--ink); }
.btn-full { width: 100%; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -46px; position: relative; z-index: 2; }
.quick-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quick-card .number { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 22px; color: #fff; background: var(--blue); border-radius: 14px; font-weight: 900; }
.quick-card p { color: var(--muted); }
.quick-card a { font-weight: 800; text-decoration: none; }

.split { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.split.reverse > :first-child { order: 2; }
.photo-card { position: relative; }
.photo-card > img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.photo-badge { position: absolute; right: -20px; bottom: 28px; max-width: 230px; padding: 20px; color: #fff; background: var(--blue); border-radius: 18px; font-weight: 800; box-shadow: var(--shadow); }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 34px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; width: 23px; height: 23px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: .78rem; font-weight: 900; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.info-card { padding: 30px; border: 1px solid var(--border); border-radius: 22px; background: #fff; }
.info-card strong { display: block; margin-bottom: 10px; color: var(--blue); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.info-card p { margin-bottom: 0; color: var(--muted); }
.download-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.download-list a { padding: 10px 14px; border-radius: 10px; background: var(--blue-soft); font-weight: 750; text-decoration: none; }

.gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 14px; }
.gallery img { width: 100%; height: 310px; object-fit: cover; border-radius: 20px; }
.gallery img:first-child { height: 100%; }

.quality-mark { padding: 46px 0; border-block: 1px solid var(--border); background: #fff; }
.quality-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.quality-inner h2 { margin-bottom: 8px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.quality-inner p:last-child { margin-bottom: 0; color: var(--muted); }
.quality-inner img { width: min(430px, 42vw); height: auto; }

.page-hero { padding: clamp(74px, 10vw, 128px) 0; color: #fff; background: linear-gradient(115deg, var(--blue-dark), var(--blue)); }
.page-hero h1 { max-width: 820px; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.83); }
.price-category { margin-top: 50px; }
.price-category h2 { padding-bottom: 15px; border-bottom: 2px solid var(--blue-soft); font-size: 1.55rem; }
.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--border); border-radius: 17px; background: #fff; }
.price-row h3 { margin-bottom: 4px; font-size: 1.08rem; }
.price-row p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.price { color: var(--blue-dark); font-size: 1.25rem; font-weight: 900; white-space: nowrap; }
.notice { padding: 24px; border-left: 5px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--blue-soft); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 36px; align-items: start; }
.form-card, .side-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 19px; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cbd4e2; border-radius: 12px; color: var(--ink); background: #fff; font: inherit; }
textarea { min-height: 145px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(36,88,181,.16); border-color: var(--blue); }
.help { margin: 7px 0 0; color: var(--muted); font-size: .88rem; }
.order-total { margin: 18px 0 24px; padding: 18px; border-radius: 14px; background: var(--blue-soft); }
.order-total strong { display: block; color: var(--blue-dark); font-size: 1.35rem; }
.privacy-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }
.hp-field { position: absolute; left: -9999px; }
.flash { margin-bottom: 24px; padding: 18px 20px; border-radius: 14px; font-weight: 750; }
.flash.success { color: #145c3e; background: #dff5e9; }
.flash.error { color: #8c2730; background: #ffe5e7; }
.side-card { position: sticky; top: 112px; box-shadow: none; }
.side-card ul { padding-left: 20px; }

.faq-list { max-width: 860px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button { width: 100%; padding: 22px 4px; display: flex; justify-content: space-between; gap: 20px; border: 0; color: var(--ink); background: transparent; font: inherit; font-size: 1.08rem; font-weight: 850; text-align: left; cursor: pointer; }
.faq-answer { display: none; padding: 0 44px 24px 4px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item button span:last-child { color: var(--blue); font-size: 1.5rem; }

.cta-band { padding: 54px 0; color: #fff; background: var(--blue-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.76); }

.site-footer { padding-top: 70px; color: #dce5f5; background: #0f1d35; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .85fr .8fr; gap: 44px; }
.footer-logo { width: 260px; margin-bottom: 24px; filter: brightness(0) invert(1); opacity: .94; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; }
.socials { display: flex; flex-direction: column; gap: 8px; }
.admin-link { display: inline-block; margin-top: 22px; color: #91a4c4 !important; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 58px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }

.admin-body { min-height: 100vh; padding: 50px 0; background: var(--cream); }
.admin-shell { width: min(940px, calc(100% - 32px)); margin: auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.admin-top h1 { margin-bottom: 4px; font-size: 2rem; }
.admin-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.admin-table th { background: var(--blue-soft); font-size: .82rem; text-transform: uppercase; }
.admin-table input[type="text"], .admin-table input[type="number"] { min-width: 125px; min-height: 44px; }
.admin-table input[type="checkbox"] { width: 22px; min-height: 22px; }
.admin-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.login-card { width: min(460px, calc(100% - 32px)); margin: 8vh auto; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; padding: 16px; flex-direction: column; align-items: stretch; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .quick-grid, .info-grid { grid-template-columns: 1fr; }
  .quick-grid { margin-top: -30px; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: initial; }
  .side-card { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .quality-inner { align-items: flex-start; flex-direction: column; }
  .quality-inner img { width: min(100%, 430px); }
  .gallery img:first-child { grid-column: 1 / -1; height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .hero { min-height: 670px; background-position: 57% center; }
  .hero-inner { padding-top: 160px; padding-bottom: 90px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4.1rem); }
  .actions .btn { width: 100%; }
  .photo-card > img { min-height: 390px; }
  .photo-badge { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .price-list, .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:first-child { grid-column: auto; height: 280px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
