/* PES - Premier Equipment Solutions
   Static HTML Stylesheet
   ================================================ */

/* Fonts */
@import url('https://fonts.cdnfonts.com/css/zalando-sans');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600;900&display=swap');

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

:root {
  --premier-green: #00DB33;
  --cast-iron: #131315;
  --parchment: #F4F4F4;
  --white: #ffffff;
}

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

body {
  font-family: 'Zalando Sans', 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cast-iron);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-1000 { max-width: 1000px; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--cast-iron);
  color: var(--parchment);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--parchment);
}

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

.btn-get-started {
  background: var(--premier-green);
  color: var(--white) !important;
  padding: 12px 24px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-get-started:hover {
  background: rgba(0, 219, 51, 0.9);
}

/* Mobile Menu */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--parchment);
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 244, 244, 0.2);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--parchment);
}

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

.mobile-nav .btn-get-started {
  text-align: center;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  background: var(--cast-iron);
  color: var(--parchment);
  padding-top: 128px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.eyebrow-line {
  width: 64px;
  height: 4px;
  background: var(--premier-green);
}

.eyebrow-line-sm {
  width: 48px;
  height: 4px;
  background: var(--premier-green);
}

.eyebrow-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

/* Hero Headline */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.text-green {
  color: var(--premier-green);
}

.hero-text {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 42rem;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--premier-green);
  color: var(--white);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: rgba(0, 219, 51, 0.9);
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--parchment);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--parchment);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--parchment);
  color: var(--cast-iron);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cast-iron);
  color: var(--parchment);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-dark:hover {
  background: rgba(19, 19, 21, 0.9);
}

.btn-dark:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Angled Divider */
.angled-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: var(--parchment);
  clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 100%);
}

/* ================================================
   SECTIONS
   ================================================ */
.section-light {
  background: var(--parchment);
  padding: 96px 0;
}

.section-dark {
  background: var(--cast-iron);
  padding: 96px 0;
  color: var(--parchment);
}

.section-green {
  background: var(--premier-green);
  padding: 80px 0;
}

/* Section Header */
.section-header {
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 48rem;
}

/* ================================================
   PHOTO STRIP
   ================================================ */
.photo-strip {
  background: var(--cast-iron);
  padding: 4px 0;
}

.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.photo-strip-item {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   INTRO SECTION
   ================================================ */
.intro-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.intro-text:last-child {
  margin-bottom: 0;
}

/* ================================================
   BRAND STATEMENT / PRINCIPLES
   ================================================ */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.principle-card {
  position: relative;
  padding-left: 32px;
  border-left: 4px solid var(--premier-green);
}

.principle-card p {
  font-size: 1.25rem;
  line-height: 1.7;
}

.section-note {
  margin-top: 48px;
  max-width: 48rem;
  font-size: 1.125rem;
  opacity: 0.7;
}

/* ================================================
   FUTURE / VISION SECTION
   ================================================ */
.content-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-stack p {
  font-size: 1.125rem;
  line-height: 1.7;
}

.future-text {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ================================================
   CAROUSEL
   ================================================ */
.carousel-wrapper {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .carousel-slide img {
    aspect-ratio: 21/9;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(19, 19, 21, 0.5);
  color: var(--parchment);
  border: 1px solid rgba(244, 244, 244, 0.3);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(19, 19, 21, 0.8);
}

.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }

/* ================================================
   CTA BAND
   ================================================ */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-band p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--cast-iron);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.btn-white:hover {
  background: var(--parchment);
}

.btn-white:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--premier-green);
}

/* ================================================
   TWO-COLUMN LAYOUT
   ================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-top {
  align-items: start;
}

.col-image {
  position: relative;
}

.col-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.col-image-tall img {
  height: 600px;
}

.accent-block-bl {
  display: none;
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 128px;
  height: 128px;
  background: var(--premier-green);
}

.accent-block-tr {
  display: none;
  position: absolute;
  top: -24px;
  right: -24px;
  width: 96px;
  height: 96px;
  background: var(--premier-green);
}

/* ================================================
   OUR MODEL - HELP ITEMS
   ================================================ */
.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.help-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--cast-iron);
  padding: 24px;
}

.help-bullet {
  width: 12px;
  height: 12px;
  background: var(--premier-green);
  margin-top: 6px;
  flex-shrink: 0;
}

.help-item span {
  font-size: 1.125rem;
  color: var(--parchment);
}

/* ================================================
   SERVICES OVERVIEW
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cast-iron);
  padding: 24px;
  text-align: center;
}

.service-icon {
  color: var(--premier-green);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--parchment);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.6);
}

/* ================================================
   DEALERSHIP LISTINGS
   ================================================ */
.dealership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.dealership-card {
  background: var(--parchment);
  transition: background 0.3s ease;
}

.dealership-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dealership-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dealership-header h3 {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--cast-iron);
}

.dealership-header .arrow-icon {
  color: var(--premier-green);
  flex-shrink: 0;
  margin-left: 16px;
  margin-top: 8px;
  width: 24px;
  height: 24px;
}

