/* ===== Mocco s.r.o. – štýl podľa vzoru Seqty ===== */
:root {
  --navy: #000219;
  --navy-2: #0a0d2c;
  --red: #a62639;
  --red-dark: #861d2d;
  --heading: #000219;
  --text: #4b5280;
  --light: #f9fafb;
  --white: #fffffa;
  --border: #e6e8ef;
}

* { border-radius: 0 !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: clip; }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; color: var(--heading); font-weight: 700; }
a { color: var(--red); text-decoration: none; transition: color .3s; }
a:hover { color: var(--red-dark); }
p:last-child { margin-bottom: 0; }

/* ===== Tlačidlá ===== */
.btn-main, .btn-ghost {
  font-weight: 700; font-size: 16px; padding: 14px 30px; border: 1px solid var(--red);
  transition: all .3s; position: relative; overflow: hidden; z-index: 1;
}
.btn-main { background: var(--red); color: var(--white); }
.btn-main::before {
  content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .4s;
}
.btn-main:hover, .btn-main:focus { color: var(--white); border-color: var(--navy); }
.btn-main:hover::before { transform: scaleX(1); transform-origin: left; }
.section-dark .btn-main:hover, .hero .btn-main:hover, .navbar .btn-main:hover { border-color: var(--white); }
.section-dark .btn-main::before, .hero .btn-main::before, .navbar .btn-main::before { background: var(--white); }
.section-dark .btn-main:hover, .hero .btn-main:hover, .navbar .btn-main:hover { color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ===== Horná lišta ===== */
.top-bar { background: var(--navy); color: #c7cbe0; font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-bar a { color: #c7cbe0; }
.top-bar a:hover { color: var(--white); }
.top-bar i { color: var(--red); margin-right: 6px; }

/* ===== Navbar ===== */
.navbar { background: rgba(0, 2, 25, .6); padding: 22px 0; position: absolute; left: 0; right: 0; z-index: 100; transition: background .3s, padding .3s; }
.top-bar + .navbar { top: 47px; }
.navbar.sticky { position: fixed; top: 0 !important; background: var(--navy); padding: 12px 0; box-shadow: 0 5px 20px rgba(0,0,0,.3); animation: slideDown .4s; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.navbar .nav-link { color: var(--white); font-weight: 700; padding: 10px 16px !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--red); }
.navbar-toggler { border-color: rgba(255,255,255,.4); }
@media (max-width: 991px) {
  .navbar { background: var(--navy); }
  .top-bar + .navbar { top: 0; }
  .navbar-collapse { padding: 15px 0; }
  .navbar .btn-main { margin-top: 10px; }
}

/* ===== Hero ===== */
.hero {
  background: var(--navy) url("../img/hero-bg.svg") center / cover no-repeat;
  padding: 260px 0 200px; color: var(--white); position: relative;
}
.hero-icon { display: block; margin: 0 auto 20px; }
.sub-title { display: block; color: var(--red); font-weight: 700; margin-bottom: 12px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.2; margin-bottom: 24px; }
.hero-text { max-width: 640px; margin: 0 auto 35px; color: var(--white); font-size: 17px; }

/* ===== Piliere ===== */
.features { padding: 100px 0 70px; }
.feature-card {
  background: var(--navy); padding: 40px 30px; height: 100%; position: relative; overflow: hidden;
  border-bottom: 3px solid transparent; transition: transform .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--red); }
.feature-card h3 { color: var(--white); font-size: 22px; display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.feature-card h3 i { color: var(--red); font-size: 36px; }
.feature-card p { color: #c7cbe0; }

/* ===== Sekcie ===== */
.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); position: relative; overflow: hidden; }
.section-dark .section-title { color: var(--white); }
.section-head { max-width: 700px; margin: 0 auto 50px; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.3; margin-bottom: 20px; }

/* O nás */
.about-box { background: var(--navy); color: var(--white); padding: 50px 45px; position: relative; }
.about-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.about-box .num { display: block; font-size: 72px; font-weight: 700; line-height: 1; color: var(--white); }
.about-box .lbl { color: var(--red); font-weight: 700; }
.about-box ul { list-style: none; padding: 0; margin: 30px 0 0; }
.about-box li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: #c7cbe0; }
.about-box li i { color: var(--red); margin-right: 10px; }
.check-list { list-style: none; padding: 0; margin: 25px 0 0; }
.check-list li { color: var(--heading); font-weight: 700; margin-bottom: 12px; }
.check-list i { color: var(--red); margin-right: 10px; }

/* Služby */
.service-card { background: var(--white); padding: 40px 30px; height: 100%; text-align: center; transition: transform .3s; position: relative; }
.service-card::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .4s; }
.service-card:hover { transform: translateY(-5px); }
.service-card:hover::before { width: 100%; }
.service-card > i { font-size: 48px; color: var(--red); display: block; margin-bottom: 15px; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.read-more { display: inline-block; margin-top: 12px; font-weight: 700; }
.service-card { text-align: left; display: flex; flex-direction: column; }
.service-card > i { font-size: 42px; }
.service-card h3 { font-size: 19px; }
.service-card p { font-size: 15px; }
.service-card ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 14px; }
.service-card li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--red); }
.tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--light); border: 1px solid var(--border); padding: 3px 9px; }

