/* GLOBAL RESET */
*,
*::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;
  background: #ffffff;
  color: #1f2933;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #c8102e;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  color: #4b5563;
  font-weight: 500;
}

.nav-links a:hover {
  color: #c8102e;
}

.nav-cta .btn-xs {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #c8102e;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c8102e;
}

.nav-cta .btn-xs:hover {
  background: #c8102e;
  color: #ffffff;
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

/* HERO BACKGROUND SLIDER (ESMAP-style) */
.hero {
  position: relative;
}

.hero-bg-slider {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  animation: heroSlider 32s infinite ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(15, 23, 42, 0.8));
  z-index: 1;
}

.hero-inner-esmap {
  position: relative;
  z-index: 2;
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  color: #ffffff;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-size: 1.02rem;
  color: #e5e7eb;
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #d1d5db;
  margin-bottom: 0.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Slider keyframes */
@keyframes heroSlider {
  0% {
    background-image: url("hero-plant-1.jpg");
  }
  25% {
    background-image: url("hero-plant-2.jpg");
  }
  50% {
    background-image: url("hero-plant-3.jpg");
  }
  75% {
    background-image: url("hero-plant-4.jpg");
  }
  100% {
    background-image: url("hero-plant-1.jpg");
  }
}

/* HERO STATS PANEL */
.hero-stats-panel {
  display: grid;
  gap: 0.8rem;
}

.stat-block {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(248, 250, 252, 0.1);
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: #e5e7eb;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.07s ease;
}

.btn.primary {
  background: #c8102e;
  color: #ffffff;
}

.btn.primary:hover {
  background: #a30d25;
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn.outline:hover {
  background: #ffffff;
  color: #c8102e;
}

.btn.full-width {
  width: 100%;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header-left {
  text-align: left;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.9rem;
  color: #c8102e;
  margin-bottom: 0.7rem;
}

.section-header p {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #4b5563;
}

/* STRIP SECTIONS */
.section-strip {
  padding: 1.4rem 0;
  background: #111827;
  color: #f9fafb;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.link-inline {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* FOCUS AREAS (ESMAP-style cards) */
.section-focus {
  background: #f3f4f6;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.focus-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.focus-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.focus-card p {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.focus-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c8102e;
}

/* EXPERTISE */
.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.expertise-intro h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.expertise-intro p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.4rem;
}

.bullet-list li::before {
  content: "▹";
  color: #c8102e;
}

/* Expertise cards */
.expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.expertise-card {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.4rem 1.5rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.expertise-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: #111827;
}

.expertise-card p {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.55rem;
}

.expertise-card ul {
  list-style: none;
}

.expertise-card li {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.4rem;
}

.expertise-card li::before {
  content: "▹";
  color: #c8102e;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.4rem 1.5rem;
}

.about-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.about-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.4rem 1.5rem;
}

.service h3 {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
  color: #111827;
}

.service p {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.55rem;
}

.service ul {
  list-style: none;
}

.service li {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.3rem;
  display: flex;
  gap: 0.35rem;
}

.service li::before {
  content: "▹";
  color: #c8102e;
}

/* CLIENTS */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.client-card {
  border-radius: 0.9rem;
  border: 1px dashed #e5e7eb;
  padding: 1.2rem 1.3rem;
  text-align: center;
  font-size: 0.93rem;
  color: #374151;
  background: #ffffff;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-box {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.6rem 1.4rem 1.4rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.counter {
  display: block;
  font-size: 2.3rem;
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 0.35rem;
}

.stat-box p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details p {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.4rem;
}

.address {
  color: #374151;
}

.contact-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  color: #111827;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8102e;
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

/* PROFILE STRIP */
.strip-inner-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.strip-inner-profile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1.4rem 0 1.7rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-small {
  margin-top: 0.25rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner-esmap {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .expertise-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .focus-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip-inner,
  .strip-inner-profile {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0.25rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-bg-slider {
    height: 80vh;
  }

  .hero-inner-esmap {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
