:root {
  color-scheme: light;
  --navy: #092943;
  --ink: #102e41;
  --muted: #476171;
  --accent: #006477;
  --line: #d5e3e8;
  --paper: #f5f8fa;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.top, .top nav, .brand, .footer, .phones, .editor-actions { display: flex; align-items: center; gap: 24px; }
.top { justify-content: space-between; min-height: 90px; }
.top a { text-decoration: none; }
.brand { gap: 12px; font: bold 1.1rem/.99 Georgia, serif; letter-spacing: .035em; }
.brand img { border-radius: 50%; }
.button { display: inline-flex; width: fit-content; justify-content: center; align-items: center; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 7px; background: var(--accent); color: white; text-decoration: none; font-weight: 700; }
.button:hover { background: #004d5d; }
.button.outline { background: transparent; border-color: var(--line); color: inherit; }
.button.outline:hover { background: #e4eff1; color: var(--navy); }
:focus-visible { outline: 3px solid #d88a29; outline-offset: 3px; }
.hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); min-height: 490px; overflow: hidden; border-radius: 20px; background: var(--navy); color: white; }
.hero-copy { align-self: center; padding: clamp(28px, 4vw, 58px); }
.eyebrow { color: var(--accent); font-weight: 750; font-size: .87rem; text-transform: uppercase; letter-spacing: .13em; }
.hero .eyebrow { color: #a0e2e7; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.07; }
h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); margin-block: 15px 22px; letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); margin-block: 8px 18px; letter-spacing: -.025em; }
h3 { font-size: 1.7rem; }
.hero-copy > p:not(.eyebrow) { color: #dbe9f3; max-width: 40ch; }
.hero .button { margin-top: 26px; background: #a5e7e8; color: var(--navy); }
.hero .button:hover { background: white; }
.hero-video { align-self: center; min-width: 0; margin: 24px clamp(18px, 3vw, 44px) 24px 0; padding: clamp(8px, 1vw, 12px); border: 1px solid #49647c; border-radius: 16px; background: #102239; box-shadow: 0 16px 34px #02142155; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 740; object-fit: contain; border-radius: 9px; background: #08182b; }
.hero-video figcaption { padding: 10px 5px 2px; color: #d3e3ef; font-size: .875rem; font-weight: 600; }
.catalog, .quote { margin-block: 80px; scroll-margin-top: 24px; }
.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.product { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); border-radius: 13px; background: white; border: 1px solid var(--line); overflow: hidden; }
.product-photo { background: #dbe8eb; }
.product-photo img { width: 100%; height: 100%; min-height: 245px; object-fit: cover; }
.product-details { padding: 22px; align-self: center; }
.product-details h3 { margin-block: 8px 12px; }
.product-details p:not(.eyebrow), .quote p:not(.eyebrow), .footer p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: clamp(24px,5vw,60px); border-radius: 15px; background: #e6f0f1; }
form { display: grid; gap: 13px; }
label { display: grid; gap: 5px; font-weight: 650; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #93acb8; border-radius: 6px; color: var(--ink); background: white; }
#quote-status:empty { display: none; }
.footer { justify-content: space-between; padding-block: 26px 34px; border-top: 1px solid var(--line); }
.admin { padding-block: 35px 70px; }
.admin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.admin-card { padding: clamp(16px,3vw,28px); background: white; border: 1px solid var(--line); border-radius: 13px; }
.admin-list { list-style: none; margin: 16px 0; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); }
.admin-list small { display: block; color: var(--muted); }
.editor-actions { gap: 10px; flex-wrap: wrap; }
.visibility { display: flex; align-items: center; gap: 8px; }
@media (max-width: 800px) {
  .products { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .top { min-height: 74px; gap: 12px; }
  .top nav { gap: 12px; }
  .top .header-cta { display: none; }
  .hero, .quote, .admin-layout { grid-template-columns: 1fr; }
  .hero-video { margin: 0 14px 16px; }
  .catalog, .quote { margin-block: 50px; }
  .product-details { padding: 14px; }
  .product-details h3 { font-size: 1.33rem; }
  .phones { gap: 4px; align-items: flex-start; flex-direction: column; }
}
[hidden] { display: none !important; }
