/* ============================================
   CHEYENNE LAUNDRY CO. — STYLESHEET
   Brand: Blue #1A4B9C | Green #6DC627 | White
   ============================================ */

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

:root {
  --blue: #1A4B9C;
  --blue-dark: #0D2D6B;
  --blue-navy: #0D1F3C;
  --green: #6DC627;
  --green-dark: #52A01A;
  --white: #ffffff;
  --off-white: #F6F8FF;
  --text: #1a1a2e;
  --text-muted: #5a6a8a;
  --border: #dce5f5;
  --shadow: 0 4px 24px rgba(13,31,60,0.10);
  --shadow-lg: 0 12px 48px rgba(13,31,60,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
  display: block;
}

.eyebrow--light { color: var(--green); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-header h2 { margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--green);
  color: var(--blue-navy);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109,198,39,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  margin-top: 20px;
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,31,60,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero:hover .hero__bg { transform: scale(1.0); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,31,60,0.82) 0%,
    rgba(26,75,156,0.65) 50%,
    rgba(13,31,60,0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
  animation: fadeDown 0.8s ease both;
}

.hero__tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  animation: fadeDown 0.8s ease 0.1s both;
}

.hero__hours {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 10px 24px;
  animation: fadeDown 0.8s ease 0.2s both;
}

.hero__hours-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
}

.hero__hours-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  animation: bounce 2s infinite;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============ ABOUT ============ */
.about { background: var(--off-white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about__image-accent {
  position: absolute;
  width: 70%;
  height: 70%;
  background: var(--green);
  border-radius: var(--radius-lg);
  bottom: -20px;
  right: -20px;
  z-index: 0;
  opacity: 0.2;
}

.about__text h2 { margin-bottom: 20px; }
.about__text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.about__stat { display: flex; flex-direction: column; gap: 4px; }

.about__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ============ SERVICES ============ */
.services { background: var(--white); }

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

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(26,75,156,0.15);
}

.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.service-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue-navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.service-card__badge--green {
  background: var(--green);
  color: var(--blue-navy);
}

.service-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
  margin-bottom: 14px;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__body h3 {
  margin-bottom: 12px;
  color: var(--blue-navy);
}

.service-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* ============ APP ============ */
.app {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.app__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(30%);
}

.app__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13,31,60,0.96) 0%,
    rgba(26,75,156,0.92) 50%,
    rgba(13,31,60,0.80) 100%
  );
}

.app__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.app__text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.app__text p {
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.app__text p strong { color: var(--green); }

.app__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.app__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.app__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.app__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.app__store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.app__store-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--green);
  transform: translateY(-2px);
}

.app__store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }

.app__store-sub {
  display: block;
  font-size: 0.68rem;
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.app__store-name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* Phone mockup */
.app__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.app__phone {
  width: 220px;
  height: 420px;
  background: var(--blue-navy);
  border-radius: 32px;
  border: 6px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 64px rgba(0,0,0,0.5),
    inset 0 0 24px rgba(109,198,39,0.05);
  overflow: hidden;
  position: relative;
}

.app__phone-screen {
  padding: 20px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app__phone-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app__phone-balance {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.app__phone-balance-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.app__phone-balance-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
}

.app__phone-machines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app__phone-machine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.08);
}

.app__phone-machine .green { color: var(--green); font-weight: 700; }
.app__phone-machine .ready { color: rgba(255,255,255,0.4); }
.app__phone-machine--active { border-color: rgba(109,198,39,0.3); }

.app__phone-cta {
  margin-top: auto;
  background: var(--green);
  color: var(--blue-navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
}

/* ============ CONTACT ============ */
.contact { background: var(--off-white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact__info h2 { margin-bottom: 36px; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.contact__item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact__item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__item span, .contact__item a {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}

.contact__item a:hover { color: var(--blue); text-decoration: underline; }

.contact__map {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact__map iframe { display: block; }

/* ============ FOOTER ============ */
.footer {
  background: var(--blue-navy);
  padding: 48px 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer__logo img { height: 56px; width: auto; opacity: 0.9; }

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__info a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer__info a:hover { color: var(--green); }

.footer__copy { text-align: right; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .app__inner { grid-template-columns: 1fr; }
  .app__phone-wrap { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13,31,60,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; font-size: 0.95rem; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__img { height: 300px; }

  .about__stats { gap: 24px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 300px; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo { display: flex; justify-content: center; }
  .footer__copy { text-align: center; }

  .app__features { grid-template-columns: 1fr; }
  .app__buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__logo { width: 160px; }
  .services__grid { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
