/* ============================================
   Poliklinika — Editorial / clinic identity
   Distinct typography, warm-neutral palette, clear hierarchy
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700&display=swap");

:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f3f1ed;
  /* Section banding: whiter vs beige for separation */
  --color-bg-section-light: #fdfcfa;
  --color-bg-section-beige: #efece7;
  --color-surface: #ffffff;
  --color-text: #1c1917;
  --color-text-muted: #57534e;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-accent-muted: rgba(13, 148, 136, 0.12);
  --color-border: #e7e5e4;
  --color-border-soft: #f0eeeb;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --section-padding: 4.5rem 0;
  --container-max: 1100px;
  --radius: 12px;
  --radius-lg: 20px;
  /* Liquid glass */
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-bg-strong: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: 20px;
  --glass-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --glass-shadow-hover: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --glass-dark-bg: rgba(28, 25, 23, 0.75);
  --glass-dark-border: rgba(255, 255, 255, 0.1);
  /* Mobile menu: Apple-like timing */
  --nav-mobile-duration: 0.5s;
  --nav-mobile-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --nav-mobile-backdrop-duration: 0.45s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  background-color: var(--color-bg-alt); /* prevents white flash on overscroll bounce */
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(165deg, var(--color-bg-alt) 0%, var(--color-bg) 50%, rgba(243, 241, 237, 0.9) 100%);
  background-attachment: fixed;
  margin: 0;
  overflow-x: hidden;
}

/* ----- Navbar: fixed three-pill nav (no header wrapper) ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 1.5rem 0;
  background: transparent;
  pointer-events: none;
  font-family: var(--font-body);
  transition: padding 0.25s ease, transform 0.3s ease;
}

.site-header.scrolled {
  padding-top: 0.75rem;
}

/* Hide on scroll down, show on scroll up (desktop only) */
@media (min-width: 992px) {
  .site-header.header-hidden {
    transform: translateY(-100%);
  }
}

.nav-three-pills-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  pointer-events: auto;
}

/* Shared pill: liquid glass, muted */
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 6px 24px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, border-color 0.25s ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: var(--color-text);
}

