/* ============================================================
   LABORATORY EQUIPMENT COMPANY — MAIN STYLESHEET
   Aesthetic: Precision Science — refined, editorial, premium
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;1,400&family=Barlow:wght@300;400;500;600;700&family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,700;8..144,900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --navy:        #0B1D33;
  --navy-mid:    #132B4A;
  --navy-light:  #1C3A5E;
  --navy-dark:   #060F1D;
  --teal:        #00B4D8;
  --teal-hover:  #0096B4;
  --teal-light:  #48CAE4;
  --teal-glow:   rgba(0, 180, 216, 0.15);
  --gold:        #C9A84C;
  --gold-light:  #D4BC72;
  --bg-light:    #F5F7FA;
  --bg-white:    #FFFFFF;
  --text-dark:   #1B2838;
  --text-body:   #3D4F63;
  --text-muted:  #7A8B9E;
  --border:      #DCE2E9;
  --shadow-sm:   0 2px 8px rgba(11, 29, 51, 0.06);
  --shadow-md:   0 4px 20px rgba(11, 29, 51, 0.10);
  --shadow-lg:   0 8px 40px rgba(11, 29, 51, 0.14);
  --shadow-xl:   0 16px 60px rgba(11, 29, 51, 0.18);

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', -apple-system, sans-serif;

  /* Spacing Scale */
  --header-height: 80px;
  --space-xs:      0.5rem;    /*  8px */
  --space-sm:      1rem;      /* 16px */
  --space-md:      1.5rem;    /* 24px */
  --space-lg:      2rem;      /* 32px */
  --space-xl:      3rem;      /* 48px */
  --space-2xl:     4rem;      /* 64px */
  --space-section: 7.5rem;    /* 120px */
  --space-gap:     2rem;      /* 32px */
  --space-card:    2rem;      /* 32px */

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   UNIVERSAL LAYOUT UTILITIES
   Use these classes on any new page — responsive behavior
   is inherited automatically from the global stylesheet.
   ============================================================ */

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Section Wrappers --- */
/* Usage: <section class="section section--light"> */
.section          { padding: var(--space-section) 0; }
.section--light   { background: var(--bg-light); }
.section--white   { background: var(--bg-white); }
.section--dark    { background: var(--navy); color: #fff; }

/* --- Section Header Block --- */
/* Usage: <div class="section-header"> */
.section-header        { text-align: center; margin-bottom: var(--space-2xl); }
.section-header--left  { text-align: left; }

/* --- Grid System --- */
/* Usage: <div class="grid grid-3"> */
.grid   { display: grid; gap: var(--space-gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Auto-fill: cards fill row, min 280px each */
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* --- Flex Utilities --- */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* --- Reusable Card --- */
/* Usage: <div class="card"> */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: var(--space-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card--dark {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

/* --- Responsive Images --- */
img, video { max-width: 100%; height: auto; display: block; }

/* --- Typography Helpers --- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.text-teal    { color: var(--teal); }

/* --- Spacing Helpers --- */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-auto { margin-top: auto; }

/* --- Visibility — controlled via media queries below --- */
.hide-desktop { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.4s ease;
}

.site-header.scrolled {
  background-color: rgba(11, 29, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header.scrolled::after {
  background: rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 10;
  margin-left: -38px;
}

.logo-img {
  height: 80px;
  width: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-img img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: calc(-113px - 7cm);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}

/* Products Dropdown */
.nav-item.has-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: rgba(11, 29, 51, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  box-shadow: var(--shadow-xl);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s;
}

.dropdown-link:hover .dropdown-icon {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-icon svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.dropdown-link-text span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 20px;
}

.lang-btn {
  padding: 4px 9px;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.6;
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

/* EN / PL content visibility */
.lang-pl { display: none; }
html[lang="pl"] .lang-pl { display: inline; }
html[lang="pl"] .lang-en { display: none; }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy-dark);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s var(--ease-in-out);
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-media video,
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-media video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

/* Placeholder gradient when no video is loaded */
.slide-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slide:nth-child(1) .slide-media::before {
  background: linear-gradient(135deg, #0B1D33 0%, #132B4A 40%, #1C3A5E 100%);
}

.carousel-slide:nth-child(2) .slide-media::before {
  background: linear-gradient(135deg, #060F1D 0%, #0B1D33 40%, #132B4A 100%);
}

.carousel-slide:nth-child(3) .slide-media::before {
  background: linear-gradient(135deg, #132B4A 0%, #1C3A5E 40%, #0B1D33 100%);
}

/* Dark overlay for text readability */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(6, 15, 29, 0.4) 0%, rgba(6, 15, 29, 0.15) 40%, rgba(6, 15, 29, 0.6) 100%),
    linear-gradient(to right, rgba(6, 15, 29, 0.5) 0%, transparent 60%);
}

/* Subtle grid pattern overlay */
.slide-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

/* Slide Content */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 0 120px;
}

.slide-content-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(120, 130, 140, 0.15);
  border: 1px solid rgba(160, 170, 180, 0.25);
  border-radius: 100px;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.75rem;
  font-weight: 200;
  color: rgba(180, 190, 200, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.3s var(--ease-out), transform 0.6s 0.3s var(--ease-out);
}

.carousel-slide.active .slide-tag {
  opacity: 1;
  transform: translateY(0);
}

.slide-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(160, 170, 180, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.slide-title {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 200;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s 0.45s var(--ease-out), transform 0.8s 0.45s var(--ease-out);
}

.carousel-slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
}

.slide-desc {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 200;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s 0.6s var(--ease-out), transform 0.8s 0.6s var(--ease-out);
}

.carousel-slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.75s var(--ease-out), transform 0.6s 0.75s var(--ease-out);
}

.carousel-slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Primary Button — ghost/outline style for hero */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Carousel Navigation Dots */
.carousel-nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 15%;
  background: transparent;
  border: none;
  color: rgba(200, 210, 220, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s;
  padding: 0;
}

.carousel-arrow svg {
  width: 32px;
  height: 32px;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}

.carousel-arrow--prev { left: 0; justify-content: flex-start; padding-left: 1.5cm; }
.carousel-arrow--next { right: 0; justify-content: flex-end; padding-right: 1.5cm; }

.carousel-arrow:hover {
  color: rgba(230, 235, 240, 1);
}

@media (max-width: 768px) {
  .carousel-arrow { width: 20%; }
  .carousel-arrow svg { width: 24px; height: 24px; }
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(140, 155, 170, 0.45);
  background: transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s var(--ease-out);
  cursor: pointer;
}

.carousel-dot:hover {
  border-color: rgba(160, 175, 190, 0.7);
  transform: scale(1.15);
}

.carousel-dot.active {
  background: rgba(140, 155, 170, 0.7);
  border-color: rgba(140, 155, 170, 0.7);
  transform: scale(1.1);
}

/* Carousel Progress Bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(140, 155, 170, 0.1);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background: rgba(140, 155, 170, 0.55);
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   ABOUT / MISSION SECTION
   ============================================================ */

.about-section {
  background: #fff;
  overflow: hidden;
  margin-top: 1cm;
}

/* --- About Hero: split layout --- */
.about-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}

.about-hero-text {
  padding: 72px 56px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.about-label {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.87rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.about-headline {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.about-headline em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 300;
}

.about-hero-image {
  overflow: hidden;
  position: relative;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.02);
}

/* --- Intro text --- */
.about-intro {
  padding: 56px 0 52px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-lead {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-lead strong {
  font-weight: 700;
  color: var(--text-dark);
}

.about-body {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-body);
}

.about-body strong {
  font-weight: 400;
  color: var(--text-dark);
}

/* --- Cards --- */
.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-bottom: 0;
}

.about-card {
  padding: 48px 0;
  border-right: 1px solid var(--border);
  padding-right: 52px;
  background: #fff;
}

.about-card:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 52px;
  background: #fff;
}

.about-card-label {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.about-card p {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-body);
}

.about-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Mission Statement */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.mission-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.35;
}

.mission-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.8;
}

.mission-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-light), #e8ecf1);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for mission image */
.mission-image::after {
  content: 'Image Placeholder';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mission-image img ~ ::after {
  display: none;
}

/* Accent line */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* Goals Grid */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.goal-card {
  padding: 40px 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.goal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.2);
}

.goal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.3s ease;
}

.goal-card:hover .goal-icon {
  background: rgba(0, 180, 216, 0.2);
}

.goal-icon svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.goal-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.goal-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PAGE HERO BANNER (for sub-pages)
   ============================================================ */

.page-hero {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 340px;
}

.page-hero-text {
  padding: 64px 56px 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.page-hero-shape {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0D2548 0%, #091A36 55%, var(--navy-dark) 100%);
}

.page-hero-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 0%, transparent 18%);
}

