/* ============================================================
   SERVISO — Premium Stylesheet v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --primary:          #1565c0;
  --primary-light:    #1e88e5;
  --primary-dark:     #0d47a1;
  --primary-gradient: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
  --hero-gradient:    linear-gradient(135deg, #0a2540 0%, #1565c0 50%, #1e88e5 100%);

  --gray-50:  #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --nav-height: 72px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
img  { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; transition: color .3s var(--ease-smooth); }
a:hover { color: var(--primary-dark); }
ul, ol  { list-style: none; }
button  { font-family: inherit; cursor: pointer; }
address { font-style: normal; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
section     { padding: 6rem 0; }
.bg-light   { background: var(--gray-50); }

/* ── Scroll animation ───────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── Section header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header__label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Global buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .3s var(--ease-smooth);
  white-space: nowrap;
  line-height: 1;
}
.btn.btn-primary, .btn--primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn.btn-primary:hover, .btn--primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  color: white;
}
.btn.btn-secondary, .btn--secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn.btn-secondary:hover, .btn--secondary:hover {
  background: var(--primary);
  color: white;
}
.btn--white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn--white:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.btn.btn-outline, .btn--outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}
.btn.btn-outline:hover, .btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .4s var(--ease-smooth), box-shadow .4s var(--ease-smooth);
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 50%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease-smooth);
}
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(32px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(110%);
  box-shadow: var(--shadow-md);
}
.navbar.scrolled::after { opacity: .3; }

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.open-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  transition: background .4s var(--ease-smooth), color .4s var(--ease-smooth);
}
.navbar.scrolled .open-badge { background: var(--gray-100); color: var(--gray-700); }
.open-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.open-badge.is-open .open-dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.open-badge.is-closed .open-dot { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
@media (max-width: 400px) {
  .open-badge { padding: .4rem; }
  .open-badge-label { display: none; }
}
.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .4s var(--ease-smooth);
}
.navbar.scrolled .logo-img { filter: none; }

/* Fallback text logo */
.logo-texts { display: flex; flex-direction: column; line-height: 1.1; }
.logo-sub {
  font-size: .6875rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .4s var(--ease-smooth);
}
.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  transition: color .4s var(--ease-smooth);
}
.navbar.scrolled .logo-sub { color: var(--gray-500); }
.navbar.scrolled .logo-name { color: var(--gray-900); }
.logo-icon { height: 40px; width: 40px; }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu li a {
  display: block;
  padding: .625rem 1.125rem;
  border-radius: 8px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9375rem;
  transition: all .3s var(--ease-smooth);
}
.nav-menu li a:hover { color: white; background: rgba(255,255,255,.15); }
.navbar.scrolled .nav-menu li a { color: var(--gray-700); }
.navbar.scrolled .nav-menu li a:hover { color: var(--primary); background: rgba(21,101,192,.08); }
.nav-menu li a.active { color: white; font-weight: 600; }
.navbar.scrolled .nav-menu li a.active { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 24px;
  background: white;
  border-radius: 2px;
  transition: all .3s var(--ease-smooth);
}
.navbar.scrolled .hamburger span { background: var(--gray-900); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.active span { background: var(--gray-900) !important; }

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s var(--ease-smooth);
}
.nav-overlay.active { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(5deg); }
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-gradient);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: #1e88e5;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .22;
  top: -200px; right: -200px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: #0d47a1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .28;
  bottom: -100px; left: -100px;
  animation: float 20s ease-in-out infinite;
  animation-delay: 5s;
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: .02em;
}
.hero-badge svg { width: 16px; height: 16px; opacity: .8; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero-buttons .btn.btn-primary, .hero-buttons .btn--primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.hero-buttons .btn.btn-primary:hover, .hero-buttons .btn--primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  color: var(--primary-dark);
}
.hero-buttons .btn.btn-secondary, .hero-buttons .btn--secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: white;
}
.hero-buttons .btn.btn-secondary:hover, .hero-buttons .btn--secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: white;
  color: white;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: .375rem;
}
.hero-stat-label {
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
}

/* ============================================================
   STATS SECTION (standalone, when outside hero)
   ============================================================ */
