﻿/* ============================================================
   DLB TRADING COMPANY — style.css
   Modern, production-grade stylesheet
   Fonts: Montserrat (headings) + Inter (body) via Google Fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Brand colors */
  --red:           #C0392B;
  --red-hover:     #992D22;
  --red-light:     #FDECEA;
  --charcoal:      #1A1A1A;
  --charcoal-mid:  #2C2C2C;
  --white:         #FFFFFF;
  --off-white:     #F7F7F5;
  --gray-100:      #F0EFED;
  --gray-200:      #E0DFDC;
  --gray-400:      #9E9C97;
  --gray-600:      #6B6966;
  --gray-800:      #3A3835;

  /* Typography */
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Sizing */
  --container:     1200px;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  80px;
  --space-10: 120px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-red: 0 8px 24px rgba(192,57,43,0.28);

  /* Transitions */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-5); }
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 68ch;
}

/* Red accent on heading words */
.accent { color: var(--red); }

/* Section eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}

/* ─── SECTION WRAPPER ─── */
.section {
  padding-block: var(--space-9);
}

.section--dark {
  background: var(--charcoal);
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.65);
}

.section--gray {
  background: var(--off-white);
}

.section__header {
  max-width: 680px;
  margin-bottom: var(--space-8);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__header--center p {
  margin-inline: auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  user-select: none;
}

.btn:active { transform: scale(0.97); }

/* Primary */
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 12px 32px rgba(192,57,43,0.38);
  transform: translateY(-2px);
}

/* Outlined on light bg */
.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outlined on dark bg */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-800);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.navbar__cta {
  margin-left: var(--space-3);
}

/* Hamburger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.navbar__mobile.open { display: flex; }

.navbar__mobile .navbar__link {
  font-size: 1.1rem;
  border: none;
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--charcoal);
  padding-block: var(--space-8) var(--space-7);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Red left-border accent on page hero titles */
.page-hero h1 {
  color: var(--white);
  padding-left: var(--space-4);
  border-left: 4px solid var(--red);
}

.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--red); }

/* ─── HOME HERO ─── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

/* Diagonal red slash */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__content .eyebrow { color: rgba(255,255,255,0.55); }

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin-bottom: var(--space-7);
}

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-block: var(--space-7);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-card {
  background: var(--white);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: background var(--transition);
}

.stat-card:hover { background: var(--off-white); }

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ─── PRODUCT CATEGORY CARDS ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-5);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.product-card__icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin-bottom: var(--space-1);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  max-width: none;
}

.product-card__link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  transition: gap var(--transition);
}

.product-card__link:hover { gap: 10px; }

/* ─── FEATURE CARDS (Why Us) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--red);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-3);
}

/* ─── CLIENT LOGO MARQUEE ─── */
.marquee-section {
  padding-block: var(--space-7);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: var(--space-10);
  width: max-content;
  animation: marquee 28s linear infinite;
  margin-top: var(--space-6);
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 140px;
  opacity: 0.55;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.marquee-item:hover { opacity: 1; }

.marquee-item img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter var(--transition);
}

.marquee-item:hover img { filter: grayscale(0); }

/* Text-based logo fallback */
.marquee-item--text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  white-space: nowrap;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--charcoal);
  padding-block: var(--space-9);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 300px;
  height: 100%;
  background: var(--red);
  clip-path: polygon(0 0, 70% 0, 50% 100%, 0 100%);
  opacity: 0.15;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta-banner h2 { color: var(--white); }

.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 46ch;
  margin-top: var(--space-2);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding-top: var(--space-10);
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.footer__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 30ch;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--red); }

.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-3);
  align-items: flex-start;
}

.footer__contact-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ─── SOCIAL ICONS ─── */
.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── CONTACT FORM ─── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-10);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-800);
}

.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236B6966' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

/* ─── CLIENTS LOGO GRID ─── */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.client-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.client-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-card img {
  max-height: 64px;
  max-width: 160px;
  object-fit: contain;
  transition: transform var(--transition);
}

.client-card:hover img {
  transform: scale(1.05);
}

/* Text fallback for client cards */
.client-name {
  display: none; /* shown only when logo fails to load */
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  text-align: center;
  max-width: none;
}

.client-card:hover .client-name {
  color: var(--red);
}

/* ─── TESTIMONIAL CARDS ─── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  position: absolute;
  top: 12px;
  left: 20px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-5);
  position: relative;
  max-width: none;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ─── ACCORDION (Products expanded panels) ─── */
.accordion {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: left;
  gap: var(--space-3);
  transition: background var(--transition);
}

.accordion-trigger:hover { background: var(--off-white); }

.accordion-trigger[aria-expanded="true"] {
  color: var(--red);
  background: var(--red-light);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  color: var(--red);
}

