/* ALEVTINA SP Z O O — "Market hall editorial" design */

:root {
  --paper: #F3EEE4;
  --paper-2: #E9E1D0;
  --ink: #1B1F1D;
  --ink-soft: #4A524E;
  --green: #1F4D3A;
  --green-dark: #163A2B;
  --saffron: #E8B23A;
  --terracotta: #D9532B;
  --line: rgba(27, 31, 29, .16);
  --radius: 4px;
  --container: 1280px;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Awning stripe */
.awning {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--green) 0 36px, var(--paper) 36px 72px);
}
.awning.flip { background: repeating-linear-gradient(90deg, var(--saffron) 0 36px, var(--green-dark) 36px 72px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 228, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--green); color: var(--saffron);
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  border-radius: var(--radius);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; }
.brand-text small { font-size: 11px; letter-spacing: .28em; color: var(--ink-soft); font-weight: 700; }
.brand.light .brand-text small { color: rgba(243,238,228,.7); }
.brand.light .brand-mark { background: var(--saffron); color: var(--green-dark); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--terracotta); transition: width .25s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--terracotta); color: #fff;
  padding: 15px 28px; border: 2px solid var(--terracotta);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: transform .2s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(217, 83, 43, .28); background: #bf4421; border-color: #bf4421; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 10px 20px; font-size: 14px; color: #fff !important; }
.btn-full { width: 100%; }

/* Hero */
.hero { padding: 72px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 26px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); font-weight: 800; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--terracotta); background: linear-gradient(transparent 68%, rgba(232,178,58,.55) 68%); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; color: var(--ink-soft); }
.hero-meta span { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 17px; }

.hero-visual { position: relative; }
.stall-panel { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 14px 14px 0 var(--green); }
.stall-panel svg { width: 100%; height: auto; }
.float-card {
  position: absolute; left: -34px; bottom: 34px;
  background: var(--saffron); border: 2px solid var(--ink);
  padding: 16px 22px; display: flex; flex-direction: column; line-height: 1.35;
  border-radius: var(--radius); animation: bob 5s ease-in-out infinite;
}
.float-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.float-card strong { font-family: var(--font-display); font-size: 19px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker-track span:nth-child(even) { color: var(--saffron); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; }
.section-tag { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 18px; }
.section-tag.light { color: var(--saffron); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px 80px; align-items: start; }
.about-head h2 { margin-bottom: 34px; }
.about-quote { border-left: 6px solid var(--saffron); padding: 6px 0 6px 24px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; font-weight: 500; color: var(--green); }
.about-quote p { margin: 0; }
.about-body p { color: var(--ink-soft); }
.about-body p:first-child { font-size: 1.15rem; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); margin-top: 36px; border-radius: var(--radius); }
.stats div { padding: 22px 20px; border-right: 2px solid var(--ink); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--green); margin-bottom: 8px; }
.stats span { font-size: 14px; color: var(--ink-soft); line-height: 1.4; display: block; }

.facts { grid-column: 1 / -1; background: var(--paper-2); border-radius: var(--radius); padding: 38px 44px; margin-top: 30px; }
.facts h3 { font-size: 1.4rem; margin-bottom: 20px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; }
.facts a { color: var(--green); font-weight: 700; }

/* Services */
.services { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center;
  padding: 34px 20px; border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding-left .25s ease;
}
.service:hover { background: var(--paper); padding-left: 34px; }
.service-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--saffron); -webkit-text-stroke: 1px var(--ink); }
.service h3 { font-size: 1.65rem; margin-bottom: 8px; }
.service p { margin: 0; color: var(--ink-soft); max-width: 720px; }
.service-code { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--green); color: var(--green); padding: 7px 14px; border-radius: 100px; white-space: nowrap; }

/* Benefits */
.benefits { background: var(--green); color: var(--paper); }
.benefits-top { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 56px; }
.benefits-top h2 { max-width: 640px; }
.benefits-top > p { max-width: 380px; color: rgba(243,238,228,.8); margin: 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.benefit { grid-column: span 2; border: 1.5px solid rgba(243,238,228,.35); padding: 32px 30px; border-radius: var(--radius); transition: background .25s, transform .25s, border-color .25s; }
.benefit:hover { background: var(--green-dark); transform: translateY(-5px); border-color: var(--saffron); }
.benefit.big { grid-column: span 4; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.benefit.big:hover { background: #fff; border-color: var(--saffron); }
.benefit.big p { color: var(--ink-soft); }
.benefit.wide { grid-column: span 6; display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 20px 30px; align-items: center; }
.benefit.wide h3, .benefit.wide p, .benefit.wide .b-num { margin: 0; }
.b-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--saffron); color: var(--ink); font-family: var(--font-display); font-weight: 800; margin-bottom: 20px; }
.benefit h3 { font-size: 1.5rem; margin-bottom: 12px; }
.benefit p { margin: 0; color: rgba(243,238,228,.8); font-size: 16px; }

/* Approach */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.approach-visual { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.approach-visual svg { width: 100%; height: auto; }
.tag-chip { position: absolute; left: 18px; top: 18px; background: var(--saffron); border: 2px solid var(--ink); padding: 6px 14px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--radius); }
.approach-copy h2 { margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--saffron); font-family: var(--font-display); font-weight: 800; border-radius: 50%; }
.steps h3 { font-size: 1.3rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.c-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.contact-list a { color: var(--green); }

.contact-form { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 40px; box-shadow: 12px 12px 0 var(--saffron); }
.contact-form h3 { font-size: 1.7rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 77, 58, .18); background: #fff; }
textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: var(--terracotta); }
.error { display: block; color: #b3391a; font-size: 13px; min-height: 0; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.consent input { margin-top: 5px; accent-color: var(--green); }
.consent-error { margin-bottom: 14px; }
.form-status { margin: 16px 0 0; font-weight: 700; color: var(--green); }
.form-status.err { color: #b3391a; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding: 70px 0 50px; }
.footer-brand p { color: rgba(243,238,228,.7); max-width: 360px; margin-top: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; color: rgba(243,238,228,.78); font-size: 15px; }
.footer-col h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); margin-bottom: 8px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(243,238,228,.18); padding: 22px 0 30px; font-size: 14px; color: rgba(243,238,228,.6); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-left: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .benefit { grid-column: span 3; }
  .benefit.big { grid-column: span 6; }
  .benefit.wide { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 460px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-cta { margin: 16px 24px 20px; text-align: center; }
  .service { grid-template-columns: 60px 1fr; }
  .service-code { grid-column: 2; justify-self: start; }
  .benefits-top { flex-direction: column; align-items: start; gap: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 76px 0; }
  .hero { padding: 44px 0 64px; }
  .float-card { left: -8px; bottom: 16px; padding: 12px 16px; }
  .stall-panel { box-shadow: 8px 8px 0 var(--green); }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stats div:last-child { border-bottom: 0; }
  .facts { padding: 28px 24px; }
  .facts dl { grid-template-columns: 1fr; }
  .benefit, .benefit.big, .benefit.wide { grid-column: span 6; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; box-shadow: 8px 8px 0 var(--saffron); }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 50px 0 36px; }
  .service { padding: 26px 8px; gap: 16px; }
  .service-num { font-size: 2rem; }
  .service h3 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .float-card { animation: none; }
}