/* Left: brand */
.nav-pill-brand {
  justify-self: start;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-pill-brand:hover {
  color: var(--color-text-muted);
}

/* Center: nav links (middle pill) */
.nav-pill-links {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem 1rem;
}

.nav-link-item {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link-item:hover {
  background: var(--color-border-soft);
  color: var(--color-text);
}

.nav-link-item.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

/* Right: contact (muted teal glass) */
.nav-pill-contact {
  justify-self: end;
  background: rgba(13, 148, 136, 0.28);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  color: var(--color-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 6px 24px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-pill-contact:hover {
  background: rgba(13, 148, 136, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-text) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-pill-contact-active {
  opacity: 0.95;
  cursor: default;
}

/* Hamburger: hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 6px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.8);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-header .navbar-collapse {
  flex-grow: 0;
}

/* ----- Mobile nav: backdrop + slide-out panel (max-width: 991px) ----- */
.nav-mobile-backdrop,
.nav-mobile-panel {
  display: none;
}

@media (max-width: 991.98px) {
  .site-header.nav-mobile-open {
    z-index: 1050;
  }

  /* Header bar: brand left, hamburger right */
  .nav-three-pills-wrap {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    min-height: 3.25rem;
  }

  .nav-pill-brand {
    display: none !important;
  }

  .nav-pill-contact {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle:focus-visible,
  .nav-mobile-panel a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius);
  }

  /* Backdrop: liquid glass dim — warm, soft, slower fade */
  .nav-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(28, 25, 23, 0.28);
    backdrop-filter: saturate(120%) blur(12px);
    -webkit-backdrop-filter: saturate(120%) blur(12px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--nav-mobile-backdrop-duration) var(--nav-mobile-ease),
      visibility var(--nav-mobile-backdrop-duration) var(--nav-mobile-ease);
    -webkit-tap-highlight-color: transparent;
  }

  .site-header.nav-mobile-open .nav-mobile-backdrop {
    opacity: 1;
    visibility: visible;
  }

  /* Panel: liquid glass sheet — same tokens as cards/about, slower slide */
  .nav-mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    width: min(300px, 85vw);
    max-width: 100%;
    padding: 2rem 1.5rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(var(--glass-blur));
    -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow:
      -24px 0 64px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(0, 0, 0, 0.04),
      var(--glass-inset);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform var(--nav-mobile-duration) var(--nav-mobile-ease);
    pointer-events: none;
  }

  .site-header.nav-mobile-open .nav-mobile-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Instant close when a link is clicked so navigation feels immediate */
  .site-header.nav-mobile-closing .nav-mobile-panel {
    transition-duration: 0s;
  }

  .nav-mobile-panel-brand {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.5rem 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-soft);
    line-height: 1.3;
    transition: color 0.25s var(--nav-mobile-ease);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-mobile-panel-brand:hover {
    color: var(--color-text-muted);
  }

  .nav-mobile-link {
    display: block;
    padding: 0.85rem 1rem;
    margin: 0 -1rem;
    border-radius: var(--radius);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.28s var(--nav-mobile-ease), color 0.28s var(--nav-mobile-ease);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-mobile-link:hover {
    background: var(--color-border-soft);
    color: var(--color-accent);
  }

  .nav-mobile-link.active {
    color: var(--color-accent);
    font-weight: 600;
    background: var(--color-accent-muted);
  }

  .nav-mobile-contact {
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--color-accent);
    border-radius: var(--radius);
    transition: background 0.28s var(--nav-mobile-ease), color 0.28s var(--nav-mobile-ease);
  }

  .nav-mobile-contact:hover {
    background: var(--color-accent-muted);
    color: var(--color-accent-hover);
  }

  .nav-mobile-contact.active {
    background: var(--color-accent-muted);
    color: var(--color-accent-hover);
  }
}

/* ----- Hero (home): depth, overlay, text panel ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

/* Layered overlay for depth + bottom shadow drop */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 55%,
      rgba(0, 0, 0, 0.15) 75%,
      rgba(0, 0, 0, 0.45) 90%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    linear-gradient(
      112deg,
      rgba(18, 18, 18, 0.82) 0%,
      rgba(18, 18, 18, 0.5) 38%,
      rgba(18, 18, 18, 0.2) 62%,
      transparent 85%
    );
}

/* Vignette for extra depth at edges */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 120% 100% at 20% 50%,
    transparent 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-inner {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  padding: 0;
}

/* Left 50% of hero = full-height liquid glass panel */
.hero-content-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  padding: 2rem 2.5rem 2rem 2.25rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  box-shadow:
    12px 0 40px rgba(0, 0, 0, 0.25),
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-content {
  max-width: 480px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.5);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 0 80px rgba(0, 0, 0, 0.15);
}

.hero-tagline {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.25),
    0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-cta {
  flex-shrink: 0;
}

.hero-cta-secondary {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 4.5rem;
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(18, 18, 18, 0.45) 35%,
      rgba(18, 18, 18, 0.82) 100%
    );
  }

  .hero-vignette {
    background: radial-gradient(
      ellipse 100% 80% at 50% 100%,
      transparent 30%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .hero-content-panel {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.25rem 1.75rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.04);
  }

  .hero-content {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero-tagline {
    color: rgba(255, 255, 255, 0.95);
  }
}

/* ----- Buttons ----- */
.cta-primary {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-primary:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--color-accent-muted);
  color: var(--color-accent);
}

/* ----- Sections ----- */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, var(--color-bg-alt) 30%, var(--color-bg) 100%);
}

/* ----- About section: modern block with liquid glass ----- */
.section-about {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 50%, var(--color-bg-section-light) 100%);
}

.section-about .container {
  max-width: 920px;
}

.section-about .about-content-block {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem 2.75rem;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  text-align: left;
}

.section-about .about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.section-about .section-title {
  margin-bottom: 1rem;
  text-align: left;
}

.section-about .section-lead {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.25rem;
  text-align: left;
  max-width: none;
}

.section-about .about-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  text-align: left;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Cards (liquid glass) ----- */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card-glass:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--glass-shadow-hover), var(--glass-inset);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.card-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.card-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(250, 249, 247, 0.6);
}