.dealership-card:hover .dealership-header .arrow-icon {
  transform: translateX(4px);
}

.dealership-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.dealership-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(19, 19, 21, 0.7);
  font-size: 0.875rem;
}

.dealership-info-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cast-iron);
  color: var(--parchment);
  padding: 6px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-tag svg {
  width: 14px;
  height: 14px;
}

.dealership-accent {
  height: 4px;
  background: var(--premier-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.dealership-card:hover .dealership-accent {
  transform: scaleX(1);
}

.dealership-footer {
  margin-top: 64px;
  text-align: center;
}

.dealership-footer p {
  color: rgba(244, 244, 244, 0.7);
  margin-bottom: 8px;
}

.dealership-footer p:last-child {
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.5);
}

/* ================================================
   CONTACT FORM
   ================================================ */
.form-wrapper {
  background: var(--white);
  padding: 32px;
  border: 1px solid rgba(19, 19, 21, 0.1);
}

.form-title {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--cast-iron);
  margin-bottom: 8px;
}

.form-subtitle {
  color: rgba(19, 19, 21, 0.6);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cast-iron);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-label .required {
  color: var(--premier-green);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--parchment);
  border: 1px solid rgba(19, 19, 21, 0.2);
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--cast-iron);
  font-family: inherit;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(19, 19, 21, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--premier-green);
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  margin-top: 24px;
}

.form-note {
  font-size: 0.75rem;
  color: rgba(19, 19, 21, 0.5);
}

.form-note .required {
  color: var(--premier-green);
}

/* Success State */
.success-message {
  background: var(--cast-iron);
  padding: 48px;
  text-align: center;
}

.success-icon {
  color: var(--premier-green);
  margin-bottom: 24px;
}

.success-icon svg {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.success-message h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 16px;
}

.success-message p {
  font-size: 1.125rem;
  color: rgba(244, 244, 244, 0.8);
  margin-bottom: 32px;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--cast-iron);
  color: var(--parchment);
}

.footer-main {
  padding: 64px 0 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 244, 244, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--premier-green);
  border-color: var(--premier-green);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-col h3 {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.7);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--premier-green);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 244, 244, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.6);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(244, 244, 244, 0.6);
}

.footer-legal a:hover {
  color: var(--premier-green);
}

/* ================================================
   SVG ICONS (inline)
   ================================================ */
.icon { display: inline-block; vertical-align: middle; }

/* ================================================
   RESPONSIVE - TABLET (768px+)
   ================================================ */
@media (min-width: 768px) {
  .photo-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .dealership-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-group { flex-direction: row; }
  .cta-band-buttons { flex-direction: row; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .form-footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .dealership-header h3 { font-size: 2.25rem; }
}

/* ================================================
   RESPONSIVE - DESKTOP (1024px+)
   ================================================ */
@media (min-width: 1024px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }

  /* Header */
  .desktop-nav { display: flex; }
  .mobile-toggle { display: none; }
  .header-logo img { height: 56px; }

  /* Hero */
  .hero {
    padding-top: 160px;
    padding-bottom: 128px;
  }
  .hero h1 { font-size: 6rem; }
  .hero-text { font-size: 1.25rem; }

  /* Sections */
  .section-light, .section-dark { padding: 112px 0; }
  .section-green { padding: 96px 0; }
  .section-title { font-size: 4.5rem; }
  .intro-text { font-size: 1.25rem; }
  .content-stack p { font-size: 1.25rem; }
  .future-text { font-size: 1.25rem; }
  .principle-card p { font-size: 1.5rem; }

  /* Photo Strip */
  .photo-strip-grid { grid-template-columns: repeat(5, 1fr); }

  /* Two Col */
  .two-col { grid-template-columns: repeat(2, 1fr); gap: 64px; }
  .accent-block-bl, .accent-block-tr { display: block; }

  /* CTA Band */
  .cta-band { flex-direction: row; }
  .cta-band h2 { font-size: 3.5rem; }

  /* Services */
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .service-card { padding: 32px; }

  /* Dealerships */
  .dealership-grid { grid-template-columns: repeat(2, 1fr); }
  .dealership-content { padding: 40px; }

  /* Form */
  .form-wrapper { padding: 48px; }
  .form-title { font-size: 2.5rem; }

  /* Footer */
  .footer-main { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 64px; }

  /* About page hero */
  .page-hero h1 { font-size: 6rem; }
}

/* ================================================
   XL DESKTOP (1280px+)
   ================================================ */
@media (min-width: 1280px) {
  .hero h1 { font-size: 8rem; }
  .page-hero h1 { font-size: 8rem; }
}

/* ================================================
   PAGE HERO (About, Dealerships, Contact)
   ================================================ */
.page-hero {
  position: relative;
  background: var(--cast-iron);
  color: var(--parchment);
  padding-top: 128px;
  padding-bottom: 80px;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.page-hero .hero-text {
  max-width: 48rem;
}

/* ================================================
   UTILITY
   ================================================ */
.text-center { text-align: center; }
.self-start { align-self: flex-start; }
