/* ═══════════════════════════════════════════════
   C.S.M. EUROPE S.R.L. — style.css
   Palette: Navy & Cyan (B)
═══════════════════════════════════════════════ */

:root {
  --bg: #060D18;
  --bg2: #0C1828;
  --bg3: #112035;
  --text: #DDE6F0;
  --muted: #6E8DAF;
  --accent: #00B4D8;
  --accent2: #48CAE4;
  --border: #1A2E44;
  --white: #ffffff;
  --ink-on-accent: #062235;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  height: 72px;
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-on-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(15, 17, 20, 0.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  padding: 2rem 4vw;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-y: auto;
  max-height: 60vh;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 4vw 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, #060D18 0%, #0C1828 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(90deg,
      rgba(12, 24, 40, 0) 0%,
      rgba(12, 24, 40, 0.9) 14%,
      var(--bg2) 30%,
      var(--bg2) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  border-left: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content-wide {
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-desc-wide {
  max-width: 680px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 57%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5vw;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.6;
  mix-blend-mode: luminosity;
}

.hero-image-placeholder {
  width: 100%;
  height: 60%;
  background: var(--bg3);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image-placeholder svg {
  opacity: 0.3;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ══════════════════════════════
   GLOBAL SECTION & TYPOGRAPHY
══════════════════════════════ */
section {
  padding: 100px 4vw;
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--ink-on-accent);
  border: none;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
#about {
  background: var(--bg2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  margin-top: 3rem;
}

.about-grid-tight {
  margin-top: 2rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--accent);
  z-index: -1;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.cert-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
}

/* ══════════════════════════════
   CAROUSEL
══════════════════════════════ */
.about-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  gap: 0;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  inset: 0;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 180, 216, 0.9);
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}

.carousel-nav:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  outline: none;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
#services {
  background: var(--bg);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
}

.service-card {
  background: var(--bg2);
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--bg3);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  opacity: 0.7;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.service-link {
  margin-top: auto;
  display: inline-block;
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

/* Gallery */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 3rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--bg3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform 0.5s ease, filter 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg3);
  border: 1px dashed rgba(122, 130, 144, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(122, 130, 144, 0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(6, 13, 24, 0.9));
  padding: 1.5rem 0.75rem 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ══════════════════════════════
   EQUIPMENT
══════════════════════════════ */
#equipment {
  background: var(--bg2);
}

.pantograph-highlight {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.03));
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: 2rem;
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.panto-spec {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.panto-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}

.panto-key {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.panto-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.panto-desc {
  flex: 2;
  min-width: 200px;
}

.panto-desc h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.panto-desc p {
  font-size: 0.85rem;
  color: var(--muted);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.equip-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg3);
  border-left: 3px solid transparent;
  transition: border-color 0.2s;
}

.equip-item:hover {
  border-color: var(--accent);
}

.equip-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.equip-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════
   CERTIFICATIONS
══════════════════════════════ */
#certifications {
  background: var(--bg);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--border);
  margin-top: 3rem;
}

.cert-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  text-align: center;
}

.cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.cert-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
#contact {
  background: var(--bg2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 4vw;
  margin-top: 3rem;
  align-items: start;
}

.contact-grid-two-col {
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-item-val a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item-val a:hover {
  text-decoration: underline;
}

.contact-item-val .sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-item-val .company-data {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--bg3);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Form wrapper */
.contact-form-wrapper {
  background: rgba(0, 180, 216, 0.02);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
}

/* Map containers */
.contact-map-small {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 2px;
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border-radius: 2px;
  overflow: hidden;
}

.contact-map-iframe,
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--border);
  display: block;
  filter: invert(0.93) hue-rotate(180deg);
}

.contact-map {
  min-height: 450px;
}

/* ══════════════════════════════
   IMAGE CAPTIONS / FIGURES
══════════════════════════════ */

/* Generic figure styling */
figure {
  margin: 0;
  padding: 0;
}

/* Gallery item captions */
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(6, 13, 24, 0.95));
  padding: 1.5rem 1rem 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* Carousel slide captions */
.carousel-slide figcaption {
  position: absolute;
  bottom: 3rem;
  left: 1.5rem;
  right: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 13, 24, 0.85);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
  z-index: 5;
}

/* About and Hero section captions */
.about-image figcaption,
.hero-image figcaption {
  margin-top: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}

.footer-logo span {
  color: var(--accent);
}

.footer-info {
  font-size: 0.86rem;
  color: #B8CCE0;
  line-height: 1.8;
}

.footer-legal {
  font-size: 0.82rem;
  color: #B8CCE0;
  text-align: right;
}

.footer-certs {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-certs img {
  height: 52px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-certs img:hover {
  opacity: 1;
}

.cert-pdf-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.pdf-viewer-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: 75vh;
  min-height: 520px;
  border: none;
}

.pdf-download-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ══════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions,
  nav>div:last-child {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    gap: 0.6rem;
  }

  .lang-toggle,
  nav>div:last-child .lang-toggle {
    margin-left: 0;
    align-items: center;
  }

  .lang-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
    line-height: 1;
  }

  .hamburger,
  nav>div:last-child .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .hero-bg::after {
    right: 0;
    width: 100%;
    clip-path: polygon(0 68%, 100% 52%, 100% 100%, 0 100%);
    border-left: none;
    border-top: 1px solid rgba(0, 180, 216, 0.12);
    opacity: 0.45;
  }

  .hero-image {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .about-image::after {
    display: none;
  }

  .carousel-slide figcaption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 2.25rem;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    padding: 0.55rem 0.7rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-small {
    min-height: 300px;
  }

  .contact-map-iframe {
    min-height: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .pantograph-highlight {
    flex-direction: column;
    gap: 1rem;
  }

  .panto-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }

  section {
    padding: 70px 5vw;
  }

  .nav-logo {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    max-width: calc(100vw - 170px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .service-card {
    padding: 3.5rem 2.5rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-info,
  .footer-legal {
    width: 100%;
    text-align: center;
  }

  .service-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item figcaption {
    opacity: 1;
  }

  .hero-stats {
    flex-wrap: wrap;
  }
}

/* ══════════════════════════════
   REDUCED MOTION
══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════
   FOCUS VISIBLE
══════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ══════════════════════════════
   UTILITY
══════════════════════════════ */
.required-star {
  color: var(--accent);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}