.card-equipment .card-img-wrap {
  aspect-ratio: 4 / 3;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-glass:hover .card-img-top {
  transform: scale(1.03);
}

/* ----- Offers / Services section ----- */
.section-offers {
  background: linear-gradient(180deg, var(--color-bg-section-beige) 0%, #e8e4df 35%, var(--color-bg-section-beige) 100%);
}

.section-offers .offers-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

.section-offers .offers-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.section-offers .section-title {
  margin-bottom: 0.5rem;
}

.section-offers .section-lead {
  margin-bottom: 0;
}

.section-offers .offers-grid {
  --offer-gap: 1.5rem;
}

.section-offers .offers-link-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.section-offers .offers-link-wrap .link-more {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.section-offers .offers-link-wrap .link-more:hover {
  color: var(--color-accent-hover);
}

/* ----- Services page: hero + grid of service cards with images ----- */
.section-services {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 40%, var(--color-bg-section-beige) 100%);
}

.section-services .services-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

.section-services .services-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.section-services .section-title {
  margin-bottom: 0.5rem;
}

.section-services .section-lead {
  margin-bottom: 0;
}

.section-services .services-cta-wrap {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

/* ----- Services page: jump nav in hero ----- */
.service-nav {
  margin-top: 2rem;
  margin-bottom: 0;
}
.service-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}
.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}
.service-nav-list a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.service-nav-list a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* ----- Service detail: each service as full section (image + content + price) ----- */
.service-detail {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 100%);
}
.service-detail-alt {
  background: linear-gradient(180deg, var(--color-bg-section-beige) 0%, #e8e4df 50%, var(--color-bg-section-beige) 100%);
}
.service-detail .container {
  max-width: 1200px;
}
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}
.service-detail-inner-reverse {
  direction: rtl;
}
.service-detail-inner-reverse > * {
  direction: ltr;
}
.service-detail-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-detail-img-main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.service-detail-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-detail-img-main:hover img {
  transform: scale(1.02);
}
.service-detail-img-secondary {
  aspect-ratio: 16 / 10;
  max-width: 75%;
  margin-left: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.service-detail-inner-reverse .service-detail-img-secondary {
  margin-left: 0;
  margin-right: auto;
}
.service-detail-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-content {
  padding-top: 0.25rem;
}
.service-detail-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}
.service-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.service-detail-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.service-detail-body {
  margin-bottom: 1.75rem;
}
.service-detail-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.service-detail-body p:last-child {
  margin-bottom: 0;
}
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.service-detail-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.8;
}
.service-detail-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.service-detail-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
}
.service-detail-price-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.service-detail-cta {
  display: inline-block;
  text-decoration: none;
}

/* Services page bottom CTA */
.section-services-cta {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 100%);
  text-align: center;
}
.section-services-cta .section-title {
  margin-bottom: 0.5rem;
}
.section-services-cta .section-lead {
  margin-bottom: 1.5rem;
}
.services-cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

@media (max-width: 991px) {
  .service-detail-inner,
  .service-detail-inner-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .service-detail-media {
    position: static;
  }
  .service-detail-img-secondary {
    max-width: 70%;
    margin-left: 0;
    margin-right: auto;
  }
  .service-detail-inner-reverse .service-detail-img-secondary {
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .service-nav-list {
    flex-direction: column;
    align-items: center;
  }
  .service-detail {
    padding: 3rem 0;
  }
  .service-detail-price-wrap {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Service feature card: image + body with teal accent (like equipment + service) */
.card-service-feature {
  position: relative;
}

.card-service-feature .card-img-wrap {
  aspect-ratio: 4 / 3;
}

.card-service-feature .card-body {
  position: relative;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
}

.card-service-feature .card-service-accent {
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.card-service-feature:hover .card-service-accent {
  opacity: 1;
  width: 4px;
}

.card-service-feature .card-title {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.card-service-feature .card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Service card: left accent bar + refined typography */
.card-service {
  position: relative;
}

.card-service .card-service-accent {
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.card-service:hover .card-service-accent {
  opacity: 1;
  width: 4px;
}

.card-service .card-body {
  padding: 1.5rem 1.75rem 1.5rem 2rem;
}

.card-service .card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.card-service .card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ----- Home: preview sections (team, equipment, contact) ----- */
/* ----- Preview sections (team, equipment): intro + accent cards ----- */
/* ----- Team preview: modern two-profile layout ----- */
.section-team-preview {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(165deg, #faf9f7 0%, #f5f3ef 35%, #f0ede8 100%);
  overflow: hidden;
}

.team-preview-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(13, 148, 136, 0.04) 0%, transparent 50%);
}

.team-preview-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.team-preview-intro {
  margin-bottom: 3rem;
}

.team-preview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.team-preview-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 1px;
}

.team-preview-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.team-preview-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

.team-preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.team-card {
  position: relative;
}

.team-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.3s ease;
}

.team-card-link:hover {
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
}

.team-card-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  opacity: 0.85;
}

.team-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

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

.team-card-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.5) 100%);
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.team-card-link:hover .team-card-accent {
  transform: scaleX(1);
}