.page-hero-title {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.page-hero-desc {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 460px;
}

/* ============================================================
   PRODUCT PAGE — FULL WIDTH HERO
   ============================================================ */

.page-hero-full {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-mid) 55%, #ffffff 100%);
}

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

.page-hero-full-overlay { display: none; }

.page-hero-full-content {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  padding-top: 0;
}

.page-hero-full-content .about-label {
  color: var(--teal);
}

.page-hero-full-title {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.page-hero-full-desc {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 520px;
}

/* ============================================================
   PRODUCT NAV BAR
   ============================================================ */
.product-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 90;
}

.product-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 3cm;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-nav-inner::-webkit-scrollbar { display: none; }

.product-nav-btn {
  display: inline-block;
  padding: 16px 24px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.product-nav-btn:hover,
.product-nav-btn.active {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

/* ============================================================
   PRODUCT PAGE — PRODUCT ROWS
   ============================================================ */

.products-section-full {
  background: #fff;
  padding: 0 3cm;
  padding-top: 0.5cm;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.product-row--reverse {
  grid-template-columns: 1fr 1fr;
}

.product-row--reverse .product-row-carousel {
  order: 2;
}

.product-row--reverse .product-row-info {
  order: 1;
  border-right: 1px solid var(--border);
  border-left: none;
}

/* Mini carousel — square */
.product-row-carousel {
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}

.product-row-slides {
  position: absolute;
  inset: 0;
}

.product-row-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-row-slide.active {
  opacity: 1;
}

.product-row-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image */
.product-row-slide:not(:has(img))::after,
.product-row-slide img[src*="placeholder"]::after {
  content: '';
}

.product-row-carousel::before {
  content: 'Product Image';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 0;
}

.product-row-slide { z-index: 1; }

.product-row-prev,
.product-row-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(6, 15, 29, 0.25);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}

.product-row-prev { left: 16px; }
.product-row-next { right: 16px; }

.product-row-prev:hover,
.product-row-next:hover {
  background: rgba(6, 15, 29, 0.55);
  color: #fff;
}

.product-row-prev svg,
.product-row-next svg {
  width: 22px;
  height: 22px;
}

.product-row-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.product-row-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.product-row-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* Info panel */
.product-row-info {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-left: none;
}

.product-row-title {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.product-row-subtitle {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.product-row-specs-title {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 0;
}

.product-row-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.product-row-specs li {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

.product-row-specs li strong {
  font-weight: 500;
  color: var(--text-dark);
}

.product-row-desc {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}

.product-row-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
  margin-top: 36px;
  flex-wrap: wrap;
}

.product-btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  padding: 14px 26px;
  transition: background 0.25s, border-color 0.25s;
}

.product-btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.product-btn-primary svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.product-btn-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dark);
  background: transparent;
  border: 1px solid var(--border);
  padding: 14px 26px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.product-btn-secondary:hover {
  border-color: var(--text-dark);
  background: var(--bg-light);
}

.product-btn-secondary svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .products-section-full { padding: 0 1.5cm; }
  .product-nav-inner { padding: 0 1.5cm; }
  .product-row,
  .product-row--reverse { grid-template-columns: 1fr; }
  .product-row--reverse .product-row-carousel { order: 0; }
  .product-row--reverse .product-row-info { order: 0; border-right: none; border-left: none; border-bottom: 1px solid var(--border); }
  .product-row-carousel { aspect-ratio: 4 / 3; }
  .product-row-info { padding: 36px 24px; border-left: none; border-bottom: 1px solid var(--border); }
  .page-hero-full { height: 400px; }
  .page-hero-full-content { padding-bottom: 40px; }
}

@media (max-width: 480px) {
  .products-section-full { padding: 0 0.5cm; }
  .product-nav-inner { padding: 0 0.5cm; }
  .product-nav-btn { padding: 14px 16px; font-size: 0.78rem; }
  .page-hero-full { height: 320px; }
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.products-section {
  padding: 0 0 80px;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.product-card {
  background: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.product-card:hover {
  background: #fff;
}

.product-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-image::after {
  content: 'Product Image';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 32px;
}

.product-card-title {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.product-card-desc {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 10px 18px;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.product-card-link:hover {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: #fff;
}

.product-card-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Contact hero — photo background, 1/3 height */
.contact-hero {
  height: 33vh;
  min-height: 240px;
  max-height: 340px;
  background: var(--navy-dark);
}

.contact-hero .page-hero-full-content {
  padding-top: 2cm;
}

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

.contact-hero .page-hero-full-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-hero .page-hero-full-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9,26,54,0.7) 0%, rgba(9,26,54,0.4) 100%);
  z-index: 0;
}

.contact-section {
  padding: 80px 0 120px;
  background: #fff;
}

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

.contact-info-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 1cm;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: 0;
  padding: 48px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 36px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--bg-white);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 36px;
  background: var(--teal);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.btn-submit:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
}

/* Contact Info Side — removed, defined above in grid */

/* Manager Cards */
.manager-card {
  background: var(--bg-white);
  border-radius: 0;
  border: 1px solid var(--border);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.manager-card:hover {
  border-color: var(--teal);
}

.manager-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.manager-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light), #d8dee6);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light), #d0d8e2);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.manager-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.manager-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.manager-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.manager-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manager-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.manager-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.manager-contact-item a {
  color: var(--text-body);
  transition: color 0.3s ease;
}

