/* =============================================
   STATZ CORPORATION — GLOBAL STYLESHEET
   Fonts: Oswald (headings) + Open Sans (body)
============================================= */

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

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

:root {
  --primary:       #1a2540;   /* deep navy — structural primary */
  --primary-dark:  #002147;   /* darkest navy — primary hover/active */
  --navy:          #1a2540;
  --navy-mid:      #243356;
  --accent:        #d4af37;   /* military gold/brass */
  --accent-soft:   #c5a059;
  --gray-dark:     #333333;
  --gray-mid:      #666666;
  --gray-light:    #f9f9fb;   /* warm gray per plan (was #f2f2f2) */
  --white:         #ffffff;
  --border:        #ddd;
  --shadow:        0 4px 20px rgba(0,0,0,.12);
  --radius:        4px;
  --transition:    0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================================================
   HEADER
================================================== */
#site-header {
  background: var(--white);
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}

/* Logo */
.site-logo a { display: inline-block; }
.site-logo img { height: 70px; width: auto; }

/* Header contact info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header-contact ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-mid);
}

.header-contact li a {
  color: var(--gray-dark);
  font-weight: 600;
}

.header-contact li a:hover { color: var(--accent); }

.contact-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-badges img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.cage-badge {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: var(--gray-light);
  padding: 4px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ==================================================
   NAVIGATION
================================================== */
#site-nav {
  background: var(--navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-menu > li > a {
  display: block;
  padding: 14px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: background var(--transition), color var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: var(--accent);
  color: var(--navy);
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-mid);
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 999;
  border-top: 3px solid var(--accent);
}

.nav-menu > li:hover .sub-menu { display: block; }

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  transition: background var(--transition), color var(--transition);
}

.nav-menu .sub-menu li a:hover {
  background: var(--accent);
  color: var(--navy);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 14px 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================================================
   HERO SLIDER (Home)
================================================== */
#hero-slider {
  position: relative;
  overflow: hidden;
  height: 480px;
  background: var(--navy);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  border: 2px solid rgba(255,255,255,.8);
}

.slider-dot.active { background: var(--accent); border-color: var(--accent); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}

.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ==================================================
   INNER HEADER (inner pages)
================================================== */
#inner-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#inner-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../images/slider-1.1e475690346d.jpg") center/cover no-repeat;
  opacity: 0.12;
}

#inner-header .container { position: relative; z-index: 1; }

#inner-header h2 {
  font-size: clamp(28px, 5vw, 44px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

#inner-header p {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==================================================
   BREADCRUMB
================================================== */
#breadcrumb-sec {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.breadcrumb-nav {
  padding: 10px 0;
}

.breadcrumb-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav li {
  font-size: 13px;
  color: var(--gray-mid);
}

.breadcrumb-nav li a { color: var(--primary); }
.breadcrumb-nav li a:hover { color: var(--primary-dark); }

.breadcrumb-nav li + li::before {
  content: '›';
  margin-right: 8px;
  color: var(--gray-mid);
}

.title-sec {
  background: var(--primary);
  padding: 8px 0;
  text-align: center;
}

.title-sec h6 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==================================================
   HOME — ABOUT SECTION
================================================== */
#about-home {
  padding: 60px 0;
  background: var(--white);
}

.about-home-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.about-home-title h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 6px;
}

.about-home-title h2 span {
  display: inline-block;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.about-home-desc p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.8;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition), color var(--transition);
}

.read-more:hover { gap: 12px; color: var(--accent-soft); }
.read-more svg { width: 16px; height: 16px; fill: currentColor; }

/* ==================================================
   HOME — OUR SERVICES (3-col cards)
================================================== */
#our-services {
  padding: 0 0 60px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover img { transform: scale(1.05); }

.service-card .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,20,50,.85));
  padding: 40px 20px 20px;
}

.service-card .card-title h2 {
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.service-card .card-title h2 a {
  color: var(--white);
  transition: color var(--transition);
}

.service-card .card-title h2 a:hover { color: var(--accent); }

/* ==================================================
   ABOUT US PAGE — CONTENT
================================================== */
.page-content {
  padding: 50px 0 60px;
}

.about-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.about-left img {
  border: 3px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
}

.about-desc p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-desc .red-bar {
  display: inline-block;
  width: 4px;
  background: var(--primary);
  height: 100%;
  margin-right: 16px;
  flex-shrink: 0;
}

.about-desc-flex {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 30px 0;
}

.about-img-bar {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.about-img-bar img {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
  max-width: 256px;
}

.red-divider {
  width: 4px;
  min-height: 167px;
  background: var(--primary);
  margin: 0 16px;
  flex-shrink: 0;
  border-radius: 2px;
}

.about-full {
  margin-top: 30px;
}

.about-full h2 {
  font-size: 24px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.about-full p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.85;
  margin-bottom: 14px;
}

.middle-top {
  background: var(--gray-light);
  padding: 30px 36px;
  margin: 30px 0;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
}

.middle-top h2 {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.5;
}

.middle-top h2 strong { color: var(--accent); font-weight: 700; }

.video-wrap {
  margin: 30px 0;
}

.video-wrap video {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.video-wrap--detail video,
.video-wrap--embed video {
  max-width: 960px;
  margin: 0 auto;
}

.video-detail-page .video-detail-copy {
  max-width: 960px;
  margin: 0 auto 40px;
}

.video-detail-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0 12px;
  letter-spacing: 0.02em;
}

.video-detail-description {
  font-size: 1rem;
  line-height: 1.85;
  color: #555;
  margin: 0;
}

.video-embed-caption {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.video-embed-caption a {
  color: var(--primary);
  text-decoration: none;
}

.video-embed-caption a:hover {
  color: var(--accent);
}

.video-embed-card {
  display: block;
  max-width: 480px;
  text-decoration: none;
  color: inherit;
  margin: 24px 0;
}

.video-embed-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--navy);
  aspect-ratio: 16 / 9;
}

.video-embed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-embed-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
}

