/* ==========================================
   VORTEX TECHNOLOGIES
   ========================================== */

:root {
  --green: #00733f;
  --green-dark: #07552f;
  --green-deep: #043c25;
  --green-line: #cfe5d8;
  --white: #ffffff;
  --ink: #152019;
  --muted: #67716b;
  --line: #dde7e1;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(3.3rem, 6.2vw, 5.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  font-weight: 500;
  line-height: 1.1;
}

h3 {
  font-size: 0.92rem;
  font-weight: 800;
}

/* HEADER */

.site-header {
  background: var(--white);
}

.nav-bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--green-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--green);
}

/* HERO */

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 44, 27, 0.92) 0%,
      rgba(3, 44, 27, 0.78) 38%,
      rgba(3, 44, 27, 0.27) 68%,
      rgba(3, 44, 27, 0.04) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 790px;
  color: var(--white);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--white);
}

.hero-text {
  max-width: 690px;
  color: #e7f0eb;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-link {
  display: inline-flex;
  margin-top: 30px;
  padding-bottom: 5px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* FEATURED VENDORS */

.vendors-section {
  padding: 94px 0 104px;
  background: var(--white);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--green-dark);
}

.section-heading p {
  color: var(--muted);
}

.vendor-category + .vendor-category {
  margin-top: 48px;
}

.vendor-category h3 {
  margin-bottom: 18px;
  padding-bottom: 11px;
  color: var(--green-dark);
  border-bottom: 1px solid var(--green-line);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*
   Compact distributor-style logo cards.
   The card stays small and clean while the logo fills more of the space.
*/
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.vendor-grid-small {
  grid-template-columns: repeat(2, 185px);
}

.vendor-logo {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dfe5e2;
  border-radius: 4px;
  background: var(--white);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.vendor-logo:hover {
  transform: translateY(-2px);
  border-color: #bcd4c6;
  box-shadow: 0 8px 20px rgba(6, 77, 43, 0.07);
}

/* Larger logo artwork inside the compact boxes */
.vendor-logo img {
  width: auto;
  height: auto;
  max-width: 98%;
  max-height: 92px;
  object-fit: contain;
}

/* CONTACT */

.contact-section {
  padding: 90px 0 94px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green-deep) 0%,
      var(--green-dark) 100%
    );
}

.contact-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.contact-heading h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.contact-heading p {
  max-width: 620px;
  color: #d5e4dc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.contact-card {
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: 10px;
}

.contact-card > h3 {
  margin-bottom: 24px;
  padding-bottom: 14px;
  color: var(--green-dark);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 28px;
}

.contact-item span,
.hours-list span {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p,
.hours-list p {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-item a:hover {
  color: var(--green);
}

.hours-list {
  display: grid;
  gap: 30px;
}

.map-panel {
  height: 300px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FOOTER */

.site-footer {
  color: #acc3b6;
  background: #032b1b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  min-height: 82px;
  width: min(calc(100% - 56px), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.triad-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d0dfd7;
  text-decoration: none;
}

.triad-link:hover {
  color: var(--white);
}

.triad-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .vendor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vendor-grid-small {
    grid-template-columns: repeat(2, 185px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-bar {
    height: auto;
    padding: 13px 0;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.64rem;
  }

  .hero,
  .hero-content {
    min-height: 540px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3, 44, 27, 0.93) 0%,
        rgba(3, 44, 27, 0.80) 62%,
        rgba(3, 44, 27, 0.44) 100%
      );
  }

  .vendors-section,
  .contact-section {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .vendor-grid,
  .vendor-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }

  .vendor-logo {
    height: 108px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .map-panel {
    height: 240px;
  }

  .footer-inner {
    width: 92%;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 440px) {
  .vendor-grid,
  .vendor-grid-small {
    grid-template-columns: 1fr;
  }

  .vendor-logo {
    height: 112px;
  }
}
