/* ============================================================
   JaMiT s.r.o. — Custom Styles
   Design: Dark & Premium | Typography: DM Serif Display + DM Sans
   ============================================================ */

/* --- CSS Custom Properties (set by JS from content.json) --- */
:root {
  --primary:    #C17D3A;
  --secondary:  #161616;
  --accent:     #E8A84B;
  --dark:       #0D0D0D;
  --light:      #F7F4EE;
  --text:       #2A2A2A;
  --text-light: #888888;
}

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

html {
  scroll-behavior: auto; /* JS handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent horizontal scroll from GSAP slide animations */
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
}

.section-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: transparent;
  color: #fff;
}

.site-nav.scrolled {
  background: rgba(13, 13, 13, 0.95); /* solid fallback */
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  color: #fff;
}

/* Nav logo image */
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid rgba(193,125,58,0.4);
}

.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0;
}

/* Nav links (desktop) */
#nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

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

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

/* Nav CTA */
.nav-cta {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(193,125,58,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: #A86828;
  transform: translateY(-1px);
}

/* Hamburger */
#hamburger .ham-line {
  background: #fff;
  transition: all 0.3s ease;
}
#hamburger.open .ham-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open .ham-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; margin-left: 0; }

/* Mobile Menu */
.mobile-menu {
  background: rgba(13,13,13,0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#mobile-nav-links a {
  display: block;
  font-size: 1.5rem;
  font-family: 'DM Serif Display', serif;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
}

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

#mobile-cta {
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
}
#mobile-cta:hover { background: #A86828; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform-origin: center;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.6) 0%,
    rgba(13,13,13,0.65) 50%,
    rgba(13,13,13,0.85) 85%,
    rgba(13,13,13,1) 100%
  );
}