.team-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.team-card-role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.team-card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.team-preview-cta {
  margin: 0;
}

.team-preview-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-preview-link:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 767.98px) {
  .section-team-preview {
    padding: 4rem 0 4.5rem;
  }

  .team-preview-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
  }

  .team-card-img-wrap {
    aspect-ratio: 3 / 4;
  }
}

.section-equipment-preview {
  background: linear-gradient(180deg, var(--color-bg-section-beige) 0%, #e8e4df 35%, var(--color-bg-section-beige) 100%);
}

.preview-section .preview-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

.preview-section .preview-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.preview-section .preview-intro .section-title {
  margin-bottom: 0.5rem;
}

.preview-section .preview-intro .section-lead {
  margin-bottom: 0;
}

.preview-section .preview-link-wrap {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.preview-section .link-more {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.preview-section .link-more:hover {
  color: var(--color-accent-hover);
}

/* Team & equipment cards: left accent bar on card-body */
.card-team .card-body,
.card-equipment .card-body {
  position: relative;
  padding-left: 2rem;
}

.card-team .card-body .card-service-accent,
.card-equipment .card-body .card-service-accent {
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.card-team:hover .card-body .card-service-accent,
.card-equipment:hover .card-body .card-service-accent {
  opacity: 1;
  width: 4px;
}

.card-team .card-title,
.card-equipment .card-title {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.card-team .card-text,
.card-equipment .card-text {
  line-height: 1.6;
}

/* ----- Equipment page: GSAP horizontal scroll ----- */
.section-equipment {
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, var(--color-bg-section-beige) 0%, #e8e4df 50%, var(--color-bg-section-beige) 100%);
  overflow: hidden;
  position: relative;
}

.equipment-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  opacity: 0.85;
}
.equipment-scroll-hint-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.equipment-scroll-hint-icon {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg) translateY(-2px);
  animation: equipment-hint-bounce 2s ease-in-out infinite;
}
@keyframes equipment-hint-bounce {
  0%, 100% { transform: rotate(45deg) translateY(-2px); opacity: 1; }
  50% { transform: rotate(45deg) translateY(2px); opacity: 0.6; }
}

.equipment-pin-wrap {
  width: 100%;
  overflow: hidden;
  will-change: transform;
}

.equipment-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

/* Hero as first horizontal panel (full viewport) */
.equipment-track-hero.page-hero-equipment {
  flex-shrink: 0;
  width: 100vw;
  min-width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border);
}
.equipment-track-hero .page-hero-bg,
.equipment-track-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
}
.equipment-track-hero .page-hero-overlay {
  z-index: 1;
}
.equipment-track-hero .page-hero-inner {
  position: relative;
  z-index: 2;
}

/* Equipment hero: load animations for background, overlay and text */
.equipment-track-hero .page-hero-bg img {
  opacity: 0;
  animation: equipment-hero-bg-in 1s ease-out 0.1s forwards;
}
.equipment-track-hero .page-hero-overlay {
  opacity: 0;
  animation: equipment-hero-overlay-in 0.7s ease-out 0.25s forwards;
}
.equipment-track-hero .page-hero-inner {
  opacity: 0;
  animation: equipment-hero-text-in 0.5s ease-out 0.35s forwards;
}
.equipment-track-hero .page-hero-inner .reveal {
  opacity: 1;
  transform: none;
}
@keyframes equipment-hero-bg-in {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes equipment-hero-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes equipment-hero-text-in {
  to { opacity: 1; }
}

.equipment-panel {
  width: 100vw;
  min-width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  box-sizing: border-box;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
}
.equipment-panel:last-child {
  border-right: none;
}

/* First panel: initial state for loading animation on desktop (GSAP reveals) */
@media (min-width: 992px) {
  .equipment-panel[data-index="0"] .equipment-panel-media,
  .equipment-panel[data-index="0"] .equipment-panel-content {
    opacity: 0;
    transform: translateY(28px);
  }
}

.equipment-panel-media {
  position: relative;
  width: 52%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.14), 6px 0 20px rgba(0, 0, 0, 0.08);
}
.equipment-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.equipment-panel-media-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

.equipment-panel-content {
  position: relative;
  width: 48%;
  padding: 3.25rem 3.5rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(250, 252, 252, 0.9) 100%);
  backdrop-filter: saturate(160%) blur(24px);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 0 0 var(--radius-lg);
  box-shadow:
    -12px 0 40px rgba(0, 0, 0, 0.06),
    -4px 0 16px rgba(0, 0, 0, 0.03),
    inset 1px 0 0 rgba(255, 255, 255, 0.9);
}
.equipment-panel-accent {
  position: absolute;
  left: 0;
  top: 3rem;
  bottom: 3rem;
  width: 5px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.5) 70%, rgba(13, 148, 136, 0.25) 100%);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.15);
}
.equipment-panel-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: none;
  display: inline-block;
  position: relative;
  padding-left: 0.75rem;
}
.equipment-panel-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}
.equipment-panel-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.18;
}
.equipment-panel-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 28em;
  padding-left: 0.125rem;
}

