/* ======= ST-BUD — NOWA WERSJA (Constak-style) ======= */
:root{
  --brand: #ff8000;
  --brand-dark: #e67300;
  --ink: #0f0f0f;
  --ink-2: #1a1a1a;
  --text: #2a2a2a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --stroke: #e5e7eb;
  --navy: #0f1b2d;
  --navy-2: #16263f;
  --radius: 0px;
  --container: 1200px;
  --header-h: 140px;
  --shadow: 0 10px 30px rgba(15,27,45,.08);
  --shadow-lg: 0 18px 50px rgba(15,27,45,.16);
}
*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{
  font-family: Rubik, Inter, system-ui, sans-serif;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
.hero__title, .quote__title, .section__title{ font-weight: 800; }
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,textarea,select{ font: inherit; color: inherit; }
.container{ width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.muted{ color: var(--muted); }
.accent{ color: var(--brand); }
.kicker{
  display:inline-block;
  font-family: Rubik, Inter, sans-serif;
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
  font-weight: 600;
}
.sr-only{ position:absolute; width:1px;height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link{ position:absolute; top:8px; left:8px; padding:10px 14px; background:#000; color:#fff; transform: translateY(-200%); transition: transform .2s; z-index:1000; }
.skip-link:focus{ transform: translateY(0); }

/* ======= BUTTONS ======= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 8px;
  padding: 12px 22px;
  font-family: Rubik, Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor:pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary{ background: var(--brand); color:#fff; border-color: var(--brand); }
.btn--primary:hover{ background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--ghost{ background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover{ background:#fff; color: var(--ink); border-color:#fff; }
.btn--dark{ background: var(--ink); color:#fff; border-color: var(--ink); }
.btn--dark:hover{ background: var(--brand); border-color: var(--brand); }
.btn--lg{ padding: 14px 28px; font-size: 14px; }
.btn--sm{ padding: 8px 16px; font-size: 12px; }

/* ======= HEADER ======= */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:50;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.topbar{ background: linear-gradient(90deg, #131a29 0%, #1a1a22 55%, #2a1f1d 100%); color:#e5e7eb; font-size: 13px; }
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height: 40px; gap: 16px; flex-wrap: wrap;
}
.topbar__left, .topbar__center, .topbar__right{ display:flex; align-items:center; gap: 20px; flex-wrap:wrap; }
.topbar__item{ display:inline-flex; align-items:center; gap:6px; color:#d1d5db; transition: color .15s; }
a.topbar__item:hover{ color: var(--brand); }
.ico{ width:14px; height:14px; }

.nav{ background:#fff; }
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height: 110px; gap: 20px;
}
.brand{ display:flex; align-items:center; flex-shrink: 0; }
.brand__logo{ height: 96px; width:auto; display:block; }
.nav__menu{ flex: 1; display:flex; justify-content:center; }
.nav__list{
  display:flex; gap: 6px; list-style:none; margin:0; padding:0;
  align-items:center;
}
.nav__list > li > a{
  display:inline-block;
  padding: 12px 12px;
  font-family: Rubik, Inter, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .15s;
  white-space: nowrap;
}
.nav__list > li > a:hover{ color: var(--brand); }
.has-dropdown{ position: relative; }
.dropdown{
  position: absolute; top: 100%; left: 0;
  background:#fff; min-width: 240px;
  list-style:none; margin:0; padding: 8px 0;
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a{
  display:block; padding: 10px 18px;
  font-size: 14px; font-family: Inter, sans-serif;
  color: var(--ink); text-transform:none; letter-spacing: 0;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.dropdown li a:hover{ background: var(--bg-soft); color: var(--brand); border-left-color: var(--brand); }
.nav__cta{ display:flex; }
.nav__toggle{
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--stroke);
  position: relative;
}
.nav__toggleBars, .nav__toggleBars::before, .nav__toggleBars::after{
  content:""; position:absolute; left: 10px; right:10px; height: 2px; background: var(--ink);
  transition: transform .2s;
}
.nav__toggleBars{ top: 50%; margin-top: -1px; }
.nav__toggleBars::before{ top: -7px; }
.nav__toggleBars::after{ top: 7px; }

/* ======= HERO SLIDER ======= */
.hero{
  position: relative;
  height: clamp(520px, 78vh, 780px);
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}
.hero__track{ position:absolute; inset:0; }
.hero__slide{
  position:absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s .9s;
}
.hero__slide.is-active{
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease, visibility 0s 0s;
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(10,12,18,.78) 0%, rgba(10,12,18,.5) 55%, rgba(10,12,18,.35) 100%);
}
.hero__inner{
  position: relative;
  height: 100%;
  display:flex; flex-direction:column; justify-content:center;
  max-width: 760px;
  padding: 60px 16px;
}
.hero__lead{
  display:inline-flex; align-items:center; gap: 10px;
  font-family: Rubik, Inter, sans-serif;
  font-size: 14px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.hero__lead::before{
  content:""; width: 36px; height: 2px; background: var(--brand);
}
.hero__title{
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero__sub{
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero__actions{ display:flex; gap: 12px; flex-wrap: wrap; }
.hero__watermark{
  position:absolute; right: -20px; bottom: -30px;
  font-family: Rubik, Inter, sans-serif;
  font-size: clamp(160px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.05);
  -webkit-text-stroke: 2px rgba(255,255,255,.12);
  color: transparent;
  pointer-events: none;
  line-height: 1;
}
.hero__arrow{
  position:absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 32px; line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: all .2s;
}
.hero__arrow:hover{ background: var(--brand); border-color: var(--brand); }
.hero__arrow--prev{ left: 20px; }
.hero__arrow--next{ right: 20px; }
.hero__dots{
  position:absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display:flex; gap: 10px; z-index: 3;
}
.hero__dot{
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.hero__dot.is-active{ background: var(--brand); border-color: var(--brand); transform: scale(1.2); }

/* ======= SECTION BASE ======= */
.section{ padding: 80px 0; }
.section--alt{ background: var(--bg-soft); }
.section__head{ margin-bottom: 40px; }
.section__head--center{ text-align:center; margin-bottom: 50px; }
.section__title{
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0;
}

/* ======= HISTORY ======= */
.section--history{ background: var(--bg-soft); }
.history{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items:center;
}
.history__text .section__title{ margin-bottom: 18px; }
.history__text .btn{ margin-top: 20px; }
.history__media{
  position: relative; margin: 0;
  border: 10px solid #fff;
  box-shadow: var(--shadow-lg);
}
.history__media img{ width:100%; height: 420px; object-fit: cover; }
.history__media::after{
  content:""; position:absolute; left: -20px; bottom: -20px; width: 80px; height: 80px;
  background: var(--brand); z-index: -1;
}

/* ======= SERVICES ======= */
.services{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service{
  background:#fff;
  border: 1px solid var(--stroke);
  padding: 32px 28px;
  transition: all .25s ease;
  display:flex; flex-direction:column;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.service::before{
  content:""; position:absolute; top:0; left:0; width: 0; height: 3px;
  background: var(--brand); transition: width .3s;
}
.service:hover{ box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service:hover::before{ width: 100%; }
.service__ico{
  display:inline-flex; align-items:center; justify-content:center;
  width: 64px; height: 64px;
  background: var(--brand); color:#fff;
  margin-bottom: 20px;
}
.service__ico svg{ width: 32px; height: 32px; }
.service__title{ font-size: 20px; margin: 0 0 10px; }
.service__desc{ color: var(--muted); margin: 0 0 16px; flex:1; }
.service__more{
  font-family: Rubik, Inter, sans-serif; font-size: 13px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}
.services__footer{ text-align:center; margin-top: 40px; }

/* ======= QUOTE ======= */
.section--quote{ padding: 0; }
.quote{
  display:grid; grid-template-columns: 380px 1fr;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin: -30px auto 0;
  position: relative; z-index: 2;
}
.quote__copy{
  background: var(--navy);
  padding: 48px 40px;
  position: relative;
}
.quote__copy::before{
  content:""; position:absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,128,0,.15) 0%, transparent 50%);
  pointer-events: none;
}
.quote__iconWrap{
  width: 64px; height: 64px;
  background: var(--brand); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  margin-bottom: 18px; position: relative;
}
.quote__iconWrap svg{ width: 32px; height: 32px; }
.quote__title{
  color:#fff; font-size: 30px; margin: 0 0 10px; position: relative;
}
.quote__phones{
  font-family: Rubik, Inter, sans-serif; letter-spacing: .05em;
  color: #fff; margin: 0 0 14px; position: relative; font-size: 16px;
}
.quote__text{ color: rgba(255,255,255,.7); margin: 0; position: relative; }

.quote__form{
  padding: 48px 40px;
  background: #eef1f5;
  display:flex; flex-direction:column; gap: 14px;
}
.quote__row{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.quote__row:last-of-type{ grid-template-columns: 1fr 1fr; }
.quote__form input,
.quote__form select,
.quote__form textarea{
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 13px 14px;
  font-size: 14px;
  width: 100%;
  color: var(--ink);
  transition: border-color .15s;
}
.quote__form input:focus,
.quote__form select:focus,
.quote__form textarea:focus{
  outline: none;
  border-color: var(--brand);
}
.quote__form textarea{ resize: vertical; min-height: 100px; }
.quote__actions{ display:flex; justify-content: flex-end; align-items:center; gap: 16px; }
.quote__notice{ margin:0; font-size: 14px; color: var(--muted); }
.quote__notice.is-ok{ color: #16a34a; }
.quote__notice.is-err{ color: #dc2626; }

/* ======= MAP ======= */
.section--map{ padding-top: 60px; padding-bottom: 80px; }
.mapHead{
  display:flex; justify-content:space-between; align-items:flex-end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.mapHead__links{ display:flex; gap: 18px; }
.mapHead__links a{ color: var(--brand); font-family: Rubik, Inter, sans-serif; letter-spacing: .1em; font-size: 13px; text-transform: uppercase; }
.mapHead__links a:hover{ text-decoration: underline; }
.mapShell{
  height: 420px;
  border: 1px solid var(--stroke);
}
.mapShell iframe{ width:100%; height:100%; border:0; }

/* ======= FOOTER ======= */
.site-footer{
  background: var(--ink);
  color: #d1d5db;
  margin-top: 0;
}
.footer{
  padding: 70px 16px 40px;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer h3{
  color: #fff; font-size: 16px;
  font-family: Rubik, Inter, sans-serif;
  letter-spacing: .15em; text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
.footer__col a{
  display:block; padding: 5px 0;
  color: #d1d5db; font-size: 14px;
  transition: color .15s;
}
.footer__col a:hover{ color: var(--brand); }
.footer__logo{ height: 60px; width:auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__col--brand p{ font-size: 14px; color: #9ca3af; margin: 0 0 18px; }
.footer__social{ display:flex; gap: 8px; }
.footer__social a{
  width: 36px; height: 36px;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--ink-2); color: #fff;
  font-family: Rubik, Inter, sans-serif; font-size: 13px;
  text-transform: uppercase;
  padding: 0;
  transition: all .2s;
}
.footer__social a:hover{ background: var(--brand); color: #fff; }
.footer__col--brand p.muted{ color: #9ca3af; }
.footer__col p{ font-size: 14px; color: #9ca3af; margin: 0 0 10px; }
.footer__col p strong{ color: #fff; }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 13px;
}
.footer__bottomInner{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 10px;
}
.footer__bottom .muted{ color: #9ca3af; }
.footer__bottom a.muted:hover{ color: var(--brand); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1280px){
  .nav__list > li > a{ padding: 10px 10px; font-size: 13px; letter-spacing: .06em; }
  .brand__logo{ height: 84px; }
}
@media (max-width: 1100px){
  .nav__list > li > a{ padding: 8px 8px; font-size: 12px; }
  .brand__logo{ height: 72px; }
}
@media (max-width: 960px){
  :root{ --header-h: 120px; }
  .topbar__center{ display: none; }
  .nav__toggle{ display:block; }
  .nav__menu{
    position:absolute; top:100%; left:0; right:0;
    background:#fff; border-top: 1px solid var(--stroke);
    display:none; padding: 12px 16px;
  }
  .nav__menu.is-open{ display:block; }
  .nav__list{ flex-direction:column; align-items:stretch; gap: 0; }
  .nav__list > li{ border-bottom: 1px solid var(--stroke); }
  .nav__list > li > a{ padding: 14px 8px; display:block; }
  .dropdown{
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; padding: 0 0 10px 16px;
    display: none;
  }
  .has-dropdown.is-open .dropdown{ display: block; }
  .nav__cta{ display:none; }
  .history{ grid-template-columns: 1fr; gap: 40px; }
  .history__media img{ height: 320px; }
  .services{ grid-template-columns: repeat(2, 1fr); }
  .quote{ grid-template-columns: 1fr; margin-top: 0; }
  .quote__row, .quote__row:last-of-type{ grid-template-columns: 1fr; }
  .footer{ grid-template-columns: 1fr 1fr; gap: 30px; padding: 50px 16px 30px; }
}
@media (max-width: 640px){
  :root{ --header-h: 110px; }
  .topbar__left{ font-size: 12px; gap: 10px; }
  .topbar__right{ display:none; }
  .brand__logo{ height: 56px; }
  .hero{ height: clamp(440px, 82vh, 600px); }
  .hero__title{ font-size: clamp(34px, 9vw, 48px); }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ width:100%; }
  .hero__arrow{ width: 40px; height: 40px; font-size: 24px; }
  .services{ grid-template-columns: 1fr; }
  .section{ padding: 60px 0; }
  .quote__copy, .quote__form{ padding: 30px 22px; }
  .quote__title{ font-size: 24px; }
  .footer{ grid-template-columns: 1fr; }
  .mapHead{ flex-direction: column; align-items:flex-start; }
  .mapShell{ height: 320px; }
}
