/* Bermann – Precision Fibreglass Mesh Manufacturing */
:root {
  --bg-dark: #202A43;
  --bg-mid: #2A3654;
  --bg-deep: #1A2335;
  --text-primary: #fff;
  --text-muted: #e8e8e8;
  --accent: #D9D9D9;
  --accent-hover: #C0C0C0;
  --border: rgba(217, 217, 217, 0.1);
  --border-strong: rgba(217, 217, 217, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Page loading screen – grey bg + logo, fades out */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.page-loader-exit {
  opacity: 0;
  pointer-events: none;
}
.page-loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-logo {
  max-width:  min(560px, 88vw);
  max-height: min(280px, 55vh);
  width: auto;
  height: auto;
  object-fit: contain;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.page-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.container {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }
@media (max-width: 400px) { .container { padding-left: 0.75rem; padding-right: 0.75rem; } }

/* Nav – transparent at top, white background on scroll */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.nav .nav-inner,
.nav .nav-inner .nav-logo,
.nav a.nav-logo { transition: min-height 0.25s ease, padding 0.25s ease, height 0.25s ease; }
.nav.is-scrolled {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}
.nav.is-scrolled a,
.nav.is-scrolled .nav-toggle { color: var(--bg-dark) !important; background: transparent !important; }
.nav.is-scrolled a.nav-logo { color: var(--bg-dark) !important; }
.nav.is-scrolled a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
.nav.is-scrolled a.active { background: var(--bg-dark) !important; color: #fff !important; }
.nav.is-scrolled .nav-mobile a { color: var(--bg-dark) !important; background: transparent !important; }
.nav.is-scrolled .nav-mobile a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
/* Transparent state: light text over hero */
.nav a { color: #fff; background: transparent; }
.nav a:hover { background: transparent; color: #fff; }
.nav a.active { background: transparent; color: #fff; }
.nav-toggle { color: #fff; }
.nav-mobile a { color: #fff; background: transparent; }
.nav-mobile a:hover { background: transparent; color: #fff; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  min-width: 0;
  padding: 0.5rem 0;
}
@media (max-width: 767px) {
  .nav-inner { min-height: 5rem; padding-top: 3rem; padding-bottom: 0.5rem; }
}
@media (max-width: 400px) {
  .nav-inner { padding-left: 0.25rem; padding-right: 0.25rem; padding-top: 2.75rem; }
}
.lang-switcher { transition: visibility 0.25s ease, opacity 0.25s ease; }
.nav a.nav-logo { display: flex; align-items: center; height: 6rem; min-width: 0; flex-shrink: 1; padding: 0; background: none !important; border-radius: 0; opacity: 1; transition: opacity 0.25s ease, visibility 0.25s ease; color: inherit; }
@media (max-width: 640px) { .nav a.nav-logo { height: 4rem; } }
@media (max-width: 400px) { .nav a.nav-logo { height: 3.25rem; max-width: 140px; } }
.nav a.nav-logo:hover { opacity: 0.8; background: none !important; color: inherit; }
.nav a.nav-logo:focus { background: none !important; }
.nav a.nav-logo:focus-visible { outline: 2px solid var(--bg-dark); outline-offset: 2px; }
.nav-logo img { height: 100%; width: auto; max-width: 100%; display: block; object-fit: contain; }
.nav-toggle { flex-shrink: 0; }
.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-lang-wrap { margin-left: 0.5rem; display: flex; align-items: center; }
.nav-lang-wrap--mobile { margin: 0.5rem 1rem 0; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.2); }
.page-contact .nav-lang-wrap--mobile { border-top-color: rgba(0,0,0,0.1); }
.nav-lang-label { font-size: 0.875rem; margin-right: 0.5rem; color: inherit; }
.nav-lang-select { font-size: 0.875rem; padding: 0.35rem 0.5rem; border-radius: 0.375rem; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: inherit; cursor: pointer; }
.nav.is-scrolled .nav-lang-select { border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.05); color: var(--bg-dark); }
.page-contact .nav-lang-select { border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.05); color: var(--bg-dark); }
.page-gallery .nav-lang-select { border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.05); color: var(--bg-dark); }
.nav a { padding: 0.5rem 1rem; border-radius: 0.5rem; transition: background 0.25s ease, color 0.25s ease; }
.nav-toggle { display: flex; padding: 0.5rem; background: none; border: none; border-radius: 0.5rem; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
@media (max-width: 767px) {
  .nav-toggle { padding: 0.5rem; }
  .nav-toggle svg { width: 32px; height: 32px; }
}
.nav-mobile a { transition: background 0.25s ease, color 0.25s ease; }
.nav-toggle:hover { background: transparent; }
.nav.is-scrolled .nav-toggle:hover { background: rgba(32, 42, 67, 0.25) !important; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-mobile { display: none; padding-bottom: 1rem; }
.nav-mobile.is-open { display: block; }
@media (min-width: 768px) { .nav-mobile, .nav-mobile.is-open { display: none !important; } }
.nav-mobile a { display: block; padding: 0.5rem 1rem; border-radius: 0.5rem; }
.nav-mobile a.active { background: transparent; color: #fff; }
.nav.is-scrolled .nav-mobile a.active { background: var(--bg-dark) !important; color: #fff !important; }

/* Mobile: when menu is expanded, nav turns white and text blue so logo and links are visible */
@media (max-width: 767px) {
  .nav.is-mobile-open {
    background: #fff;
    border-bottom-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
  }
  .nav.is-mobile-open a,
  .nav.is-mobile-open .nav-toggle { color: var(--bg-dark) !important; background: transparent !important; }
  .nav.is-mobile-open a.nav-logo { color: var(--bg-dark) !important; }
  .nav.is-mobile-open a:hover { background: rgba(32, 42, 67, 0.08) !important; color: var(--bg-dark) !important; }
  .nav.is-mobile-open a.active { background: var(--bg-dark) !important; color: #fff !important; }
  .nav.is-mobile-open .nav-mobile a { color: var(--bg-dark) !important; background: transparent !important; }
  .nav.is-mobile-open .nav-mobile a:hover { background: rgba(32, 42, 67, 0.08) !important; color: var(--bg-dark) !important; }
  .nav.is-mobile-open .nav-mobile a.active { background: var(--bg-dark) !important; color: #fff !important; }
  .nav.is-mobile-open .nav-toggle:hover { background: rgba(32, 42, 67, 0.1) !important; }
  .nav.is-mobile-open .nav-logo img { filter: brightness(0); }
  body.nav-mobile-open .lang-switcher { color: #333; }
}

/* Contact Us page: nav always white with blue text */
.page-contact .nav { background: #fff; border-bottom-color: rgba(0, 0, 0, 0.1); backdrop-filter: blur(8px); }
.page-contact .nav::before { display: none; }
.page-contact .nav a,
.page-contact .nav .nav-toggle { color: var(--bg-dark) !important; background: transparent !important; }
.page-contact .nav a.nav-logo { color: var(--bg-dark) !important; }
.page-contact .nav a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
.page-contact .nav a.active { background: var(--bg-dark) !important; color: #fff !important; }
.page-contact .nav .nav-toggle:hover { background: rgba(32, 42, 67, 0.25) !important; }
.page-contact .nav .nav-mobile a { color: var(--bg-dark) !important; background: transparent !important; }
.page-contact .nav .nav-mobile a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
.page-contact .nav .nav-mobile a.active { background: var(--bg-dark) !important; color: #fff !important; }

/* Gallery page: nav white with blue text */
.page-gallery .nav { background: #fff; border-bottom-color: rgba(0, 0, 0, 0.1); backdrop-filter: blur(8px); }
.page-gallery .nav::before { display: none; }
.page-gallery .nav a,
.page-gallery .nav .nav-toggle { color: var(--bg-dark) !important; background: transparent !important; }
.page-gallery .nav a.nav-logo { color: var(--bg-dark) !important; }
.page-gallery .nav a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
.page-gallery .nav a.active { background: var(--bg-dark) !important; color: #fff !important; }
.page-gallery .nav .nav-toggle:hover { background: rgba(32, 42, 67, 0.25) !important; }
.page-gallery .nav .nav-mobile a { color: var(--bg-dark) !important; background: transparent !important; }
.page-gallery .nav .nav-mobile a:hover { background: rgba(32, 42, 67, 0.15) !important; color: var(--bg-dark) !important; }
.page-gallery .nav .nav-mobile a.active { background: var(--bg-dark) !important; color: #fff !important; }

/* Legal / policy pages */
.legal-page-section { padding: 3rem 0 4rem; background: #f8f9fa; }
@media (max-width: 767px) { .legal-page-section { padding: 2rem 0 3rem; } }
.legal-content { max-width: 48rem; margin: 0 auto; color: #333; }
.legal-content h1 { font-size: 1.75rem; color: #1a1a1a; margin: 0 0 1.5rem 0; }
.legal-content h2 { font-size: 1.25rem; color: #1a1a1a; margin: 2rem 0 0.75rem 0; }
.legal-content p { margin: 0 0 1rem 0; line-height: 1.6; }
.legal-content ul { margin: 0 0 1rem 0; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.5; }
.legal-content .last-updated { font-size: 0.875rem; color: #666; margin-bottom: 1.5rem; }
.legal-content a { color: #1a365d; text-decoration: underline; }
.legal-content a:hover { color: #0f2744; }

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  margin-top: auto;
}
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 5rem; width: auto; margin-bottom: 1rem; }
.footer h3 { color: #1a1a1a; margin: 0 0 1rem 0; font-size: 1rem; font-weight: 600; }
.footer p, .footer a, .footer span { color: #555; margin: 0; }
.footer a:hover { color: #1a1a1a; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact .icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact .icon svg { color: #555; }
.footer-contact .footer-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; background: rgba(0, 0, 0, 0.06); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: rgba(0, 0, 0, 0.12); }
.footer-social svg { width: 1.25rem; height: 1.25rem; color: #444; }
.footer-copy {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; color: #666;
}
.footer-copy-text { margin: 0; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-legal a { color: #555; text-decoration: none; }
.footer-legal a:hover { color: #1a1a1a; }
.footer-legal-sep { color: #999; user-select: none; }

/* Language picker – top right, small flag only (no box), expands on click */
.lang-picker {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
}
.lang-picker-trigger {
  width: auto;
  height: auto;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.lang-picker-trigger:hover { transform: scale(1.1); }
.lang-picker.is-open .lang-picker-trigger { transform: scale(1.05); }
.lang-picker-flag-current {
  font-size: 1.5rem;
  line-height: 1;
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lang-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  min-width: 2.5rem;
}
.lang-picker.is-open .lang-picker-dropdown { display: flex; }
.lang-picker-flag {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.25rem;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-picker-flag:hover { border-color: rgba(0, 0, 0, 0.3); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); }
.lang-picker-flag.is-active { border-color: var(--bg-dark); box-shadow: 0 0 0 2px rgba(32, 42, 67, 0.3); }

/* Language switcher – one option visible, expands down on click */
.lang-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  position: fixed;
  top: 20px;
  right: 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  z-index: 100;
  color: #fff;
  transition: color 0.25s ease;
}
@media (max-width: 767px) {
  .lang-switcher { top: 0.75rem; right: 1rem; }
}
@media (max-width: 400px) {
  .lang-switcher { right: 0.5rem; font-size: 12px; }
}
/* White text before scroll on hero pages; black on Contact/Gallery and when scrolled */
body.nav-scrolled .lang-switcher,
body.page-contact .lang-switcher,
body.page-gallery .lang-switcher {
  color: #333;
}
.lang-switcher .lang-item {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  border-radius: 4px;
}
.lang-switcher .lang-item.is-active {
  display: inline-flex;
  padding-right: 8px;
}
.lang-switcher.is-open {
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #333;
}
.lang-switcher.is-open .lang-item {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 0;
  color: #333;
}
.lang-switcher.is-open .lang-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-switcher.is-open .lang-item.is-active {
  background: rgba(32, 42, 67, 0.08);
}
.lang-switcher .lang-item span {
  font: inherit;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.lang-switcher .lang-item .lang-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: transform 0.2s;
  flex-shrink: 0;
  display: none;
}
.lang-switcher .lang-item.is-active .lang-chevron {
  display: block;
}
.lang-switcher .lang-item .lang-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-switcher.is-open .lang-item.is-active .lang-chevron {
  transform: rotate(180deg);
}
.lang-switcher .lang-item:hover {
  opacity: 0.85;
}
.lang-switcher .lang-item.is-active {
  opacity: 1;
}
.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Sections */
.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (max-width: 767px) { .section { padding-top: 3rem; padding-bottom: 3rem; } }
.section-alt { background: var(--bg-deep); }
.section-mid { background: var(--bg-mid); }

/* Hero – extends behind nav so video shows under transparent header */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: -7.5rem; padding-top: 7.5rem; }
@media (max-width: 767px) { .hero { min-height: 85vh; padding-top: 6rem; margin-top: -6rem; } }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.3); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom right, var(--bg-dark), var(--bg-mid), var(--bg-dark)); }
.hero .hero-bg, .page-hero .hero-bg { background: linear-gradient(to bottom right, rgba(32, 42, 67, 0.82), rgba(42, 54, 84, 0.82), rgba(26, 35, 53, 0.82)); }
.hero-pattern { position: absolute; inset: 0; z-index: 1; opacity: 0.1; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D9D9D9' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { position: relative; z-index: 10; text-align: center; max-width: 56rem; margin: 0 auto; }
#main-content { scroll-margin-top: 4rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.2; color: #fff; margin: 0 0 1.5rem 0; font-weight: 700; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-tagline { font-size: 1.25rem; color: #fff; margin: 0 0 2rem 0; }
@media (min-width: 768px) { .hero-tagline { font-size: 1.5rem; } }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--bg-dark); padding: 1rem 2rem; border-radius: 0.5rem; font-weight: 500; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; font-size: 1rem; }
.btn:hover { background: #e8e8e8; color: var(--bg-dark); transform: scale(1.02); }
.btn svg { width: 1.25rem; height: 1.25rem; color: var(--bg-dark); }

.section-head { text-align: center; margin-bottom: 4rem; }
@media (max-width: 767px) { .section-head { margin-bottom: 2.5rem; } }
.section-head h2 { font-size: 1.875rem; color: var(--text-primary); margin: 0 0 1rem 0; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { color: var(--text-muted); max-width: 42rem; margin: 0 auto; }
.section-tagline { font-size: 1.125rem; font-weight: 600; color: var(--text-primary) !important; letter-spacing: 0.02em; }

.strategy-intro { max-width: 52rem; margin: 0 auto 3rem; text-align: center; color: var(--text-muted); line-height: 1.7; font-size: 1.0625rem; }
.strategy-blocks { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .strategy-blocks { grid-template-columns: repeat(3, 1fr); } }
.strategy-block { background: var(--bg-mid); padding: 1.75rem; border-radius: 0.5rem; border: 1px solid var(--border); }
.strategy-block h3 { font-size: 1.125rem; color: var(--text-primary); margin: 0 0 0.75rem 0; }
.strategy-block p { color: var(--text-muted); margin: 0; line-height: 1.6; font-size: 0.9375rem; }

.cards { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { width: 100%; min-width: 0; background: var(--bg-mid); padding: 2rem; border-radius: 0.5rem; border: 1px solid var(--border); transition: background 0.2s, border-color 0.2s; text-align: center; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; }
.card .card-icon { flex-shrink: 0; }
.card .card-icon--gear { flex-shrink: 0; }
.card:hover { background: #3A4563; border-color: rgba(217, 217, 217, 0.2); }
.card-icon { width: 3.5rem; height: 3.5rem; margin-left: auto; margin-right: auto; background: rgba(217, 217, 217, 0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
@keyframes tick-pop {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.5) rotate(120deg); }
  50% { transform: scale(0.9) rotate(260deg); }
  70% { transform: scale(1.2) rotate(340deg); }
  85% { transform: scale(1.05) rotate(358deg); }
  100% { transform: scale(1.15) rotate(360deg); }
}
.card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--text-primary); transition: color 0.2s ease; }
.card-icon--tick svg { transform-origin: center center; }
.card:hover .card-icon--tick svg { color: #22c55e; animation: tick-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
/* Two meshing cogs: rotate in opposite directions and “come together” */
@keyframes cog-spin-cw {
  0% { transform: translateX(-6px) rotate(0deg); }
  100% { transform: translateX(0) rotate(360deg); }
}
@keyframes cog-spin-ccw {
  0% { transform: translateX(6px) rotate(0deg); }
  100% { transform: translateX(0) rotate(-360deg); }
}
.card-icon--gear {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  background: rgba(217, 217, 217, 0.1);
  border-radius: 0.5rem;
  transition: color 0.3s ease;
}
.card-icon--gear .gear-cog {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  transition: color 0.3s ease;
}
.card-icon--gear .gear-cog--left {
  left: 0.5rem;
}
.card-icon--gear .gear-cog--right {
  left: 1.5rem;
  right: auto;
  width: 1.25rem;
  height: 1.25rem;
}
.card-icon--gear .gear-cog svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}
.card:hover .card-icon--gear .gear-cog { color: #888; }
.card:hover .card-icon--gear .gear-cog--left svg { animation: cog-spin-cw 1.75s ease forwards; }
.card:hover .card-icon--gear .gear-cog--right svg { animation: cog-spin-ccw 1.75s ease forwards; }

/* Superior Durability: blue shield with pulse */
@keyframes shield-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
.card-icon--shield svg { transform-origin: center center; transition: color 0.3s ease; }
.card:hover .card-icon--shield svg { color: #2563eb; animation: shield-pulse 0.6s ease forwards; }

.card h3 { font-size: 1.25rem; color: var(--text-primary); margin: 0 0 1rem 0; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; }

/* About page – Our Values: icon colours and hover animations */
@keyframes values-quality-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
@keyframes values-customer-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  70% { transform: translateY(2px); }
}
@keyframes values-precision-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.15); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1.05); }
}
.cards--values .card-icon--quality svg { color: #22c55e; transition: color 0.3s ease, transform 0.3s ease; }
.cards--values .card:hover .card-icon--quality svg { color: #4ade80; animation: values-quality-pulse 0.6s ease forwards; }
.cards--values .card-icon--quality { background: rgba(34, 197, 94, 0.15); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--quality { background: rgba(34, 197, 94, 0.28); }

.cards--values .card-icon--customer svg { color: #3b82f6; transition: color 0.3s ease, transform 0.3s ease; }
.cards--values .card:hover .card-icon--customer svg { color: #60a5fa; animation: values-customer-bounce 0.55s ease forwards; }
.cards--values .card-icon--customer { background: rgba(59, 130, 246, 0.15); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--customer { background: rgba(59, 130, 246, 0.28); }

.cards--values .card-icon--precision svg { color: #8b5cf6; transition: color 0.3s ease, transform 0.3s ease; transform-origin: center center; }
.cards--values .card:hover .card-icon--precision svg { color: #a78bfa; animation: values-precision-pop 0.5s ease-out forwards; }
.cards--values .card-icon--precision { background: rgba(139, 92, 246, 0.15); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--precision { background: rgba(139, 92, 246, 0.28); }

/* Steps: parallel zigzag – left, right (lower), left (lower), right (lower) */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .step:nth-child(even) { margin-top: 4rem; }
}
.step { position: relative; background: var(--bg-mid); padding: 0; border-radius: 0.5rem; border: 1px solid var(--border); transition: border-color 0.2s; overflow: hidden; }
.step:hover { border-color: rgba(217, 217, 217, 0.3); }
.step-img { width: 100%; overflow: hidden; background: var(--bg-dark); text-align: center; }
.step-img img { max-width: 100%; height: auto; display: block; margin: 0 auto; vertical-align: top; }
.step-num { font-size: 3rem; color: #fff; margin: 0; padding: 1rem 1.5rem 0.5rem; }
.step h3 { font-size: 1.125rem; color: var(--text-primary); margin: 0 0 0.5rem 0; padding: 0 1.5rem; }
.step p { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 1.5rem 0; padding: 0 1.5rem; }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; min-height: 12rem; height: 16rem; overflow: hidden; border-radius: 0.5rem; cursor: pointer; }
@media (max-width: 767px) { .gallery-item { min-height: 10rem; height: 14rem; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: var(--bg-dark); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover::after { opacity: 0.6; }
/* Gallery Preview carousel: arrows, larger frame, auto-advance */
.carousel-wrap { position: relative; margin-bottom: 2rem; max-width: 100%; overflow: hidden; }
.carousel { border-radius: 0.5rem; overflow: hidden; max-width: 100%; }
.carousel-viewport {
  overflow: hidden;
  border-radius: 0.5rem;
  max-width: 100%;
}
.carousel-track {
  display: flex; will-change: transform;
  width: 600%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-track.no-transition { transition: none; }
.carousel-slide {
  flex: 0 0 calc(100% / 6); width: calc(100% / 6); min-width: 0;
  position: relative; opacity: 0.92;
  transition: opacity 0.35s ease;
}
@media (max-width: 767px) {
  .carousel-slide { flex: 0 0 100%; width: 100%; }
}
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: auto; min-height: 18rem; max-height: 32rem; object-fit: cover; display: block; vertical-align: top;
}
@media (max-width: 767px) {
  .carousel-slide img { min-height: 14rem; max-height: 24rem; }
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 3rem; height: 3rem;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--bg-dark);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.carousel-arrow:hover { background: #fff; color: var(--accent); }
.carousel-arrow--prev { left: 1rem; }
.carousel-arrow--next { right: 1rem; }
.carousel-arrow svg { width: 1.5rem; height: 1.5rem; }
.gallery-more { text-align: center; margin-top: 1.5rem; }
.gallery-more a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.35rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gallery-more a:hover {
  background: #fff;
  color: #1e40af;
  border-color: #fff;
}
.gallery-more a:hover svg { stroke: #1e40af; }
.gallery-more svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.location-block { max-width: 56rem; margin: 0 auto; background: transparent; padding: 2rem 0; border: none; border-radius: 0; text-align: center; }
@media (min-width: 768px) { .location-block { padding: 3rem 0; } }
.location-block h2 { font-size: 1.5rem; color: var(--text-primary); margin: 0 0 0.5rem 0; }
@media (min-width: 768px) { .location-block h2 { font-size: 1.875rem; } }
.location-block .location-address { font-size: 1rem; color: var(--text-muted); margin: 0 0 1.25rem 0; }
.location-map-wrap { position: relative; width: 100%; border-radius: 0.5rem; overflow: hidden; background: var(--bg-deep); aspect-ratio: 16/10; min-height: min(280px, 50vh); }
.location-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

.page-hero { position: relative; padding-top: 7.5rem; padding-bottom: 8rem; overflow: hidden; margin-top: -7.5rem; }
@media (max-width: 767px) { .page-hero { padding-top: 6rem; padding-bottom: 4rem; margin-top: -6rem; } }
.page-hero .hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .hero-bg, .page-hero .hero-pattern { position: absolute; inset: 0; z-index: 1; }
.page-hero-inner { position: relative; z-index: 10; text-align: center; max-width: 48rem; margin: 0 auto; }
.page-hero h1 { font-size: 2.25rem; color: #fff; margin: 0 0 1.5rem 0; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { font-size: 1.25rem; color: #fff; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h2 { font-size: 1.875rem; color: var(--text-primary); margin: 0 0 1.5rem 0; }
@media (min-width: 768px) { .two-col h2 { font-size: 2.25rem; } }
.two-col .text p { color: var(--text-muted); margin: 0 0 1rem 0; }
.two-col .img-wrap { position: relative; min-height: 200px; height: min(400px, 55vh); border-radius: 0.5rem; overflow: hidden; }
.two-col .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .two-col .img-wrap { min-height: 180px; height: min(320px, 45vh); } }
.two-col .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 42, 67, 0.6), transparent); }

.mv-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: repeat(2, 1fr); } }
.mv-card { background: var(--bg-mid); padding: 2rem; border-radius: 0.5rem; border: 1px solid var(--border); }
.mv-card h3 { font-size: 1.5rem; color: var(--text-primary); margin: 0 0 1rem 0; }
.mv-card p { color: var(--text-muted); margin: 0; }

.products-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: var(--bg-mid); border-radius: 0.5rem; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.2s; }
.product-card:hover { border-color: rgba(217, 217, 217, 0.3); }
.product-card img { width: 100%; height: 16rem; min-height: 12rem; object-fit: cover; transition: transform 0.5s; }
@media (max-width: 767px) { .product-card img { height: 14rem; min-height: 10rem; } }
.product-card:hover img { transform: scale(1.05); }
.product-card .body { padding: 1.5rem; }
.product-card h3 { font-size: 1.5rem; color: var(--text-primary); margin: 0 0 0.75rem 0; }
.product-card .desc { color: var(--text-muted); margin: 0 0 1.5rem 0; }
.product-card h4 { font-size: 1rem; color: var(--text-primary); margin: 0 0 0.75rem 0; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.product-card ul li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.product-card ul li svg { width: 1rem; height: 1rem; color: var(--text-primary); flex-shrink: 0; margin-top: 0.125rem; }

.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-item { display: flex; align-items: center; gap: 0.75rem; background: var(--bg-mid); padding: 1rem; border-radius: 0.5rem; border: 1px solid var(--border); }
.tech-item svg { width: 1.25rem; height: 1.25rem; color: var(--text-primary); flex-shrink: 0; }
.tech-item span { color: var(--text-primary); }

.cta-block { max-width: 48rem; margin: 0 auto; text-align: center; }
.cta-block h2 { font-size: 1.875rem; color: var(--text-primary); margin: 0 0 1.5rem 0; }
@media (min-width: 768px) { .cta-block h2 { font-size: 2.25rem; } }
.cta-block p { color: var(--text-muted); margin: 0 0 2rem 0; }

/* Contact Us page – two-column layout (form left, office + map right) */
.contact-page-section { background: var(--bg-deep); padding: 3rem 0; }
.contact-page-section .container { max-width: 72rem; }
.contact-page-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-page-grid { grid-template-columns: 2fr 3fr; gap: 3rem; } }
.contact-page-heading { font-size: 1.75rem; font-weight: 600; color: var(--text-primary); margin: 0 0 1.5rem 0; }
.contact-page-form label { display: block; color: var(--text-primary); margin-bottom: 0.5rem; font-size: 0.9375rem; }
.contact-page-form input,
.contact-page-form textarea { width: 100%; padding: 0.75rem 1rem; background: var(--bg-mid); border: 1px solid var(--border-strong); border-radius: 0.5rem; color: var(--text-primary); font: inherit; margin-bottom: 1.25rem; transition: border-color 0.2s; }
.contact-page-form input::placeholder, .contact-page-form textarea::placeholder { color: var(--text-muted); }
.contact-page-form textarea { min-height: 8rem; resize: vertical; }
.contact-page-form input:focus,
.contact-page-form textarea:focus { outline: none; border-color: rgba(217, 217, 217, 0.5); }
.contact-page-form button { width: 100%; padding: 1rem 2rem; background: #fff; color: var(--bg-dark); border: none; border-radius: 0.5rem; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.contact-page-form button:hover { background: #e8e8e8; transform: scale(1.02); }
.contact-office-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-page-map-wrap { position: relative; width: 100%; border-radius: 0.5rem; overflow: hidden; background: var(--bg-dark); aspect-ratio: 16/10; min-height: min(240px, 45vh); }
.contact-page-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact-office-details { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .contact-office-details { flex-wrap: nowrap; } }
.contact-office-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 0; background: transparent; border: none; border-radius: 0; color: var(--text-muted); text-decoration: none; transition: color 0.2s; flex: 1 1 0; min-width: 0; }
.contact-office-item:hover { color: var(--text-primary); }
.contact-office-item div { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; min-width: 0; }
.contact-office-item strong { font-size: 0.875rem; color: var(--text-primary); }
.contact-office-item span { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.4; }
.contact-office-item:hover span { color: var(--text-primary); }
.contact-office-icon { width: 2.5rem; height: 2.5rem; flex-shrink: 0; background: rgba(217, 217, 217, 0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }
.contact-office-icon svg { width: 1.25rem; height: 1.25rem; color: var(--text-primary); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form h2, .contact-info h2 { font-size: 1.875rem; color: var(--text-primary); margin: 0 0 2rem 0; }
.contact-form label { display: block; color: var(--text-primary); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem 1rem; background: var(--bg-mid); border: 1px solid var(--border-strong); border-radius: 0.5rem; color: var(--text-primary); font: inherit; margin-bottom: 1.5rem; transition: border-color 0.2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: rgba(217, 217, 217, 0.5); }
.contact-form textarea { resize: none; min-height: 8rem; }
.contact-form button { width: 100%; padding: 1rem 2rem; background: #fff; color: var(--bg-dark); border: none; border-radius: 0.5rem; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.contact-form button:hover { background: #e8e8e8; transform: scale(1.02); }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; background: var(--bg-mid); padding: 1.5rem; border-radius: 0.5rem; border: 1px solid var(--border); }
.contact-detail-link { color: inherit; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.contact-detail-link:hover { background: rgba(42, 54, 84, 0.9); border-color: rgba(217, 217, 217, 0.25); }
.contact-detail .icon { width: 3rem; height: 3rem; background: rgba(217, 217, 217, 0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .icon svg { width: 1.5rem; height: 1.5rem; color: var(--text-primary); }
.contact-detail h3 { color: var(--text-primary); margin: 0 0 0.5rem 0; font-size: 1rem; }
.contact-detail a, .contact-detail p, .contact-detail div, .contact-detail span { color: var(--text-muted); margin: 0; }
.contact-detail a:hover, .contact-detail-link:hover span, .contact-detail-link:hover h3 { color: var(--text-primary); }

.map-placeholder { background: var(--bg-mid); border-radius: 0.5rem; overflow: hidden; border: 1px solid var(--border); }
.map-placeholder-inner { min-height: 16rem; height: min(24rem, 50vh); display: flex; align-items: center; justify-content: center; }
.map-placeholder-inner .content { text-align: center; }
.map-placeholder-inner svg { width: 4rem; height: 4rem; color: var(--text-primary); margin: 0 auto 1rem; display: block; }
.map-placeholder-inner p { margin: 0 0 0.5rem 0; color: var(--text-primary); font-size: 1.25rem; }
.map-placeholder-inner .hint { color: var(--text-muted); font-size: 1rem; }

/* Gallery page – custom entrance animation (Gallery only) */
@keyframes gallery-image-in {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(1.5rem);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-page-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-page-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-page-item { position: relative; min-height: 14rem; height: 20rem; overflow: hidden; border-radius: 0.5rem; cursor: pointer; animation: gallery-image-in 0.6s ease-out both; }
@media (max-width: 767px) { .gallery-page-item { min-height: 12rem; height: 18rem; } }
.gallery-page-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-page-item:nth-child(2) { animation-delay: 0.12s; }
.gallery-page-item:nth-child(3) { animation-delay: 0.19s; }
.gallery-page-item:nth-child(4) { animation-delay: 0.26s; }
.gallery-page-item:nth-child(5) { animation-delay: 0.33s; }
.gallery-page-item:nth-child(6) { animation-delay: 0.4s; }
.gallery-page-item:nth-child(n+7) { animation-delay: 0.47s; }
.gallery-page-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-page-item:hover img { transform: scale(1.1); }
.gallery-page-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark), transparent 50%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1.5rem; }
.gallery-page-item:hover .overlay { opacity: 1; }
.gallery-page-item .overlay h3 { color: var(--text-primary); margin: 0; font-size: 1rem; }

.lightbox { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(32, 42, 67, 0.95); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; background: rgba(217, 217, 217, 0.1); border: none; border-radius: 50%; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(217, 217, 217, 0.2); }
.lightbox-close svg { width: 1.5rem; height: 1.5rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 2rem); object-fit: contain; border-radius: 0.5rem; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: center; }
.team-card .img-wrap { position: relative; min-height: 14rem; height: 20rem; margin-bottom: 1.5rem; border-radius: 0.5rem; overflow: hidden; background: var(--bg-mid); }
.team-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .team-card .img-wrap { min-height: 12rem; height: 16rem; } }
.team-card .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark), transparent); }
.team-card h3 { font-size: 1.25rem; color: var(--text-primary); margin: 0 0 0.5rem 0; }
.team-card p { color: var(--text-muted); margin: 0; }