.stats-section { padding: 4rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all .3s var(--ease-smooth);
}
.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label { color: var(--gray-600); font-size: .9375rem; font-weight: 500; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: visible;
}
.about-image > svg,
.about-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-2xl);
  display: block;
}
.about-float-card {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 2;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
}
.about-float-card:first-of-type {
  top: 10%;
  right: -10%;
  animation: floatCard 3s ease-in-out infinite;
}
.about-float-card:last-of-type {
  bottom: 10%;
  left: -10%;
  animation: floatCard 3s ease-in-out infinite;
  animation-delay: 1.5s;
}
.about-float-card svg {
  width: 22px; height: 22px;
  color: var(--primary); stroke: var(--primary);
  flex-shrink: 0;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.about-text > p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
.about-features { display: grid; gap: 1rem; }
.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--gray-50);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all .3s var(--ease-smooth);
  align-items: flex-start;
}
.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
  border-color: var(--gray-300);
}
.feature-icon-box {
  width: 48px; height: 48px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-box svg { width: 24px; height: 24px; stroke: white; }
.feature-icon { font-size: 1.75rem; flex-shrink: 0; }
.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .35rem;
}
.feature-item p { font-size: .9375rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

/* ============================================================
   EQUIPMENT SECTION
   ============================================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.equipment-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all .4s var(--ease-smooth);
  position: relative;
}
.equipment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-smooth);
  z-index: 1;
}
.equipment-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); border-color: rgba(30,136,229,.3); }
.equipment-card:hover::before { transform: scaleX(1); }

.equipment-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.equipment-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-smooth);
}
.equipment-card:hover .equipment-image img { transform: scale(1.05); }
.equipment-image svg {
  width: 72px; height: 72px;
  color: var(--gray-400); stroke: var(--gray-400);
}
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: var(--gray-400);
  font-size: .8rem;
}
.img-placeholder svg { width: 48px; height: 48px; color: var(--gray-400); }

.equipment-body { padding: 1.5rem 2rem 2rem; }
.equipment-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .625rem;
}
.equipment-desc { font-size: .9375rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1rem; }
.equipment-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 1rem;
}
.equipment-features li {
  font-size: .875rem;
  color: var(--gray-700);
  padding: .625rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--gray-100);
}
.equipment-features li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--primary-gradient);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.service-card {
  flex: 1 1 300px;
  max-width: 380px;
}
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all .4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-smooth);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(30,136,229,.3); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  padding: .875rem;
  background: var(--primary-gradient);
  border-radius: 14px;
  color: white; stroke: white;
  margin-bottom: 1.25rem;
  transition: all .4s var(--ease-smooth);
  flex-shrink: 0;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-title { font-size: 1.25rem; font-weight: 600; color: var(--gray-900); margin-bottom: .75rem; }
.service-desc { color: var(--gray-600); line-height: 1.7; font-size: .9375rem; margin-bottom: 1.25rem; }
.service-features { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.5rem; flex: 1; }
.service-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-700);
  padding: .25rem 0;
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary-gradient);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .9375rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
  transition: gap .3s var(--ease-smooth), color .3s var(--ease-smooth);
}
.service-link:hover { color: var(--primary-dark); gap: .75rem; }

/* ============================================================
   COMPACT SERVICES GRID (index homepage)
   ============================================================ */
.services-compact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.service-compact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem 1rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all .25s var(--ease-smooth);
  gap: .625rem;
  flex: 0 1 calc((100% - 4 * 1.25rem) / 5);
  min-width: 140px;
}
.service-compact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.service-compact-icon {
  width: 36px; height: 36px;
  stroke: var(--primary);
  flex-shrink: 0;
}
.service-compact-card h3 {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
}
.service-compact-card p {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================================
   ABOUT TEASER (index homepage)
   ============================================================ */
.about-teaser-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-teaser-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin: .75rem 0 1rem;
}
.about-teaser-text > p {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 1.0625rem;
}
.about-teaser-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.teaser-stat-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem 1rem;
  text-align: center;
}
.teaser-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .375rem;
}
.teaser-stat-label { color: var(--gray-600); font-size: .8125rem; font-weight: 500; }

