/* Павильон 46 — сайт. Цвета и вид — как на прежнем сайте на Тильде. */
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-cyrillic-500.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-cyrillic-600.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --yellow: #ffd552;
  --ink: #000;
  --text: #222;
  --muted: #555;
  --grey: #f2f2f2;
  --white: #fff;
  --radius: 14px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Jost", "Futura", "Century Gothic", Arial, sans-serif; color: var(--text); background: var(--white);
       font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.4vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.grey { background: var(--grey); }
.center { text-align: center; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); font-weight: 400; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 60px; padding: 0 42px;
       border-radius: 60px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500;
       font-size: 17px; border: 2px solid var(--ink); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); border-radius: 8px; }
.btn-ghost { background: transparent; color: var(--ink); }

/* header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px);
          border-bottom: 1px solid #eee; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 17px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.header .btn { min-height: 46px; padding: 0 24px; font-size: 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--muted); font-weight: 500; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.tile { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center;
        justify-content: center; text-align: center; padding: 28px; color: var(--white); font-size: clamp(20px, 1.9vw, 24px);
        font-weight: 500; background-color: #333; background-position: center; background-size: cover; background-repeat: no-repeat; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.52); z-index: -1; }
.tile-yellow { background: var(--yellow); color: var(--ink); }
.tile-yellow::before { display: none; }
.tile-yellow b { display: block; font-size: clamp(56px, 6vw, 84px); line-height: 1; font-weight: 600; margin-bottom: 12px; }

.tile-order { background-image: url("../img/tile-order.webp"); }
.tile-support { background-image: url("../img/tile-support.webp"); }
.tile-storage { background-image: url("../img/tile-storage.webp"); }
.tile-assortment { background-image: url("../img/tile-assortment.webp"); }
.tile-commission { background-image: url("../img/tile-commission.webp"); }
.page-hero-prices { background-image: url("../img/prices-hero.webp"); }

/* stores */
.stores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 40px 0; }
.store { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; background: var(--white); border-radius: var(--radius);
         border: 1px solid #e6e6e6; padding: 18px; text-decoration: none; font-weight: 600; font-size: 20px; transition: box-shadow .15s ease; }
.store:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.store img { max-height: 70px; width: auto; object-fit: contain; }

/* steps */
.steps { list-style: none; padding: 0; margin: 48px auto 0; max-width: 820px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 28px; margin-bottom: 44px; counter-increment: step; }
.steps li::before { content: counter(step); width: 64px; height: 64px; border-radius: 50%; background: #222; color: var(--white);
                    display: flex; align-items: center; justify-content: center; font-size: 22px; }
.steps h3 { margin-top: 10px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.price { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid #e6e6e6; display: flex; flex-direction: column; }
.grey .price { border-color: transparent; }
.price .name { font-size: 20px; font-weight: 500; color: var(--ink); }
.price .note { font-size: 15px; color: var(--muted); margin-top: 6px; }
.price .value { font-size: 34px; font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 18px; }
.price .value small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); }
.prices-2 { grid-template-columns: repeat(2, 1fr); }

/* cta */
.cta { background: var(--yellow); text-align: center; }
.cta h2, .cta p { color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.cta p { font-size: clamp(18px, 1.6vw, 22px); max-width: 680px; margin: 0 auto 28px; }
.arrow { font-size: 44px; color: var(--white); line-height: 1; margin-bottom: 24px; }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.contacts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; }
.socials { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.map-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.map-card .addr { font-size: 22px; color: var(--ink); font-weight: 500; }

/* page hero (prices page) */
.page-hero { min-height: 320px; display: flex; align-items: flex-end; background-color: #333; background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.6)); z-index: -1; }
.page-hero h1 { color: var(--white); padding: 56px 0; margin: 0; }

/* footer */
.footer { background: #111; color: #bbb; padding: 40px 0; font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer a { color: #fff; }

/* mobile */
@media (max-width: 900px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: block; }
  .header.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
                      border-bottom: 1px solid #eee; padding: 8px 20px 20px; }
  .header.open .nav a { padding: 14px 0; border-bottom: 1px solid #f2f2f2; font-size: 19px; }
  .hero .wrap, .about, .contacts { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .prices, .prices-2 { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 52px 1fr; gap: 18px; }
  .steps li::before { width: 52px; height: 52px; }
  .cta .btn { width: 100%; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .store { transition: none; } }
