/* =========================================================
   MAA LABEL & ACCESSORIES — Modern Theme
   ========================================================= */

:root {
  --ink: #0c1222;
  --ink-soft: #15233b;
  --slate: #334155;
  --muted: #6b7a90;
  --mist: #f4f7fb;
  --mist-2: #e8eef6;
  --white: #ffffff;
  --line: rgba(12, 18, 34, 0.1);
  --brand: #006847;
  --brand-deep: #005237;
  --navy: #2e4598;
  --accent: #006847;
  --accent-2: #2e4598;
  --accent-deep: #005237;
  --glow: rgba(0, 104, 71, 0.22);
  --shadow: 0 20px 50px rgba(12, 18, 34, 0.1);
  --shadow-soft: 0 10px 30px rgba(12, 18, 34, 0.06);
  --radius: 1.15rem;
  --radius-sm: 0.85rem;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
  --nav-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(0, 104, 71, 0.08), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(46, 69, 152, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--mist) 45%, #eef3f8 100%);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-slide__video {
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-nav .container {
  width: 100%;
}

.site-nav .navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.45rem 0.6rem;
  box-shadow: none;
}

.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 104, 71, 0.15);
}

.site-nav .navbar-brand {
  margin-right: 0.5rem;
  max-width: calc(100% - 3.5rem);
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 104, 71, 0.22);
}

.brand-mark__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;

}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark__text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark__text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-link-custom {
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--slate) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 999px;
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--ink) !important;
  background: rgba(0, 104, 71, 0.08);
}

.slogan {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.capacity-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.capacity-table th,
.capacity-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}

.capacity-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.capacity-table tr:last-child td {
  border-bottom: 0;
}

.capacity-table tbody tr:hover {
  background: rgba(0, 104, 71, 0.04);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.clients-grid li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.clients-grid li:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 104, 71, 0.35);
}

.clients-slider {
  position: relative;
  --clients-gap: 0.85rem;
  --clients-per-view: 4;
}

.clients-slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clients-slider__controls {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

.clients-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.clients-slider__btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.clients-slider__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.clients-slider__track {
  display: flex;
  gap: var(--clients-gap);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.clients-slider__item {
  flex: 0 0 calc((100% - (var(--clients-gap) * (var(--clients-per-view) - 1))) / var(--clients-per-view));
  min-width: 0;
}

.clients-slider__card {
  height: 100%;
  min-height: 132px;
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-soft);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.clients-slider__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(145deg, var(--brand) 0%, var(--navy) 100%);
  box-shadow: 0 10px 22px rgba(0, 104, 71, 0.18);
}

.clients-slider__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.clients-slider__card:hover {
  border-color: rgba(0, 104, 71, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  color: var(--ink);
}

.clients-slider__card:hover .clients-slider__icon {
  transform: scale(1.04);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.values-grid article {
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.values-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.machine-grid li {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-weight: 650;
}

.machine-grid li span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.location-card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  overflow: hidden;
}

.location-card--map {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.location-card__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8eef6;
  border-bottom: 1px solid var(--line);
}

.location-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.location-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  color: var(--navy);
}

.location-card p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.location-card__directions {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
}

.location-card__directions::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s7-5.3 7-11a7 7 0 1 0-14 0c0 5.7 7 11 7 11Z' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='10' r='2.4' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s7-5.3 7-11a7 7 0 1 0-14 0c0 5.7 7 11 7 11Z' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='10' r='2.4' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.location-card__directions:hover {
  color: var(--brand-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(46, 69, 152, 0.28);
}

.team-card__photo {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #e8eef6;
  border-bottom: 1px solid var(--line);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__body {
  padding: 1rem 1rem 1.15rem;
  text-align: center;
}

.team-card__body h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
  color: var(--ink);
  line-height: 1.3;
}

.team-card__body span {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.35;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-catalog__item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-catalog__item:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 69, 152, 0.3);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.product-catalog__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
}

.product-catalog__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-catalog__item:hover .product-catalog__photo img {
  transform: scale(1.05);
}

.product-catalog__body {
  padding: 0.95rem 1rem 1.1rem;
}

.product-catalog__body h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
}

.md-frame {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #111;
}

.md-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-maa {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink-soft);
  --bs-btn-hover-border-color: var(--ink-soft);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ink);
  --bs-btn-active-border-color: var(--ink);
  padding: 0.85rem 1.45rem;
  box-shadow: 0 14px 30px rgba(12, 18, 34, 0.18);
}

