:root {
  --bg: #03070b;
  --panel: #060c12;
  --panel-2: #08111a;
  --text: #ffffff;
  --muted: rgba(255,255,255,.68);
  --soft: rgba(255,255,255,.12);
  --blue: #087cff;
  --blue-2: #55b7ff;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
  color: #fff;
  outline: none;
  padding: 16px 16px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
textarea { resize: vertical; min-height: 142px; }
select option { color: #071018; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(85,183,255,.8);
  box-shadow: 0 0 0 4px rgba(8,124,255,.12);
  background: rgba(255,255,255,.07);
}
::placeholder { color: rgba(255,255,255,.38); }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(8,124,255,.18), transparent 28%), #020509;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.08em;
  text-shadow: 0 0 32px rgba(8,124,255,.8);
  animation: pulse 1.25s ease-in-out infinite;
}
.preloader__bar { width: 190px; height: 2px; overflow: hidden; background: rgba(255,255,255,.12); }
.preloader__bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: loadbar 1.1s ease-in-out infinite;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 28%, rgba(0,105,190,.22), transparent 20%),
    radial-gradient(circle at 55% 76%, rgba(6,55,90,.20), transparent 24%),
    var(--bg);
}

.hero {
  position: relative;
  min-height: 705px;
  padding: 44px 120px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,11,1) 0%, rgba(3,7,11,.9) 30%, rgba(3,7,11,.28) 58%, rgba(3,7,11,.18) 100%),
    linear-gradient(180deg, transparent 62%, rgba(3,7,11,.96)),
    url("assets/hero-welder.jpg?v=202606181745") center right / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 8s var(--ease) forwards;
}
.hero__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 24%, rgba(255,125,32,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 36%, rgba(255,180,86,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 31%, rgba(255,126,34,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 53% 19%, rgba(255,126,34,.7) 0 1px, transparent 2px);
  filter: drop-shadow(0 0 8px rgba(255,129,44,.8));
  animation: sparks 3.8s linear infinite;
}
.hero > *:not(.hero__bg):not(.hero__sparks) { position: relative; z-index: 2; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.logo { display: flex; align-items: center; gap: 18px; min-width: 260px; }
.logo__text { font-size: 28px; font-weight: 800; letter-spacing: 11px; }
.logo__mark { width: 58px; height: 58px; position: relative; }
.logo__mark::before,
.logo__mark::after { content: ""; position: absolute; border-radius: 2px; }
.logo__mark::before { width: 14px; height: 52px; left: 0; top: 3px; background: #fff; }
.logo__mark::after {
  width: 17px;
  height: 64px;
  left: 25px;
  top: -3px;
  background: linear-gradient(#087cff, #004ea8);
  transform: skewX(-36deg);
  box-shadow: 0 0 28px rgba(8,124,255,.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: auto;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav a {
  opacity: .86;
  position: relative;
  transition: opacity .25s ease, color .25s ease;
}
.nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav a:hover, .nav a.active { opacity: 1; color: #fff; }
.nav a:hover::before, .nav a.active::before { width: 24px; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 5px;
  background: rgba(255,255,255,.03);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease, background .35s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(85,183,255,.18), transparent);
  transform: translateX(-120%);
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); border-color: rgba(85,183,255,.62); box-shadow: 0 0 30px rgba(8,124,255,.16); }
.btn span { color: var(--blue-2); font-size: 28px; line-height: 1; }
.btn--white { background: #fff; color: #071018; border-color: #fff; }
.btn--small { min-height: 40px; padding: 0 36px; font-size: 11px; }

.hero__content { max-width: 690px; margin-top: 108px; }
.kicker {
  color: var(--blue-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(54px, 5vw, 82px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.045em;
  margin-bottom: 30px;
}
.hero__lead {
  max-width: 540px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.features { display: flex; align-items: center; gap: 0; margin-top: 70px; max-width: 1020px; }
.feature {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 220px;
  min-height: 58px;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.13);
}
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature__icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.88);
  font-size: 17px;
}
.feature strong { display: block; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.feature small { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.calc-section {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 380px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.calc-section__image {
  background:
    linear-gradient(90deg, rgba(3,7,11,.10), rgba(3,7,11,.42)),
    url("assets/gate-main.jpg?v=202606181745") center / cover no-repeat;
  min-height: 380px;
}
.calc-section__content {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 560px;
  gap: 70px;
  align-items: center;
  padding: 40px 76px;
  background:
    radial-gradient(circle at 78% 50%, rgba(18,64,94,.28), transparent 42%),
    #050b10;
}
.eyebrow {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 17px;
}
h2 {
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
h3 { font-weight: 500; }
.calc-text p:not(.eyebrow), .section-head p, .about__content p, .order__content p {
  color: rgba(255,255,255,.76);
  line-height: 1.65;
  font-size: 16px;
}
.calc-text p:not(.eyebrow) { margin-bottom: 30px; }

.calculator {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 34px 26px 28px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(16px);
}
.calculator__head { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 22px; }
.calculator__step { font-size: 20px; color: #8abfff; letter-spacing: .08em; }
.calculator__head strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.calculator__head small { display: block; color: rgba(255,255,255,.45); margin-top: 5px; font-size: 10px; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.option {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 8px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.56);
  font-size: 11px;
  transition: .32s var(--ease);
}
.option span { font-size: 28px; opacity: .72; }
.option:hover, .option.active {
  transform: translateY(-2px);
  border-color: #087cff;
  box-shadow: inset 0 0 35px rgba(8,124,255,.10), 0 0 24px rgba(8,124,255,.10);
  color: #fff;
}
.calculator__footer { display: flex; justify-content: flex-end; margin-top: 14px; }

.services, .process, .local-seo, .faq {
  padding: 110px 120px;
  background:
    radial-gradient(circle at 18% 12%, rgba(8,124,255,.10), transparent 28%),
    #03070b;
}
.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 410px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
  transition: transform .45s var(--ease), border-color .35s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(85,183,255,.36); }
.service-card__image {
  height: 210px;
  background: center / cover no-repeat;
  filter: brightness(.74) saturate(.8);
}
.service-card__image--gates { background-image: url("assets/gate-main.jpg?v=202606181745"); }
.service-card__image--welding { background-image: url("assets/hero-welder.jpg?v=202606181745"); }
.service-card__image--railings { background-image: url("assets/project-zabradlia.jpg?v=202606181745"); }
.service-card__image--structures { background-image: url("assets/project-konstrukcie.jpg?v=202606181745"); }
.service-card__body { padding: 24px; }
.service-card__body span, .process-step span {
  display: inline-block;
  color: var(--blue-2);
  font-size: 12px;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.service-card h3, .process-step h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p, .process-step p { color: var(--muted); line-height: 1.65; font-size: 14px; }

.service-scope {
  margin-top: 78px;
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.service-scope__head {
  max-width: 850px;
  margin-bottom: 40px;
}
.service-scope__head h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.08;
}
.service-scope__head > p:last-child {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.75;
}
.service-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.service-scope__item {
  padding: 24px 4px 0;
  border-top: 2px solid rgba(85,183,255,.55);
}
.service-scope__item h3 {
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.25;
}
.service-scope__item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.projects {
  padding: 42px 120px 70px;
  background: #03070b;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 55px;
  align-items: start;
}
.projects__title h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .02em;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.projects__title i { display: block; width: 32px; height: 2px; background: #087cff; margin-bottom: 28px; }
.projects__title a { font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.projects__title span { color: var(--blue-2); font-size: 25px; vertical-align: -3px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.project-card {
  height: 190px;
  border-radius: 5px;
  background: center / cover no-repeat;
  filter: brightness(.72) saturate(.75);
  border: 1px solid rgba(255,255,255,.05);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), filter .45s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(85,183,255,.14));
  opacity: 0;
  transition: opacity .35s ease;
}
.project-card:hover { transform: translateY(-6px); filter: brightness(.95) saturate(.9); }
.project-card:hover::after { opacity: 1; }
.project-card--one { background-image: url("assets/gate-main.jpg?v=202606181745"); }
.project-card--two { background-image: url("assets/project-zabradlia.jpg?v=202606181745"); }
.project-card--three { background-image: url("assets/project-pristresky.jpg?v=202606181745"); }
.project-card--four { background-image: url("assets/project-konstrukcie.jpg?v=202606181745"); }

.slider-controls {
  position: absolute;
  right: 78px;
  bottom: 54px;
  z-index: 2;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 54px;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}
.slider-controls button { font-size: 28px; transition: transform .25s ease, color .25s ease; }
.slider-controls button:hover { color: var(--blue-2); transform: translateY(-1px); }

.about {
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 80px;
  align-items: center;
  padding: 110px 120px;
  background:
    radial-gradient(circle at 78% 20%, rgba(8,124,255,.13), transparent 30%),
    #050b10;
}
.about__visual { position: relative; min-height: 520px; }
.about__image {
  position: absolute;
  inset: 0 70px 0 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, transparent, rgba(3,7,11,.35)),
    url("assets/hero-welder.jpg?v=202606181745") center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.10);
  filter: brightness(.82) saturate(.85);
}
.about__badge {
  position: absolute;
  right: 0;
  bottom: 46px;
  width: 230px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(3,7,11,.78);
  backdrop-filter: blur(16px);
}
.about__badge strong { font-size: 42px; display: block; }
.about__badge small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.about__content { max-width: 610px; }
.about-list { display: grid; gap: 14px; margin-top: 32px; }
.about-list div {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}
.about-list span { color: var(--blue-2); margin-right: 10px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step {
  padding: 28px;
  min-height: 235px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

.local-seo {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 82% 28%, rgba(8,124,255,.13), transparent 32%),
    #050b10;
}
.local-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.local-seo__panel {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.local-seo__panel h3 {
  margin-bottom: 14px;
  font-size: 22px;
}
.local-seo__panel p,
.faq__item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.local-seo__places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.local-seo__places span {
  padding: 8px 11px;
  border: 1px solid rgba(85,183,255,.22);
  border-radius: 4px;
  background: rgba(8,124,255,.06);
  color: rgba(255,255,255,.8);
  font-size: 12px;
}
.local-seo__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.local-seo__link span {
  color: var(--blue-2);
  font-size: 22px;
}

.faq {
  background:
    radial-gradient(circle at 18% 70%, rgba(8,124,255,.09), transparent 28%),
    #03070b;
}
.faq__grid {
  display: grid;
  gap: 10px;
  max-width: 980px;
}
.faq__item {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue-2);
  font-size: 24px;
  line-height: 1;
}
.faq__item[open] summary::after { content: "-"; }
.faq__item p {
  padding: 0 24px 24px;
  max-width: 840px;
}

.order {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
  padding: 120px;
  background:
    radial-gradient(circle at 82% 35%, rgba(8,124,255,.15), transparent 34%),
    linear-gradient(180deg, #050b10, #03070b);
}
.order__content { position: sticky; top: 30px; }
.contact-strip {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.contact-strip a, .contact-strip span {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
}
.order-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: grid;
  gap: 9px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .03em;
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.upload-box {
  min-height: 138px;
  place-items: center;
  text-align: center;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.upload-box:hover {
  transform: translateY(-2px);
  border-color: rgba(85,183,255,.7);
  background: rgba(8,124,255,.06);
}
.upload-box input { display: none; }
.upload-box span { font-size: 30px; color: var(--blue-2); }
.upload-box strong { font-size: 13px; }
.upload-box small { color: rgba(255,255,255,.45); font-size: 11px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.checkbox input { width: auto; margin-top: 3px; }
.form-status {
  color: var(--blue-2);
  min-height: 22px;
  font-size: 14px;
}
button:disabled {
  cursor: progress;
  opacity: .7;
}

.contact {
  padding: 0 120px 90px;
  background: #03070b;
}
.contact-card {
  padding: 44px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    url("assets/gate-main.jpg?v=202606181745") center / cover no-repeat;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.contact-grid > * {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
}
.contact-grid span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.contact-grid strong { font-size: 18px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 120px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #020509;
  color: var(--muted);
}
.footer .logo__text { font-size: 18px; letter-spacing: 7px; }
.footer .logo__mark { transform: scale(.72); transform-origin: left center; }
.footer .logo { min-width: auto; }

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 5, 9, .72);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.success-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.success-modal__dialog {
  width: min(100%, 560px);
  padding: 34px;
  border: 1px solid rgba(85,183,255,.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 10%, rgba(8,124,255,.18), transparent 38%),
    rgba(5, 11, 16, .96);
  box-shadow: 0 32px 110px rgba(0,0,0,.55);
}
.success-modal__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(8,124,255,.16);
  border: 1px solid rgba(85,183,255,.34);
  color: #8fd0ff;
  font-weight: 800;
  font-size: 24px;
}
.success-modal__dialog h2 {
  margin-bottom: 14px;
}
.success-modal__dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}
.success-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.success-modal__actions .btn {
  min-height: 48px;
}
.success-modal__dialog small {
  color: rgba(255,255,255,.52);
}

.glow-card { position: relative; }
.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(8,124,255,.16), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.glow-card:hover::before { opacity: 1; }

.reveal,
.reveal-up,
.reveal-left,
.reveal-down,
.reveal-text .word {
  opacity: 0;
  transition:
    opacity .85s var(--ease) var(--delay, 0s),
    transform .85s var(--ease) var(--delay, 0s),
    filter .85s var(--ease) var(--delay, 0s);
}
.reveal, .reveal-up, .reveal-text .word { transform: translateY(24px); filter: blur(8px); }
.reveal-left { transform: translateX(-42px); filter: blur(8px); }
.reveal-down { transform: translateY(-18px); filter: blur(8px); }
.is-visible.reveal,
.is-visible .reveal,
.is-visible.reveal-up,
.is-visible.reveal-left,
.is-visible.reveal-down,
.is-visible .reveal-text .word,
.reveal-text.is-visible .word {
  opacity: 1;
  transform: translate(0);
  filter: blur(0);
}
.reveal-text .word {
  display: inline-block;
  transition-delay: calc(var(--i) * 60ms + 140ms);
}

@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes pulse { 50% { transform: scale(1.06); text-shadow: 0 0 46px rgba(8,124,255,1); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes sparks {
  0% { transform: translateY(0) translateX(0); opacity: .6; }
  50% { opacity: 1; }
  100% { transform: translateY(18px) translateX(-12px); opacity: .55; }
}

@media (max-width: 1280px) {
  .hero, .projects, .services, .process, .local-seo, .faq, .about, .order, .contact, .footer { padding-left: 48px; padding-right: 48px; }
  .nav { gap: 24px; }
  .calc-section__content { grid-template-columns: 1fr; gap: 34px; }
  .calculator { max-width: 560px; }
  .service-grid, .service-scope__grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .order { grid-template-columns: 1fr; }
  .order__content { position: static; }
}
@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: #fff; }
  .nav {
    position: fixed;
    top: 82px;
    left: 24px;
    right: 24px;
    z-index: 50;
    display: grid;
    gap: 0;
    padding: 18px;
    background: rgba(3,7,11,.94);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    backdrop-filter: blur(18px);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .32s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 14px; }
  .calc-section, .projects, .about { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .features { flex-wrap: wrap; }
  .feature { width: 50%; border-right: 0; padding: 16px 16px 16px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .local-seo__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 26px 20px 0; min-height: 790px; }
  .logo { min-width: 0; }
  .logo__text { font-size: 20px; letter-spacing: 7px; }
  .hero__content { margin-top: 92px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding-inline: 20px; }
  .features { margin-top: 42px; }
  .feature { width: 100%; }
  .calc-section__content, .services, .process, .local-seo, .faq, .about, .order, .contact, .footer { padding-left: 20px; padding-right: 20px; }
  .options, .gallery, .service-grid, .service-scope__grid, .process-grid, .form-row, .upload-grid { grid-template-columns: 1fr; }
  .projects { padding: 38px 20px 54px; }
  .about__visual { min-height: 410px; }
  .about__image { inset: 0; }
  .about__badge { right: 18px; bottom: 18px; }
  .order-form { padding: 22px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .local-seo__panel { padding: 24px 20px; }
  .faq__item summary { padding: 19px 18px; font-size: 15px; }
  .faq__item p { padding: 0 18px 20px; }
  .service-scope { margin-top: 54px; padding-top: 46px; }
  .service-scope__head h2 { font-size: 34px; }
  .service-scope__grid { gap: 30px; }
}


/* FINAL MICRO-DETAIL FIXES */
.hero {
  padding-bottom: 38px;
}

.features {
  margin-top: 92px;
  margin-bottom: 34px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.045);
}

.feature {
  min-height: 72px;
  align-items: center;
}

.feature strong {
  font-size: 15px;
}

.feature [data-counter] {
  display: inline-block;
  min-width: 22px;
  color: #fff;
  text-shadow: 0 0 18px rgba(85,183,255,.38);
}

.calc-section {
  margin-top: 0;
}

.calc-section__image {
  min-height: 520px;
}

.calc-section__content {
  min-height: 520px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.price-preview {
  width: min(100%, 420px);
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(85,183,255,.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 20%, rgba(8,124,255,.12), transparent 42%),
    rgba(255,255,255,.035);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.price-preview span {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.price-preview strong {
  display: block;
  font-size: 22px;
  color: #fff;
  margin-bottom: 7px;
}

.price-preview small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.55;
}

.option {
  min-height: 88px;
  padding: 12px 10px;
}

.option b {
  line-height: 1.2;
}

.option small {
  display: block;
  color: rgba(85,183,255,.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-top: -2px;
  opacity: .92;
}

.option.active small {
  color: #8fd0ff;
}

@media (max-width: 980px) {
  .features {
    margin-top: 58px;
    margin-bottom: 24px;
  }

  .calc-section__image,
  .calc-section__content {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 28px;
  }

  .features {
    margin-top: 48px;
    padding-bottom: 10px;
  }

  .feature {
    min-height: 64px;
  }
}


/* FINAL V3: stable calculator image + sticky premium header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: -18px -34px 0;
  padding: 18px 34px;
  border: 1px solid transparent;
  border-radius: 0 0 18px 18px;
  transition:
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 11, .72);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

/* Brána pri kalkulácii drží stabilnú veľkosť vždy, aj pri výbere položiek */
.calc-section {
  align-items: stretch;
}

.calc-section__image {
  height: 100%;
  min-height: 560px;
  max-height: 560px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.calc-section__content {
  min-height: 560px;
}

.calculator {
  min-height: 345px;
}

.options {
  align-items: stretch;
}

.option {
  height: 92px;
  grid-template-rows: 28px auto 14px;
}

/* Aby zmena ceny nemykala layoutom */
.price-preview {
  min-height: 111px;
}

.price-preview strong {
  min-height: 27px;
}

@media (max-width: 1280px) {
  .site-header {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    margin: -10px -14px 0;
    padding: 12px 14px;
  }

  .calc-section__image {
    min-height: 420px;
    max-height: 420px;
  }

  .calc-section__content {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin: -8px -10px 0;
    padding: 10px;
  }

  .calc-section__image {
    min-height: 330px;
    max-height: 330px;
  }

  .calculator {
    min-height: auto;
  }

  .option {
    height: 88px;
  }
}


/* FINAL V4: header naozaj ide spolu so scrollom + odstránený hluchý priestor pod bránou */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: calc(100% - 96px);
  max-width: 1680px;
  transform: translateX(-50%);
  z-index: 500;
  margin: 0;
  padding: 16px 26px;
  border-radius: 18px;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 11, .78);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(20px);
}

.hero {
  padding-top: 118px;
}

/* zrušenie fixnej výšky, ktorá robila prázdne miesto pod fotkou */
.calc-section {
  align-items: stretch;
}

.calc-section__image {
  height: auto;
  min-height: 100%;
  max-height: none;
  align-self: stretch;
  background-size: cover;
  background-position: center;
}

.calc-section__content {
  min-height: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: calc(100% - 32px);
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hero {
    padding-top: 102px;
  }

  .calc-section__image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .hero {
    padding-top: 96px;
  }

  .calc-section__image {
    min-height: 320px;
  }
}


/* FINAL V5: oprava headeru - bez translateX konfliktu s reveal animáciou */
.site-header,
.site-header.is-visible,
.is-visible.site-header,
.is-visible .site-header {
  position: fixed !important;
  top: 18px !important;
  left: 48px !important;
  right: 48px !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  z-index: 999 !important;
  margin: 0 !important;
  padding: 16px 26px !important;
  border-radius: 18px !important;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 11, .82) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(20px) !important;
}

.hero {
  padding-top: 118px !important;
}

/* Header nech nepoužíva reveal posun, aby nikdy neušiel doprava */
.site-header.reveal-down {
  opacity: 1 !important;
  filter: none !important;
}

/* Finálne zrovnanie kalkulačného bloku bez hluchého miesta */
.calc-section {
  align-items: stretch !important;
}

.calc-section__image {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  align-self: stretch !important;
  background-size: cover !important;
  background-position: center !important;
}

.calc-section__content {
  min-height: 0 !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    top: 12px !important;
    left: 16px !important;
    right: 16px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .hero {
    padding-top: 102px !important;
  }

  .calc-section__image {
    min-height: 420px !important;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 10px !important;
  }

  .hero {
    padding-top: 96px !important;
  }

  .calc-section__image {
    min-height: 320px !important;
  }
}


/* FINAL V6: custom responsive system - layout sa nezlomí, obrázky sa škálujú */
img,
picture,
video {
  max-width: 100%;
  height: auto;
}

.hero__bg,
.calc-section__image,
.service-card__image,
.project-card,
.about__image,
.contact-card {
  background-size: cover;
  background-position: center;
}

/* Desktop fluid sizing */
.hero {
  min-height: clamp(640px, 72vw, 760px);
}

.hero__content {
  width: min(690px, 54vw);
}

h1 {
  font-size: clamp(46px, 4.7vw, 82px);
}

h2 {
  font-size: clamp(31px, 2.9vw, 46px);
}

.calc-section {
  grid-template-columns: minmax(420px, 45%) minmax(680px, 55%);
}

.calc-section__content {
  grid-template-columns: minmax(280px, .86fr) minmax(470px, 560px);
  gap: clamp(34px, 4vw, 70px);
}

.calculator {
  width: 100%;
}

.projects,
.services,
.process,
.about,
.order,
.contact,
.footer {
  padding-left: clamp(24px, 6.3vw, 120px);
  padding-right: clamp(24px, 6.3vw, 120px);
}

/* Medium desktop / notebook */
@media (max-width: 1440px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    left: 34px !important;
    right: 34px !important;
  }

  .logo {
    min-width: 220px;
  }

  .logo__text {
    font-size: 24px;
    letter-spacing: 9px;
  }

  .nav {
    gap: 28px;
    font-size: 13px;
  }

  .header-cta {
    padding-inline: 24px;
  }

  .calc-section {
    grid-template-columns: 43% 57%;
  }

  .calc-section__content {
    padding-inline: 44px;
  }
}

/* Tablet landscape - kalkulácia ostáva pekná a čitateľná */
@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .nav {
    gap: 22px;
  }

  .hero__content {
    width: min(620px, 72vw);
  }

  .features {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 0;
  }

  .feature {
    width: auto;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 18px 20px;
  }

  .calc-section {
    grid-template-columns: 1fr;
  }

  .calc-section__image {
    min-height: clamp(320px, 42vw, 460px) !important;
    max-height: none !important;
  }

  .calc-section__content {
    grid-template-columns: minmax(280px, 420px) minmax(460px, 1fr);
    padding: 46px clamp(24px, 5vw, 58px) !important;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .order {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 460px;
  }

  .order__content {
    position: static;
  }
}

/* Keď menu začína byť nečitateľné, schová sa a ostanú 3 čiarky */
@media (max-width: 1024px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    left: 18px !important;
    right: 18px !important;
    top: 14px !important;
  }

  .nav-toggle {
    display: grid !important;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    z-index: 1001;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform .3s var(--ease), opacity .25s ease;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 86px;
    left: 18px;
    right: 18px;
    display: grid !important;
    gap: 4px;
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(3, 7, 11, .94);
    box-shadow: 0 26px 80px rgba(0,0,0,.5);
    backdrop-filter: blur(20px);
    transform: translateY(-14px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav a {
    padding: 15px 14px;
    border-radius: 10px;
    font-size: 14px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(8,124,255,.08);
  }

  .nav a::before {
    display: none;
  }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .hero {
    min-height: 760px;
  }

  .hero__bg {
    background-position: 65% center;
  }

  .hero__content {
    width: 100%;
    max-width: 620px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .feature {
    padding-left: 0;
  }

  .calc-section__content {
    grid-template-columns: 1fr;
  }

  .calculator {
    max-width: none;
  }

  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .form-row,
  .upload-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    left: 10px !important;
    right: 10px !important;
    top: 10px !important;
    padding: 10px 12px !important;
  }

  .logo__mark {
    width: 42px;
    height: 42px;
    transform: scale(.78);
    transform-origin: left center;
  }

  .logo__text {
    font-size: 18px;
    letter-spacing: 6px;
  }

  .logo {
    gap: 10px;
  }

  .nav {
    top: 74px;
    left: 10px;
    right: 10px;
  }

  .hero {
    min-height: 730px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__bg {
    background-position: 70% center;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .btn {
    min-height: 54px;
    font-size: 12px;
  }

  .calc-section__image {
    min-height: 300px !important;
  }

  .calc-section__content {
    padding: 34px 20px !important;
  }

  .options,
  .gallery,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 220px;
  }

  .service-card {
    min-height: auto;
  }

  .about__visual {
    min-height: 380px;
  }

  .about__badge {
    width: 200px;
    padding: 22px;
  }

  .order-form {
    padding: 22px;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .logo__text {
    font-size: 15px;
    letter-spacing: 4px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 700px;
  }

  .hero__actions {
    width: 100%;
  }

  .feature {
    gap: 14px;
  }

  .feature strong {
    font-size: 13px;
  }

  .feature small {
    font-size: 9px;
  }

  .price-preview {
    min-height: auto;
  }

  .contact-card {
    padding: 28px 20px;
  }
}


/* FINAL V7: kalkulačná tabuľka už nie je nalepená na kraji, drží pekné zarovnanie */
.calc-section {
  overflow: hidden;
}

/* Vnútorný grid má vlastnú bezpečnú šírku a centrovanie */
.calc-section__content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 460px) minmax(460px, 620px);
  justify-content: center;
  align-items: center;
  column-gap: clamp(44px, 5.4vw, 96px);
  padding-left: clamp(42px, 6vw, 110px) !important;
  padding-right: clamp(42px, 6vw, 110px) !important;
}

/* Samotná tabuľka sa drží vnútri priestoru, nikdy netečie ku kraju */
.calculator {
  width: min(100%, 620px);
  justify-self: end;
  margin-right: clamp(12px, 2.2vw, 42px);
}

/* Textová časť má tiež jasnú os, aby sekcia pôsobila zarovnane */
.calc-text {
  justify-self: start;
  max-width: 460px;
}

/* Na menších notebookoch sa tabuľka jemne zmenší namiesto toho, aby sa lepila na kraj */
@media (max-width: 1380px) {
  .calc-section__content {
    grid-template-columns: minmax(280px, 410px) minmax(440px, 560px);
    column-gap: clamp(32px, 4vw, 64px);
    padding-left: clamp(34px, 4.2vw, 70px) !important;
    padding-right: clamp(34px, 4.2vw, 70px) !important;
  }

  .calculator {
    width: min(100%, 560px);
    margin-right: clamp(8px, 1.4vw, 24px);
  }
}

/* Tablet landscape: tabuľka ide pod/vedľa podľa priestoru, stále centrovaná */
@media (max-width: 1180px) {
  .calc-section__content {
    grid-template-columns: minmax(280px, 420px) minmax(420px, 560px);
    justify-content: center;
    column-gap: clamp(28px, 4vw, 48px);
    padding-left: clamp(28px, 5vw, 58px) !important;
    padding-right: clamp(28px, 5vw, 58px) !important;
  }

  .calculator {
    justify-self: center;
    margin-right: 0;
  }
}

/* Tablet portrait: všetko pod seba a na stred, bez useknutia */
@media (max-width: 900px) {
  .calc-section__content {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 34px;
    padding-left: clamp(22px, 5vw, 42px) !important;
    padding-right: clamp(22px, 5vw, 42px) !important;
  }

  .calc-text {
    justify-self: center;
    max-width: 620px;
    width: 100%;
  }

  .calculator {
    justify-self: center;
    width: min(100%, 620px);
  }
}

/* Mobil: tabuľka má komfortný vnútorný okraj a položky sa skladajú */
@media (max-width: 640px) {
  .calc-section__content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .calculator {
    width: 100%;
    padding: 24px 18px 22px;
  }

  .options {
    grid-template-columns: 1fr;
  }
}


/* FINAL V8: reálne logo + kalkulácia nikdy nezasahuje do fotky + stabilná výška pri dlhých názvoch */
.logo {
  min-width: auto !important;
}

.logo__img {
  display: block;
  width: clamp(168px, 15vw, 245px);
  height: auto;
  object-fit: contain;
}

.logo__mark,
.logo__text {
  display: none !important;
}

/* kalkulačný predel: fotka a obsah sú dva pevné oddelené stĺpce */
.calc-section {
  display: grid !important;
  grid-template-columns: minmax(420px, 44vw) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.calc-section__image {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 560px !important;
  max-height: none !important;
  align-self: stretch !important;
  background-size: cover !important;
  background-position: center !important;
}

.calc-section__content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(300px, 430px) minmax(430px, 600px) !important;
  justify-content: center !important;
  align-items: center !important;
  column-gap: clamp(34px, 4vw, 82px) !important;
  padding: 54px clamp(38px, 5vw, 88px) !important;
}

/* text a cena majú fixnú šírku a nikdy nevytláčajú fotku */
.calc-text {
  width: 100% !important;
  max-width: 430px !important;
  min-width: 0 !important;
  justify-self: start !important;
}

.price-preview {
  width: 100% !important;
  max-width: 420px !important;
  min-height: 126px !important;
  overflow: hidden !important;
}

.price-preview strong {
  display: block !important;
  min-height: 58px !important;
  line-height: 1.18 !important;
  font-size: clamp(22px, 1.7vw, 30px) !important;
  overflow-wrap: anywhere !important;
}

.price-preview small {
  min-height: 38px !important;
}

/* tabuľka má vlastnú stabilnú šírku, dlhý text sa zalomí vnútri */
.calculator {
  width: min(100%, 600px) !important;
  min-width: 0 !important;
  min-height: 360px !important;
  justify-self: center !important;
  margin-right: 0 !important;
  overflow: hidden !important;
}

.options {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.option {
  width: 100% !important;
  min-width: 0 !important;
  height: 96px !important;
  min-height: 96px !important;
  padding: 12px 8px !important;
  overflow: hidden !important;
}

.option b,
.option small {
  max-width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.option b {
  font-size: 12px !important;
  line-height: 1.15 !important;
  min-height: 28px !important;
  display: grid !important;
  place-items: center !important;
}

.option small {
  font-size: 10px !important;
  line-height: 1.15 !important;
}

/* menší notebook: stále dva čisté stĺpce, nič neprekrýva fotku */
@media (max-width: 1500px) {
  .calc-section {
    grid-template-columns: minmax(360px, 38vw) minmax(0, 1fr) !important;
  }

  .calc-section__content {
    grid-template-columns: minmax(280px, 390px) minmax(390px, 540px) !important;
    column-gap: clamp(26px, 3vw, 52px) !important;
    padding: 46px clamp(28px, 3.8vw, 60px) !important;
  }

  .calculator {
    width: min(100%, 540px) !important;
  }

  .price-preview strong {
    font-size: 25px !important;
  }
}

/* keď už nie je dosť miesta, fotka ide hore a obsah pekne pod ňu */
@media (max-width: 1180px) {
  .calc-section {
    grid-template-columns: 1fr !important;
  }

  .calc-section__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: clamp(300px, 42vw, 430px) !important;
  }

  .calc-section__content {
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: minmax(0, 430px) minmax(0, 560px) !important;
    justify-content: center !important;
    column-gap: clamp(24px, 4vw, 46px) !important;
    padding: 44px clamp(24px, 5vw, 58px) !important;
  }
}

/* tablet: pod seba, vycentrované */
@media (max-width: 900px) {
  .logo__img {
    width: clamp(150px, 32vw, 210px);
  }

  .calc-section__content {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    row-gap: 34px !important;
  }

  .calc-text {
    max-width: 620px !important;
    justify-self: center !important;
  }

  .price-preview {
    max-width: 620px !important;
  }

  .calculator {
    max-width: 620px !important;
    width: 100% !important;
  }
}

/* mobil */
@media (max-width: 640px) {
  .logo__img {
    width: clamp(128px, 45vw, 175px);
  }

  .calc-section__image {
    min-height: 300px !important;
  }

  .calc-section__content {
    padding: 34px 20px !important;
  }

  .options {
    grid-template-columns: 1fr !important;
  }

  .option {
    height: 86px !important;
    min-height: 86px !important;
  }

  .price-preview strong {
    min-height: auto !important;
  }
}


/* FINAL V9: iba oprava položiek v kalkulačnej tabuľke - nič iné nemení */
.option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 112px !important;
  min-height: 112px !important;
  padding: 14px 10px !important;
  grid-template-rows: none !important;
}

.option span {
  flex: 0 0 auto !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

.option b {
  flex: 0 0 auto !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 34px !important;
  line-height: 1.12 !important;
  font-size: 13px !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: hidden !important;
}

.option small {
  flex: 0 0 auto !important;
  display: block !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.1 !important;
  font-size: 11px !important;
  text-align: center !important;
}

/* dlhý názov ostane v karte, ale už netlačí cenu mimo */
.option[data-product="Zváranie / Opravy"] b {
  font-size: 12px !important;
  max-width: 118px !important;
}

/* tlačidlo v tabuľke ostane zarovnané, bez zbytočného odskočenia */
.calculator__footer {
  margin-top: 18px !important;
}

@media (max-width: 640px) {
  .option {
    height: 96px !important;
    min-height: 96px !important;
  }
}


/* FINAL V10: compact header, mobile polish, functional image fallbacks */
.site-header,
.site-header.is-visible,
.is-visible.site-header,
.is-visible .site-header {
  top: 14px !important;
  left: clamp(18px, 3vw, 42px) !important;
  right: clamp(18px, 3vw, 42px) !important;
  min-height: 54px !important;
  padding: 7px 14px !important;
  gap: clamp(16px, 2vw, 28px) !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 11, .72) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 14px 46px rgba(0,0,0,.36) !important;
  backdrop-filter: blur(18px) !important;
}

.logo {
  flex: 0 0 auto !important;
  width: clamp(200px, 17vw, 260px) !important;
  height: clamp(45px, 3.8vw, 58px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.logo__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.nav {
  gap: clamp(14px, 2vw, 30px) !important;
  margin-right: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .045em !important;
}

.nav a::before {
  bottom: -11px !important;
}

@media (max-width: 900px) {
  .logo {
    width: clamp(168px, 38vw, 225px) !important;
    height: clamp(38px, 8.7vw, 51px) !important;
  }
}

@media (max-width: 640px) {
  .logo {
    width: clamp(145px, 48vw, 190px) !important;
    height: clamp(33px, 11vw, 43px) !important;
  }
}

.header-cta {
  min-height: 40px !important;
  padding: 0 18px !important;
  gap: 9px !important;
  font-size: 11px !important;
}

.header-cta span {
  font-size: 22px !important;
}

.hero {
  padding-top: 92px !important;
}

section[id] {
  scroll-margin-top: 84px;
}

.service-card__image--gates { background-image: url("assets/gate-main.jpg?v=202606181745") !important; }
.service-card__image--welding { background-image: url("assets/hero-welder.jpg?v=202606181745") !important; }
.service-card__image--railings { background-image: url("assets/project-zabradlia.jpg?v=202606181745") !important; }
.service-card__image--structures { background-image: url("assets/project-konstrukcie.jpg?v=202606181745") !important; }
.project-card--one { background-image: url("assets/gate-main.jpg?v=202606181745") !important; }
.project-card--two { background-image: url("assets/project-zabradlia.jpg?v=202606181745") !important; }
.project-card--three { background-image: url("assets/project-pristresky.jpg?v=202606181745") !important; }
.project-card--four { background-image: url("assets/project-konstrukcie.jpg?v=202606181745") !important; }
.about__image { background-image: linear-gradient(180deg, transparent, rgba(3,7,11,.35)), url("assets/hero-welder.jpg?v=202606181745") !important; }
.contact-card { background-image: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), url("assets/gate-main.jpg?v=202606181745") !important; }

@media (max-width: 1180px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    left: 16px !important;
    right: 16px !important;
    top: 12px !important;
    min-height: 50px !important;
    padding: 7px 10px !important;
  }

  .hero {
    padding-top: 82px !important;
  }

  section[id] {
    scroll-margin-top: 76px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    width: 38px !important;
    height: 38px !important;
    gap: 4px !important;
    border-radius: 8px !important;
  }

  .nav-toggle span {
    width: 19px !important;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  .nav {
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    gap: 2px !important;
    border-radius: 12px !important;
    background: rgba(3, 7, 11, .97) !important;
    box-shadow: 0 18px 54px rgba(0,0,0,.52) !important;
    max-height: calc(100svh - 84px) !important;
    overflow-y: auto !important;
  }

  .nav a {
    padding: 11px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-visible,
  .is-visible.site-header,
  .is-visible .site-header {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    min-height: 46px !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
  }

  .logo {
    width: clamp(160px, 48vw, 190px) !important;
    height: clamp(36px, 10vw, 43px) !important;
  }

  .nav-toggle {
    width: 34px !important;
    height: 34px !important;
  }

  .nav-toggle span {
    width: 18px !important;
  }

  .nav {
    top: calc(100% + 7px) !important;
    left: 0 !important;
    right: 0 !important;
  }

  .hero {
    min-height: 680px !important;
    padding-top: 74px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  section[id] {
    scroll-margin-top: 66px;
  }

  .hero__content {
    margin-top: 54px !important;
  }

  h1 {
    font-size: clamp(38px, 10.8vw, 52px) !important;
    line-height: 1.08 !important;
    margin-bottom: 22px !important;
  }

  .hero__lead {
    margin-bottom: 30px !important;
    line-height: 1.55 !important;
  }

  .btn {
    min-height: 48px !important;
    padding-inline: 16px !important;
    font-size: 11px !important;
    gap: 10px !important;
  }

  .btn span {
    font-size: 22px !important;
  }

  .features {
    margin-top: 34px !important;
  }

  .feature {
    min-height: 58px !important;
    padding-block: 11px !important;
  }

  .services,
  .process,
  .about,
  .order {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .contact {
    padding-top: 0 !important;
    padding-bottom: 54px !important;
  }

  .service-card__image {
    height: 185px !important;
  }

  .project-card {
    height: 190px !important;
  }

  .about__visual {
    min-height: 340px !important;
  }

  .contact-card {
    padding: 26px 18px !important;
  }

  .success-modal__dialog {
    padding: 26px 20px;
  }

  .success-modal__actions .btn {
    width: 100%;
  }
}
