/* ===========================
   INTER MARKET d.o.o. – CSS
   =========================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1a2340;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

/* --- VARIABLES --- */
:root {
  --navy:       #0d1e3f;
  --navy-mid:   #162d5e;
  --navy-light: #1e3a73;
  --accent:     #1557c0;
  --accent-h:   #0f3d8c;
  --sky:        #e8f0fe;
  --mid:        #f0f4fb;
  --white:      #ffffff;
  --gray:       #64748b;
  --border:     #d1daf0;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(13,30,63,0.10);
  --shadow-lg:  0 8px 40px rgba(13,30,63,0.15);
}

/* --- CONTAINER --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  box-shadow: 0 6px 20px rgba(21, 87, 192, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(13,30,63,0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.07em;
}

.logo-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: #8ba3d8;
  letter-spacing: 0.08em;
}

.main-nav ul {
  display: flex;
  gap: 0.15rem;
  align-items: center;
  flex-wrap: nowrap;
}

.main-nav a {
  color: #c8d6f0;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.main-nav a:hover,
.main-nav a.nav-cta:hover {
  color: #fff;
  background: var(--navy-light);
}

.main-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 1rem;
  margin-left: 0.5rem;
}

/* --- MOBILE NAV --- */
.burger-toggle { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav a {
  color: #c8d6f0;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: 7px;
  display: block;
  transition: background 0.18s, color 0.18s;
}

.mobile-nav a:hover {
  background: var(--navy-light);
  color: #fff;
}

#burger-toggle:checked ~ .mobile-nav {
  display: block;
}

/* --- HERO --- */
.hero {
  position: relative;
  background: linear-gradient(130deg, var(--navy) 0%, var(--navy-mid) 60%, #1b3b6b 100%);
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,0.03) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,0.03) 49px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text { flex: 1; min-width: 0; }

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #a8c0f0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #c4d6f6;
  margin-bottom: 0.85rem;
}

.hero-body {
  font-size: 0.97rem;
  color: #9ab2d8;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
}

.badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: #dce8ff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- HERO VISUAL --- */
.hero-visual {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-art {
  position: relative;
  width: 300px;
  height: 200px;
}

.c-box {
  position: absolute;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.15);
}

.c1 {
  width: 260px; height: 150px;
  background: linear-gradient(135deg, rgba(21,87,192,0.4), rgba(13,30,63,0.7));
  left: 20px; top: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.c2 {
  width: 200px; height: 110px;
  background: linear-gradient(135deg, rgba(30,58,115,0.5), rgba(13,30,63,0.8));
  left: 5px; top: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.c3 {
  width: 240px; height: 130px;
  background: linear-gradient(135deg, rgba(21,87,192,0.2), rgba(13,30,63,0.5));
  left: 40px; top: 38px;
}

.c-ribs {
  position: absolute;
  left: 52px; top: 35px;
  display: flex;
  gap: 12px;
  height: 130px;
  z-index: 2;
}

.c-ribs span {
  display: block;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border-radius: 2px;
}

/* --- SECTIONS --- */
.section {
  padding: 5rem 0;
}

.section-light { background: #fff; }
.section-mid   { background: var(--mid); }
.section-dark  { background: var(--navy); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header-light { color: #fff; }

.section-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-tag-light {
  background: rgba(255,255,255,0.1);
  color: #a8c0f0;
}

.section-header h2,
.section-header-light h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section-header h2 { color: var(--navy); }
.section-header-light h2 { color: #fff; }

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: -1.5rem auto 2.5rem;
  color: var(--gray);
  font-size: 1rem;
}

.section-intro-light {
  text-align: center;
  max-width: 600px;
  margin: -1.5rem auto 2.5rem;
  color: #9ab2d8;
  font-size: 1rem;
}

/* --- TWO-COL LAYOUT --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.text-col p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.text-col p:last-child { margin-bottom: 0; }

/* --- CHECK LIST --- */
.check-list {
  margin-top: 1.2rem;
}

.check-list li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- INFO CARD --- */
.info-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* --- SECURITY GRID --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.security-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.22s, transform 0.22s;
}

.security-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.sec-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.security-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #d6e4ff;
  margin-bottom: 0.6rem;
}

.security-card p {
  font-size: 0.88rem;
  color: #8cabd8;
  line-height: 1.6;
}

/* --- ADVANTAGES GRID --- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
}

.adv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.adv-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--sky);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.adv-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.adv-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* --- CONTAINER CARDS --- */
.container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.container-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}

.container-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.container-card--featured {
  border-color: var(--accent);
  box-shadow: 0 8px 36px rgba(21, 87, 192, 0.18);
}

.container-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 8px;
}

.container-size {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.container-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.container-card p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.icon-list li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--border);
}