.btn-maa-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--accent-deep);
  --bs-btn-hover-border-color: var(--accent-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--accent-deep);
  --bs-btn-active-border-color: var(--accent-deep);
  padding: 0.85rem 1.45rem;
  box-shadow: 0 14px 32px var(--glow);
}

.btn-maa-outline {
  --bs-btn-color: #fff;
  --bs-btn-bg: rgba(255, 255, 255, 0.06);
  --bs-btn-border-color: rgba(255, 255, 255, 0.35);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  padding: 0.85rem 1.45rem;
  backdrop-filter: blur(8px);
}

.btn-maa-ghost {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: rgba(255, 255, 255, 0.7);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: rgba(14, 165, 164, 0.35);
  padding: 0.85rem 1.45rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 0;
  color: var(--white);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider__slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  background: #0c1222;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.28) 0%, rgba(12, 18, 34, 0.45) 35%, rgba(12, 18, 34, 0.92) 100%),
    linear-gradient(115deg, rgba(12, 18, 34, 0.72) 0%, rgba(12, 18, 34, 0.2) 62%);
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(12, 18, 34, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-slider__nav:hover {
  background: rgba(0, 104, 71, 0.85);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-slider__nav--prev { left: 1rem; }
.hero-slider__nav--next { right: 1rem; }

.hero-slider__dots {
  position: absolute;
  left: 1.25rem;
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-slider__dot.is-active {
  width: 28px;
  background: #fff;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 3.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.35rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(14, 165, 164, 0.18);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0 0 1.2rem;
  color: #fff;
  max-width: 12ch;
  animation: fadeUp 0.9s var(--ease) 0.05s both;
}

.hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeUp 0.9s var(--ease) 0.12s both;
}

.hero__lead {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.85rem;
  animation: fadeUp 0.9s var(--ease) 0.18s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s var(--ease) 0.24s both;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}

.hero__metrics article {
  padding: 0.35rem 0.25rem;
}

.hero__metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #fff;
}

.hero__metrics span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 6.5rem 0;
}

.section-alt {
  position: relative;
}

.section-tight {
  padding: 4.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.95rem;
}

.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 5px rgba(14, 165, 164, 0.12);
}

.section-title {
  font-size: clamp(2.15rem, 4.4vw, 3rem);
  margin-bottom: 2rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
  margin-bottom: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

/* Product bento */
.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.product-item {
  position: relative;
  grid-column: span 6;
  min-height: 300px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.2rem);
  isolation: isolate;
  box-shadow: var(--shadow-soft);
}

.product-item:nth-child(1),
.product-item:nth-child(4) {
  grid-column: span 7;
}

.product-item:nth-child(2),
.product-item:nth-child(3) {
  grid-column: span 5;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.95) contrast(1.02);
}

.product-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.05);
}

.product-item__copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 34, 0.9));
  color: var(--white);
  z-index: 1;
}

.product-item__copy small {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.product-item__copy h3 {
  font-size: 1.65rem;
  margin: 0 0 0.3rem;
  color: #fff;
}

.product-item__copy p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.74);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.chip-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 164, 0.4);
  background: #fff;
}

/* Why panel */
.why-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  border-radius: calc(var(--radius) + 0.45rem);
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(0, 104, 71, 0.28), transparent 55%),
    linear-gradient(145deg, #0c1222 0%, #15233b 50%, #0d3b2d 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.why-panel__content {
  padding: clamp(2rem, 4vw, 3.4rem);
}

.why-panel__media {
  min-height: 420px;
  position: relative;
}

.why-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-panel .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.why-panel .section-title {
  color: #fff;
  max-width: 14ch;
}

.why-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.why-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.why-list__num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--navy));
}

.why-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
}

.why-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split__figure {
  position: relative;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow);
}

.split__figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 34, 0.45));
}