.equipment-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.equipment-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.2s ease;
}
.equipment-dot:hover {
  background: var(--color-text-muted);
}
.equipment-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ----- Equipment: mobile = vanilla vertical scroll (no horizontal) ----- */
@media (max-width: 991px) {
  .section-equipment {
    padding: 0 0 3rem;
    overflow-x: clip;
    overflow-y: visible;
  }
  .equipment-pin-wrap {
    overflow: visible;
    will-change: auto;
  }
  .equipment-track {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    will-change: auto;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .equipment-panel {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    height: auto;
    min-height: 0;
    border-right: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--color-surface);
  }
  .equipment-panel:last-child {
    margin-bottom: 0;
  }
  /* Hero fullscreen on mobile: fill viewport, full-bleed */
  .equipment-track-hero.page-hero-equipment {
    width: 100vw;
    min-width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    height: 100vh;
    border-right: none;
    border-radius: 0;
    padding: 6rem 1.5rem 3.5rem;
    box-sizing: border-box;
  }
  .equipment-panel-media {
    width: 100%;
    min-height: 220px;
    max-height: 280px;
    box-shadow: none;
  }
  .equipment-panel-media img {
    object-position: center 30%;
  }
  .equipment-panel-media-label {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  .equipment-panel-content {
    width: 100%;
    padding: 1.75rem 1.5rem 2rem;
    border-left: none;
    border-top: none;
    box-shadow: none;
    border-radius: 0;
  }
  .equipment-panel-accent {
    top: 0;
    left: 1.5rem;
    bottom: auto;
    height: 4px;
    width: 32px;
    border-radius: 0 2px 2px 0;
  }
  .equipment-panel-title {
    font-size: 1.35rem;
  }
  .equipment-panel-text {
    max-width: none;
  }
  .equipment-scroll-hint,
  .equipment-dots {
    display: none;
  }
  /* Fade-in on scroll (mobile only) */
  .equipment-panel {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .equipment-panel.equipment-panel-fade-in {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .section-equipment {
    padding: 0 0 2.5rem;
  }
  .equipment-track {
    padding: 0 0.75rem;
    gap: 1.25rem;
  }
  .equipment-panel-media {
    min-height: 200px;
    max-height: 240px;
  }
  .equipment-panel-content {
    padding: 1.5rem 1.25rem 1.75rem;
  }
  .equipment-panel-title {
    font-size: 1.25rem;
  }
}

/* ----- Team page: full-screen two-doctor layout ----- */
.section-team {
  padding: 0;
  background: var(--color-bg-section-beige);
}

.doctor-profile {
  min-height: 100vh;
  display: flex;
  border-bottom: 1px solid var(--color-border-soft);
}

.doctor-profile:last-child {
  border-bottom: none;
}

.doctor-profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.doctor-profile-inner--reverse {
  direction: rtl;
}

.doctor-profile-inner--reverse > * {
  direction: ltr;
}

.doctor-profile-img-wrap {
  position: relative;
  min-height: 100%;
  background: var(--color-bg-alt);
}

.doctor-profile-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

.doctor-profile:hover .doctor-profile-img-wrap img {
  transform: scale(1.04);
}

.doctor-profile-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 4rem 4rem 4.5rem;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-left: none;
  box-shadow: var(--glass-inset), 8px 0 32px rgba(0, 0, 0, 0.06);
}

.doctor-profile-inner--reverse .doctor-profile-content {
  border-left: 1px solid var(--glass-border);
  border-right: none;
  box-shadow: var(--glass-inset), -8px 0 32px rgba(0, 0, 0, 0.06);
  align-items: flex-end;
}

.doctor-profile-content-inner {
  max-width: 32rem;
  width: 100%;
}

.doctor-profile-inner--reverse .doctor-profile-content-inner {
  text-align: right;
}

.doctor-profile-inner--reverse .doctor-profile-focus li {
  padding-left: 0;
  padding-right: 1.25rem;
}

.doctor-profile-inner--reverse .doctor-profile-focus li::before {
  left: auto;
  right: 0;
}

.doctor-profile-accent {
  position: absolute;
  left: 0;
  top: 4rem;
  bottom: 4rem;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.35) 100%);
  opacity: 0.75;
}