.accordion-body {
  display: none;
  padding: var(--space-6);
  background: var(--off-white);
}

.accordion-body.open { display: block; }

/* ─── PHOTO GRID ─── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.photo-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
  position: relative;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.photo-grid__item:hover img { transform: scale(1.06); }

.photo-grid__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,26,26,0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  text-align: center;
}

/* ─── FILTER PILLS ─── */
.filter-bar {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.filter-pill {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ─── MAP EMBED ─── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-top: var(--space-8);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ─── UTILITY CLASSES ─── */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--gray-400); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.d-flex  { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

/* ─── LAYOUT UTILITIES (page-specific grids) ─── */
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.grid-split--wide {
  grid-template-columns: 1.2fr 1fr;
}

/* Values 3-col grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--red);
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-3);
}

/* Declaration / dark callout block */
.declaration-block {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.declaration-block::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 220px;
  height: 220px;
  background: var(--red);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.declaration-block h3 {
  color: var(--white);
  margin-bottom: var(--space-4);
  position: relative;
}

.declaration-block p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-style: italic;
  max-width: 60ch;
  margin-inline: auto;
  position: relative;
}

/* Image placeholder wrapper */
.img-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quality split (Why Us page) */
.quality-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.quality-split__left {
  padding: var(--space-7) var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.quality-split__left p { max-width: none; }

.quality-split__right {
  padding: var(--space-7) var(--space-6);
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.quality-split__right h4 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.quality-split__right p {
  color: rgba(255, 255, 255, 0.7);
  max-width: none;
}

/* Track record banner (red bg) */
.track-record-banner {
  background: var(--red);
  padding-block: var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.track-record-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.12) 0%, transparent 60%);
}

.track-record-banner h2,
.track-record-banner p {
  color: var(--white);
  position: relative;
}

.track-record-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-inline: auto;
  max-width: 60ch;
  margin-top: var(--space-3);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Desktop styles are untouched above.
   Below 1024px = tablet adjustments (minor).
   Below 768px  = full mobile app UI redesign.
   ============================================================ */

/* ─── TABLET: 1024px ─── */
@media (max-width: 1024px) {
  .navbar__links { gap: var(--space-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .contact-section { grid-template-columns: 1fr; gap: var(--space-8); }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   MOBILE APP UI — 768px and below
   Mimics native mobile app patterns:
   - Bottom navigation bar (replaces top nav)
   - Full-bleed hero with app-style type
   - Horizontally scrollable card rows
   - Large touch targets (min 48px)
   - Sheet-style sections with rounded tops
   - Floating action button for enquiry CTA
   - App-like stat pills
   - Safe area support for notched phones
   ============================================================ */
@media (max-width: 768px) {

  /* ─── GLOBAL MOBILE TOKENS ─── */
  :root {
    --space-9:  48px;
    --space-10: 64px;
    --bottom-nav-h: 68px;        /* height of bottom nav bar   */
    --safe-bottom: env(safe-area-inset-bottom, 0px); /* notch support */
  }

  /* Add bottom padding to body so content isn't hidden behind nav */
  body {
    padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  }

  /* ─── HIDE DESKTOP NAVBAR, SHOW MOBILE BOTTOM NAV ─── */
  .navbar {
    display: none; /* hidden — replaced by bottom nav */
  }

  /* Bottom navigation bar — app style */
  .bottom-nav {
    display: flex !important; /* shown only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(var(--bottom-nav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: space-between;
  }

  .bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1;
    min-height: 48px;
    padding: 6px 4px;
    border: none;
    background: none;
    font-family: inherit;
    appearance: none;
    cursor: pointer;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav__item.active {
    color: var(--red);
  }

  .bottom-nav__item:active {
    background: var(--red-light);
    transform: scale(0.94);
  }

  .bottom-nav__icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
  }

  .bottom-nav__label {
    font-family: var(--font-heading);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Active dot indicator */
  .bottom-nav__item.active .bottom-nav__icon {
    position: relative;
  }

  .bottom-nav__item.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
    margin-top: -2px;
  }

  /* ─── MOBILE TOP APP BAR (replaces sticky navbar) ─── */
  .mobile-appbar {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 900;
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--space-4);
    box-shadow: var(--shadow-sm);
  }

  .mobile-appbar__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .mobile-appbar__logo-img {
    height: 34px;
    width: auto;
    display: block;
  }

  .mobile-appbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  /* Icon button — app bar action */
  .mobile-appbar__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--transition);
  }

  .mobile-appbar__btn:active { background: var(--gray-100); }

  /* ─── FLOATING ACTION BUTTON (Quote CTA) ─── */
  .fab {
    display: flex !important;
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px);
    right: 20px;
    z-index: 950;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-red);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
  }

  .fab:active {
    transform: scale(0.92);
    box-shadow: 0 4px 12px rgba(192,57,43,0.3);
  }

  .fab svg {
    width: 22px;
    height: 22px;
  }

  /* ─── CONTAINER ─── */
  .container {
    padding-inline: var(--space-4);
  }

  /* ─── SECTION SPACING ─── */
  .section {
    padding-block: var(--space-7) var(--space-6);
  }

  /* Rounded top on sections — sheet-style layering */
  .section--sheet {
    border-radius: 24px 24px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 1;
  }

  /* ─── HERO — APP SPLASH SCREEN STYLE ─── */
  .hero {
    min-height: 70svh;
    padding-block: var(--space-8) var(--space-9);
    display: flex;
    align-items: flex-end;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    margin-bottom: var(--space-4);
  }

  .hero__sub {
    font-size: 0.975rem;
    margin-bottom: var(--space-6);
  }

  /* Buttons stack vertically and go full-width on mobile */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px; /* large touch target */
    font-size: 0.875rem;
    border-radius: var(--radius-md);
  }

  /* ─── PAGE HERO ─── */
  .page-hero {
    padding-block: var(--space-6) var(--space-5);
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    padding-left: var(--space-3);
  }

  /* ─── STATS — 2×2 GRID (no scroll) ─── */
  .stats-strip {
    padding-block: var(--space-4);
  }

  .stats-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .stat-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    text-align: center;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .stat-card__number {
    font-size: 1.5rem;
  }

  .stat-card__label {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  /* ─── SECTION HEADERS ─── */
  .section__header {
    margin-bottom: var(--space-5);
    max-width: 100%;
  }

  .section__header h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  /* ─── PRODUCT CARDS — 2-COL GRID (no scroll) ─── */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .product-card {
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    gap: var(--space-2);
  }

  .product-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }

  .product-card__title { font-size: 0.82rem; }
  .product-card__desc  { font-size: 0.78rem; line-height: 1.5; }

  /* ─── FEATURE CARDS — VERTICAL STACK ─── */
  .feature-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
  }

  .feature-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    margin-bottom: 0; /* override desktop bottom margin */
  }

  .feature-card__title {
    font-size: 0.95rem;
    margin-bottom: var(--space-2);
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  /* ─── CLIENT LOGOS — 2-COL GRID ─── */
  .client-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .client-card {
    border-radius: var(--radius-xl);
    min-height: 88px;
    padding: var(--space-4);
  }

  .client-grid .client-card:nth-child(2n + 1):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - var(--space-3)) / 2);
  }

  /* ─── TESTIMONIALS — VERTICAL STACK (no scroll) ─── */
  .testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .testimonial-card {
    width: 100%;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
  }

  .testimonial-card__text {
    font-size: 0.875rem;
    margin-bottom: var(--space-4);
  }

  /* ─── PHOTO GRID — 2-COL ─── */
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  /* ─── FILTER BAR — WRAPPING PILLS (no scroll) ─── */
  .filter-bar {
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }

  .filter-pill {
    padding: 8px 16px;
    font-size: 0.72rem;
    min-height: 38px;
  }

  /* ─── ACCORDION ─── */
  .accordion {
    border-radius: var(--radius-xl);
  }

  .accordion-trigger {
    padding: var(--space-4) var(--space-5);
    font-size: 0.95rem;
    min-height: 56px; /* large touch target */
  }

  .accordion-body {
    padding: var(--space-4) var(--space-5);
  }

  /* ─── CONTACT FORM ─── */
  .contact-section {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 15px 16px;        /* larger touch target */
    font-size: 1rem;           /* prevents iOS zoom on focus */
    border-radius: var(--radius-md);
  }

  .form-textarea { min-height: 120px; }

  /* ─── MAP ─── */
  .map-container {
    margin-top: var(--space-5);
    border-radius: var(--radius-xl);
  }

  .map-container iframe {
    height: 280px;
  }

  /* ─── CTA BANNER ─── */
  .cta-banner {
    padding-block: var(--space-7);
    border-radius: 24px 24px 0 0;
  }

  .cta-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }

  .cta-banner h2 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .cta-banner .btn {
    width: 100%;
    justify-content: center;
  }

  /* ─── FOOTER — SIMPLIFIED APP FOOTER ─── */
  .footer {
    padding-top: var(--space-7);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
  }

  /* Hide secondary footer columns on mobile — keep logo + contact only */
  .footer__col--links-1,
  .footer__col--links-2 {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    padding-block: var(--space-4);
    font-size: 0.75rem;
  }

  /* ─── MARQUEE — SLIGHTLY SLOWER ON MOBILE ─── */
  .marquee-track {
    animation-duration: 36s;
    gap: var(--space-8);
  }

  .marquee-item {
    min-width: 110px;
    height: 44px;
  }

  /* ─── ABOUT PAGE: GRID SPLIT → SINGLE COLUMN ─── */
  .grid-split,
  .grid-split--wide {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Stack image below text and give it a sensible height */
  .img-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
  }

  /* ─── ABOUT PAGE: VALUES GRID → SINGLE COLUMN ─── */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .value-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    text-align: left;
    border-radius: var(--radius-lg);
  }

  .value-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0; /* remove desktop auto-center */
    border-radius: var(--radius-md);
  }

  .value-card__title {
    font-size: 0.95rem;
    margin-bottom: var(--space-2);
  }

  /* ─── ABOUT PAGE: DECLARATION BLOCK ─── */
  .declaration-block {
    padding: var(--space-6) var(--space-5);
    border-radius: var(--radius-lg);
  }

  .declaration-block p {
    font-size: 0.9rem;
  }

  /* ─── WHY US PAGE: QUALITY SPLIT → SINGLE COLUMN ─── */
  .quality-split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  /* ─── CONTACT INFO ITEMS ─── */
  .contact-info__item {
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
  }

  .contact-info__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
  }

  /* ─── EYEBROW LABELS ─── */
  .eyebrow {
    font-size: 0.68rem;
  }

  /* ─── PAGE HERO BREADCRUMB ─── */
  .page-hero__breadcrumb {
    font-size: 0.72rem;
    margin-bottom: var(--space-3);
  }

  /* ─── REVEAL ANIMATION — faster on mobile ─── */
  .reveal {
    transform: translateY(18px);
    transition-duration: 0.4s;
  }
}

