/* ==========================================================
   JK Servis – Custom Styles
   Design: Sharp & Corporate | Navy + Amber | Archivo + DM Sans
   ========================================================== */

/* ── CSS Variables ── */
:root {
  --primary:    #1a3a5c;
  --secondary:  #0f2336;
  --accent:     #e8943a;
  --dark:       #081420;
  --light:      #f5f7fa;
  --white:      #ffffff;
  --text:       #2d3748;
  --text-soft:  #718096;
  --radius:     12px;
  --nav-h:      80px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent document-level horizontal scroll */
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Page Loader ── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ── Section labels ── */
.section-label {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* Logo */
.logo-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  transition: color 0.3s;
}

.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: lowercase;
  transition: color 0.3s;
}

.navbar.transparent .logo-text { color: white; }
.navbar.transparent .logo-sub  { color: rgba(255,255,255,0.5); }
.navbar.scrolled .logo-text    { color: var(--primary); }
.navbar.scrolled .logo-sub     { color: var(--text-soft); }

/* Nav links */
#nav-links a {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  padding-bottom: 2px;
}

#nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}

#nav-links a:hover::after { width: 100%; }

.navbar.transparent #nav-links a { color: rgba(255,255,255,0.85); }
.navbar.transparent #nav-links a:hover { color: white; }
.navbar.scrolled #nav-links a   { color: var(--text); }
.navbar.scrolled #nav-links a:hover { color: var(--primary); }

/* CTA Button */
.nav-cta-btn {
  background: var(--accent);
  color: white;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.nav-cta-btn:hover {
  background: #d4832a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,148,58,0.3);
}

/* Hamburger */
.hamburger-line {
  background: white;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, background 0.3s;
}

.navbar.scrolled .hamburger-line { background: var(--primary); }

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  width: 24px;
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.open { max-height: 420px; }

#mobile-nav-links a {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.2s;
}

#mobile-nav-links a:hover { color: var(--primary); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  background: var(--dark);
  min-height: 100vh;
}

/* ── Video background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(8,20,32,0.55) 0%,
    rgba(8,20,32,0.40) 50%,
    rgba(8,20,32,0.70) 100%
  );
  z-index: 1;
}

/* Hero badge */
.hero-badge {
  background: rgba(232,148,58,0.15);
  border: 1px solid rgba(232,148,58,0.3);
  color: var(--accent);
}

.badge-dot { background: var(--accent); }

/* Hero accent line */
.hero-accent-line {
  color: var(--accent);
  display: block;
}