.doctor-profile-inner--reverse .doctor-profile-accent {
  left: auto;
  right: 0;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.35) 100%);
}

.doctor-profile-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.doctor-profile-name {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.doctor-profile-bio {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.doctor-profile-focus {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.doctor-profile-focus li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.25rem;
}

.doctor-profile-focus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.75;
}

@media (max-width: 991.98px) {
  .doctor-profile {
    min-height: 0;
  }

  .doctor-profile-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    direction: ltr;
  }

  .doctor-profile-inner--reverse {
    direction: ltr;
  }

  .doctor-profile-inner--reverse .doctor-profile-content {
    border-left: none;
    border-top: none;
    border-bottom: 1px solid var(--glass-border);
    align-items: flex-start;
  }

  .doctor-profile-inner--reverse .doctor-profile-content-inner {
    text-align: left;
  }

  .doctor-profile-inner--reverse .doctor-profile-focus li {
    padding-right: 0;
    padding-left: 1.25rem;
  }

  .doctor-profile-inner--reverse .doctor-profile-focus li::before {
    left: 0;
    right: auto;
  }

  .doctor-profile-img-wrap {
    min-height: 55vh;
    order: 1;
  }

  .doctor-profile-content {
    order: 2;
    border: 1px solid var(--glass-border);
    border-top: none;
    padding: 3rem 2rem 3rem 2.5rem;
    align-items: flex-start;
  }

  .doctor-profile-content-inner {
    max-width: none;
  }

  .doctor-profile-inner--reverse .doctor-profile-accent {
    left: 0;
    right: auto;
    border-radius: 0 2px 2px 0;
  }
}

@media (max-width: 575.98px) {
  .doctor-profile-content {
    padding: 2.5rem 1.75rem 2.5rem 2.25rem;
  }

  .doctor-profile-name {
    font-size: 1.75rem;
  }

  .doctor-profile-focus li {
    padding-left: 1rem;
  }
}

/* ----- Contact strip (home) — intro + liquid glass card, in line with preview sections ----- */
.contact-strip {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 45%, var(--color-bg-section-light) 100%);
}

.contact-strip .container {
  max-width: 720px;
}

.contact-strip-intro {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.contact-strip-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.contact-strip .section-title {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-strip-lead {
  margin-bottom: 0;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Card: same liquid glass as contact-info-block / cards */
.contact-strip-card {
  padding: 0;
  overflow: visible;
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 576px) {
  .contact-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-strip-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--color-border-soft);
  transition: background 0.25s ease;
}

.contact-strip-grid:has(.contact-strip-item:only-child) .contact-strip-item,
.contact-strip-item:last-child {
  border-bottom: none;
}

@media (min-width: 576px) {
  .contact-strip-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem 1.75rem;
    border-bottom: none;
    border-right: 1px solid var(--color-border-soft);
  }

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

.contact-strip-item:hover {
  background: rgba(255, 255, 255, 0.35);
}

.contact-strip-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius);
  line-height: 1;
}

.contact-strip-item-content {
  min-width: 0;
}

.contact-strip-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.contact-strip-value {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

.contact-strip-value a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-strip-value a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.contact-strip-cta-wrap {
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border-soft);
}

