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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a2533;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-gray {
  background: #f4f6f9;
}

.section-light {
  background: #f8fafc;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding-left: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-revot {
  height: auto;
  width: 192px;
  max-width: 192px;
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}

.navbar.scrolled .logo-revot {
  filter: none;
}

.logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text-main {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color 0.35s;
}

.navbar.scrolled .logo-text-main {
  color: #1a2533;
}

.logo-text-sub {
  font-size: 0.45rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.35s;
}

.navbar.scrolled .logo-text-sub {
  color: #666;
}

.logo-nzu {
  height: 64px;
  width: auto;
  max-width: 140px;
}

.nzu-badge {
  background: linear-gradient(135deg, #2563eb, #16a34a);
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.navbar.scrolled .nav-links a {
  color: #374151;
}

.navbar.scrolled .nav-links a:hover {
  color: #1e4e72;
}

.btn-nav {
  background: #fff;
  border: 2px solid #fff;
  color: #1e4e72 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s !important;
}

.btn-nav:hover {
  background: #f0f7ff !important;
  color: #1e4e72 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 78, 114, 0.18);
}

/* Scrolled state — blue filled */
.navbar.scrolled .btn-nav {
  background: #1e4e72;
  border-color: #1e4e72;
  color: #fff !important;
}

.navbar.scrolled .btn-nav:hover {
  background: #163d5a !important;
  border-color: #163d5a;
  color: #fff !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.navbar.scrolled .hamburger span {
  background: #1a2533;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #eee;
  gap: 0.75rem;
  background: #fff;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 0;
}

.mobile-menu .btn-nav {
  text-align: center;
  margin-top: 0.5rem;
  background: #1e4e72 !important;
  border-color: #1e4e72 !important;
  color: #fff !important;
}

.mobile-menu .btn-nav:hover {
  background: #163d5a !important;
  border-color: #163d5a !important;
  color: #fff !important;
}

.mobile-menu.open {
  display: flex;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: url('images/hero-bg.webp') center center / cover no-repeat,
              url('https://images.unsplash.com/photo-1613977257592-4a9a32f9141b?auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
  background-color: #0f2c44;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 15, 48, 0.93) 0%,
    rgba(6, 20, 58, 0.85) 30%,
    rgba(8, 28, 70, 0.52) 58%,
    rgba(5, 15, 45, 0.08) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: 5rem;
}

.hero-content {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 3rem;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
  animation: hero-float 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
}

.hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title span {
  font-weight: 900;
  text-transform: none;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-buttons > * {
  max-width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1e4e72;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, letter-spacing 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f0f7ff;
  box-shadow: 0 8px 28px rgba(30, 78, 114, 0.22);
  letter-spacing: 0.01em;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  cursor: default;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background 0.25s;
}

.stat:hover {
  background: rgba(255,255,255,0.12);
}

.stat-num {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.2s;
}

.stat:hover .stat-num {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* ===========================
   SECTION HEADERS
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1e4e72;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #1a2533;
  line-height: 1.2;
}

/* ===========================
   CARDS GRID
=========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.cards-grid > *,
.cards-grid--2 > *,
.about-layout > *,
.about-cards > *,
.why-grid > *,
.real-grid > *,
.gallery-grid > *,
.contact-layout > *,
.footer-inner > *,
.form-row > *,
.brand-logos > *,
.partners-grid > * {
  min-width: 0;
}

.card {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.section-gray .card {
  background: #fff;
}

.card-icon {
  color: #1e6fa0;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2533;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.card ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e6fa0;
}

/* Brand logos */
.brand-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-siemens { color: #009999; font-size: 1.4rem; }
.brand-ktr { color: #1a2533; }
.brand-loxone { color: #78b428; font-size: 1.2rem; }
.brand-tech { color: #1a2533; font-size: 0.9rem; letter-spacing: 0.05em; }

.brand-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
}

.brand-link:hover {
  border-color: #d1d5db;
  background: #f4f6f9;
  transform: translateY(-2px);
}

.brand-img {
  max-height: 36px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ===========================
   ZOOM ICON ON REAL CARDS
=========================== */
.real-img-wrap {
  cursor: pointer;
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2533;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 2;
  pointer-events: none;
}

.real-img-wrap:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.real-img-wrap:hover img {
  transform: scale(1.06);
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-body {
  max-width: min(1100px, calc(100vw - 140px));
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 6px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-counter {
  position: fixed;
  top: 1.5rem;
  left: 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2001;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

@media (max-width: 768px) {
  .lightbox-body {
    max-width: calc(100vw - 80px);
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* Gallery hidden by default */
.gallery-section {
  display: none;
}

.gallery-section.gallery-visible {
  display: block;
}

/* ===========================
   ABOUT
=========================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  padding: 1.5rem;
  transition: box-shadow 0.25s;
}

.about-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.about-card-icon {
  color: #1e6fa0;
  margin-bottom: 0.75rem;
}

.about-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2533;
  margin-bottom: 0.35rem;
}

.about-card p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ===========================
   WHY US
=========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e9ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e6fa0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.why-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2533;
}

.why-item p {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ===========================
   REALIZACE
=========================== */
.real-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.real-card {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.real-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.real-img-wrap {
  height: 240px;
  overflow: hidden;
  background: #dce3ec;
  position: relative;
}

.real-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}

/* Per-image framing adjustments */
.real-img-wrap[data-index="1"] img {
  object-position: center 40%; /* obrázek 2 – vidět kolektory na střeše */
}

.real-img-wrap[data-index="3"] img {
  object-position: center 20%; /* obrázek 4 – posunutý níž */
}

.real-card:hover .real-img-wrap img {
  transform: scale(1.04);
}

.real-img-wrap.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-img-wrap.img-placeholder::after {
  content: '📷';
  font-size: 2rem;
  opacity: 0.3;
}

.real-info {
  padding: 1.5rem;
}

.real-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1e6fa0;
  text-transform: uppercase;
}

.real-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2533;
  margin: 0.4rem 0 0.5rem;
}

.real-info p {
  font-size: 0.87rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ===========================
   GALLERY
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item .real-img-wrap {
  height: 100%;
  border-radius: 0;
}

.img-placeholder {
  background: #e5e9ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder::after {
  content: '';
  display: block;
}

/* ===========================
   BUTTONS
=========================== */
.btn-teal {
  display: inline-flex;
  align-items: center;
  background: #1e4e72;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-teal:hover {
  background: #163d5a;
  transform: translateY(-1px);
}

/* ===========================
   CONTACT
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2533;
  display: block;
}

.contact-tagline {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.25rem 0 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  font-size: 0.92rem;
  min-width: 0;
}

.contact-item svg {
  color: #1e6fa0;
  flex-shrink: 0;
}

.contact-item span,
.contact-item a,
.footer-contact p,
.footer-contact a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: #1e6fa0;
  text-decoration: underline;
}

.map-embed {
  margin-top: 0.5rem;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: #f0f5f9;
  border: 1px solid #d4dde6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
}

.map-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.map-placeholder-inner p {
  margin: 0;
  font-size: 0.875rem;
}

.map-consent-btn {
  padding: 0.4rem 1rem;
  background: #1e6fa0;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.map-consent-btn:hover {
  background: #155d8a;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1e6fa0;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.75rem;
}

.map-link:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: #1a2533;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1e4e72;
  box-shadow: 0 0 0 3px rgba(30, 78, 114, 0.1);
}

/* ===========================
   FAQ
=========================== */
.faq-accordion {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.faq-row {
  background: transparent;
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 68px;
  padding: 1.05rem 1.35rem;
  border-radius: 12px;
  border: 1px solid #d8e1ea;
  background: #ffffff;
  color: #1a2533;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(18, 44, 66, 0.05);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  border-color: #bfd2e3;
  box-shadow: 0 10px 26px rgba(18, 44, 66, 0.09);
  transform: translateY(-1px);
}

.faq-question:focus-visible {
  outline: none;
  border-color: #1e4e72;
  box-shadow: 0 0 0 3px rgba(30, 78, 114, 0.14);
}

.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #cbd7e3;
  flex-shrink: 0;
  position: relative;
  background: #f8fbff;
  transition: transform 0.25s, border-color 0.25s, background-color 0.25s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #1e4e72;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 2px;
  height: 10px;
}

.faq-answer {
  margin-top: 0.5rem;
  border-radius: 12px;
  border: 1px solid #dce5ee;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 44, 66, 0.06);
  padding: 0 1.35rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
}

.faq-answer p {
  margin: 0;
  color: #4b5563;
  font-size: 0.96rem;
  line-height: 1.72;
}

.faq-row[open] .faq-question {
  border-color: #1e4e72;
  box-shadow: 0 12px 30px rgba(30, 78, 114, 0.12);
}

.faq-row[open] .faq-toggle {
  border-color: #1e4e72;
  background: #f0f6fc;
  transform: rotate(180deg);
}

.faq-row[open] .faq-toggle::after {
  opacity: 0;
}

.faq-row[open] .faq-answer {
  max-height: 260px;
  opacity: 1;
  padding: 1.05rem 1.35rem;
  transform: translateY(0);
}

/* FAQ layout — accordion then contact card below */
.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.faq-layout .faq-accordion {
  max-width: 100%;
  margin: 0;
}

/* FAQ contact strip */
.faq-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  border-radius: 10px;
  background: #eef4f9;
  border-left: 3px solid #1e4e72;
  flex-wrap: wrap;
}

.faq-strip-text {
  font-size: 0.88rem;
  color: #3d5a72;
  font-weight: 500;
  white-space: nowrap;
}

.faq-strip-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.faq-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e4e72;
  text-decoration: none;
  transition: opacity 0.2s;
}

.faq-strip-link:hover {
  opacity: 0.7;
}

.faq-strip-divider {
  width: 1px;
  height: 14px;
  background: #c0d0de;
}

.faq-strip-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: #1e4e72;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.faq-strip-btn:hover {
  background: #163d5a;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .faq-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.contact-captcha-wrap {
  margin-top: 0.5rem;
  max-width: 100%;
  overflow: hidden;
}

.contact-captcha-wrap .h-captcha {
  min-height: 78px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-width: 0;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.is-success {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #111d2b;
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.2fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: clamp(56px, 6vw, 80px);
  width: auto;
  max-width: 100%;
}

.footer-revot-img {
  height: clamp(56px, 6vw, 80px) !important;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  align-items: center;
}

.partner-item {
  display: flex;
  align-items: center;
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.partner-link:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.partner-img {
  max-height: 32px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.partner-link:hover .partner-img {
  opacity: 1;
}

.partner-img--nzu {
  max-height: 52px;
  max-width: 160px;
}

.footer-contact strong {
  display: block;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.footer-contact p {
  font-size: 0.87rem;
  margin-bottom: 0.3rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

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

.footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-self: end;
}

.made-by-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  justify-self: center;
  min-width: max-content;
}

.made-by-label {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  line-height: 1;
}

.made-by-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.made-by-link:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.made-by-logo {
  height: 22px;
  width: auto;
  max-width: none;
  opacity: 0.92;
  display: block;
  transition: opacity 0.2s ease;
}

.made-by-link:hover .made-by-logo {
  opacity: 1;
}

/* ===========================
   RESPONSIVE
=========================== */
/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 1rem 1.25rem;
  width: min(340px, calc(100vw - 2rem));
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: slideUp 0.35s ease;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner p {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.cookie-more {
  background: none;
  border: none;
  color: #1e6fa0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.cookie-banner-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-btn-reject {
  flex: 1;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.cookie-btn-reject:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.cookie-btn-accept {
  flex: 1;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: none;
  background: #1e4e72;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.cookie-btn-accept:hover {
  background: #163d5a;
}

/* Cookie Modal */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  display: none;
}

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

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 1001;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: min(560px, calc(100vw - 2rem));
  max-height: 80vh;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid #e5e9ef;
  flex-shrink: 0;
}

.cookie-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2533;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
  transition: color 0.2s;
}

.cookie-modal-close:hover {
  color: #374151;
}

.cookie-modal-body {
  overflow-y: auto;
  padding: 1.25rem 1.75rem;
  flex: 1;
}

.cookie-modal-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2533;
  margin: 1.25rem 0 0.4rem;
}

.cookie-modal-body h3:first-child {
  margin-top: 0;
}

.cookie-modal-body p {
  font-size: 0.88rem;
  color: #1e6fa0;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.cookie-modal-body p strong {
  color: #1a2533;
}

.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid #e5e9ef;
  flex-shrink: 0;
}

.cookie-btn-accept--full {
  flex: 2;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .navbar-inner {
    padding-left: 2rem;
  }

  .hero .container {
    padding-left: 3rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero .container {
    padding-left: 2rem;
  }

  .navbar-inner {
    padding: 0 1.25rem;
  }

  .hero-content {
    padding-top: 7rem;
    max-width: 100%;
  }

  .cards-grid,
  .cards-grid--2,
  .about-layout,
  .contact-layout,
  .real-grid {
    grid-template-columns: 1fr;
  }

  .faq-accordion {
    max-width: 100%;
  }

  .faq-question {
    min-height: 62px;
    padding: 0.95rem 1.05rem;
    font-size: 0.96rem;
  }

  .faq-answer {
    padding: 0 1.05rem;
  }

  .faq-row[open] .faq-answer {
    padding: 0.95rem 1.05rem;
    max-height: 300px;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
  }

  .footer-bottom-right {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-self: auto;
  }

  .made-by-center {
    gap: 0.34rem;
  }

  .made-by-logo {
    height: 20px;
  }

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

  .about-layout,
  .contact-layout {
    gap: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat {
    flex: 1 1 140px;
    min-width: 0;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5, 15, 48, 0.90) 0%,
      rgba(5, 15, 48, 0.78) 100%
    );
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    padding: 0.875rem 1.5rem;
  }

  .btn-teal {
    min-height: 44px;
  }

  .btn-nav {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hamburger {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-item svg {
    margin-top: 3px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .mobile-menu {
    padding: 1rem 1.25rem 1.5rem;
  }

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

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

  .why-item:last-child {
    grid-column: 1 / -1;
  }

  .stat-num {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .brand-logos {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .cookie-banner {
    right: 1rem;
    left: 1rem;
    max-width: none;
    bottom: 1rem;
  }

  .cookie-banner-btns,
  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-btn-reject,
  .cookie-btn-accept,
  .cookie-btn-accept--full {
    width: 100%;
  }

  .logo-revot {
    height: 72px;
    width: auto;
    max-width: none;
  }

  .logo-nzu {
    height: 52px;
    width: auto;
    max-width: none;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.5rem;
  }

  .about-card {
    padding: 1.25rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .lightbox-body {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
  }

  .lightbox-body img {
    max-height: calc(100vh - 6rem);
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .lightbox-counter {
    top: 0.95rem;
    left: 0.75rem;
    max-width: calc(100vw - 5.5rem);
  }

  .real-info {
    padding: 1.25rem;
  }

  .contact-layout {
    gap: 2rem;
  }

  .footer-inner {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .navbar-inner {
    padding: 0 1rem;
  }

  .logo-revot {
    height: 62px;
    width: auto;
    max-width: none;
  }

  .logo-nzu {
    height: 46px;
    width: auto;
    max-width: none;
  }

  .hero .container {
    padding-left: 1rem;
  }

  .hero-title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    gap: 0.75rem 1rem;
  }

  .stat-num {
    font-size: 1.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .real-info {
    padding: 1rem;
  }
}

/* ─── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
  text-decoration: none;
  opacity: 0;
  animation: scroll-indicator-fadein 1s ease 1.4s forwards;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 0.9 !important;
}

@keyframes scroll-indicator-fadein {
  to { opacity: 0.55; }
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-top: 5px;
}

.scroll-wheel {
  width: 2px;
  height: 7px;
  background: #fff;
  border-radius: 2px;
  animation: scroll-wheel-move 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

@keyframes scroll-wheel-move {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  75% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(18px);
    opacity: 0;
  }
}

.scroll-label {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .scroll-indicator {
    display: none;
  }

  .hero-stats {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .stat {
    padding: 0.5rem 0.4rem;
  }
}
