/* ================================================
   MODERN.CSS — Autoilija Ilmari Liuha
   ================================================ */

:root {
  --primary: #0b6ebd;
  --primary-dark: #0857a0;
  --primary-light: #e8f4fd;
  --accent: #f57c00;
  --dark: #0d1b2a;
  --dark-2: #0b2447;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --text: #1a202c;
  --text-light: #4a5568;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

/* ================================================
   NAVBAR
   ================================================ */
#mainNav {
  background: transparent;
  padding: 1.5rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#mainNav.navbar-scrolled {
  background: rgba(13, 27, 42, 0.97);
  padding: 0.7rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.navbar-brand .brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.navbar-brand:hover .brand-text { opacity: 0.85; }

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-nav .btn-nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.25rem !important;
  margin-left: 0.5rem;
}

.navbar-nav .btn-nav-cta::after { display: none; }

.navbar-nav .btn-nav-cta:hover {
  background: var(--primary-dark);
}

.navbar-toggler {
  border: none;
  padding: 0.4rem;
  color: var(--white);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.28rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-subtitle.light { color: rgba(255, 255, 255, 0.72); }

.section-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('/imgs/20220622_113528888_iOS-min.jpg');
  background-size: cover;
  background-position: 68% center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(11, 110, 189, 0.38) 55%,
    rgba(13, 27, 42, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
  width: 100%;
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.02;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.8rem;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-hero {
  padding: 0.85rem 2.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-primary.btn-hero {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary.btn-hero:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 110, 189, 0.45);
}

.btn-outline-light.btn-hero:hover {
  transform: translateY(-3px);
}

.btn-hero-call {
  background: #22c55e;
  border-color: #22c55e;
  color: var(--white);
}

.btn-hero-call:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
}

.hero-scroll-down {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  animation: scrollBounce 2.5s infinite;
}

.hero-scroll-down:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

@keyframes scrollBounce {
  0%, 60%, 100% { transform: translateX(-50%) translateY(0); }
  30% { transform: translateX(-50%) translateY(-10px); }
}

/* ================================================
   ABOUT
   ================================================ */
.section-about {
  padding: 110px 0;
  background: var(--white);
}

.trust-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 2.5rem;
}

.trust-badge-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-badge-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-badge-text {
  flex: 1;
  min-width: 140px;
}

.trust-badge-text strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-badge-text p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.trust-logo {
  max-width: 80px;
  height: auto;
  transition: opacity var(--transition);
}

.trust-logo:hover { opacity: 0.8; }

.about-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.about-image {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ================================================
   SERVICES
   ================================================ */
.section-services {
  padding: 110px 0;
  background: var(--gray-100);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--gray-200);
}

.service-list li:last-child { border-bottom: none; }

.service-list li .fa-check {
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  transition: all var(--transition);
  align-self: flex-start;
}

.btn-service:hover {
  background: transparent;
  color: var(--primary);
  transform: translateX(4px);
}

/* ================================================
   GALLERY
   ================================================ */
.section-gallery {
  padding: 110px 0;
  background: var(--white);
}

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

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 110, 189, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 1.6rem;
}

.gallery-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ================================================
   CONTACTS
   ================================================ */
.section-contacts {
  padding: 110px 0 0;
  background: var(--dark);
  color: var(--white);
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  height: 100%;
  transition: background var(--transition), border-color var(--transition);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-card-icon {
  width: 62px;
  height: 62px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
  transition: transform var(--transition);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.9;
}

.contact-card a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
  display: block;
}

.contact-card a:hover {
  color: var(--white);
}

.map-container {
  width: 100%;
  margin-top: 4rem;
  line-height: 0;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(15%) brightness(0.92);
}

/* ================================================
   CONTACT FORM
   ================================================ */
.section-form {
  padding: 110px 0;
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.section-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(11, 110, 189, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--gray-100);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 189, 0.14);
  background: var(--white);
}

