/* ============================================================
   TRITECH INSURANCE SYSTEMS — Redesigned Site Stylesheet
   Aesthetic: Refined Corporate with Authoritative Edge
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Colours: Deep Navy #0D1B2A, Steel Blue #1E4D7B, 
            Warm White #F5F2ED, Gold Accent #C09840
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy:    #0D1B2A;
  --steel:   #1E4D7B;
  --steel-light: #2A6BA8;
  --gold:    #C09840;
  --gold-light: #D4B060;
  --cream:   #F5F2ED;
  --white:   #FFFFFF;
  --grey-100: #F0EDE8;
  --grey-200: #DDD9D2;
  --grey-500: #8A8278;
  --grey-700: #4A4540;
  --text:    #1A1612;
  --radius:  4px;
  --shadow:  0 2px 16px rgba(13,27,42,0.10);
  --shadow-lg: 0 8px 40px rgba(13,27,42,0.18);
  --transition: 0.25s ease;
  --nav-height: 72px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--steel); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--cream); }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header h2 { margin-bottom: 0.5rem; }
.section__header p { color: var(--grey-500); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.divider {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(192,152,64,0.20);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13,27,42,1);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1rem;
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 38px;
  width: auto;
  min-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.navbar__menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.navbar__menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.65rem;
  color: rgba(245,242,237,0.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  height: var(--nav-height);
  line-height: 1;
}

.navbar__menu > li > a:hover,
.navbar__menu > li > a.active {
  color: var(--gold);
  background: rgba(192,152,64,0.08);
}

/* Dropdown arrow inline */
.navbar__menu > li > a .nav-arrow {
  font-size: 0.6rem;
  opacity: 0.7;
  line-height: 1;
  margin-top: 1px;
}

/* Dropdown — bridge gap so mouse can travel from link to menu */
.navbar__menu > li > a + .navbar__dropdown::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  border: 1px solid rgba(192,152,64,0.22);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Keep dropdown open while hovering the li (covers the gap) */
.navbar__menu > li:hover .navbar__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: rgba(245,242,237,0.80);
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.navbar__dropdown a:hover {
  color: var(--gold);
  background: rgba(192,152,64,0.08);
  padding-left: 1.5rem;
}

/* Search icon */
.navbar__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(245,242,237,0.70);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.navbar__search:hover { color: var(--gold); background: rgba(192,152,64,0.10); }
.navbar__search svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.95);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 0 2rem;
}
.search-overlay__box {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.search-overlay__icon {
  width: 22px; height: 22px;
  stroke: rgba(245,242,237,0.4); fill: none; stroke-width: 2;
  flex-shrink: 0;
}
.search-overlay__inner input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.8rem;
  padding: 0;
  outline: none;
}
.search-overlay__inner input::placeholder { color: rgba(245,242,237,0.30); }
.search-overlay__close {
  position: absolute;
  top: -70px; right: 2rem;
  background: none; border: none;
  color: rgba(245,242,237,0.55);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
  transition: color var(--transition);
}
.search-overlay__close:hover { color: var(--gold); }

.search-overlay__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.search-overlay__recommended ul,
.search-overlay__results ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.search-overlay__recommended a,
.search-overlay__results a {
  display: block;
  color: rgba(245,242,237,0.75);
  font-size: 0.95rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.search-overlay__recommended a:hover,
.search-overlay__results a:hover {
  color: var(--gold);
  background: rgba(192,152,64,0.10);
  padding-left: 1rem;
}
.search-overlay__results .result-desc {
  font-size: 0.78rem;
  color: rgba(245,242,237,0.45);
  margin-top: 0.15rem;
  padding-left: 0.6rem;
}

/* ---- TWO-COLUMN ABOUT ---- */
.about__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about__two-col__text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--grey-700);
  margin-bottom: 1rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Mobile toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
/* Animate to X when open */
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO (video) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Poster image fills the space before video loads */
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.82) 0%,
    rgba(13,27,42,0.55) 50%,
    rgba(30,77,123,0.40) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 760px;
  padding: 0 2rem;
  animation: heroFadeUp 1s ease both;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

.hero__content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.hero__scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192,152,64,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p {
  color: rgba(245,242,237,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
  position: relative; z-index: 1;
}

.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}

/* ---- ABOUT SECTION ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--grey-100);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card__label {
  font-size: 0.8rem;
  color: var(--grey-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about__visual {
  position: relative;
}
.about__img-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grey-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* ---- PRODUCT CARDS (old - kept for interior pages) ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.product-card:hover::before { transform: scaleX(1); }

.product-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.product-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; }

.product-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.product-card p { font-size: 0.9rem; color: var(--grey-500); line-height: 1.6; margin-bottom: 1.25rem; }
.product-card a { font-size: 0.85rem; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; }
.product-card a:hover { color: var(--gold); }

/* ---- PRODUCT TILES — 3×3 HOME GRID ---- */
.products-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.product-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-tile:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
  color: inherit;
}
.product-tile:hover::after { transform: scaleX(1); }

.product-tile__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.product-tile__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.5; }