.video-embed-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.72);
  transition: color 0.25s ease, transform 0.25s ease;
}

.video-embed-card:hover .video-embed-play,
.video-embed-card:focus-visible .video-embed-play {
  color: var(--accent);
  transform: scale(1.05);
}

.video-embed-title {
  display: block;
  margin-top: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

hr.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}

.middle-bottom-title {
  text-align: center;
  padding: 10px 0 20px;
}

.middle-bottom-title h6 {
  font-size: 16px;
  font-weight: 400;
}

.middle-bottom-title h6 a {
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.5px;
}

/* ==================================================
   CAPABILITIES PAGE
================================================== */
.content-row {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.content-row:last-child { border-bottom: none; }

.content-row h2 {
  font-size: 22px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

/* Capability table */
.table-box {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--border);
}

.table-row:last-child { border-bottom: none; }

.table-row:nth-child(even) { background: var(--gray-light); }

.left-sec {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  border-right: 1px solid var(--border);
}

.right-sec {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ==================================================
   PRODUCTS PAGE — TABLES
================================================== */
.product-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.product-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.product-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-mid);
  line-height: 1.5;
}

.product-table tr:nth-child(even) td { background: var(--gray-light); }

.product-table tr:hover td { background: #e8edf5; }

.product-table td:first-child,
.product-table td:nth-child(3),
.product-table td:nth-child(5) {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ==================================================
   OUR TEAM PAGE
================================================== */
.team-image {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-image img { width: 100%; object-fit: cover; }

.profile-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.profile-row:last-child { border-bottom: none; }

.profile-label .inner-box {
  background: var(--navy);
  padding: 24px 20px;
  border-radius: var(--radius);
  color: var(--white);
  height: 100%;
}

.profile-label .inner-box h2 {
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.profile-label .inner-box p {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.profile-desc p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 12px;
}

.profile-desc strong {
  color: var(--navy);
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}

.profile-photo {
  float: left;
  margin: 0 18px 14px 0;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.profile-photo-right {
  float: right;
  margin: 0 0 14px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.profile-desc::after { content: ''; display: table; clear: both; }

/* ==================================================
   ACCREDITATIONS PAGE
================================================== */
.accreditations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.accreditation-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  min-width: 160px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.accreditation-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.accreditation-item img {
  max-width: 180px;
  max-height: 140px;
  object-fit: contain;
}

/* ==================================================
   CONTACT PAGE
================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.contact-form-wrap h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--gray-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,37,64,.12);
}

.contact-form textarea { height: 160px; resize: vertical; }

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.contact-form .form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 14px;
  font-size: 14px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: none;
}

/* ==================================================
   FOOTER
================================================== */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding-top: 50px;
}

.footer-main {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Footer nav */
.footer-nav h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.footer-nav ul li { margin-bottom: 8px; }

.footer-nav ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Footer logos */
.footer-logos h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.logos-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.logos-wrap a { display: inline-block; }

.logos-wrap img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.92);
  transition: filter var(--transition), transform var(--transition);
}

.logos-wrap img:hover { filter: brightness(1.1); transform: scale(1.04); }

/* Footer info */
.footer-info h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.info-block {
  margin-bottom: 20px;
}

.info-block p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin-bottom: 4px;
}

.info-block strong {
  color: var(--white);
  font-weight: 600;
}

.info-block ul { list-style: none; }

.info-block ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.info-block ul li a {
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}

.info-block ul li a:hover { color: var(--white); }

.footer-icon { fill: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }

/* Footer copyright */
.footer-copyright {
  background: rgba(0,0,0,.25);
  padding: 16px 20px;
  text-align: center;
}

.footer-copyright p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.footer-login-link {
  color: rgba(255, 255, 255, 0.4);
  margin-left: 12px;
  font-size: 12px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-login-link:hover,
.footer-login-link:focus-visible {
  color: var(--accent);
}

/* ==================================================
   DJANGO ADMIN LOGIN (STATZ branding)
================================================== */
body.login {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--navy-mid) 55%, var(--primary) 100%);
}

body.login #header {
  background: transparent;
  color: var(--white);
  border-bottom: none;
}

body.login #container {
  background: transparent;
}