.form-floating > label {
  color: var(--gray-600);
  font-size: 0.88rem;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.btn-form-submit {
  background: var(--primary);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.9rem 3rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}

.btn-form-submit:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 110, 189, 0.4);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #080f18;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.75rem 0;
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.footer-info {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  margin: 0;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social li a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

.footer-back-top {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  display: block;
  transition: color var(--transition);
}

.footer-back-top:hover {
  color: var(--white);
}

.footer-links {
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  #mainNav .navbar-collapse {
    background: rgba(13, 27, 42, 0.98);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .btn-nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-block;
  }

  .navbar-nav .nav-link::after { display: none; }
}

@media (max-width: 767px) {
  .section-about,
  .section-services,
  .section-gallery,
  .section-form {
    padding: 75px 0;
  }

  .section-contacts {
    padding: 75px 0 0;
  }

  .form-card {
    padding: 1.75rem;
  }

  .map-container iframe {
    height: 300px;
  }

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

  .btn-hero {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 576px) {


  .trust-badge-inner {
    flex-direction: column;
    text-align: center;
  }

  .trust-badge-text { text-align: center; }
}

/* ================================================
   TRUST STRIP
   ================================================ */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.75rem;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.trust-item:last-child { border-right: none; }

.trust-item-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-item-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.trust-item-text span {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) { border-top: 1px solid var(--gray-200); }
  .trust-item:nth-child(4) { border-right: none; }
}

@media (max-width: 480px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 1.1rem 1rem; gap: 0.65rem; }
  .trust-item-icon { width: 38px; height: 38px; font-size: 0.9rem; }
}

/* ================================================
   ABOUT — feature list
   ================================================ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.feature-list li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ================================================
   CONTACT — call buttons
   ================================================ */
.call-btn {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
}

.call-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 110, 189, 0.38);
}

.call-btn-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.call-btn:hover .call-btn-icon { background: rgba(255, 255, 255, 0.18); }

.call-btn-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.call-btn-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.5px;
}

/* ================================================
   MOBILE FLOATING CALL BUTTON
   ================================================ */
.mobile-call-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: #22c55e;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem 0.85rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
  transition: all var(--transition);
  animation: fabPulse 3s ease-in-out infinite;
}

.mobile-call-fab i { font-size: 1.1rem; }

.mobile-call-fab:hover {
  background: #16a34a;
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.6);
  animation: none;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 4px 32px rgba(34, 197, 94, 0.75); }
}

@media (max-width: 991px) {
  .mobile-call-fab { display: flex; }
}

/* ================================================
   SUB-PAGES — navbar always dark
   ================================================ */
body.sub-page #mainNav {
  background: rgba(13, 27, 42, 0.97) !important;
  padding: 0.7rem 0 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 60%, var(--dark) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(11, 110, 189, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.28rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.page-hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-top: 0.6rem;
}

/* ===== Page Content ===== */
.page-content {
  padding: 80px 0;
  background: var(--white);
}

/* ===== Prose (text-heavy pages) ===== */
.prose-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.prose-section {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.prose-section:last-child { border-bottom: none; }

.prose-section h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.prose-section h3 i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
}

.prose-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.prose-section p:last-child { margin-bottom: 0; }

.prose-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.prose-section a:hover { color: var(--primary-dark); }

.browser-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.browser-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all var(--transition);
}

.browser-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary) !important;
}

@media (max-width: 576px) {
  .prose-section { padding: 1.5rem; }
}

/* ===== Cookie Declaration wrapper ===== */
.cookie-declaration {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .cookie-declaration { padding: 1.25rem; }
}

/* ===== Success Page ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
}

.success-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
}

.success-inner { max-width: 480px; }

.success-icon {
  width: 86px;
  height: 86px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--white);
  margin: 0 auto 2rem;
  box-shadow: 0 0 0 14px rgba(34, 197, 94, 0.15);
}

.success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.success-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.success-redirect {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  margin-top: 1.5rem;
}

.success-redirect span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ===== Error Pages ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
}

.error-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.error-bg-number {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14rem, 38vw, 30rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.028);
  line-height: 1;
  user-select: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.error-icon {
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 1.5rem;
}

.error-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(11, 110, 189, 0.15);
  border: 1px solid rgba(11, 110, 189, 0.25);
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.error-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.error-message {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-error-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--primary);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-error-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 110, 189, 0.4);
}

.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-error-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Shared minimal footer for standalone pages */
.minimal-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.minimal-footer p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin: 0;
}