.split__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.stat-row article {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(120deg, var(--ink), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Services */
.service-stack {
  display: grid;
  gap: 0.85rem;
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(14, 165, 164, 0.28);
}

.service-row__index {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--ink), #134e4a);
}

.service-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.45rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.service-row__tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 165, 164, 0.1);
}

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 3.25rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 280px at 12% 10%, rgba(0, 104, 71, 0.1), transparent 60%),
    radial-gradient(520px 240px at 90% 0%, rgba(46, 69, 152, 0.1), transparent 55%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 1rem;
  /* max-width: 14ch; */
}

.page-hero--image {
  min-height: clamp(320px, 48vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  color: #fff;
}

.page-hero--image::before {
  display: none;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.45) 0%, rgba(12, 18, 34, 0.72) 55%, rgba(12, 18, 34, 0.9) 100%),
    linear-gradient(115deg, rgba(12, 18, 34, 0.7) 0%, rgba(12, 18, 34, 0.25) 70%),
    var(--page-hero-image, url("../img/production-machine.jpg")) center/cover no-repeat;
  transform: scale(1.02);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero--image .section-label {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero--image .section-label::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.page-hero--image h1 {
  color: #fff;
}

.page-hero--image .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-grid article {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.process-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.process-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 1rem;
}

.process-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.contact-info {
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(14, 165, 164, 0.25), transparent 55%),
    linear-gradient(160deg, #0c1222, #15233b 60%, #0f3d3c);
  color: rgba(255, 255, 255, 0.8);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: #fff;
}

.contact-info a:hover {
  color: #fff;
}

.contact-info .meta-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(94, 234, 212, 0.9);
  margin-bottom: 0.3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  border-color: rgba(12, 18, 34, 0.12);
  padding: 0.85rem 1rem;
  background: #fff;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(0, 104, 71, 0.15);
}

