/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --base: #0d1117;
  --surface: #161b22;
  --surface-up: #1c2333;
  --border: rgba(255,255,255,0.08);
  --blue: #1E6FD9;
  --blue-glow: rgba(30,111,217,0.15);
  --blue-light: #4A90D9;
  --text: #e6edf3;
  --text-sec: #adb5bd;
  --white: #ffffff;
  --black: #0d0f14;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--base);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== GLOBAL SECTION ===== */
section { padding: 5rem 1.25rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: normal;
  color: var(--blue);
  display: block;
}

.section-lead {
  color: var(--text-sec);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; object-fit: contain; display: block; }

nav ul { display: flex; gap: 2rem; }

.nav-mobile-lang { display: none; }

nav a {
  font-family: var(--font-head);
  color: var(--text-sec);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

nav a:hover, nav a.active { color: var(--text); }
nav a:hover::after, nav a.active::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: 0.3rem;
  margin-left: 1.5rem;
}

.lang-btn {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sec);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--base);
}

.lang-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.5);
  color: var(--text);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  order: -1;
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 72vh;
  padding: 6rem 1.25rem 3rem;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(13,17,23,0.92) 0%, rgba(13,17,23,0.75) 50%, rgba(30,111,217,0.2) 100%),
    url('../img/hero-bg.webp') center center / cover no-repeat;
  background-color: var(--base);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--surface), transparent);
}

.hero .container { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(30,111,217,0.4);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--blue);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 0 30px rgba(30,111,217,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-full { width: 100%; text-align: center; }

/* ===== HERO ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge  { animation: fadeUp 0.6s ease forwards; animation-delay: 0.1s; opacity: 0; }
.hero h1     { animation: fadeUp 0.6s ease forwards; animation-delay: 0.3s; opacity: 0; }
.hero-sub    { animation: fadeUp 0.6s ease forwards; animation-delay: 0.5s; opacity: 0; }
.hero-cta    { animation: fadeUp 0.6s ease forwards; animation-delay: 0.7s; opacity: 0; }

.stat-item:nth-child(1) { animation: fadeUp 0.5s ease forwards; animation-delay: 0.9s; opacity: 0; }
.stat-item:nth-child(3) { animation: fadeUp 0.5s ease forwards; animation-delay: 1.0s; opacity: 0; }
.stat-item:nth-child(5) { animation: fadeUp 0.5s ease forwards; animation-delay: 1.1s; opacity: 0; }
.stat-item:nth-child(7) { animation: fadeUp 0.5s ease forwards; animation-delay: 1.2s; opacity: 0; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue);
  width: 100%;
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.stat-item {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stats-bar .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin: 1rem 0;
}

/* ===== ABOUT ===== */
#o-nas { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: start;
}

.about-img {
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 80px;
  min-height: 480px;
}

.about-img img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.about-content .section-label { margin-bottom: 0.5rem; }

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-sec);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.about-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  justify-content: center;
}

.chip {
  display: inline-block;
  background: var(--surface-up);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  transition: var(--transition);
}

.chip:hover {
  border-color: rgba(30,111,217,0.4);
  color: var(--text);
}

/* ===== SERVICES ===== */
#sluzby { background: var(--base); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  transition: color 0.3s;
  pointer-events: none;
}

.service-card:hover::before { color: rgba(30,111,217,0.12); }

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(30,111,217,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(30,111,217,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(30,111,217,0.2);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 44px; height: 44px;
  background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-sec);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.service-more {
  background: none;
  border: none;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  padding: 0;
  margin-top: 1.25rem;
  transition: color 0.2s;
  text-align: left;
}

.service-more:hover { color: var(--white); }

/* ===== REFERENCES ===== */
#reference { background: var(--surface); }

.ref-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

.ref-logo-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  min-height: 80px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.ref-logo-item:hover {
  background: rgba(30,111,217,0.08);
  border-color: rgba(30,111,217,0.3);
}

.ref-logo-item span {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: color var(--transition);
}

.ref-logo-item:hover span { color: var(--text); }

.ref-logo-item small {
  font-size: 0.72rem;
  color: var(--text-sec);
  margin-top: 0.2rem;
  opacity: 0.6;
}

.ref-logo-item--intl span { color: var(--blue-light); }

@media (min-width: 600px) { .ref-logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .ref-logo-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== CERTIFIKACE ===== */
#certifikace {
  background: var(--base);
  background-image:
    linear-gradient(rgba(30,111,217,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cert-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cert-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-sec);
  margin-bottom: 1.5rem;
}

.cert-block strong { color: var(--white); }

.cert-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.cert-tag {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.25);
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
}

.cert-note {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.35) !important;
  font-style: italic;
}