body.login #content {
  background: transparent;
}

.statz-admin-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 0 4px;
}

.statz-admin-branding__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.statz-admin-branding__logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.statz-admin-branding__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: center;
}

body.login #login-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 20px;
}

body.login .submit-row input {
  background: var(--primary);
  border-color: var(--primary-dark);
}

body.login .submit-row input:hover,
body.login .submit-row input:focus {
  background: var(--primary-dark);
}

body.login a:link,
body.login a:visited {
  color: var(--accent);
}

body.login a:hover {
  color: var(--accent-soft);
}

/* ==================================================
   BACK TO TOP
================================================== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26,37,64,.4);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
#back-to-top svg { width: 20px; height: 20px; fill: var(--white); }


/* ==================================================
   SITE MESSAGES (Django messages framework)
================================================== */
.site-messages {
  margin-top: 20px;
}

.site-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 15px;
  font-size: 14px;
}

.site-message--success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.site-message--error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.site-message--info {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* ==================================================
   FORM FIELD ERROR
================================================== */
.contact-form input.field-error,
.contact-form textarea.field-error,
.field-error {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 37, 64, 0.12);
}

.form-field-error {
  color: var(--primary);
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* ==================================================
   RESOURCES PAGE
================================================== */
.resources-section {
  padding: 50px 0 70px;
}

.resources-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--gray-mid);
  font-size: 16px;
  line-height: 1.8;
}

.resources-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  padding: 18px 20px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.resources-jump-nav a {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.resources-jump-nav a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.guide-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  margin-bottom: 36px;
  scroll-margin-top: 120px;
}

.guide-section h2 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.guide-section .guide-lead {
  color: var(--gray-mid);
  font-size: 15px;
  line-height: 1.8;
  margin: 18px 0 16px;
}

.guide-section p {
  color: var(--gray-mid);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.guide-section h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 22px 0 10px;
}

.guide-section ol,
.guide-section ul {
  margin: 0 0 16px 1.25rem;
  color: var(--gray-mid);
}

.guide-section ol {
  list-style: decimal;
}

.guide-section ul {
  list-style: disc;
}

.guide-section li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 15px;
}

.guide-section a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-section a:hover {
  color: var(--primary-dark);
}

.guide-callout {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--gray-light);
  border-left: 4px solid var(--accent);
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.7;
}

.guide-callout strong {
  color: var(--navy);
}

.checklist {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 12px 14px 12px 42px;
  margin-bottom: 10px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-mid);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary);
  border-radius: 3px;
  background: var(--white);
}

.checklist li strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.resources-cta {
  text-align: center;
  margin-top: 20px;
  padding: 36px 28px;
  background: var(--navy);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.resources-cta h2 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 10px;
}

.resources-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 22px;
  font-size: 15px;
  line-height: 1.7;
}

.resources-cta .btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.resources-cta .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--navy);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .guide-section {
    padding: 24px 20px;
  }

  .resources-jump-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .resources-jump-nav a {
    text-align: center;
  }
}

/* ==================================================
   SUPPLIER PORTAL
================================================== */
.supplier-portal-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.supplier-portal-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.supplier-portal-lead {
  color: var(--gray-mid);
  font-size: 14px;
  margin: 14px 0 20px;
}

.supplier-portal-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.supplier-portal-dashboard-header h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.supplier-portal-dashboard-header form { margin: 0; }

.supplier-portal-placeholder {
  color: var(--gray-mid);
  font-size: 15px;
  line-height: 1.7;
}

.supplier-portal-internal-tool {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
}

.supplier-portal-internal-tool a {
  color: var(--gray-mid);
}

.supplier-portal-test-result {
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.7;
}

.supplier-portal-test-result--ok {
  background: #eaf7ec;
  border: 1px solid #b7e3bd;
  color: #1e5c28;
}

.supplier-portal-test-result--fail {
  background: #fdecec;
  border: 1px solid #f3b8b8;
  color: #7a1f1f;
}

.supplier-portal-links {
  margin-top: 18px;
  font-size: 14px;
  text-align: center;
}

.supplier-portal-masked-email {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--navy);
  text-align: center;
  letter-spacing: 1px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin: 16px 0;
}

.supplier-portal-note {
  background: var(--gray-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 20px;
}

.supplier-portal-note p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 992px) {
  .header-inner { flex-wrap: wrap; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-home-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 2px solid var(--accent);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li + li {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav-menu > li > a { padding: 12px 20px; }
  .nav-menu .sub-menu { position: static; border-top: none; }
  .nav-menu .sub-menu li a { padding-left: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  #hero-slider { height: 260px; }
  .footer-main { grid-template-columns: 1fr; }
  .header-badges { display: none; }
  .table-row { grid-template-columns: 1fr; }
  .left-sec { border-right: none; border-bottom: 1px solid var(--border); background: var(--gray-light); }
  .profile-photo, .profile-photo-right {
    float: none;
    margin: 0 0 14px 0;
    display: block;
  }
}

@media (max-width: 480px) {
  .header-contact { display: none; }
  .site-logo img { height: 50px; }
}