/* ============================================================
   SERVICE DETAIL PAGE (usluga.php)
   ============================================================ */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.service-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.75rem;
}
.service-detail-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.service-cta-box {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}
.service-cta-box h3 { font-size: 1.125rem; color: var(--gray-900); margin-bottom: .75rem; }
.service-cta-box > p { color: var(--gray-600); font-size: .9375rem; line-height: 1.65; margin-bottom: 1.25rem; }
.service-detail-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.service-detail-body {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}
.service-detail-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--gray-800);
  padding: .5rem .875rem;
  background: var(--gray-50);
  border-radius: 8px;
}
.service-detail-features li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.service-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .625rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--gray-700);
  font-weight: 500;
  font-size: .9375rem;
  cursor: pointer;
  transition: all .3s var(--ease-smooth);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary-gradient); color: white; border-color: transparent; box-shadow: var(--shadow-md); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.portfolio-item {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease-smooth);
  text-decoration: none;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}
.portfolio-item:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.portfolio-item.hidden { display: none; }
.portfolio-item > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-smooth);
}
.portfolio-item:hover > img { transform: scale(1.05); }

.portfolio-placeholder {
  position: absolute;
  inset: 0;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-placeholder svg { width: 48px; height: 48px; color: var(--gray-400); }
.portfolio-placeholder span { display: none; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,.82));
  opacity: 0;
  transition: opacity .4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-title { color: white; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin-bottom: .5rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.portfolio-tag {
  font-size: .75rem;
  padding: .25rem .75rem;
  border-radius: 100px;
  background: rgba(255,255,255,.2);
  color: white;
  backdrop-filter: blur(4px);
}
.portfolio-more { text-align: center; margin-top: 3rem; }

/* ── Portfolio detail page — image carousel ── */
.portfolio-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
}
.portfolio-carousel-track {
  display: flex;
  height: 480px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.portfolio-carousel-track::-webkit-scrollbar { height: 6px; }
.portfolio-carousel-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 3px; }
.portfolio-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  cursor: pointer;
  background: var(--gray-100);
}
.portfolio-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--gray-900);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background .2s var(--ease-smooth), transform .2s var(--ease-smooth);
}
.carousel-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); }
.carousel-arrow-prev { left: 12px; }
.carousel-arrow-next { right: 12px; }

@media (max-width: 640px) {
  .portfolio-carousel-track { height: 320px; }
}

.portfolio-detail { padding: 2.5rem 0 5rem; }
.portfolio-meta {
  margin-top: 2rem;
  padding: 0 3rem;
}
@media (max-width: 860px) {
  .portfolio-meta { padding: 0 1.25rem; }
}
@media (max-width: 640px) {
  .portfolio-meta { padding: 0; }
}

.portfolio-description {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.portfolio-description > * + * { margin-top: 1em; }
.portfolio-description ul,
.portfolio-description ol { margin-left: 1.25em; }
.portfolio-description li + li { margin-top: .35em; }
.portfolio-description h1, .portfolio-description h2, .portfolio-description h3,
.portfolio-description h4, .portfolio-description h5, .portfolio-description h6 {
  color: var(--text-primary);
  line-height: 1.3;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-categories-grid,
#full-pricing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pricing-categories-grid,
  #full-pricing {
    display: block;
    columns: 2;
    column-gap: 1.5rem;
  }
  .pricing-card { break-inside: avoid; margin-bottom: 1.5rem; }
}

.pricing-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.pricing-card-head {
  background: var(--primary-gradient);
  color: white;
  padding: .875rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
}

/* Table inside card */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table thead tr { background: var(--gray-50); }
.pricing-table th {
  padding: .5rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.pricing-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(21,101,192,.07) !important; }
.pricing-table tbody tr.pt-alt { background: var(--gray-100); }
.pricing-table tbody tr.pt-item-start td { border-top: 2px solid var(--gray-300); }
.pricing-table td {
  padding: .75rem 1rem;
  font-size: .875rem;
  color: var(--gray-700);
  vertical-align: middle;
}
.pricing-table td.pt-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: .9rem;
}
.pricing-table td.pt-price {
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  text-align: right;
}