/* ===== CONTACT ===== */
#kontakt { background: var(--surface); padding-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-rows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.contact-row {
  padding: 1rem 0 1.25rem 1.25rem;
  border-left: 2px solid rgba(30,111,217,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}

.contact-row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.contact-row-text { color: var(--text-sec); font-size: 1rem; line-height: 1.6; }
.contact-row-text a { color: var(--text); font-size: 1rem; transition: color var(--transition); }
.contact-row-text a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-sec);
  opacity: 0.6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(30,111,217,0.05);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,111,217,0.1);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

#formMsg { font-size: 0.9rem; padding: 0.4rem 0; min-height: 1.2rem; }

.input-error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15) !important;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 0.35rem;
  padding-left: 0.25rem;
}

.map-wrapper {
  position: relative;
  margin-top: 3rem;
  height: 420px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.map-wrapper iframe {
  width: 100%; height: 100%;
  display: block;
  filter: grayscale(30%) brightness(0.85);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,17,23,0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.4s;
}

.map-overlay.hidden { opacity: 0; pointer-events: none; }

.map-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-overlay-inner svg {
  width: 28px; height: 28px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ===== FOOTER ===== */
footer {
  background: var(--base);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-sec);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.5;
}

.footer-logo-img { height: 28px; width: auto; object-fit: contain; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.3rem;
}

.footer-links a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact a {
  color: var(--text-sec);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p { color: var(--text-sec); font-size: 0.8rem; }
.footer-bottom strong { color: var(--text); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
}

.modal-overlay.open { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  z-index: 2001;
  width: 90vw;
  max-width: 720px;
  max-height: 85vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  overflow: hidden;
}

.modal.open {
  display: flex;
  flex-direction: column;
  animation: modalIn 0.25s cubic-bezier(0.4,0,0.2,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -48%); }
}

.modal-inner {
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -0.5rem -0.5rem 0.5rem 1rem;
  background: var(--surface-up);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sec);
  transition: var(--transition);
  z-index: 1;
}

.modal-close:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.modal-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-right: 2rem;
  border-bottom: 3px solid var(--blue);
  padding-bottom: 0.75rem;
}

.modal-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.modal-content p { color: var(--text-sec); line-height: 1.8; margin-bottom: 0.75rem; }
.modal-content a { color: var(--blue); }

.modal-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }

.modal-content ul li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.modal-content ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
}

.modal-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.modal-cta .btn-primary {
  background: var(--blue);
  color: var(--white) !important;
}

.modal-cta .btn-primary:hover {
  background: var(--blue-light);
  color: var(--white) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0.75rem auto 0; }
  .footer-logo-img { margin: 0 auto; }
  .footer-links { justify-content: center; }
  .footer-contact { text-align: center; align-items: center; }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: var(--base);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 0.5rem;
  }

  nav ul.open { display: flex; }
  nav a { font-size: 1.04rem; padding: 1rem 0; }
  .nav-mobile-lang {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
  }
  .lang-btn-mob {
    font-family: var(--font-head);
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-sec);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
  }
  .lang-btn-mob.active {
    background: var(--white);
    color: var(--base);
    border-color: var(--white);
  }
  .hamburger { display: flex; z-index: 2; }
  .lang-switch { display: none !important; }
  header .container { position: relative; }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .hero { min-height: 85vh; padding: 5rem 1.25rem 3rem; }
  .hero-text h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .btn-ghost { margin-top: 0; }
  .services-grid { grid-template-columns: 1fr; }

  .modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    top: auto; bottom: 0;
    left: 0; right: 0;
    transform: none;
    border-radius: 16px 16px 0 0;
  }
  .modal.open { animation: modalInMobile 0.3s cubic-bezier(0.4,0,0.2,1); }
  @keyframes modalInMobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  .modal-inner { padding: 1.5rem 1.25rem 2rem; }
}

@media (max-width: 600px) {
  .contact-rows-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: 280px; }
  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat-divider { display: none; }
  .stat-item {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.2rem; }
  section { padding: 3.5rem 1rem; }
}