.form-label {
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 2rem;
  align-items: center;
  border-radius: calc(var(--radius) + 0.45rem);
  padding: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  background:
    radial-gradient(600px 240px at 15% 20%, rgba(14, 165, 164, 0.35), transparent 55%),
    linear-gradient(120deg, rgba(12, 18, 34, 0.92), rgba(15, 61, 60, 0.86)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1600&q=80") center/cover;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  max-width: 14ch;
  margin-bottom: 0.7rem;
  color: #fff;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.25rem 0 1.75rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.18), transparent 65%);
  top: -160px;
  right: -80px;
  pointer-events: none;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .clients-grid,
  .product-catalog,
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-slider {
    --clients-per-view: 3;
  }
}

@media (max-width: 991.98px) {
  :root {
    --nav-h: 72px;
  }

  .section {
    padding: 4.75rem 0;
  }

  .section-title,
  .page-hero h1,
  .hero__brand {
    max-width: none;
  }

  .hero__metrics,
  .process-grid,
  .values-grid,
  .machine-grid,
  .clients-grid,
  .product-catalog,
  .team-grid,
  .location-grid,
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-panel,
  .split,
  .contact-shell,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .product-item,
  .product-item:nth-child(1),
  .product-item:nth-child(2),
  .product-item:nth-child(3),
  .product-item:nth-child(4) {
    grid-column: span 12;
    min-height: 240px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .service-row {
    grid-template-columns: 52px 1fr;
    align-items: start;
  }

  .service-row__tag {
    grid-column: 2;
    justify-self: start;
  }

  .why-panel__media,
  .split__figure,
  .md-frame {
    min-height: 280px;
  }

  .why-panel__content {
    padding: 1.75rem;
  }

  .clients-slider {
    --clients-per-view: 2;
  }

  .clients-slider__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: min(100svh, 860px);
  }

  .hero__content {
    padding-bottom: 4.5rem;
  }

  .hero-slider__nav--prev { left: 0.75rem; }
  .hero-slider__nav--next { right: 0.75rem; }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 0.75rem;
    padding: 0.85rem;
    border-radius: 1rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .navbar-nav {
    gap: 0.25rem;
  }

  .nav-link-custom {
    padding: 0.7rem 0.9rem !important;
  }

  .navbar-nav .btn {
    width: 100%;
    margin-top: 0.35rem;
  }

  .cta-band {
    gap: 1.25rem;
    text-align: left;
  }

  .footer-brand {
    font-size: 1.55rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.98rem;
  }

  .section,
  .section-tight {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 2.5rem) 0 2.25rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .brand-mark {
    gap: 0.65rem;
  }

  .brand-mark__badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .brand-mark__text strong {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: uppercase;
    text-transform: uppercase;
    max-width: 48vw;
    line-height: 1.8;
  }


  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 1.25rem) 0 0;
  }

  .hero__brand {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    margin-bottom: 0.9rem;
  }

  .hero__headline {
    font-size: 1.05rem;
  }

  .hero__lead {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .hero__actions {
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    text-align: center;
    min-width: min(100%, 10rem);
  }

  .clients-slider {
    --clients-per-view: 1;
  }

  .clients-slider__card {
    min-height: 120px;
  }

  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    padding-top: 1.15rem;
  }

  .hero__metrics strong {
    font-size: 1.45rem;
  }

  .hero__metrics span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .hero__content {
    padding-bottom: 3.75rem;
  }

  .hero-slider__nav {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    top: auto;
    bottom: 5.75rem;
    transform: none;
  }

  .hero-slider__nav--prev { left: 0.75rem; }
  .hero-slider__nav--next { right: 0.75rem; }

  .hero-slider__dots {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
  }

  .stat-row,
  .values-grid,
  .machine-grid,
  .location-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid,
  .product-catalog,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card__body h3 {
    font-size: 0.92rem;
  }

  .product-item {
    min-height: 220px;
  }

  .product-item__copy {
    padding: 1.15rem;
  }

  .product-item__copy h3 {
    font-size: 1.35rem;
  }

  .why-list li {
    grid-template-columns: 34px 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .why-list__num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .split {
    gap: 1.5rem;
  }

  .split__figure,
  .md-frame,
  .why-panel__media {
    min-height: 240px;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 1.15rem;
  }

  .service-row__index {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .chip-row span {
    font-size: 0.84rem;
    padding: 0.55rem 0.8rem;
  }

  .capacity-table th,
  .capacity-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
  }

  .cta-band {
    padding: 1.75rem 1.35rem;
    border-radius: 1.15rem;
  }

  .cta-band .btn {
    width: 100%;
  }

  .contact-info,
  .contact-form,
  .location-card {
    padding: 1.25rem;
  }

  .location-card--map {
    padding: 0;
  }

  .location-card__body {
    padding: 1.15rem 1.2rem 1.25rem;
  }

  .location-card__map {
    aspect-ratio: 16 / 11;
  }

  .btn-maa,
  .btn-maa-accent,
  .btn-maa-outline,
  .btn-maa-ghost {
    padding: 0.8rem 1.2rem;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    max-width: 100%;
  }

  .clients-grid,
  .product-catalog {
    grid-template-columns: 1fr;
  }

  .stat-row article,
  .values-grid article,
  .machine-grid li,
  .product-catalog__item,
  .clients-grid li {
    min-height: auto;
  }

  .product-catalog__body h3 {
    font-size: 0.92rem;
  }

  .hero-slider__nav {
    display: none;
  }

  .capacity-table {
    min-width: 480px;
  }
}

@media (max-width: 379.98px) {
  .brand-mark__text strong {
    max-width: 42vw;
    font-size: 0.86rem;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
  }
}

/* ---------- Folder gallery ---------- */
.gallery-folders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.gallery-folder {
  display: block;
  color: inherit;
}

.gallery-folder:hover {
  color: inherit;
}

.gallery-folder__stack {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 0.85rem 0.85rem 0;
}

