:root {
  --bg: #F5F8F7;
  --card: #FFFFFF;
  --ink: #0B1414;
  --teal: #1E5A50;
  --mint: #34C9A3;
  --mute: #526862;
  --line: #DCE7E4;
  --soft: #E8F3F0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 10% 0, #DDF5EE, transparent 35rem), var(--bg);
  color: var(--ink);
  font: 500 1rem/1.55 Inter, "Helvetica Neue", Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { display: inline-block; margin: 12px; }

.nav, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 18px;
}
.nav { border-bottom: 1px solid var(--line); }
.brand, .nav-links, .actions, .footer-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { font: 800 0.9rem Orbitron, Arial, sans-serif; letter-spacing: .08em; }
.brand img { border: 1px solid var(--line); border-radius: 50%; background: var(--card); }
.nav a, .footer a { text-decoration: none; font-weight: 800; }
.nav-links a, .footer-links a { padding: 6px 4px; }
.nav-links a:hover, .footer-links a:hover { text-decoration: underline; }
.badge { display: inline-grid; place-items: center; min-width: 22px; padding-inline: 4px; border-radius: 99px; background: var(--mint); color: var(--ink); font-size: .75rem; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(20px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(32px, 7vw, 84px);
}
h1, h2, h3, p { margin: 0; }
h1 { margin-block: 12px 16px; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.065em; }
h1 span, .price { color: var(--teal); }
h2 { margin-block: 8px; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { font-size: 1.05rem; line-height: 1.25; }
.eyebrow { color: var(--teal); font-size: .77rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.intro, .section-description { color: var(--mute); max-width: 64ch; }
.intro { font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { margin-top: 24px; }
.hero-photo { position: relative; overflow: hidden; border-radius: 24px; border: 2px solid var(--line); background: var(--soft); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo span { position: absolute; inset: auto 10px 10px; width: fit-content; padding: 7px 11px; border-radius: 10px; background: var(--card); color: var(--teal); font-size: .78rem; font-weight: 800; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 13px;
  border: 1px solid var(--teal);
  padding: 9px 15px;
  color: var(--teal);
  background: var(--card);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { box-shadow: 0 0 0 2px var(--mint); }
.primary { background: var(--teal); color: white; }

main section { scroll-margin-top: 24px; padding-block: 26px 44px; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.product, .panel, .service-card, .vid { background: var(--card); border: 1px solid var(--line); border-radius: 19px; }
.product { display: flex; flex-direction: column; overflow: hidden; }
.product > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.product-body { display: grid; flex: 1; grid-template-rows: auto 1fr; gap: 10px; padding: 15px; }
.product-body p, .service-card p, #cart-empty { color: var(--mute); font-size: .9rem; }
.product-body label { margin-bottom: -7px; }
.price { align-self: end; }
.service-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding: 17px; background: var(--soft); }
.service-card p { margin-top: 4px; }

.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: 16px; margin-top: 20px; }
.panel { padding: clamp(15px, 3vw, 24px); }
.panel h3 { margin-bottom: 10px; }
#quote-form { display: grid; gap: 7px; }
label { display: block; color: var(--ink); font-size: .87rem; font-weight: 800; }
label span { color: var(--mute); font-weight: 500; }
input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #A5BCB5;
  background: var(--card);
  color: var(--ink);
}
textarea { resize: vertical; }
#quote-form label:not(:first-of-type), #quote-form .button { margin-top: 7px; }
.hint { margin-top: 10px; font-size: .82rem; color: var(--mute); }
.cart-lines { margin: 0; padding: 0; list-style: none; }
.cart-line, .cart-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-block: 10px; }
.cart-line small { display: block; color: var(--mute); }
.cart-actions { display: flex; align-items: center; gap: 7px; }
.cart-actions button { min-width: 40px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--teal); background: var(--soft); font-weight: 800; cursor: pointer; }
.cart-actions button:disabled { opacity: .5; cursor: default; }
.cart-actions .remove { padding-inline: 8px; background: white; font-size: .8rem; }
.cart-total { font-weight: 800; color: var(--teal); }

.gallery, .videos { display: grid; gap: 12px; margin-top: 16px; }
.gallery { grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.videos { grid-template-columns: repeat(3, 1fr); }
.vid { overflow: hidden; }
.vid video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--ink); }
.vid p { padding: 10px 12px 12px; font-weight: 800; font-size: .9rem; }
.vid small { display: block; color: var(--mute); font-weight: 500; }
.footer { border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; }

@media (max-width: 850px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .hero, .quote-grid { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .videos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .products { grid-template-columns: 1fr; }
}