.manager-contact-item a:hover {
  color: var(--teal);
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   FOOTER — REDESIGNED
   ============================================================ */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Roboto Flex', sans-serif;
  overflow: hidden;
}

/* --- CTA Section --- */
.footer-cta-section {
  position: relative;
  padding: 56px 0 40px;
}

.footer-geo-shape {
  position: absolute;
  inset: 0;
  right: -4%;
  background: linear-gradient(140deg, #0D2548 0%, #091A36 55%, var(--navy-dark) 100%);
  clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 28% 100%);
  z-index: 0;
}

.footer-cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.footer-headline {
  font-family: 'Roboto Flex', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-headline em {
  font-style: normal;
  color: var(--teal);
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 28px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 10px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.footer-contact-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-contact-btn:hover {
  background: rgba(0, 180, 216, 0.08);
  border-color: var(--teal);
  color: var(--teal-light);
}

.footer-tagline {
  position: relative;
  z-index: 1;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(160, 190, 215, 0.55);
  line-height: 1.65;
}

/* --- Divider --- */
.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* --- Bottom Bar --- */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 20px;
}

.footer-copy {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.03em;
}

.footer-links-group {
  display: flex;
  gap: 36px;
}

.footer-links-group a {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

.footer-socials-group {
  display: flex;
  gap: 20px;
}

.footer-social {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social:hover {
  color: var(--teal);
}

/* --- Brand mark row --- */
.footer-logo-row {
  display: flex;
  align-items: center;
  padding-bottom: 28px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-mark img {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.3;
}

.footer-brand-name {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 100;
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.2em;
}

/* --- Footer responsive --- */
@media (max-width: 768px) {
  .footer-cta-section { padding: 60px 0 44px; }
  .footer-geo-shape { clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 15% 100%); }
  .footer-cta-row { flex-direction: column; gap: 32px; margin-bottom: 36px; }
  .footer-contact-btn { align-self: flex-start; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links-group { flex-wrap: wrap; gap: 16px 28px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ─────────────────────────────────────────────────────────────
   Tablet  ≤ 1024px
   Mobile  ≤  768px
   Small   ≤  480px
   ============================================================ */

/* ── TABLET (≤ 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --space-section: 5rem; }

  /* Grid utilities */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Page-specific grids */
  .mission-block  { grid-template-columns: 1fr; gap: 2.5rem; }
  .goals-grid     { grid-template-columns: repeat(2, 1fr); }
  .about-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .about-hero-text { padding: 48px 0 36px; border-right: none; border-bottom: 1px solid var(--border); }
  .about-hero-image { min-height: 280px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-cards-grid { grid-template-columns: 1fr; }
  .about-card { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 36px; }
  .about-card:last-child { padding-left: 0; border-bottom: none; }
  .contact-grid   { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr; }

  /* Visibility helpers */
  .hide-tablet { display: none; }
}

/* ── MOBILE (≤ 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-section: 4rem;
    --space-gap:     1.25rem;
    --space-card:    1.5rem;
  }

  /* ── Header: reset desktop-only offsets ── */
  .logo-link  { margin-left: 0; }
  .main-nav   { margin-right: 0; }

  /* ── Mobile hamburger ── */
  .mobile-menu-btn { display: flex; }
  .hide-mobile     { display: none; }
  .hide-desktop    { display: block; }

  /* ── Mobile slide-in nav panel ── */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100dvh;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 20px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 0;
  }

  /* ── Mobile dropdown (accordion) ── */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: auto;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    margin-top: 4px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
    box-shadow: none;
  }

  .nav-item.has-dropdown.dropdown-open .dropdown-menu {
    max-height: 260px;
    padding: 8px;
  }

  /* ── Grid utilities reset ── */
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }

  /* ── Page-specific grids ── */
  .goals-grid    { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-cards-grid { grid-template-columns: 1fr; }
  .about-hero-text { padding: 36px 0 28px; }
  .about-hero-image { min-height: 220px; }

  /* ── Sections ── */
  .about-section  { padding: 0; }
  .products-section { padding: 3rem 0 4rem; }
  .contact-section  { padding: 3rem 0 4rem; }

  /* ── Page hero ── */
  .page-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-text { padding: 48px 0 36px; border-right: none; border-bottom: 1px solid var(--border); }
  .page-hero-shape { min-height: 180px; }

  /* ── Carousel ── */
  .slide-content  { padding: 0 0 90px; }
  .carousel-nav   { bottom: 32px; }

  /* ── Forms ── */
  .contact-form-wrap { padding: 2rem 1.25rem; }

  /* ── Footer ── */
  .footer-inner  { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-nav    { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ── MOBILE (≤ 768px) — extended rules ────────────────────── */
@media (max-width: 768px) {
  /* Hero carousel — shorter on mobile */
  .hero-carousel { height: 100svh; min-height: 480px; }

  /* Slide text — tighter spacing */
  .slide-title { font-size: clamp(1.6rem, 6vw, 2.6rem); max-width: 100%; }
  .slide-desc { font-size: 0.92rem; line-height: 1.6; max-width: 100%; }
  .slide-tag { margin-bottom: 16px; font-size: 0.7rem; }
  .slide-content { padding: 0 0 80px; }

  /* Lang switcher — stays visible next to hamburger */
  .lang-switcher { margin-left: auto; margin-right: 12px; z-index: 10; }

  /* Product nav — scrollable on mobile */
  .product-nav { top: 64px; }
  .product-nav-inner { padding: 0 16px; gap: 0; -webkit-overflow-scrolling: touch; }
  .product-nav-btn { white-space: nowrap; padding: 14px 16px; font-size: 0.75rem; }

  /* Product rows — stack vertically */
  .product-row-info { padding: 28px 20px; }
  .product-row-title { font-size: 1.3rem; }
  .product-row-desc { font-size: 0.9rem; }
  .product-row-specs { font-size: 0.88rem; }
  .product-row-actions { flex-direction: column; }
  .product-btn-primary,
  .product-btn-secondary { width: 100%; justify-content: center; text-align: center; }

  /* Page hero full (ATP, Vet pages) */
  .page-hero-full-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .page-hero-full-desc { font-size: 0.9rem; }

  /* Contact page */
  .contact-hero { height: 28vh; min-height: 200px; max-height: 280px; }
  .contact-hero .page-hero-full-content { padding-top: 1cm; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-section { padding: 40px 0 60px; }

  /* Manager cards stack */
  .manager-card { padding: 24px 20px; }

  /* About section */
  .about-section { margin-top: 0; }
  .about-lead { font-size: 1rem; }
  .about-body { font-size: 0.92rem; }
  .about-cards-grid { gap: 0; }
  .about-card { padding: 28px 0; }

  /* Footer */
  .footer-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .footer-tagline { font-size: 0.88rem; }
}

/* ── SMALL MOBILE (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  .container,
  .header-inner,
  .slide-content-inner { padding-left: 1.25rem; padding-right: 1.25rem; }

  .slide-title { font-size: clamp(1.4rem, 6.5vw, 2rem); }
  .slide-desc { font-size: 0.85rem; margin-bottom: 24px; }

  .manager-header { flex-direction: column; text-align: center; }

  .btn-primary { width: 100%; justify-content: center; padding: 14px 24px; }

  .page-hero-shape { min-height: 140px; }
  .products-grid { grid-template-columns: 1fr; }

  /* Stack 2-col form row */
  .form-row { grid-template-columns: 1fr; }

  /* Logo smaller on small screens */
  .logo-img { height: 56px; }
  .logo-img img { height: 56px; }
  .logo-text { font-size: 1.5rem; }

  /* About hero image */
  .about-hero-image { min-height: 180px; }
  .about-hero-text { padding: 28px 0 20px; }
  .about-headline { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Contact info wrap — single column */
  .contact-info-wrap { grid-template-columns: 1fr; }

  /* Footer CTA */
  .footer-contact-btn { width: 100%; justify-content: center; }
}
