:root {
  --bg: #f4f7fb;
  --surface: rgba(255,255,255,.92);
  --surface-strong: #ffffff;
  --text: #162033;
  --muted: #667085;
  --line: rgba(15,23,42,.08);
  --primary: #1d4ed8;
  --primary-2: #0f172a;
  --accent: #2563eb;
  --success: #0f766e;
  --danger: #b91c1c;
  --shadow: 0 20px 60px rgba(15, 23, 42, .10);
  --radius: 24px;
  --container: 1200px;
  --panel-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-2);
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-menu a {
  font-weight: 600;
  color: #334155;
  position: relative;
}

.nav-menu a.is-active,
.nav-menu a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* GENERIC */
.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 0;
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--primary);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

h1, h2, h3 {
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .25s transform, .25s opacity;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary-2);
  border: 1px solid rgba(15,23,42,.08);
}

/* HERO */
.hero-section {
  padding: 18px 0 0;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,6,23,.76), rgba(2,6,23,.42), rgba(2,6,23,.20));
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: auto auto 56px 56px;
  max-width: 620px;
  color: #fff;
  z-index: 2;
}

.hero-content p {
  color: rgba(255,255,255,.82);
  margin-bottom: 22px;
}

.hero-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 18px 0 0;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(15,23,42,.16);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 36px;
  background: var(--primary);
}

/* HOME OVERVIEW */
.home-overview-section .container,
.page-panel-section .container {
  width: min(var(--panel-width), calc(100% - 32px));
  margin: 0 auto;
}

.home-overview-panel,
.page-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 30px;
  padding: 36px;
}

.home-overview-block {
  margin-bottom: 28px;
}

.intro-block .section-heading {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.home-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.stats-area .section-heading {
  max-width: none;
  margin-bottom: 22px;
}

/* COMMON GRIDS */
.grid-two,
.contact-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* CARDS */
.info-card,
.content-card,
.toolbar-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px;
}

.content-card.wide {
  grid-column: 1 / -1;
}

.card-topline {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.campaign-card {
  background: linear-gradient(180deg, #fff, #f5f8ff);
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.stat-card {
  min-height: 165px;
  padding: 30px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, .12);
  border-color: rgba(37, 99, 235, .18);
}

.stat-value {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary-2);
  margin: 0 0 12px 0;
  letter-spacing: -1px;
}

.stat-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
}

/* SERVICES / PRODUCTS */
.service-card,
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img,
.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #edf2f7;
}

.card-body {
  padding: 22px;
}

.meta-chip {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-weight: 700;
}

/* FORMS / SEARCH */
.search-input,
.contact-form input,
.contact-form textarea,
.robot-check input {
  width: 100%;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
}

.search-input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.robot-check input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96,165,250,.15);
}

.toolbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.result-meta {
  font-weight: 700;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.form-status {
  font-weight: 700;
  min-height: 22px;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.robot-check {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #f8fbff;
}

.robot-label {
  font-weight: 700;
  color: var(--primary-2);
}

/* PAGINATION */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pagination button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 11px 15px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pagination button.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* GALLERY */
.gallery-stage {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #eef3fb;
}

.gallery-main img {
  width: 100%;
  height: min(62vh, 650px);
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(15,23,42,.62);
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.gallery-nav {
  height: 52px;
  width: 52px;
  border: none;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 1.8rem;
  cursor: pointer;
}

.gallery-thumbs {
  display: flex;
  gap: 14px;
  overflow: auto;
  padding-top: 18px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  min-width: 120px;
}

.gallery-thumbs button.is-active {
  border-color: var(--primary);
}

.gallery-thumbs img {
  width: 120px;
  height: 90px;
  object-fit: cover;
}

/* PAGE HERO */
.page-hero {
  padding: 76px 0 20px;
}

.page-hero .container {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-radius: 30px;
  color: #fff;
  padding: 46px;
}

.page-hero p {
  color: rgba(255,255,255,.8);
}

/* CONTACT */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  color: var(--muted);
  line-height: 1.7;
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  padding: 22px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-left {
  font-size: .95rem;
  font-weight: 700;
  color: #334155;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* LOADER / EMPTY / MAINTENANCE / LIGHTBOX */
.global-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(248,250,252,.8);
  backdrop-filter: blur(4px);
  z-index: 99;
}

.global-loader.is-hidden {
  display: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 4px solid #dbeafe;
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px dashed rgba(15,23,42,.15);
  text-align: center;
  color: var(--muted);
}

.section-hidden {
  display: none !important;
}

.maintenance-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at top, #dbeafe, #eff6ff 40%, #f8fafc 90%);
}

.maintenance-card {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.maintenance-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: 18px;
  color: #475569;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.88);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 120;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 22px;
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  border: none;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-slider {
    min-height: 500px;
  }

  .hero-content {
    left: 28px;
    right: 28px;
    bottom: 34px;
    max-width: none;
  }

  .stat-card {
    min-height: 145px;
    padding: 26px 22px;
  }

  .stat-value {
    font-size: 2.3rem;
  }

  .home-overview-section .container,
  .page-panel-section .container {
    width: min(100%, calc(100% - 32px));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 79px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero-slider {
    min-height: 440px;
    border-radius: 0 0 24px 24px;
  }

  .hero-content {
    inset: auto 22px 24px 22px;
  }

  .grid-two,
  .contact-grid,
  .page-grid,
  .form-grid,
  .cards-grid,
  .stats-grid,
  .home-summary-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-card {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-nav {
    display: none;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-content {
    white-space: normal;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-card {
    min-height: 128px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .stat-value {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .stat-label {
    font-size: .98rem;
  }

  .home-overview-section .container,
  .page-panel-section .container {
    width: min(100%, calc(100% - 20px));
  }

  .home-overview-panel,
  .page-panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .home-overview-block {
    margin-bottom: 22px;
  }

  .home-summary-grid {
    margin-bottom: 26px;
  }
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.reference-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.reference-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.reference-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.reference-card p {
  font-size: .95rem;
}

@media (max-width: 1024px) {
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}

.maps-section {
  margin-top: 24px;
}

.maps-frame-wrap {
  width: 100%;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef3fb;
}

.maps-frame-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.floating-maps-btn {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .20);
  transition: transform .25s ease, opacity .25s ease;
}

.floating-maps-btn:hover {
  transform: translateY(-2px);
}

.floating-maps-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-call-btn {
  position: fixed;
  right: 18px;
  bottom: 154px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .20);
  transition: transform .25s ease, opacity .25s ease;
}

.floating-call-btn:hover {
  transform: translateY(-2px);
}

.floating-call-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .maps-frame-wrap {
    min-height: 320px;
  }

  .maps-frame-wrap iframe {
    height: 320px;
  }

  .floating-maps-btn {
    right: 14px;
    bottom: 82px;
    width: 50px;
    height: 50px;
  }

  .floating-call-btn {
    right: 14px;
    bottom: 144px;
    width: 50px;
    height: 50px;
  }
}

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

.bank-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bank-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.bank-logo-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.bank-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.bank-head-text h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.bank-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.bank-card-body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15,23,42,.03);
}

.bank-info-row span {
  color: var(--muted);
  font-size: .92rem;
}

.bank-info-row strong {
  color: var(--text);
  text-align: right;
}

.bank-iban-row strong {
  font-size: 1.05rem;
  letter-spacing: .04em;
}

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

.bank-mini-box {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.bank-mini-box span {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.bank-mini-box strong {
  color: var(--text);
  font-size: .96rem;
}

.bank-description {
  color: var(--muted);
  line-height: 1.7;
}

.bank-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1024px) {
  .bank-accounts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bank-card-head {
    align-items: flex-start;
  }

  .bank-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bank-info-row strong {
    text-align: left;
  }

  .bank-info-grid {
    grid-template-columns: 1fr;
  }
}