.contact-strip-cta {
  display: inline-block;
}

/* ----- Page heroes (inner pages) — liquid glass bar ----- */
.page-hero {
  padding: 5.5rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 100%);
  border-bottom: 1px solid var(--color-border-soft);
}

.page-hero-bg {
  display: none;
}

/* Services page: hero with background image */
.page-hero-services {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-services .page-hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-services .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.5) 0%,
    rgba(28, 25, 23, 0.35) 50%,
    rgba(28, 25, 23, 0.6) 100%
  );
}

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

.page-hero-services .page-hero-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-hero-services .page-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-services .page-hero-eyebrow {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Equipment page: hero with background image (same as services) */
.page-hero-equipment {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-equipment .page-hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-equipment .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-equipment .container,
.page-hero-equipment .page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-hero-equipment .page-hero-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.page-hero-equipment .page-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-equipment .page-hero-eyebrow {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.page-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.page-hero-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Page hero inner (optional): centered block with eyebrow, e.g. team page */
.page-hero-inner + .page-hero-title,
.page-hero-inner .page-hero-title {
  margin-top: 0;
}

/* ----- Contact page: two-column layout + liquid glass blocks ----- */
.section-contact {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--color-bg-section-light) 0%, #faf8f5 50%, var(--color-bg-section-beige) 100%);
}

.section-contact .container {
  max-width: 1000px;
}

.section-contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.4);
}

.section-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .section-contact-layout {
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Info block: card with left accent (like service cards) */
.contact-info-block {
  position: relative;
  padding: 0;
  overflow: visible;
}

.contact-info-accent {
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.contact-info-block:hover .contact-info-accent {
  opacity: 1;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  padding: 2rem 2rem 0 2.25rem;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0 2rem 2rem 2.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item:hover {
  color: var(--color-text);
}

.contact-info-item .info-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-info-item:hover .info-icon {
  background: rgba(13, 148, 136, 0.2);
  transform: scale(1.05);
}

.contact-info-item .info-content {
  min-width: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.contact-info-item a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Form block: card with left accent */
.contact-form-block {
  position: relative;
  padding: 0;
  overflow: visible;
}

.contact-form-accent {
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.contact-form-block:hover .contact-form-accent {
  opacity: 1;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  padding: 2rem 2rem 0 2.25rem;
}

.contact-form {
  padding: 0 2rem 2rem 2.25rem;
}

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

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

.contact-form .form-group {
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease;
}

.contact-form .form-group:last-of-type,
.contact-form .submit-wrap {
  margin-bottom: 0;
}

.contact-form .submit-wrap {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.contact-form label .optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 2px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
  box-shadow: 0 2px 0 0 var(--color-accent);
}

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

.contact-form button[type="submit"].cta-primary {
  margin-top: 0.5rem;
  cursor: pointer;
}

/* ----- FAQ page: Pitanja i odgovori (modern) ----- */
.page-hero-faq {
  position: relative;
  z-index: 2;
  padding: 7rem 1.5rem 5rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
  box-shadow: 0 32px 64px -8px rgba(0, 0, 0, 0.4), 0 16px 32px -8px rgba(0, 0, 0, 0.25);
}

.page-hero-faq .page-hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-faq .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 8s ease-out;
}

.page-hero-faq:hover .page-hero-bg img {
  transform: scale(1.03);
}

.page-hero-faq .page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 75%,
      rgba(0, 0, 0, 0.15) 90%,
      rgba(0, 0, 0, 0.45) 97%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      165deg,
      rgba(13, 148, 136, 0.25) 0%,
      rgba(28, 25, 23, 0.55) 40%,
      rgba(28, 25, 23, 0.7) 100%
    );
}

.page-hero-faq-glow {
  position: absolute;
  z-index: 1;
  width: 80%;
  max-width: 600px;
  height: 200px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-hero-faq .page-hero-title {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25), 0 4px 40px rgba(0, 0, 0, 0.15);
}

.page-hero-faq .page-hero-lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-faq .page-hero-eyebrow {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.16em;
}

/* FAQ section: soft gradient + subtle depth (sits under hero shadow) */
.section-faq {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #fdfcfb 0%, #f8f6f3 25%, #f0ede8 60%, #ebe8e3 100%);
}

.section-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.12), transparent);
  opacity: 0.8;
}