.icon-list li:last-child { border-bottom: none; }

/* --- CAPACITY --- */
.capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.capacity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cap-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.cap-visual {
  background: var(--sky);
  border-radius: 100px;
  height: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.cap-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #5b8ef0);
  border-radius: 100px;
}

.cap-list li {
  padding: 0.45rem 0;
  color: var(--gray);
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border);
}

.cap-list li:last-child { border-bottom: none; }

/* --- USERS GRID --- */
.users-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.user-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: background 0.22s, transform 0.22s;
}

.user-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.user-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.user-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #d6e4ff;
  margin-bottom: 0.75rem;
}

.user-card .icon-list li {
  color: #8cabd8;
  border-color: rgba(255,255,255,0.08);
  font-size: 0.86rem;
}

/* --- LOCATION --- */
.map-placeholder {
  background: var(--mid);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.map-inner {
  text-align: center;
}

.map-pin {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.map-inner p {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.map-sub {
  font-size: 0.88rem !important;
  color: var(--gray) !important;
  font-weight: 400 !important;
  margin-top: 0.25rem;
}

/* --- PRICING --- */
.pricing-box {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.pricing-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.pricing-factors {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-factors li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--mid);
  border-radius: 8px;
}

.pf-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pricing-factors strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.pricing-factors p {
  font-size: 0.88rem;
  color: var(--gray);
}

.pricing-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pricing-cta p {
  color: var(--gray);
  font-size: 0.97rem;
  flex: 1;
}

/* --- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s;
}

.faq-card:hover {
  box-shadow: var(--shadow-lg);
}

.faq-q {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* --- CONTACT --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d6e4ff;
  margin-bottom: 1.5rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}

.ci-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  color: #c8d6f0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.contact-list span {
  display: block;
  color: #8cabd8;
  font-size: 0.93rem;
}

.placeholder-text {
  color: #6a85b8 !important;
  font-style: italic;
}

/* --- CONTACT FORM --- */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: #a8c0f0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #5c78a8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #5b8ef0;
  background: rgba(255,255,255,0.1);
}

.form-group textarea { resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: #607090;
  text-align: center;
  margin-top: 0.85rem;
}

/* --- FOOTER --- */
.site-footer {
  background: #080f1e;
  color: #8cabd8;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-brand .logo-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.07em;
}

.footer-brand .logo-sub {
  font-size: 0.75rem;
  color: #506888;
  margin-left: 0.4rem;
}

.footer-brand p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: #5c7898;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #6a88b0;
  transition: color 0.18s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.footer-copy p {
  font-size: 0.78rem;
  color: #3e5573;
  text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet: ≤1100px */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .site-header { position: relative; }
  .mobile-nav { position: static; }

  .hero-visual { display: none; }
  .hero-inner { justify-content: center; }

  .security-grid { grid-template-columns: 1fr 1fr; }
  .users-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .container-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .capacity-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Mobile: ≤640px */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }

  .hero h1 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; text-align: center; }

  .security-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .users-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .pricing-inner { padding: 2rem 1.5rem; }
  .pricing-cta { flex-direction: column; align-items: flex-start; }

  .header-inner { height: 60px; }
  .mobile-nav { top: 60px; }
}

/* Small mobile: ≤400px */
@media (max-width: 400px) {
  .users-grid { grid-template-columns: 1fr; }
  .badge { font-size: 0.77rem; }
}