/* RAVENOL Ufa — Django storefront. Tokens, layout, components, responsive states. */
:root {
  --ink: #142a37;
  --muted: #67747b;
  --paper: #ffffff;
  --surface: #f2f4f3;
  --line: #dde3e3;
  --yellow: #ffdc19;
  --dark: #102331;
  --body-font: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --display-font: 'Bahnschrift', 'Arial Narrow', 'Trebuchet MS', sans-serif;
  --container: 1264px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--body-font); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button { border: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display-font); line-height: 1.1; font-weight: 650; }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.4rem; letter-spacing: -.025em; }
a, button { transition: color .2s, background .2s, border-color .2s, transform .2s; }
:focus-visible { outline: 3px solid #2878b8; outline-offset: 5px; }
::selection { color: var(--ink); background: var(--yellow); }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 96px; }
.eyebrow { font-size: .75rem; letter-spacing: .13em; font-weight: 700; line-height: 1.5; }
.muted { color: #829095; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--yellow); padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-block; flex-shrink: 0; color: #12356d; font: italic 900 2rem/1 var(--display-font); letter-spacing: -.075em; }
.wordmark::first-letter { letter-spacing: -.09em; }
.wordmark span { display: block; margin-top: 7px; border-top: 3px solid var(--yellow); padding-top: 7px; font: 700 .625rem/1 var(--body-font); letter-spacing: .13em; }
.desktop-nav { display: flex; gap: 30px; font-size: .875rem; }
.desktop-nav a { position: relative; padding-block: 12px; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-phone { display: flex; align-items: center; gap: 14px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.header-phone span { color: #819096; font-size: 1.3rem; }
.mobile-menu { display: none; }
.hero { min-height: 610px; min-height: min(700px, calc(100svh - 88px)); position: relative; isolation: isolate; background: var(--dark); color: white; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo { object-fit: cover; object-position: center 58%; animation: photo-arrive 1.1s ease-out both; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(5 21 32 / 96%) 0%, rgb(5 21 32 / 82%) 34%, rgb(5 21 32 / 20%) 76%), linear-gradient(0deg, rgb(5 21 32 / 65%), transparent 45%); }
.hero-content { padding-block: 66px 92px; animation: content-arrive .7s ease-out both; }
.hero .eyebrow { display: flex; align-items: center; gap: 13px; color: #ced9dc; }
.accent-line { height: 2px; width: 28px; background: var(--yellow); }
.hero h1 { margin-top: 29px; font-size: clamp(1.8rem, 3.1vw, 3rem); letter-spacing: -.04em; }
.hero-brand { display: block; color: var(--yellow); font-size: clamp(4.5rem, 9.4vw, 9rem); line-height: .94; font-weight: 900; font-style: italic; letter-spacing: -.065em; margin-bottom: 19px; }
.hero-description { max-width: 460px; margin: 24px 0 30px; color: #c2ced2; font-size: 1rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 16px 24px; min-height: 54px; font-size: .875rem; font-weight: 700; border-radius: 2px; }
.button span { font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.button:hover span { transform: translate(3px, -3px); }
.button-yellow { background: var(--yellow); color: var(--dark); }
.button-yellow:hover { background: #ffe64c; }
.button-dark { background: var(--dark); color: white; }
.button-dark:hover { background: #244455; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; position: absolute; bottom: 24px; left: 0; right: 0; color: #b8c6cb; font-size: .75rem; letter-spacing: .08em; }
.hero-bottom a { display: flex; gap: 20px; align-items: center; }
.hero-bottom a span { font-size: 1.25rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading h2, .about h2, .business h2 { margin-top: 20px; }
.section-heading > p { color: var(--muted); line-height: 1.8; max-width: 370px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding-block: 19px; font-size: .875rem; margin-bottom: 28px; }
.catalog-toolbar > span { font-weight: 700; }
.catalog-toolbar a { color: var(--muted); }
.catalog-toolbar a:hover, .text-link:hover { color: #276c99; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.product-visual { position: relative; background: var(--surface); height: 300px; padding: 40px 30px 24px; overflow: hidden; }
.product-visual > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.product-card:hover .product-visual > img { transform: scale(1.045); }
.product-label { position: absolute; z-index: 1; top: 17px; left: 20px; color: #6a797e; font-size: .625rem; letter-spacing: .12em; }
.product-body { padding-block: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { overflow-wrap: anywhere; font-size: 1.45rem; line-height: 1.25; }
.product-description { margin: 13px 0 25px; color: var(--muted); font-size: .875rem; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.product-bottom { margin-top: auto; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.product-price { font: 600 1.5rem/1.3 var(--display-font); }
.product-price span { color: var(--muted); font-size: 1.1rem; }
.product-inquiry { display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.product-inquiry:hover { color: #276c99; border-color: #276c99; }
.product-placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.product-placeholder > span { font: italic 800 6rem/1 var(--display-font); color: #c7d0d1; }
.placeholder-dot { color: #b8c4c5; }
.product-placeholder p { color: var(--muted); font-size: .75rem; margin-top: 12px; }
.catalog-note { color: var(--muted); font-size: .75rem; margin-top: 24px; }
.catalog-empty { grid-column: 1 / -1; padding: 48px; background: var(--surface); display: flex; align-items: center; gap: 55px; }
.empty-mark { color: #cad3d3; font: italic 800 8rem/1 var(--display-font); }
.catalog-empty h3 { font-size: 2rem; }.catalog-empty p { color: var(--muted); max-width: 570px; margin: 14px 0 24px; }
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-copy { padding-top: 14px; }.about-copy .lead { font-size: 1.35rem; line-height: 1.6; color: var(--ink); }
.about-copy > p { margin-bottom: 24px; color: var(--muted); }
.text-link { display: inline-flex; gap: 20px; align-items: center; font-size: .875rem; font-weight: 700; }
.text-link span { font-size: 1.3rem; }
.business { color: white; background: var(--dark); }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.business .eyebrow { color: var(--yellow); }.business h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.business-grid > div > p:not(.eyebrow) { color: #bdccd2; margin-bottom: 27px; max-width: 470px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; padding-top: 10px; align-items: start; }
.large-phone { font: 650 clamp(1.45rem, 2.5vw, 2.2rem)/1.3 var(--display-font); white-space: nowrap; }
.contact-email { display: flex; gap: 20px; align-items: center; margin-top: 12px; color: var(--muted); }
.address-block { margin-top: 40px; }.address-block .eyebrow { color: var(--muted); }.address-block h3 { font-size: 1.25rem; margin-top: 16px; }.address-block p { color: var(--muted); margin: 12px 0 18px; font-size: .875rem; line-height: 1.9; }
.request-form { padding: 32px; border: 1px solid var(--line); background: white; scroll-margin-top: 110px; }.request-form h3 { font-size: 1.6rem; }.request-form > p { color: var(--muted); font-size: .875rem; margin: 10px 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }label { display: block; font-size: .875rem; }
input:not([type=checkbox]):not([type=hidden]), textarea { display: block; width: 100%; margin: 8px 0 19px; border: 1px solid var(--line); background: #f8f9f8; border-radius: 2px; color: var(--ink); padding: 12px; font-size: 1rem; min-width: 0; }
textarea { resize: vertical; min-height: 110px; }input::placeholder, textarea::placeholder { color: #829094; font-size: .875rem; }
.consent { display: flex; align-items: start; gap: 10px; font-size: .75rem; color: var(--muted); margin-bottom: 24px; }.consent input { margin: 3px 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--ink); }.consent a { text-decoration: underline; text-underline-offset: 3px; }
.request-form .button { width: 100%; }#form-status { display: block; color: var(--ink); font-size: .875rem; margin-top: 14px; }#form-status:empty { display: none; }
.messenger-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: 64px 0 24px; }.messenger-heading h3 { font-size: 1.4rem; }.messenger-heading > span { color: var(--muted); font-size: .875rem; }
.messengers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.messenger { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 28px 22px; border-right: 1px solid var(--line); }.messenger:first-child { padding-left: 0; }.messenger:last-child { border: 0; padding-right: 0; }.messenger .eyebrow { font-size: .625rem; color: var(--muted); letter-spacing: .09em; }.messenger h3 { margin-top: 12px; font-size: 1.3rem; }.messenger-copy > p:not(.eyebrow) { margin: 5px 0 18px; color: var(--muted); font-size: .75rem; }.messenger .text-link { font-size: .75rem; gap: 0; }
.qr { display: flex; align-items: center; justify-content: center; flex: 0 0 112px; height: 124px; padding: 5px; background: white; border: 1px solid #edf0ef; }.qr img { width: 100%; height: 100%; object-fit: contain; }.qr:hover { border-color: var(--ink); }
.privacy { margin-top: 24px; color: var(--muted); font-size: .75rem; }.privacy p { margin-top: 12px; max-width: 800px; }
.site-footer { background: var(--surface); }.footer-top { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }.footer-top > p { color: var(--muted); font-size: .75rem; }.footer-top > a:last-child { font-size: .875rem; }.footer-bottom { padding-block: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .75rem; }
@keyframes content-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-arrive { from { opacity: .5; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (min-width: 1500px) { .hero-photo { object-position: center 54%; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }.desktop-nav { gap: 18px; }.header-phone { font-size: .8125rem; gap: 7px; }.header-inner { gap: 20px; }.wordmark { font-size: 1.8rem; }.section { padding-block: 72px; }.products-grid { gap: 22px; }.product-visual { height: 250px; }.about-grid, .business-grid { gap: 55px; }.contact-grid { gap: 40px; }.form-row { grid-template-columns: 1fr; gap: 0; }.messenger { padding-inline: 15px; flex-direction: column; align-items: start; }.qr { flex-basis: auto; width: 135px; height: 140px; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 76px; }.desktop-nav { display: none; }.header-phone { margin-left: auto; }.mobile-menu { display: block; }.mobile-menu summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; }.mobile-menu summary::-webkit-details-marker { display: none; }.menu-lines { width: 22px; height: 12px; border-block: 2px solid var(--ink); }.mobile-menu[open] .menu-lines { transform: rotate(-45deg); }.mobile-menu nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; padding: 20px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px #10233112; }.mobile-menu a { padding: 11px 0; }.hero { min-height: 560px; }.hero-content { padding-block: 65px 95px; }.hero-photo { object-position: 62% center; }.hero-shade { background: linear-gradient(90deg, #061822eb, #06182280), linear-gradient(0deg, #06182280, transparent); }.hero-brand { font-size: 6rem; }.section-heading { align-items: start; gap: 28px; }.section-heading > p { max-width: 280px; font-size: .875rem; }.catalog-toolbar { font-size: .8125rem; }.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.about-grid, .business-grid { gap: 32px; }.contact-grid { gap: 28px; }.request-form { padding: 24px; }.large-phone { white-space: normal; }.messenger-heading { align-items: start; }.messenger-heading > span { max-width: 220px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 94px; }.container { width: calc(100% - 36px); }.section { padding-block: 54px; }.wordmark { font-size: 1.65rem; }.wordmark span { font-size: .5rem; }.header-inner { gap: 12px; }.header-phone { font-size: .75rem; }.header-phone span { display: none; }.mobile-menu summary { width: 34px; }.hero { min-height: 570px; }.hero-content { padding-block: 55px 110px; }.hero-brand { font-size: clamp(3.8rem, 16vw, 5.8rem); }.hero h1 { font-size: 1.8rem; }.hero .eyebrow { font-size: .625rem; letter-spacing: .09em; }.hero-description { max-width: 340px; font-size: .9375rem; }.hero-photo { object-position: 68% center; }.hero-bottom { font-size: .625rem; gap: 20px; }.hero-bottom > span { max-width: 155px; }.hero-bottom a { gap: 10px; }.section-heading { display: block; margin-bottom: 28px; }.section-heading > p { margin-top: 24px; max-width: none; font-size: 1rem; }.wide-only { display: none; }.catalog-toolbar { align-items: start; flex-direction: column; gap: 12px; }.products-grid { grid-template-columns: 1fr; gap: 30px; }.product-visual { height: 300px; }.catalog-empty { padding: 30px 24px; display: block; }.empty-mark { display: none; }.catalog-empty h3 { font-size: 1.7rem; }.about-grid, .business-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }.about-copy { padding: 0; }.about-copy .lead { font-size: 1.2rem; }.business h2 { font-size: 2.8rem; }.large-phone { font-size: 1.9rem; }.address-block { margin-top: 28px; }.request-form { padding: 24px 20px; }.messenger-heading { display: block; margin-top: 40px; }.messenger-heading > span { display: block; max-width: none; margin-top: 10px; }.messengers { grid-template-columns: 1fr; }.messenger, .messenger:first-child, .messenger:last-child { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }.messenger:last-child { border-bottom: 0; }.messenger h3 { font-size: 1.6rem; }.messenger .text-link { font-size: .875rem; }.qr { width: 140px; height: 148px; flex-shrink: 0; }.footer-top { flex-direction: column; align-items: start; gap: 24px; }.footer-bottom { align-items: start; }.footer-bottom > span:nth-child(2) { order: 4; width: 100%; }
}
@media (max-width: 370px) { .header-phone { display: none; }.mobile-menu { margin-left: auto; }.large-phone { font-size: 1.65rem; }.qr { width: 120px; height: 135px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Restored ribbon logo: frame the mark without the image's outer padding. */
.wordmark.wordmark-image { width: 212px; }
.wordmark.wordmark-image img { width: 100%; height: 44px; object-fit: cover; }
.wordmark.wordmark-image span { border-top: 0; padding-top: 0; margin-top: 3px; text-align: center; }
@media (max-width: 1100px) {
  .wordmark.wordmark-image { width: 180px; }
  .wordmark.wordmark-image img { height: 38px; }
}
@media (max-width: 580px) {
  .wordmark.wordmark-image { width: 145px; }
  .wordmark.wordmark-image img { height: 31px; }
}

/* Crop only surrounding screenshot labels; preserve the original QR pixels. */
.messenger .qr {
  width: 144px;
  height: 144px;
  flex: 0 0 144px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.qr-crop {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.qr .qr-crop img {
  position: absolute;
  max-width: none;
  height: auto;
  object-fit: initial;
}
.qr--telegram .qr-crop img {
  width: 111.428571%;
  left: -6.666667%;
  top: -0.476190%;
}
.qr--whatsapp .qr-crop img {
  width: 143.902439%;
  left: -23.414634%;
  top: -38.048780%;
}
.qr--max .qr-crop img {
  width: 100%;
  left: 0;
  top: 0;
}
.messenger .messenger-copy h3 { margin: 0 0 18px; }
@media (max-width: 1100px) and (min-width: 581px) {
  .messenger .qr { flex-basis: auto; }
}
@media (max-width: 370px) {
  .messenger .qr { width: 128px; height: 128px; flex-basis: 128px; }
}

.messenger .chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--dark);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.messenger .chat-button:hover {
  background: #ffe64c;
  border-color: #c7a900;
  transform: translateY(-2px);
}
.messenger .chat-button:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 4px;
}
.messenger .chat-button:active { transform: translateY(0); }
.messenger-copy { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .messenger .chat-button:hover { transform: none; }
}

.request-form button:disabled { opacity: .65; cursor: wait; }


