@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --background: 221 33% 10%;
  --card: 219 29% 15%;
  --muted-foreground: 214 20% 77%;
  --primary: 194 82% 54%;
  --border: 216 24% 28%;
  --ring: 195 95% 60%;
  --paper: #f0ebdf;
  --ink: #13243a;
}

html { height: auto; min-height: 100%; scroll-behavior: smooth; }
body { height: auto; min-height: 100%; font-family: 'Manrope', Arial, sans-serif; line-height: 1.6; overflow-x: clip; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid #78dcf6;
  outline-offset: 3px;
}
.fixed-bg {
  background:
    radial-gradient(860px 440px at 88% 2%, rgba(31, 119, 157, .18), transparent 70%),
    linear-gradient(145deg, #10243a 0%, #121d2e 42%, #111b2c 100%);
}
.muted { color: #c1d0dd; }
.btn { background: #39badd; color: #0d2635; font-weight: 800; transition: background-color .18s ease, transform .18s ease; }
.btn:hover { background: #72d4ed; transform: translateY(-2px); }
.btn-outline { border-color: #567084; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.pill { border-color: rgba(96,205,232,.45); background: rgba(55,184,221,.12); color: #bfeafa; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
h1, h2, h3 { line-height: 1.16; }
h1, h2 { letter-spacing: -.035em; }
main section { scroll-margin-top: 5.5rem; }
main > section { position: relative; }
main > section:not(:first-child) { border-top: 1px solid rgba(137,166,189,.16); }
main > section h2 { font-weight: 800; }
main > section h2::after {
  content: ''; display: block; width: 3rem; height: 2px; margin: 1rem auto 0; background: #54bfdd;
}
main > section h2.text-left::after { margin-left: 0; }
.op-home-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.7rem; border: 1px solid #668296; border-radius: 1rem; background: #1b3448; }
.op-home-link h2 { margin: .2rem 0 .5rem; font-size: 1.5rem; color: #f7f4ed; }
.op-home-link h2::after { display: none; }
.op-home-link p { max-width: 40rem; color: #c1d0dd; font-size: .9rem; }
.op-home-link .btn { flex: none; padding: .8rem 1rem; border-radius: .65rem; }
@media (max-width: 640px) { .op-home-link { flex-direction: column; align-items: stretch; } .op-home-link .btn { text-align: center; } }

/* Shared header: the native details element keeps mobile navigation keyboard operable. */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(172,198,217,.18); background: rgba(11,27,45,.94); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: 72rem; min-height: 4.5rem; margin: 0 auto; padding: .75rem 1rem; }
.site-brand { display: inline-flex; align-items: center; gap: .5rem; flex: none; min-width: 0; color: #f6f1e7; font-weight: 700; text-decoration: none; }
.site-brand__mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border: 1px solid rgba(172,198,217,.28); border-radius: .75rem; background: rgba(255,255,255,.05); }
.site-brand__mark img { display: block; width: 1.25rem; height: 1.25rem; object-fit: contain; filter: invert(1); }
.site-brand__name { display: block; font-size: .9rem; line-height: 1.25; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: .8rem; white-space: nowrap; }
.site-nav a { color: #c1d0dd; font-size: .81rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav a[aria-current="location"] { color: #fff; }
.site-header__actions { display: flex; align-items: center; gap: .55rem; flex: none; }
.site-header__cta { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .65rem .95rem; border-radius: .65rem; background: #39badd; color: #0d2635; font-size: .83rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.cta-short { display: none; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: flex; align-items: center; justify-content: center; gap: .4rem; min-width: 2.65rem; min-height: 2.65rem; border: 1px solid #597083; border-radius: .65rem; color: #f7f5ee; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav__icon { font-size: 1.25rem; line-height: 1; }
.mobile-nav[open] .mobile-nav__icon { font-size: 0; }
.mobile-nav[open] .mobile-nav__icon::after { content: '×'; font-size: 1.5rem; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .85rem); display: grid; min-width: 13rem; padding: .45rem; border: 1px solid #5e788d; border-radius: .9rem; background: #172d43; box-shadow: 0 16px 38px rgba(0,0,0,.4); }
.mobile-nav nav a { padding: .7rem .85rem; border-radius: .5rem; color: #f5f4ef; font-size: .9rem; }
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { background: #29465c; }
.mobile-nav nav a[aria-current="page"], .mobile-nav nav a[aria-current="location"] { color: #8fe3f6; }

/* Hero imagery keeps the complete printed products in view. */
.hero-section { padding: 4.1rem 0 4.8rem; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-copy { min-width: 0; }
.section-kicker { margin-bottom: 1.25rem; color: #89d7ed; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker span { margin: 0 .25rem; color: #e7dfd2; }
.hero-copy h1 { max-width: 12ch; color: #f9f6ed; font-size: clamp(3rem, 4.6vw, 4.6rem); font-weight: 800; line-height: 1.08; }
.hero-copy h1 em { color: #c9eaf3; font-family: 'IBM Plex Serif', Georgia, serif; font-size: .88em; font-weight: 500; font-style: italic; }
.hero-copy > p:not(.section-kicker) { max-width: 34rem; font-size: 1.03rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.35rem; margin-top: 2rem; }
.hero-actions__primary { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3rem; padding: .78rem 1.1rem; border-radius: .65rem; }
.hero-actions__secondary { display: inline-flex; align-items: center; gap: .45rem; min-height: 3rem; color: #f0eee6; font-weight: 700; text-decoration: underline; text-decoration-color: #5c8297; text-underline-offset: .4rem; }
.hero-actions__secondary:hover { color: #8bdff3; }
.hero-gallery { display: grid; grid-template-columns: 1.17fr .83fr; align-items: end; gap: .8rem; min-width: 0; padding: 1rem; border: 1px solid rgba(211,222,225,.25); border-radius: 1rem; background: #e7e1d5; box-shadow: 12px 14px 0 rgba(6, 20, 35, .35); }
.hero-gallery figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #cabfb0; background: #f2ede3; }
.hero-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #e9e2d6; }
.hero-gallery figcaption { display: flex; justify-content: space-between; gap: .4rem; padding: .62rem .72rem; border-top: 1px solid #cabfb0; color: #20384b; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero-gallery figcaption span { color: #637482; white-space: nowrap; }

/* The home-page still life stays in its complete 3:2 frame on every screen. */
.hero-gallery.hero-gallery--composition {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  background: #142338;
  box-shadow: 0 20px 55px rgba(4, 12, 23, .18);
}
.hero-gallery--composition .hero-gallery__main {
  border: 0;
  border-radius: inherit;
  background: transparent;
}
.hero-gallery--composition .hero-gallery__main img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: transparent;
}

/* Open, content-sized product cards. */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; gap: 1rem; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #c6beaf; border-radius: .8rem; background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.product-card__media { display: block; overflow: hidden; aspect-ratio: 1; background: #ddd7cd; }
.product-card__media img { display: block; width: 96%; height: 96%; margin: 2%; object-fit: contain; transition: transform .35s ease; }
.product-card__media:hover img { transform: scale(1.02); }
.product-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.3rem; }
.product-card__eyebrow { color: #29637a; font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-card h3 { margin: 0; color: #14283b; font-size: 1.32rem; font-weight: 800; line-height: 1.25; }
.product-card h3 a:hover, .product-card__link:hover { color: #057ea4; text-decoration: underline; text-underline-offset: .2rem; }
.product-card__description { margin: 0; color: #374c5a; font-size: .85rem; line-height: 1.6; }
.product-card__details { display: grid; gap: .42rem; width: 100%; margin: .15rem 0 0; padding: .78rem 0; border-top: 1px solid #c8c0b3; border-bottom: 1px solid #c8c0b3; list-style: none; }
.product-card__details li { position: relative; padding-left: 1.1rem; color: #314655; font-size: .76rem; line-height: 1.4; }
.product-card__details li::before { content: ''; position: absolute; left: 0; top: .49rem; width: .42rem; height: .42rem; border-radius: 50%; background: #188db1; }
.product-card__note { margin: 0; color: #3e5868; font-size: .73rem; font-weight: 700; }
.product-card__actions { display: grid; gap: .55rem; width: 100%; margin-top: auto; padding-top: .3rem; }
.product-card__link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.45rem; color: #195a70; font-size: .82rem; font-weight: 800; }
.product-card__button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; width: 100%; padding: .65rem .85rem; border-radius: .55rem; font-size: .8rem; line-height: 1.25; }

/* Contact information and the original Yandex widget share one section. */
.contacts-section { padding: 4rem 0; }
.contacts-section__heading { margin-bottom: 1.8rem; }
.contacts-section__heading h2 { color: #f6f1e7; font-size: clamp(2rem, 3vw, 2.8rem); }
.contacts-section__heading h2::after { margin-left: 0; }
.contacts-section__heading > p { margin-top: .9rem; color: #c1d0dd; }
.contacts-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 1rem; }
.contacts-details { display: grid; align-content: center; gap: 0; padding: 1.4rem 1.6rem; border: 1px solid rgba(169,192,208,.3); border-radius: .8rem; background: #1b3147; }
.contacts-details > div { display: grid; gap: .4rem; padding: 1rem 0; }
.contacts-details > div + div { border-top: 1px solid rgba(197,216,226,.2); }
.contacts-details span { color: #a7c8d6; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contacts-details a { color: #f8f6ef; font-size: clamp(.97rem, 1.4vw, 1.2rem); font-weight: 700; overflow-wrap: anywhere; }
.contacts-details a:hover { color: #8bdff3; }
.contacts-map { min-width: 0; overflow: hidden; border: 1px solid rgba(169,192,208,.3); border-radius: .8rem; background: #e4e1db; }
.contacts-map iframe { width: 100%; max-width: 100%; }

/* The order form and pickup options follow the existing dark card style. */
.order-form { text-align: left; min-width: 0; }
.order-form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.order-form__field { display: grid; gap: .45rem; min-width: 0; color: #f6f1e7; font-size: .88rem; font-weight: 700; }
.order-form__field input:not([type="file"]), .order-form__field textarea { display: block; width: 100%; min-width: 0; padding: .75rem .9rem; border: 1px solid rgba(169,192,208,.3); border-radius: .85rem; background: rgba(0,0,0,.2); color: #fff; font-size: 1rem; font-weight: 400; outline: none; }
.order-form__field textarea { min-height: 5rem; resize: vertical; }
.order-form__field input::placeholder, .order-form__field textarea::placeholder { color: #a7b9c4; opacity: 1; }
.order-form__field input:focus, .order-form__field textarea:focus { border-color: #39badd; box-shadow: 0 0 0 2px rgba(57,186,221,.25); }
.order-form__field input[type="file"] { display: block; width: 100%; min-width: 0; padding: .7rem; border: 1px dashed rgba(169,192,208,.55); border-radius: .85rem; background: rgba(0,0,0,.2); color: #c1d0dd; font-size: .85rem; cursor: pointer; }
.order-form__field input[type="file"]::file-selector-button { min-height: 2.5rem; margin-right: .8rem; padding: .4rem .85rem; border: 0; border-radius: .65rem; background: #39badd; color: #0d2635; font-weight: 800; cursor: pointer; }
.order-form__hint, .order-form__filename { margin: 0; color: #b8cbd8; font-size: .78rem; font-weight: 400; line-height: 1.5; }
.order-form__filename { color: #f6f1e7; overflow-wrap: anywhere; }
.order-form__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.order-form__consent { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; color: #c1d0dd; font-size: .86rem; line-height: 1.5; }
.order-form__consent input { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; margin-top: .1rem; accent-color: #39badd; cursor: pointer; }
.order-form__consent label { min-width: 0; }
.order-form__consent a, .order-info__channels a, .order-delivery__card a { color: #a4e6f6; text-decoration: underline; text-underline-offset: .2rem; }
.order-form__submit { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; width: 100%; padding: .8rem 1.2rem; border: 0; border-radius: .85rem; font-size: 1rem; font-weight: 800; cursor: pointer; }
.order-form__submit:disabled { cursor: wait; opacity: .72; transform: none; }
.order-form__status { min-height: 1.5rem; margin: 0; font-size: .86rem; line-height: 1.5; text-align: center; }
.order-form__status[data-state="error"] { color: #ffb4ab; }
.order-form__status[data-state="success"] { color: #a6ecc5; }
.order-info__heading { margin-bottom: 1.25rem; }
.order-info__heading h2 { color: #f6f1e7; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.order-info__heading h2::after { margin-left: 0; }
.order-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: order-step; }
.order-steps li { min-width: 0; padding: 1rem; border: 1px solid rgba(169,192,208,.3); border-radius: .8rem; background: #1b3147; color: #e7f0f4; font-size: .84rem; line-height: 1.5; counter-increment: order-step; }
.order-steps li::before { display: block; margin-bottom: .45rem; color: #89d7ed; font-weight: 800; content: counter(order-step, decimal-leading-zero); }
.order-info__channels { margin: 1.1rem 0 0; color: #c1d0dd; font-size: .9rem; line-height: 1.6; }
.order-delivery__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.order-delivery__card { min-width: 0; padding: 1.4rem 1.6rem; border: 1px solid rgba(169,192,208,.3); border-radius: .8rem; background: #1b3147; }
.order-delivery__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; margin-bottom: .7rem; border-radius: .7rem; background: rgba(57,186,221,.16); color: #89d7ed; font-size: 1.5rem; font-weight: 800; }
.order-delivery__card h3 { margin: 0 0 .65rem; color: #f6f1e7; font-size: 1.25rem; font-weight: 800; }
.order-delivery__card p { margin: .5rem 0 0; color: #c1d0dd; font-size: .88rem; line-height: 1.6; overflow-wrap: anywhere; }

/* Services keep their content and use the same editorial rhythm. */
main > section:first-child:not(.hero-section) { padding-top: 2.6rem; }
main > section:first-child:not(.hero-section) h1 { color: #f7f3ea; font-size: clamp(2.1rem, 3vw, 3.2rem); font-weight: 800; }
.service-image.service-image { background: #eae5da; border-color: #d1c5b6; }
.service-image img { display: block; width: 100%; height: 25rem; object-fit: contain; border-radius: .7rem; }
.service-image--landscape img { height: auto; }
main > section:first-child:not(.hero-section) nav { color: #b8cbd8; }
main > section:not(.hero-section) h2 { color: #f6f1e7; }
main > section.mt-6 h2::after { margin-left: 0; }
footer a:hover { color: #8bdff3; }

@media (max-width: 1150px) {
  .site-nav { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .order-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .site-header__inner { min-height: 3.9rem; padding-top: .55rem; padding-bottom: .55rem; }
  .mobile-nav__label { display: none; }
  .hero-section { padding: 2.4rem 0 3.2rem; }
  .hero-layout { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .hero-copy h1 { font-size: clamp(2.7rem, 9vw, 3.8rem); }
  .contacts-layout { grid-template-columns: 1fr; }
  .order-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 639px) {
  .site-brand__name { max-width: 8rem; font-size: .75rem; }
  .site-brand__mark { width: 1.9rem; height: 1.9rem; }
  .site-header__actions { gap: .4rem; }
  .site-header__cta { padding: .6rem .7rem; font-size: .75rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .mobile-nav summary { min-width: 2.4rem; min-height: 2.4rem; }
  .hero-copy > p:not(.section-kicker) { font-size: .94rem; line-height: 1.6; }
  .hero-actions { gap: .6rem 1rem; margin-top: 1.4rem; }
  .hero-actions__primary { min-height: 2.7rem; padding: .65rem .85rem; font-size: .82rem; }
  .hero-actions__secondary { min-height: 2.7rem; font-size: .82rem; }
  .hero-gallery { gap: .45rem; padding: .5rem; box-shadow: 6px 7px 0 rgba(6,20,35,.35); }
  .hero-gallery figcaption { padding: .45rem; font-size: .54rem; }
  .hero-gallery figcaption span { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .service-image:not(.service-image--landscape) img { height: min(23rem, 85vw); }
  .contacts-section { padding: 3rem 0; }
  .order-form__row, .order-delivery__grid, .order-steps { grid-template-columns: minmax(0,1fr); }
  .order-delivery__card { padding: 1.15rem; }
  .order-form__field input[type="file"]::file-selector-button { display: block; margin: 0 0 .55rem; }
  .contacts-map iframe, .contacts-map #yandexMap { height: 17rem; }
  main > section:first-child:not(.hero-section) { padding-top: 1.8rem; }
}
@media (max-width: 360px) {
  .site-header__inner { gap: .5rem; }
  .site-brand__name { max-width: 6.3rem; font-size: .64rem; }
  .site-header__actions { gap: .25rem; }
  .site-header__cta { padding: .55rem .45rem; }
  .hero-copy h1 { font-size: 2.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
