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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f7f7f8;
}

/* Layout helpers */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Utility */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.accent {
  color: #e84c3d;
  font-weight: 700;
}

/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo-img {
  height: auto;
  max-width: 220px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Search */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  min-width: 160px;
  font-size: 0.9rem;
}

.search-button {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  background: #e84c3d;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.search-button:hover {
  opacity: 0.9;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #333;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: #e0e0e0;
}

.main-nav a[aria-current="page"] {
  border-bottom-color: #e84c3d;
  font-weight: 600;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f5ff 100%);
  padding: 40px 0 36px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  color: #222;
}

.hero-lead {
  font-size: 1rem;
  margin-bottom: 10px;
}

.hero-text p {
  margin-bottom: 10px;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: #e84c3d;
  color: #fff;
  border: 1px solid #e84c3d;
}

.btn-primary:hover {
  background: #c73e32;
}

.btn-outline {
  background: transparent;
  color: #e84c3d;
  border: 1px solid #e84c3d;
}

.btn-outline:hover {
  background: #e84c3d;
  color: #fff;
}

.btn-small {
  padding: 7px 14px;
  font-size: 0.85rem;
}

.text-link {
  color: #e84c3d;
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* Slider */
.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

#slider {
  list-style: none;
}

/* LOGO STRIP */
.logo-strip {
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.logo-strip-inner {
  text-align: center;
}

.logo-strip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.logo-strip-list img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* HOME SECTIONS */
.home-sections {
  padding: 36px 0;
}

.home-sections-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.home-card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card-tagline {
  color: #666;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.home-card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.check-list {
  list-style: disc inside;
  font-size: 0.92rem;
  color: #444;
}

.check-list li + li {
  margin-top: 6px;
}

.service-links {
  list-style: none;
  margin-bottom: 12px;
}

.service-links li + li {
  margin-top: 6px;
}

.service-links a {
  text-decoration: none;
  color: #333;
}

.service-links a:hover {
  color: #e84c3d;
}

/* BOTTOM PANELS */
.bottom-panels {
  background: #111827;
  color: #e5e7eb;
  padding: 30px 0;
}

.bottom-panels-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.panel h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #f9fafb;
}

.panel p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.panel-signature {
  font-style: italic;
  color: #d1d5db;
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.newsletter-input {
  flex: 1 1 160px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Contact labels */
.contact-label {
  display: inline-block;
  min-width: 70px;
  color: #9ca3af;
}

/* FOOTER */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 14px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-links a {
  text-decoration: none;
  color: #e5e7eb;
  margin-right: 10px;
}

.footer-links a:hover {
  color: #e84c3d;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    order: -1;
  }

  .home-sections-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-panels-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .header-right {
    flex-direction: column-reverse;
    align-items: flex-start;
    width: 100%;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .home-sections-inner {
    grid-template-columns: 1fr;
  }

  .bottom-panels-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 180px;
  }

  .search-input {
    min-width: 0;
    width: 140px;
  }
}


/* ============================================================
   MOBILE MENU FIX — CLEAN, SPACED, NON-CLUTTERED
   ============================================================ */

@media (max-width: 768px) {

  /* Center the menu block */
  .menu {
    height: auto;
    padding: 10px 0 15px 0;
    text-align: center;
  }

  /* Center menu list */
  .menu ul {
    float: none !important;
    margin: 0 auto !important;
    padding: 0;
    text-align: center;
  }

  /* Stack menu items with spacing */
  .menu ul li {
    float: none !important;
    display: block;
    margin: 6px 0;        /* spacing between lines */
  }

  /* Make each menu button clickable and readable */
  .menu ul li a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 15px;      /* slightly larger text */
    border-radius: 4px;   /* optional soft corners */
  }

  /* OPTIONAL: Slight hover highlight for mobile */
  .menu ul li a:hover {
    background: rgba(255,255,255,0.08);
  }
}