/* Hero CTA buttons */
.hero-btn-primary {
  background: var(--accent);
  color: white;
  font-family: 'Archivo', sans-serif;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.hero-btn-primary:hover {
  background: #d4832a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,148,58,0.35);
}

.hero-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: 'Archivo', sans-serif;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* Trust badges */
.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.hero-trust-badge i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Hero visual */
.hero-visual-box {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.hero-visual-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.float-card-icon { color: var(--accent); }

/* Hero diagonal */
.hero-diagonal {
  height: 80px;
  background: var(--white);
  -webkit-clip-path: polygon(0 100%, 100% 0, 100% 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section { background: var(--white); overflow-x: hidden; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  border: 2px dashed rgba(26,58,92,0.15);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.placeholder-label {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-family: 'DM Sans', sans-serif;
}

.about-accent-bar {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 8px;
  opacity: 0.15;
  z-index: -1;
}

/* Stats grid */
.stats-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.stat-word-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.about-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1px solid rgba(26,58,92,0.1);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.about-trust-badge i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-number {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--primary);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-section { background: var(--light); overflow-x: hidden; }

/* Bento grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: rgba(26,58,92,0.1);
}

.service-card:hover::before { transform: scaleX(1); }

/* First card: featured/large */
.service-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 44px 44px;
}

@media (max-width: 768px) {
  .service-card:first-child { grid-template-columns: 1fr; }
}

.service-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--light);
  border: 2px dashed rgba(26,58,92,0.12);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(26,58,92,0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.service-icon-wrap i {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s;
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
}
.service-card:hover .service-icon-wrap i { color: white; }

.service-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   PROCESS
══════════════════════════════════════════ */
.process-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.process-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.process-section .section-label { color: var(--accent); }
.process-section .section-label::before { background: var(--accent); }

.process-deco-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: background 0.3s, border-color 0.3s;
}

.process-step:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(232,148,58,0.3);
}

.process-step-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
}

.process-step-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

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

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  border-bottom: 2px dashed rgba(26,58,92,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gallery-img-placeholder i {
  width: 32px;
  height: 32px;
  color: rgba(26,58,92,0.2);
}

.gallery-img-placeholder span {
  font-size: 0.75rem;
  color: rgba(26,58,92,0.3);
}

.gallery-info {
  padding: 16px;
}

.gallery-category {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.gallery-caption {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ══════════════════════════════════════════
   FEATURES / WHY US
══════════════════════════════════════════ */
.features-section { background: var(--light); overflow-x: hidden; }

.features-accent-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(232,148,58,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s;
}

.feature-icon-wrap i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.feature-card:hover .feature-icon-wrap { background: var(--accent); }
.feature-card:hover .feature-icon-wrap i { color: white; }

.feature-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-section { background: var(--white); }

.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: rgba(26,58,92,0.25); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }
.faq-question:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section { background: var(--secondary); overflow-x: hidden; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

/* Info col */
.contact-section .section-label { color: var(--accent); }
.contact-section .section-label::before { background: var(--accent); }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

a.contact-info-item:hover { opacity: 0.85; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,148,58,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: background 0.3s;
}

a.contact-info-item:hover .contact-info-icon { background: var(--accent); }
a.contact-info-item:hover .contact-info-icon i { color: white; }

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.contact-info-value { color: white; }
.contact-info-note { color: rgba(255,255,255,0.4); }

/* Map */
.contact-map {
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Form col */
.contact-form-inner {
  background: white;
  border-radius: calc(var(--radius) + 4px);
  padding: 40px 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.form-input.error { border-color: #e53e3e; }

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

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 4px;
  min-height: 18px;
}

.form-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-size: 1rem;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.form-submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,148,58,0.3);
}

.form-submit-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-success {
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.4);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #276749;
  text-align: center;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer-section { background: var(--dark); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-links-col ul a,
.footer-links-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-col ul a:hover { color: var(--accent); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* ══════════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 100;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1fba59;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover { background: var(--accent); }
.scroll-top-btn:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ══════════════════════════════════════════
   LEAFLET MAP OVERRIDE
══════════════════════════════════════════ */
.leaflet-container { font-family: 'DM Sans', sans-serif; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablet / small desktop ── */
@media (max-width: 768px) {
  .hero-h1-line1 { font-size: 2.4rem !important; }
  .hero-accent-line { font-size: 2rem !important; }
  .hero-visual-box { display: none; }
  .hero-section { min-height: auto; padding-top: 120px; padding-bottom: 80px; }
  .contact-form-inner { padding: 28px 20px; }
  .stat-number { font-size: 1.75rem; }
  .process-header { text-align: center; }
}

/* ── Small phones ≤ 480px ── */
@media (max-width: 480px) {
  .hero-trust-badge {
    font-size: 0.8rem;
    padding: 6px 10px;
    gap: 6px;
  }
  .about-trust-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .service-card-content {
    padding: 20px 16px;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ── Very small screens < 350px ── */
@media (max-width: 349px) {
  /* Containers */
  .max-w-7xl, .max-w-4xl, .max-w-2xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Nav */
  .nav-inner { height: 64px !important; }
  .logo-text { font-size: 1rem !important; }

  /* Hero */
  .hero-section { padding-top: 96px !important; }
  .hero-h1-line1 { font-size: 2rem !important; }
  .hero-accent-line { font-size: 1.6rem !important; }
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }
  #hero-trust-badges {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .hero-trust-badge {
    width: 100%;
    justify-content: flex-start;
  }

  /* About stats */
  .stats-grid { grid-template-columns: 1fr !important; }

  /* Contact */
  .contact-form-inner { padding: 20px 16px !important; }
  .contact-detail-value { word-break: break-all; }

  /* CTA banner */
  .cta-headline { font-size: 1.5rem !important; }

  /* Floating buttons */
  .whatsapp-float { right: 12px !important; bottom: 72px !important; }
  .scroll-top-btn { right: 12px !important; bottom: 12px !important; }
}

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-section {
  background:
    linear-gradient(135deg, rgba(8,20,32,0.82) 0%, rgba(26,58,92,0.75) 100%),
    url('https://tse1.mm.bing.net/th/id/OIP.l-zR1CdO5eKmyYpiVr6TvgAAAA?w=474&h=243&rs=1&pid=ImgDetMain&o=7&rm=3') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232,148,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .cta-btn-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.cta-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.cta-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .cta-label { padding-left: 0; }
  .cta-label::before { display: none; }
}

.cta-headline {
  font-family: 'Archivo', sans-serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: white;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .cta-headline { font-size: 1.875rem; }
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 520px;
}

.cta-btn-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.cta-btn-primary {
  background: var(--accent);
  color: white;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 12px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.cta-btn-primary:hover {
  background: #d4832a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,148,58,0.4);
}

.cta-btn-secondary {
  color: rgba(255,255,255,0.75);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.cta-btn-secondary:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
}

/* ══════════════════════════════════════════
   PREFERS-REDUCED-MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