.pricing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pricing-loader { text-align: center; padding: 3rem; color: var(--gray-500); }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all .3s var(--ease-smooth);
  align-items: flex-start;
}
.contact-item:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { stroke: white; }
.contact-item-content p:first-child {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.contact-item-content a, .contact-item-content address {
  font-size: .9375rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.contact-item-content a:hover { color: var(--primary); }

.hours-grid { display: flex; flex-direction: column; gap: .2rem; }
.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  padding: .2rem 0;
}
.hour-row .day { color: var(--gray-600); font-weight: 500; }
.hour-row .time { color: var(--gray-900); font-weight: 600; }
.hours-closed, .hour-row .closed { color: #ef4444; font-weight: 600; }
.hours-closed-badge { color: #f97316; font-weight: 600; }
.contact-note { font-size: .9rem; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}
.contact-map iframe { width: 100%; height: 380px; display: block; border: none; }

.contact-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color .2s, text-decoration-color .2s;
}
.contact-link:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { font-size: 1.5rem; color: var(--gray-900); margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-weight: 500; font-size: .9375rem; color: var(--gray-800); }
.form-control,
.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .9375rem 1.125rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--gray-900);
  background: white;
  transition: all .3s var(--ease-smooth);
  outline: none;
  line-height: 1.5;
}
.form-control:focus,
.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21,101,192,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.form-check input[type="checkbox"].error { outline: 2px solid #ef4444; outline-offset: 2px; border-radius: 2px; }
.form-check input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--primary);
  margin-top: .15rem;
  flex-shrink: 0;
  cursor: pointer;
}
.form-check label { font-size: .875rem; color: var(--gray-700); line-height: 1.5; cursor: pointer; }
.required { color: #ef4444; margin-left: 2px; }
.field-error { font-size: .8125rem; color: #ef4444; min-height: 1.2em; }
.form-message {
  border-radius: 10px;
  padding: .875rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
  display: none;
}
.form-message.success { background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.25); display: block; }
.form-message.error   { background: rgba(239,68,68,.08); color: #dc2626; border: 1px solid rgba(239,68,68,.2); display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-wave {
  display: block;
  width: 100%;
  line-height: 0;
  background: #0a2540;
}
.footer-wave svg { display: block; width: 100%; height: 72px; }

.footer {
  background: #0a2540;
  padding: 3.5rem 0 0;
  position: relative;
}
.footer .container { padding-bottom: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2rem;
}
.footer-brand .logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-logo-wrap { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo-wrap .logo-icon { filter: none; }
.footer-logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9375rem; line-height: 1.7; }
.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-links li { margin-bottom: .625rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9375rem; transition: color .3s var(--ease-smooth); }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: rgba(255,255,255,.65); }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--primary-light); stroke: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.65); transition: color .3s; }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-hours { display: flex; flex-direction: column; gap: .3rem; }
.footer-hours .hour-row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .875rem; }
.footer-hours .day { color: rgba(255,255,255,.5); }
.footer-hours .time { color: rgba(255,255,255,.85); font-weight: 500; }
.footer-hours .closed { color: #f87171; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom span { color: rgba(255,255,255,.45); font-size: .875rem; }
.footer-bottom a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .3s; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--hero-gradient);
  padding: calc(var(--nav-height) + 3.5rem) 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: .75rem; position: relative; }
.page-header > p { font-size: 1.125rem; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; position: relative; }

/* Breadcrumbs — default (white bar, e.g. .has-breadcrumbs detail pages) */
.breadcrumbs { background: white; border-bottom: 1px solid var(--gray-200); padding: .875rem 0; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; font-size: .875rem; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin: 0 .5rem; color: var(--gray-400); font-size: .75rem; }
.breadcrumbs a, .breadcrumbs a span { color: var(--gray-600); transition: color .2s; }
.breadcrumbs a:hover, .breadcrumbs a:hover span { color: var(--primary); }
.breadcrumbs li:last-child span[itemprop="name"] { color: var(--primary); font-weight: 500; }

/* Breadcrumbs inside gradient .page-header */
.page-header .breadcrumbs { background: none; border-bottom: none; padding: 1.25rem 0 0; }
.page-header .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,.35); }
.page-header .breadcrumbs a, .page-header .breadcrumbs a span { color: rgba(255,255,255,.6); }
.page-header .breadcrumbs a:hover, .page-header .breadcrumbs a:hover span { color: white; }
.page-header .breadcrumbs li:last-child span[itemprop="name"] { color: rgba(255,255,255,.9); font-weight: 500; }