.product-tile h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--navy); }
.product-tile p { font-size: 0.875rem; color: var(--grey-500); line-height: 1.6; margin: 0; flex: 1; }

.product-tile--cta {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-color: transparent;
}
.product-tile--cta h3 { color: var(--cream); }
.product-tile--cta p { color: rgba(245,242,237,0.70); }
.product-tile--cta .product-tile__icon { background: rgba(245,242,237,0.10); }
.product-tile--cta:hover { color: inherit; }

/* ---- SERVICES SECTION ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,242,237,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.08);
}
.service-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.service-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.service-card:hover .service-card__img img { opacity: 0.9; }
.service-card > h3,
.service-card > p,
.service-card > a { padding-left: 2rem; padding-right: 2rem; }
.service-card > h3 { color: var(--gold); margin: 1.5rem 0 1rem; padding-top: 0; }
.service-card > p { color: rgba(245,242,237,0.75); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card > a { display: inline-block; margin: 0 0 2rem 2rem; }

/* ---- VIDEO FEATURE (Insurance Made Easy) ---- */
.section--navy .video-feature__text h2 { color: var(--cream); }
.section--navy .video-feature__text p { color: rgba(245,242,237,0.80); }

.video-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.video-feature__text h2 { margin-bottom: 0; }

.video-feature__player video {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---- CLIENTS SECTION ---- */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.clients-logos img {
  height: 42px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--transition);
}
.clients-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---- PARTNERS ---- */
.partners-logos {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.partners-logos img {
  height: 38px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--transition);
}
.partners-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---- NEWS PAGE ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card__img {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }

.news-card__badge {
  position: relative;
  margin-top: -14px;
  margin-left: 1.5rem;
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.news-card__body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: 0.8rem; color: var(--grey-500); margin-bottom: 0.5rem; }
.news-card__body h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.news-card__body p { font-size: 0.9rem; color: var(--grey-500); flex: 1; }
.news-card__link { margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; }
.news-card__link:hover { color: var(--gold); }

/* Event cards */
.events-list { display: flex; flex-direction: column; gap: 1.25rem; }

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: var(--shadow); }

.event-card__date {
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
}
.event-card__date .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.event-card__date .day { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }

.event-card__info h4 { margin-bottom: 0.4rem; }
.event-card__info p { font-size: 0.875rem; color: var(--grey-500); margin-bottom: 0.4rem; }
.event-card__info a { font-size: 0.8rem; color: var(--steel); font-weight: 600; }

/* ---- INTERIOR PAGE CONTENT ---- */
.content-page { padding-top: 0; }

.content-section {
  padding: 64px 0;
}

.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--grey-700);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.45rem;
}