.gallery-folder__sheet {
  position: absolute;
  inset: auto 8% 12% 8%;
  height: 72%;
  border-radius: 1rem 1rem 0.7rem 0.7rem;
  background: linear-gradient(160deg, #dce6f2, #c6d4e8);
  box-shadow: var(--shadow-soft);
}

.gallery-folder__sheet--back {
  transform: rotate(-4deg) translateY(-10px);
  opacity: 0.7;
}

.gallery-folder__sheet--mid {
  transform: rotate(3deg) translateY(-4px);
  background: linear-gradient(160deg, #e8eef6, #d5e0ef);
  opacity: 0.9;
}

.gallery-folder__cover {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.04), transparent 40%),
    linear-gradient(145deg, #1a2b4a, #0c1222);
  box-shadow: var(--shadow);
  transform: translateY(0) rotate(0deg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery-folder:hover .gallery-folder__cover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 28px 60px rgba(12, 18, 34, 0.18);
}

.gallery-folder__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-folder:hover .gallery-folder__cover img {
  transform: scale(1.06);
}

.gallery-folder__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.gallery-folder__tab {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 18, 34, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.gallery-folder__meta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.gallery-folder__meta p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-folder__cta {
  display: inline-flex;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.gallery-folder:hover .gallery-folder__cta {
  transform: translateX(4px);
}

.gallery-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
}

.gallery-back-link {
  color: inherit;
  opacity: 0.92;
}

.gallery-back-link:hover {
  opacity: 1;
  color: #fff;
}

.gallery-masonry {
  columns: 3;
  column-gap: 1.15rem;
}

.gallery-shot {
  break-inside: avoid;
  width: 100%;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery-shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-shot__info {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.15rem;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 34, 0.78));
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-shot:hover .gallery-shot__info {
  opacity: 1;
  transform: none;
}

.gallery-shot__info strong {
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.gallery-shot__info em {
  font-style: normal;
  font-size: 0.82rem;
  opacity: 0.85;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox__figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.gallery-lightbox__figure img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  display: grid;
  gap: 0.2rem;
}

.gallery-lightbox__figure strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.gallery-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
}

.gallery-lightbox__nav--prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--prev:hover,
.gallery-lightbox__nav--next:hover {
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 991.98px) {
  .gallery-folders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 575.98px) {
  .gallery-folders {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    columns: 1;
  }

  .gallery-lightbox__nav {
    display: none;
  }
}

/* ---------- Madrasa page ---------- */
.madrasa-page {
  --font-bn: "Hind Siliguri", var(--font-body);
}

.madrasa-page,
.madrasa-page h1,
.madrasa-page h2,
.madrasa-page h3,
.madrasa-page .section-title,
.madrasa-page .section-label,
.madrasa-page .section-lead,
.madrasa-page p,
.madrasa-page figcaption {
  font-family: var(--font-bn);
}

.madrasa-page .section-label {
  letter-spacing: 0.06em;
}

.page-hero--video .page-hero__media--video {
  background: #0c1222;
  overflow: hidden;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.72;
}

.page-hero--video .page-hero__media--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.45) 0%, rgba(12, 18, 34, 0.78) 55%, rgba(12, 18, 34, 0.92) 100%),
    linear-gradient(115deg, rgba(0, 104, 71, 0.35) 0%, rgba(12, 18, 34, 0.2) 70%);
  pointer-events: none;
}

.madrasa-prose {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.85;
}

.madrasa-prose p + p {
  margin-top: 1.15rem;
}

.madrasa-video-figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #0c1222;
}

.madrasa-video-figure video,
.madrasa-video-card video {
  width: 100%;
  max-width: none;
  aspect-ratio: 12 / 9;
  object-fit: cover;
  background: #0c1222;
}

.madrasa-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.madrasa-goal {
  display: grid;
  gap: 0.85rem;
  padding: 1.45rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.madrasa-goal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.madrasa-goal__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.madrasa-goal p {
  color: var(--slate);
  line-height: 1.7;
}

.madrasa-pledge {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(0, 104, 71, 0.1), transparent 55%),
    radial-gradient(520px 220px at 100% 100%, rgba(46, 69, 152, 0.1), transparent 50%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.madrasa-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.madrasa-video-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.madrasa-video-card figcaption {
  padding: 0.95rem 1.15rem 1.15rem;
  color: var(--slate);
  font-size: 0.98rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .madrasa-goals {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .madrasa-goals,
  .madrasa-videos {
    grid-template-columns: 1fr;
  }
}

.float-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-contact__btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.22);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.float-contact__btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

.float-contact__btn--whatsapp {
  background: #25d366;
}

.float-contact__btn--email {
  background: var(--navy);
}

.float-contact__btn:hover,
.float-contact__btn:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(12, 18, 34, 0.28);
}

@media (max-width: 767.98px) {
  .float-contact {
    right: 0.85rem;
    bottom: 0.85rem;
    gap: 0.55rem;
  }

  .float-contact__btn {
    width: 48px;
    height: 48px;
  }

  .float-contact__btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-slide,
  .hero-slide__video,
  .page-hero__video,
  .product-item img,
  .gallery-folder__cover,
  .gallery-folder__cover img,
  .gallery-shot {
    transition: none !important;
    animation: none !important;
  }
}