/* Hosting */
.hosting-box { background: var(--white); border: 1px solid var(--border); }
.hosting-info { padding: 50px; }
.hosting-price { background: var(--navy); color: var(--white); padding: 50px 30px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hosting-price .from { color: #c7cbe0; }
.hosting-price .amount { font-size: 64px; font-weight: 700; line-height: 1.1; color: var(--white); }
.hosting-price .per { color: var(--red); font-weight: 700; }
.hosting-price .note { color: #c7cbe0; font-size: 14px; margin-top: 5px; }

/* Čísla */
.counter-area { background: var(--navy) url("../img/hero-bg.svg") center / cover; padding: 90px 0 70px; }
.counter-box { color: var(--white); }
.counter-box i { font-size: 40px; color: var(--red); display: block; margin-bottom: 10px; }
.counter-box .counter { font-size: 48px; font-weight: 700; line-height: 1.1; }
.counter-box p { color: #c7cbe0; margin-top: 5px; }

/* Prečo my */
.why-card { padding: 40px 30px; height: 100%; border: 1px solid var(--border); transition: all .3s; }
.why-card i { font-size: 40px; color: var(--red); transition: color .3s; }
.why-card h3 { font-size: 20px; margin: 15px 0 10px; transition: color .3s; }
.why-card:hover { background: var(--navy); border-color: var(--navy); color: #c7cbe0; }
.why-card:hover h3 { color: var(--white); }

/* Kontakt */
.contact-item { display: flex; gap: 18px; align-items: center; margin-top: 25px; }
.contact-item > i { width: 56px; height: 56px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 22px; flex-shrink: 0; }
.contact-item .lbl { display: block; color: var(--heading); font-weight: 700; }
.contact-form { background: var(--white); padding: 40px; border: 1px solid var(--border); }
.form-control, .form-select { border: 1px solid var(--border); background-color: var(--light); padding: 14px 18px; color: var(--heading); }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: none; background-color: var(--white); }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.form-check-input:focus { box-shadow: none; border-color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--navy); color: #c7cbe0; padding: 80px 0 0; }
.footer h4 { color: var(--white); font-size: 20px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--red); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c7cbe0; }
.footer-links a:hover { color: var(--red); }
.copyright { margin-top: 60px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 15px; }

/* Späť hore */
.back-to-top {
  position: fixed; right: 25px; bottom: 25px; width: 45px; height: 45px; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-size: 18px; opacity: 0; visibility: hidden; transition: all .3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy); color: var(--white); }

@media (max-width: 767px) {
  .hero { padding: 170px 0 120px; }
  .section, .features { padding: 70px 0; }
  .hosting-info, .contact-form { padding: 30px 25px; }
  .about-box { padding: 40px 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.spinner-border { border-radius: 50% !important; }