/* ─── EXTRA SMALL PHONES: 380px ─── */
@media (max-width: 380px) {

  .hero__title {
    font-size: 1.75rem;
  }

  .stat-card {
    padding: var(--space-2) var(--space-3);
  }

  .stat-card__number {
    font-size: 1.3rem;
  }

  .product-card {
    padding: var(--space-3);
  }

  .product-card__title { font-size: 0.78rem; }
  .product-card__desc  { font-size: 0.74rem; }

  .client-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }

  .client-grid .client-card:nth-child(2n + 1):last-child {
    max-width: calc((100% - var(--space-2)) / 2);
  }

  .photo-grid {
    gap: var(--space-1);
  }

  .filter-pill {
    padding: 7px 14px;
    font-size: 0.68rem;
  }
}

/* ─── ELEMENTS HIDDEN ON DESKTOP, SHOWN ON MOBILE ─── */
/* These are set to display:none by default and turned on inside the mobile query above */
.bottom-nav,
.mobile-appbar,
.fab {
  display: none;
}

/* ─── ELEMENTS HIDDEN ON MOBILE, SHOWN ON DESKTOP ─── */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
}

@media (min-width: 769px) {
  .mobile-only { display: none !important; }
}

/* ─── WORK GALLERY / LIGHTBOX ─── */
.gallery-event {
  margin-bottom: var(--space-9);
}