.section-faq::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.03) 40%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.section-faq .container {
  max-width: 700px;
  position: relative;
}

.faq-intro {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.faq-intro .section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.faq-eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.faq-item:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.faq-item.is-open {
  background: var(--glass-bg-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(13, 148, 136, 0.08);
}

.faq-item-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(13, 148, 136, 0.5) 50%, rgba(13, 148, 136, 0.25) 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.faq-item:hover .faq-item-accent,
.faq-item.is-open .faq-item-accent {
  opacity: 1;
  width: 5px;
}

.faq-item-num {
  position: absolute;
  top: 1.35rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  opacity: 0.6;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.faq-item:hover .faq-item-num,
.faq-item.is-open .faq-item-num {
  opacity: 1;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.4rem 3.5rem 1.4rem 1.75rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question-text {
  flex: 1;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.8;
  transition: transform 0.25s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(-135deg) translateY(-1px);
  opacity: 1;
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 1.5rem 1.5rem 1.75rem;
  padding-top: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  border-top: 1px solid var(--color-border-soft);
}

.faq-item.is-open .faq-answer-inner p {
  opacity: 1;
  transform: translateY(0);
}

.faq-cta-wrap {
  margin-top: 3rem;
  margin-bottom: 0;
}

.faq-cta-card {
  display: inline-block;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.faq-cta-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(13, 148, 136, 0.06);
  transform: translateY(-2px);
}

.faq-cta-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  font-weight: 500;
}

.faq-cta-btn {
  display: inline-block;
}

@media (max-width: 575.98px) {
  .page-hero-faq {
    min-height: 45vh;
    padding: 6rem 1.25rem 4rem;
  }

  .faq-item-num {
    top: 1.2rem;
    right: 1rem;
    font-size: 0.6875rem;
  }

  .faq-question {
    padding: 1.2rem 2.75rem 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer-inner p {
    padding: 0 1.25rem 1.25rem 1.5rem;
  }

  .faq-cta-card {
    padding: 1.5rem 1.75rem;
  }
}

/* ----- Footer — clean band, in line with section styling ----- */
.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-border-soft);
  background: var(--color-bg-section-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.footer-credits {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 420px;
  text-align: right;
  line-height: 1.5;
}

.footer-credits a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-credits {
    text-align: center;
    max-width: none;
  }
}

/* ----- Focus ----- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ----- Section drop shadows (home + services): shadow between each section ----- */
main#main > section {
  position: relative;
  overflow: visible;
  box-shadow:
    0 -32px 64px -12px rgba(0, 0, 0, 0.25),
    0 -16px 32px -8px rgba(0, 0, 0, 0.15),
    0 32px 64px -8px rgba(0, 0, 0, 0.4),
    0 16px 32px -8px rgba(0, 0, 0, 0.25);
}

main#main > section:last-child {
  box-shadow: none;
}

main#main > section.page-hero-team {
  box-shadow: none;
}

main#main > section:nth-child(1) { z-index: 20; }
main#main > section:nth-child(2) { z-index: 19; }
main#main > section:nth-child(3) { z-index: 18; }
main#main > section:nth-child(4) { z-index: 17; }
main#main > section:nth-child(5) { z-index: 16; }
main#main > section:nth-child(6) { z-index: 15; }
main#main > section:nth-child(7) { z-index: 14; }
main#main > section:nth-child(8) { z-index: 13; }
main#main > section:nth-child(9) { z-index: 12; }
main#main > section:nth-child(10) { z-index: 11; }

/* ----- Home page: buffer between sections ----- */
.page-home main#main > section {
  margin-bottom: 4.5rem;
}
.page-home main#main > section:last-child {
  margin-bottom: 0;
}

/* ----- Reveal (GSAP) ----- */
.reveal,
.card-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.container {
  max-width: var(--container-max);
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 5.5rem;
  }

  .page-hero {
    padding-top: 6rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Equipment page: no top padding so hero can be fullscreen */
  .section-equipment {
    padding-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .contact-info-title,
  .contact-info-list {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .contact-info-title {
    padding-top: 1.5rem !important;
  }

  .contact-info-list {
    padding-bottom: 1.5rem !important;
  }

  .contact-form-title {
    padding: 1.5rem 1.5rem 0 1.5rem !important;
  }

  .contact-form {
    padding: 0 1.5rem 1.5rem !important;
  }
}