/* Detail pages — breadcrumb bar without full page header */
.has-breadcrumbs { padding-top: var(--nav-height); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-header--404 {
  padding-bottom: 5rem;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-404-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.05em;
  pointer-events: none;
}
.page-header--404 h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: .875rem;
}
.page-header--404 > p {
  max-width: 440px;
}
.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.error-404-actions .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: white;
}
.error-404-actions .btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: white;
  color: white;
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); color: var(--primary-dark); }
.error-404-phone {
  margin-top: 2.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.error-404-phone a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.error-404-phone a:hover { color: white; }
.error-wave-transition {
  background: var(--hero-gradient);
  line-height: 0;
  margin-bottom: -1px;
}
.error-wave-transition svg { width: 100%; display: block; }

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.privacy-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gray-100);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { margin-bottom: 1rem; line-height: 1.75; color: var(--text-secondary); }
.privacy-content ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
  list-style: disc;
}
.privacy-content ul li {
  margin-bottom: .5rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.privacy-content strong { color: var(--text-primary); }
.privacy-content a { color: var(--accent); }
.privacy-content a:hover { text-decoration: underline; }
.privacy-content code {
  font-family: monospace;
  font-size: .875em;
  background: var(--gray-100);
  padding: .1em .35em;
  border-radius: 3px;
}
.privacy-contact-block {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: .5rem;
}
.privacy-contact-block .pc-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.privacy-contact-block .pc-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  min-width: 70px;
  flex-shrink: 0;
}
.privacy-contact-block .pc-value { color: var(--text-primary); }
.privacy-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
  font-size: .82rem;
  color: var(--text-secondary);
}
@media (max-width: 576px) {
  .privacy-content { padding: 2.5rem 1.25rem 3.5rem; }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(10,37,64,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform .4s var(--ease-smooth);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--primary-light); text-decoration: underline; }
.cookie-buttons { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-accept {
  padding: .625rem 1.5rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s;
  font-family: 'Inter', sans-serif;
}
.cookie-accept:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.cookie-reject {
  padding: .625rem 1.25rem;
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s;
  font-family: 'Inter', sans-serif;
}
.cookie-reject:hover { background: rgba(255,255,255,.08); color: white; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-image { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-2xl); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
  backdrop-filter: blur(8px);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   OPENING BANNER
   ============================================================ */
.opening-banner {
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: .625rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
}
body.has-banner { --nav-height: calc(72px + 40px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-stats  { gap: 1.5rem; }
}

@media (max-width: 992px) {
  section { padding: 4.5rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { max-height: 380px; aspect-ratio: auto; }
  .about-float-card { display: none; }
  .about-teaser-flex { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-compact-grid .service-compact-card { flex: 0 1 calc((100% - 2 * 1.25rem) / 3); }
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-cta-box { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .services-compact-grid .service-compact-card { flex: 0 1 calc((100% - 1.25rem) / 2); }

  /* backdrop-filter on an ancestor creates a new containing block for
     position:fixed descendants (same category as transform/filter/perspective).
     .navbar.scrolled's blur was making the fixed, full-screen .nav-menu overlay
     size itself relative to the navbar bar instead of the real viewport —
     collapsing it into a ~64px strip pinned at the top whenever the navbar
     had .scrolled applied (i.e. any time you're not at the very top of the
     page). Dropping the blur on mobile only; desktop is unaffected since the
     menu isn't position:fixed there. */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-smooth), visibility 0s .3s;
    z-index: 1000;
    padding: 2rem;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-smooth);
  }
  .nav-menu li a { color: var(--gray-800) !important; font-size: 1.25rem; padding: 1rem 2rem; border-radius: 12px; text-align: center; min-width: 200px; display: block; }
  .nav-menu li a:hover { background: var(--gray-100) !important; color: var(--primary) !important; }
  .hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 1.0625rem; }
  .hero-buttons { gap: .75rem; margin-bottom: 2.5rem; }
  .hero-buttons .btn { padding: .75rem 1.5rem; font-size: .9375rem; }
  .hero-stats { gap: 1rem; padding-top: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card  { padding: 1.5rem 1rem; }

  .equipment-grid { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .portfolio-filters { gap: .5rem; }
  .filter-btn { padding: .5rem 1rem; font-size: .875rem; }

  .contact-form { padding: 1.75rem; }

  .footer { padding-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }

  .pricing-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 576px) {
  .hero-title { font-size: clamp(1.875rem, 9vw, 2.5rem); }
  .hero-stats  { gap: .5rem; }
  .hero-stat-label { font-size: .75rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 1.25rem; }
  .cookie-consent .container { flex-direction: column; align-items: flex-start; }
  .cookie-buttons { width: 100%; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