.gallery-event__header {
  margin-bottom: var(--space-5);
}

.gallery-event__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--charcoal);
}

.gallery-event__date {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.gallery-event__desc {
  max-width: 720px;
  margin-top: var(--space-2);
}

.gallery-grid__item {
  cursor: pointer;
  border: 0;
  padding: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-5);
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox__close {
  top: var(--space-5);
  right: var(--space-5);
}

.lightbox__prev {
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .lightbox__prev { left: var(--space-2); }
  .lightbox__next { right: var(--space-2); }
}

/* ─── MOBILE "MORE" NAV DRAWER ─── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.5);
}

.nav-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-5);
  padding-bottom: calc(var(--space-6) + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.nav-drawer.open .nav-drawer__panel {
  transform: translateY(0);
}

.nav-drawer__handle {
  width: 40px;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  margin: 0 auto var(--space-4);
}

.nav-drawer__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: background var(--transition);
}

.nav-drawer__link:hover,
.nav-drawer__link:active {
  background: var(--gray-100);
}

.nav-drawer__link svg {
  color: var(--red);
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .nav-drawer { display: none !important; }
}

/* ─── WORK: EVENT COVER CARDS ─── */
.work-covers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.work-cover {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-cover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-cover__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  overflow: hidden;
}

.work-cover__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-cover:hover .work-cover__image img {
  transform: scale(1.05);
}

.work-cover__count {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: rgba(26,26,26,0.72);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.work-cover__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.work-cover__date {
  color: var(--red);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-cover__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--charcoal);
}

.work-cover__desc {
  color: var(--gray-600);
  font-size: 0.92rem;
  flex: 1;
}

.work-cover__btn {
  margin-top: var(--space-3);
  align-self: flex-start;
}

/* ─── WORK: SINGLE EVENT GALLERY VIEW ─── */
.gallery-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: var(--space-5);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}

.gallery-back-link:hover {
  text-decoration: underline;
}