.hero-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(232,168,75,0.3);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero Stats Bar */
.hero-stats {
  margin-top: auto;
  width: 100%;
  background: rgba(22,22,22,0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 24px;
  gap: 0;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

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

.hero-stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(193,125,58,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.hero-stat-icon svg { width: 18px; height: 18px; }

.hero-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* Diagonal bottom edge */
.hero-diagonal {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: #F7F4EE;
  -webkit-clip-path: polygon(0 100%, 100% 0, 100% 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 5;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: #F7F4EE; overflow-x: hidden; }

.about-text .section-headline { color: var(--text); }
.about-text p { color: #555; }

.about-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

.about-img { aspect-ratio: 4/5; object-fit: cover; }

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.6;
}

/* USP Cards */
.usp-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.usp-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.usp-icon {
  width: 38px;
  height: 38px;
  background: rgba(193,125,58,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.usp-icon svg { width: 18px; height: 18px; }

.usp-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.usp-desc {
  font-size: 0.8rem;
  color: #888;
  margin-top: 3px;
  line-height: 1.5;
}

/* ============================================================
   SERVICES SECTION (Zigzag)
   ============================================================ */
.services-section { background: #161616; overflow-x: hidden; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}

.service-row:last-child { margin-bottom: 0; }

/* Reverse alternating */
.service-row.reverse .service-img-col { order: 2; }
.service-row.reverse .service-text-col { order: 1; }

.service-img-col {
  position: relative;
  overflow: hidden;
}

.service-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-row:hover .service-img-col img { transform: scale(1.04); }

.service-num-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
}

.service-text-col {
  background: #1C1C1C;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(193,125,58,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.service-icon-wrap svg { width: 22px; height: 22px; }

.service-number {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
}

.service-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mobile services */
@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; }
  .service-img-col { min-height: 240px; }
  .service-row.reverse .service-img-col { order: 0; }
  .service-row.reverse .service-text-col { order: 0; }
  .service-text-col { padding: 32px 28px; }
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section { background: #0D0D0D; overflow-x: hidden; }

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0);
  transition: background 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 14px;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(13,13,13,0.5);
}

.gallery-item-caption {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { background: #F7F4EE; overflow-x: hidden; }
.process-section .section-headline { color: var(--text); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(193,125,58,0.2);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px 0;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 72px;
  height: 72px;
  background: #fff;
  border: 2px solid rgba(193,125,58,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.process-step:hover .process-step-num {
  background: var(--primary);
  border-color: var(--primary);
}

.process-step-num-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.process-step:hover .process-step-num-text { color: #fff; }

.process-step-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin: 0 auto 6px;
  display: none;
}

.process-step-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .process-steps::before { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section { position: relative; }

.cta-bg {
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.cta-overlay {
  background: rgba(13,13,13,0.65);
}

.cta-section .section-headline { font-size: clamp(2rem, 5vw, 3.5rem); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

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

.contact-info { background: #161616; }

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-detail-row:last-child { border-bottom: none; }

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(193,125,58,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}

.contact-detail-value {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail-value a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail-value a:hover { color: var(--primary); }

/* Form Styles */
.contact-form-panel { background: #F7F4EE; }

.form-input {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.08);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193,125,58,0.12);
  outline: none;
}

.form-input::placeholder { color: rgba(42,42,42,0.35); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3px;
  padding: 0 32px;
  height: 50px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(193,125,58,0.15);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: #A86828;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193,125,58,0.25);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary.btn-large {
  height: 56px;
  padding: 0 40px;
  font-size: 0.95rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  padding: 0 30px;
  height: 50px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-nav-links a,
.footer-services-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.footer-nav-links a:hover,
.footer-services-links a:hover {
  color: var(--primary);
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
}

.scroll-top:hover {
  background: #A86828;
  transform: translateY(-2px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   SECTION DECORATIVE ACCENT LINES
   ============================================================ */
.section-header {
  position: relative;
}

/* Accent underline for headlines in dark sections */
.services-section .section-headline::after,
.gallery-section .section-headline::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   GSAP ANIMATION INITIAL STATES
   (GSAP will set these via gsap.from() - listed here for
   graceful degradation if GSAP fails to load)
   ============================================================ */
.fade-up    { opacity: 0; transform: translateY(40px); }
.slide-left { opacity: 0; transform: translateX(-60px); }
.slide-right{ opacity: 0; transform: translateX(60px); }
.scale-in   { opacity: 0; transform: scale(0.93); }

/* ============================================================
   GLIGHTBOX OVERRIDES
   ============================================================ */
.glightbox-container .gslide-image img {
  border-radius: 12px;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

/* ── 768px — hide about image, full-width about text ── */
@media (max-width: 768px) {
  .about-image-wrap { display: none; }
  .about-text { grid-column: 1 / -1; }
}

/* ── 640px — collapse hero stats to 1 col ── */
@media (max-width: 640px) {
  .hero-stats-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
  .hero-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 16px;
    padding-left: 0;
  }
  .hero-stat-item:last-child { border-bottom: none; }
  .hero-diagonal { height: 40px; }
}

/* ── 480px — tighten hero stats, service text cell ── */
@media (max-width: 480px) {
  .hero-stats-inner {
    padding: 16px 12px;
    gap: 10px;
  }
  .hero-stat-item {
    gap: 10px;
    padding-bottom: 10px;
  }
  .hero-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .hero-stat-value { font-size: 0.9rem; }
  .hero-stat-label { font-size: 0.65rem; }

  .service-text-col { padding: 24px 20px; }
  .service-title { font-size: 1.35rem; }
}

/* ── 350px — very small phones ── */
@media (max-width: 350px) {
  /* Containers: tighter horizontal padding */
  .max-w-7xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

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

  /* Hero headline */
  .hero-headline { font-size: 2rem !important; letter-spacing: -0.5px; }

  /* Hero CTA buttons: stack vertically, full width */
  .hero-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero stats: single column, inline value + label */
  .hero-stats-inner {
    grid-template-columns: 1fr;
    padding: 12px 10px;
    gap: 0;
  }
  .hero-stat-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hero-stat-item:last-child { border-bottom: none; }
  .hero-stat-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .hero-stat-value { font-size: 0.8rem; }
  .hero-stat-label { font-size: 0.62rem; }

  /* Services */
  .service-text-col { padding: 20px 14px; }
  .service-title { font-size: 1.2rem; }

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

  /* Contact: tighter padding, wrap long values */
  .contact-info,
  .contact-form-panel {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .contact-detail-value {
    word-break: break-all;
    font-size: 0.85rem;
  }

  /* Images: cap height so they don't dominate */
  #about-img { max-height: 240px; }

  /* Floating buttons: pull in from edge */
  #whatsapp-btn { right: 12px !important; bottom: 88px !important; }
  #scroll-top   { right: 12px !important; bottom: 20px !important; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION (REQUIRED)
   ============================================================ */
@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;
  }

  .fade-up, .slide-left, .slide-right, .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-bg {
    background-attachment: scroll !important;
  }
}
