:root {
  color-scheme: light;
  --ink: #172433;
  --muted: #4a5d6e;
  --mint: #35b8be;
  --mint-dark: #096f77;
  --ice: #f3fafb;
  --navy: #11284b;
  --line: #d3e2e8;
  --content: 74rem;
  font: 400 1rem/1.65 Montserrat, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); }
body, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #098089; outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); color: var(--mint-dark); }
h3 { font-size: clamp(1.12rem, 2vw, 1.5rem); }

.wrap { width: min(100% - 3rem, var(--content)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.section-head { max-width: 49rem; margin: 0 auto clamp(1.8rem, 4vw, 3.4rem); text-align: center; }
.section-head p { margin: 1.2rem auto 0; color: var(--muted); max-width: 44rem; }
.section-head a { text-underline-offset: .2em; }
.skip { position: absolute; z-index: 4; left: 1rem; top: 1rem; transform: translateY(-200%); padding: .5rem; background: white; }
.skip:focus { transform: none; }

.site-header { background: var(--ice); }
.header-inner {
  min-height: 6.25rem; width: min(100% - 4.5rem, 91rem); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.header-brand, .footer-brand { display: flex; align-items: center; gap: clamp(1rem, 4vw, 3.25rem); }
.logo { display: block; flex-shrink: 0; }
.logo img { height: auto; width: 7rem; }
.social {
  display: grid; width: 2.5rem; height: 2.5rem; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0;
}
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.8rem; }
.site-header nav a, .site-footer nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:first-child, nav a:hover { color: var(--mint-dark); }
.menu-toggle { display: none; }

.hero {
  display: grid; position: relative; place-items: center; text-align: center; isolation: isolate;
  min-height: clamp(35rem, 63vw, 48rem);
  background: var(--navy) url("/assets/hero.png") left top / cover no-repeat;
  color: #fff; padding: 6rem 1.5rem 5rem;
}
.hero-copy { max-width: 46rem; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.24; margin-inline: auto; max-width: 43rem; }
.hero p { color: #f0f6ff; max-width: 44rem; font-size: clamp(1rem, 2vw, 1.25rem); margin: 1rem auto 2rem; text-shadow: 0 1px 5px #11284b, 0 1px 12px #11284b; }
.hero-effect { border: 0; position: absolute; inset: 0 0 auto; width: 100%; height: 7.5rem; pointer-events: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .73rem 1.3rem; min-height: 2.75rem;
  text-align: center; text-decoration: none; font-weight: 650; line-height: 1.25;
  border: 1px solid transparent; border-radius: .38rem;
  background: var(--mint-dark); color: #fff;
}
.button:hover { background: #085963; }
.button-light { color: var(--navy); background: white; }
.button-light:hover { color: var(--navy); background: #dcf4f4; }
.hero .button { padding-inline: 1.8rem; }

.service-grid, .benefit-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.service img { width: 100%; height: 13rem; object-fit: contain; }
.service p { color: var(--muted); }
.service strong { margin-top: auto; color: var(--mint-dark); }
.benefits { background: var(--ice); }
.benefit-grid article { text-align: center; }
.benefit-grid img { margin: 0 auto 1rem; object-fit: contain; }
.benefit-grid p { margin-top: .8rem; color: var(--muted); }

.catalog { background: var(--navy) url("/assets/catalog-bg.svg") center bottom / 100% auto no-repeat; }
.catalog .section-head h2, .catalog .section-head p { color: white; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2rem; }
.tabs button {
  color: white; background: transparent; border: 1px solid #a6c0d0; border-radius: .35rem;
  padding: .75rem 1.3rem; line-height: 1.25; min-height: 2.75rem;
}
.tabs button[aria-selected="true"] { color: var(--navy); background: #fff; font-weight: 650; }
.tabs button:hover:not([aria-selected="true"]) { background-color: #244665; }
.product { display: flex; flex-direction: column; border-radius: .55rem; background: white; overflow: hidden; }
.product-shot { display: block; overflow: hidden; background: #eef4f7; }
.product-shot img { width: 100%; height: auto; aspect-ratio: 360 / 230; object-fit: contain; }
.product-copy { padding: clamp(1rem, 2.25vw, 1.55rem); display: flex; flex: 1; flex-direction: column; gap: .8rem; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { color: var(--mint-dark); text-decoration: underline; }
.product-copy p { font-size: .92rem; color: var(--muted); }
.product-actions { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.price { display: flex; flex-wrap: wrap; gap: .18rem .6rem; align-items: baseline; }
.price s { color: var(--muted); font-size: .86rem; }
.price strong { color: var(--mint-dark); font-size: 1.15rem; }

.slides img { background: var(--ice); width: 100%; height: auto; aspect-ratio: 1100 / 590; object-fit: contain; border-radius: .55rem; }
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .9rem; }
.gallery-nav button { border: 1px solid var(--line); color: var(--navy); background: white; width: 2.8rem; height: 2.8rem; border-radius: 50%; font-size: 1.2rem; }
.gallery-nav button:hover { background: var(--ice); }
.slide-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.callout { display: grid; grid-template-columns: 1fr 1fr; min-height: 26rem; background: var(--mint-dark); color: white; overflow: hidden; }
.callout > img { width: 100%; height: 100%; object-fit: cover; }
.callout > div { background: linear-gradient(#073e4d7a, #073e4d7a), url("/assets/cta-bg.png") center / cover; padding: clamp(1.5rem, 4vw, 4.5rem); align-content: center; }
.callout h2 { color: white; font-size: clamp(1.8rem, 3vw, 3rem); }
.callout p { margin: 1rem 0 1.4rem; }
.faq { max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.2rem 1.7rem 1.2rem 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--mint-dark); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 1.25rem; max-width: 45rem; color: var(--muted); }

.site-footer { background: var(--ice) url("/assets/footer.svg") left bottom / contain no-repeat; padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.site-footer .footer-brand { gap: 1rem; }
.contacts { display: grid; gap: .15rem; color: var(--mint-dark); }
.contacts a { text-underline-offset: 3px; }

.details-page { padding-block: clamp(2rem, 5vw, 5rem); }
.back { display: inline-block; color: var(--mint-dark); margin-bottom: 1.7rem; }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.details-grid .product-shot { border-radius: .6rem; }
.details-grid .product-shot img { aspect-ratio: 640/440; }
.details-copy { display: grid; justify-items: start; gap: 1.2rem; }
.details-copy h1 { font-size: clamp(2rem, 3.4vw, 3.15rem); }
.details-copy p { color: var(--muted); }
.details-copy .price strong { font-size: 1.65rem; }
.effect-demo { padding-bottom: 0; }
.effect-demo h2 { font-size: 1.85rem; margin-bottom: 1rem; }
.effect-demo iframe { width: 100%; height: 24rem; background: #e8f4fa; border: 1px solid var(--line); }

.order-dialog { border: 0; border-radius: .55rem; padding: 0; width: min(32rem, 100% - 2rem); max-height: 90vh; color: var(--ink); }
.order-dialog::backdrop { background: #0c1934b5; }
.dialog-body { padding: clamp(1.3rem, 4vw, 2.2rem); position: relative; }
.dialog-body h2 { font-size: 1.7rem; padding-right: 1.7rem; margin-bottom: 1rem; }
.dialog-close { position: absolute; right: .6rem; top: .55rem; width: 2.75rem; height: 2.75rem; color: var(--navy); background: white; border: 0; font-size: 1.75rem; }
.selected-product { margin-bottom: 1rem; font-weight: 650; }
.order-form { display: grid; gap: .9rem; }
.order-form label:not(.consent) { display: grid; gap: .35rem; font-size: .93rem; }
.order-form input:not([type="checkbox"]), .order-form textarea { width: 100%; padding: .59rem .7rem; border: 1px solid #8da3b0; border-radius: .3rem; }
.order-form textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .45rem; font-size: .82rem; }
.consent input { accent-color: var(--mint-dark); margin-top: .35rem; }
.consent a { color: var(--mint-dark); }
.form-status { font-weight: 600; }

@media (max-width: 55rem) {
  .header-inner { width: min(100% - 3rem, 91rem); flex-wrap: wrap; padding-block: .9rem; min-height: 4.5rem; gap: 0; }
  .menu-toggle { display: inline-flex; background: transparent; color: var(--navy); border: 1px solid var(--line); border-radius: .3rem; padding: .44rem .75rem; }
  .site-header nav { display: none; width: 100%; padding-block: .85rem .1rem; }
  .site-header nav.is-open { display: grid; }
  .site-header nav a { padding-block: .3rem; }
  .service-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout { min-height: auto; }
}

@media (max-width: 38rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { width: calc(100% - 2rem); }
  .hero { min-height: 34rem; background-position: 23% top; padding-inline: 1rem; }
  .hero-effect { height: 5.5rem; }
  .service-grid, .benefit-grid, .product-grid, .callout, .details-grid { grid-template-columns: 1fr; }
  .service-grid, .benefit-grid { gap: 2rem; }
  .service { align-items: center; text-align: center; }
  .service img { height: 11rem; }
  .callout > img { max-height: 20rem; }
  .tabs { gap: .45rem; }
  .tabs button { padding-inline: .62rem; font-size: .88rem; }
  .effect-demo iframe { height: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