.tab-nav {
  display: flex;
  gap: 0.4rem;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--grey-100);
  padding: 0.4rem;
  border-radius: 8px;
  border: 1px solid var(--grey-200);
  /* Max width = approx. button width × count + padding — prevents ultra-wide stretch */
  max-width: fit-content;
  position: relative;
}
.tab-nav::before {
  content: 'Select a section:';
  display: block;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding: 0 0.3rem 0.3rem;
  text-align: center;
}
.tab-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--grey-700);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}
.tab-btn:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--grey-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.tab-btn.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(13,27,42,0.18);
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- CONTACT SECTION ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(192,152,64,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.contact-item__text p { margin: 0; font-size: 0.9rem; color: var(--grey-700); }
.contact-item__text strong { color: var(--navy); font-size: 0.95rem; }

.contact-form {
  display: grid;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(30,77,123,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- CAREERS PAGE ---- */
.job-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  transition: box-shadow var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.job-card__meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.badge {
  display: inline-block;
  background: var(--grey-100);
  color: var(--grey-700);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.badge--navy { background: var(--navy); color: var(--cream); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(245,242,237,0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand img { height: 38px; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }

.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  color: rgba(245,242,237,0.60);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer__col a:hover { color: var(--cream); padding-left: 4px; }

.footer__col address { font-style: normal; font-size: 0.875rem; line-height: 1.7; }

.footer__bottom {
  border-top: 1px solid rgba(245,242,237,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.8rem; }
.footer__bottom a { font-size: 0.8rem; color: rgba(245,242,237,0.55); }
.footer__bottom a:hover { color: var(--gold); }

/* ---- FLOATING ENVELOPE (FAB) ---- */
.fab-envelope {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(192,152,64,0.45), 0 2px 8px rgba(0,0,0,0.20);
  z-index: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.fab-envelope:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(192,152,64,0.55), 0 4px 12px rgba(0,0,0,0.20);
  background: var(--gold-light);
  color: var(--navy);
}
.fab-envelope svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Tooltip on hover */
.fab-envelope__tooltip { display: none; }

/* ---- UTILITY CLASSES ---- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.img-placeholder {
  background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-500); font-size: 0.8rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about__grid, .content-cols { grid-template-columns: 1fr; gap: 2rem; }
  .about__two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-feature__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 1080px) {
  .products-grid-3x3 { grid-template-columns: repeat(2, 1fr); }

  /* ---- MOBILE NAVBAR — RIGHT DRAWER ---- */
  .navbar__search { display: none; }
  .navbar__toggle { display: flex; }

  /* Full-screen backdrop — injected by JS as a real element */
  .nav-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,0.55);
    z-index: 997;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .nav-backdrop.open {
    display: block;
    opacity: 1;
  }

  /* Drawer panel — slides in from right, full page height */
  .navbar__menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    background: var(--navy);
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 20px));
    padding-left: 0;
    padding-right: 0;
    box-shadow: -4px 0 32px rgba(0,0,0,0.4);
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    pointer-events: none;
    box-sizing: border-box;
    /* Force navy all the way to bottom */
    background-clip: border-box;
    -webkit-background-clip: border-box;
  }
  .navbar__menu.open {
    transform: translateX(0);
    pointer-events: all;
  }

  /* Top-level items */
  .navbar__menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(245,242,237,0.07);
  }
  .navbar__menu > li > a {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.4;
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
    color: rgba(245,242,237,0.88);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    border-radius: 0;
    white-space: normal;
  }
  .navbar__menu > li > a:hover {
    background: rgba(192,152,64,0.10);
    color: var(--gold);
  }

  /* Dropdowns — inline, always visible in drawer */
  .navbar__dropdown {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: rgba(0,0,0,0.18);
    padding: 0.25rem 0 0.5rem 0;
    min-width: unset;
    width: 100%;
    border-radius: 0;
  }
  .navbar__dropdown a {
    display: block;
    padding: 0.45rem 1.5rem 0.45rem 2.25rem;
    font-size: 0.82rem;
    color: rgba(245,242,237,0.55);
    border-bottom: none;
    white-space: normal;
  }
  .navbar__dropdown a:hover {
    color: var(--gold);
    background: rgba(192,152,64,0.08);
    padding-left: 2.5rem;
  }

  /* Layout fixes */
  .hero__content h1 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid-3x3 { grid-template-columns: 1fr; }
  .about__two-col { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .video-feature__grid { grid-template-columns: 1fr; }
  .service-card__img { height: 140px; }
  .tab-nav::before { display: none; }
}

@media (max-width: 480px) {
  .products-grid-3x3 { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__content h1 { font-size: 1.9rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; text-align: center; }
}

/* ---- PRINT / PDF STYLESHEET ---- */
/* Print header element — hidden on screen, shown only when printing */
.print-header {
  display: none;
}

@media print {
  /* Show print header at top */
  .print-header {
    display: block !important;
    font-family: Arial, sans-serif;
    font-size: 9pt;
    color: #666;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6pt;
    margin-bottom: 16pt;
    letter-spacing: 0.02em;
  }
  /* Hide nav, FAB, footer, hero video, map lightbox */
  .navbar, .fab-envelope, .footer, .hero__video, .hero__overlay,
  .hero__scroll, .hero__ctas, .map-lightbox, .search-overlay,
  .nav-backdrop, .lightbox, .btn--primary, .btn--outline,
  .tab-nav, .page-hero__breadcrumb { display: none !important; }

  /* Reset colours for print */
  body { background: white !important; color: #111 !important; font-size: 11pt; }
  
  /* Page hero — simplified for print */
  .page-hero {
    background: #0D1B2A !important;
    padding: 1.5rem 2rem !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .page-hero h1 { font-size: 20pt !important; }

  /* Show all tab panels when printing */
  .tab-panel { display: block !important; margin-bottom: 1rem; }
  .tab-panel::before {
    content: attr(data-title);
    display: block;
    font-weight: bold;
    font-size: 12pt;
    border-bottom: 1px solid #ccc;
    padding-bottom: .25rem;
    margin-bottom: .5rem;
  }

  /* Ensure images print */
  img { max-width: 100% !important; }

  /* Avoid page breaks inside cards */
  .product-card, .news-card, .event-card, .job-card { break-inside: avoid; }

  /* Links — show URL after text */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #666; }
  a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #666; }

  /* Remove link decoration on nav items */
  .navbar a::after, .footer a::after, .fab-envelope::after { content: none !important; }

  /* Margins */
  @page { margin: 1.5cm; }
}

/* ---- PDF DOWNLOAD BAR ---- */
.pdf-bar {
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
  padding: 0.6rem 0;
  text-align: center;
}
.pdf-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.pdf-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  cursor: pointer;
  background: none;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
  transition: all var(--transition);
  text-decoration: none;
}
.pdf-bar__btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.pdf-bar__btn svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2;
}
@media print { .pdf-bar { display: none !important; } }
.navbar__drawer-search { display: none !important; }
@media (max-width: 1080px) {
    .navbar__menu > .navbar__drawer-search { display: flex !important; align-items: center; position: fixed; top: 0; left: 6px; height: var(--nav-height); z-index: 1002; padding: 0; }
    .navbar__drawer-search button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; color: rgba(245,242,237,.70); cursor: pointer; padding: 6px; transition: color .25s ease; }
  .navbar__drawer-search button:hover { color: #C09840; }
}