/* ============================================
   WESTERN UNION LEXINGTON — DESIGN SYSTEM
   Forest Green + Off-White | Clean Minimalist
   ============================================ */

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

:root {
  --green-950: #0a1f14;
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-500: #74C69D;
  --green-100: #D8F3DC;
  --green-50:  #F0FFF4;

  --cream:     #FAFAF7;
  --cream-dark:#F2F2EC;
  --warm:      #D4A373;
  --warm-light:#E8C9A0;

  --text-dark:  #1A1A1A;
  --text-mid:   #4A4A4A;
  --text-light: #7A7A7A;
  --text-white: #F5F5F0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.section__header--center {
  text-align: center;
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-900);
  margin-bottom: 24px;
}

.section__line {
  width: 48px;
  height: 1px;
  background: var(--green-600);
}

.section__line--left {
  margin-bottom: 32px;
}

.section__line--center {
  margin: 0 auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn--primary {
  background: var(--green-900);
  color: var(--text-white);
}

.btn--primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--green-900);
  border: 1px solid var(--green-800);
}

.btn--ghost:hover {
  background: var(--green-900);
  color: var(--text-white);
}

.btn--white {
  background: var(--text-white);
  color: var(--green-900);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--outline-white {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-white);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 1px 0 rgba(27, 67, 50, 0.06);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-mark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-900);
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-700);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--green-900);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  padding: 8px 20px;
  border: 1px solid var(--green-800);
  color: var(--green-900);
  transition: all 0.3s var(--ease-out);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--green-900);
  color: var(--text-white);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--green-900);
}

.nav__toggle-icon {
  width: 22px;
  height: 22px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 247, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green-900);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: var(--green-600);
}

.mobile-menu__link--cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 16px;
  padding: 12px 28px;
  border: 1px solid var(--green-800);
  color: var(--green-900);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--green-900);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 60%, rgba(45, 106, 79, 0.5) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(82, 183, 136, 0.15) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__card {
  max-width: 680px;
  padding: 56px;
  background: rgba(250, 250, 247, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 28px;
}

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--text-white);
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero__headline-accent {
  color: var(--green-500);
  font-style: italic;
}

.hero__subheadline {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__actions .btn--primary {
  background: var(--text-white);
  color: var(--green-900);
}

.hero__actions .btn--primary:hover {
  background: var(--cream);
}

.hero__actions .btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-white);
}

.hero__actions .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Floating Stat Cards */
.hero__stats {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  pointer-events: auto;
}

.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.stat-card--1 {
  top: 18%;
  right: 8%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.stat-card--2 {
  top: 52%;
  right: 4%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.stat-card--3 {
  bottom: 22%;
  right: 14%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.stat-card--4 {
  bottom: 12%;
  right: 3%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 120px 0;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(27, 67, 50, 0.08);
  border: 1px solid rgba(27, 67, 50, 0.08);
}

.service-card {
  background: var(--cream);
  padding: 48px 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  background: var(--green-50);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--green-800);
}

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

.service-card__title {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 14px;
}

.service-card__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--cream-dark);
}

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

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about__image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--green-700);
  z-index: -1;
}

.about__content {
  padding: 20px 0;
}

.about__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

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

.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-dark);
}

.about__feature svg {
  width: 16px;
  height: 16px;
  color: var(--green-700);
  flex-shrink: 0;
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations {
  background: var(--cream);
}

.locations__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(27, 67, 50, 0.1);
  overflow: hidden;
}

.locations__info {
  padding: 56px 48px;
  background: var(--green-900);
  color: var(--text-white);
}

.locations__detail {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.locations__detail:last-child {
  margin-bottom: 0;
}

.locations__detail svg {
  width: 22px;
  height: 22px;
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.locations__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 6px;
}

.locations__value {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.9);
  line-height: 1.7;
}

.locations__value--link {
  transition: color 0.3s ease;
}

.locations__value--link:hover {
  color: var(--green-400);
  text-decoration: underline;
}

.locations__map {
  min-height: 400px;
}

.locations__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
  filter: grayscale(0.6) contrast(1.05);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--cream-dark);
}

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

.contact__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(27, 67, 50, 0.12);
  transition: all 0.3s var(--ease-out);
}

.contact__method:hover {
  border-color: var(--green-700);
  background: var(--green-50);
}

.contact__method svg {
  width: 20px;
  height: 20px;
  color: var(--green-700);
  flex-shrink: 0;
}

.contact__method span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* Form */
.contact__form-wrap {
  position: relative;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form__input,
.form__textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid rgba(27, 67, 50, 0.15);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--green-700);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-light);
}

.contact__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: var(--green-50);
  border: 1px solid var(--green-200, #b7e4c7);
}

.contact__success.active {
  display: flex;
}

.contact__success svg {
  width: 48px;
  height: 48px;
  color: var(--green-700);
  margin-bottom: 20px;
}

.contact__success p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--green-900);
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: var(--green-900);
  padding: 100px 0;
  text-align: center;
}

.cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 20px;
}

.cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-white);
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-950);
  padding: 64px 0 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo-mark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-500);
  width: 32px;
  height: 32px;
  border: 1px solid var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-white);
}

.footer__tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.5);
  max-width: 280px;
  line-height: 1.7;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.5);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--green-500);
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.35);
}

.footer__bottom a {
  color: rgba(245, 245, 240, 0.5);
  transition: color 0.3s ease;
}

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

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__stats {
    display: none;
  }

  .hero__card {
    max-width: 560px;
  }

  .about__layout {
    gap: 48px;
  }

  .about__image {
    height: 400px;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero__card {
    padding: 36px 28px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 48px;
  }

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

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

  .about__image {
    height: 320px;
  }

  .about__image-accent {
    display: none;
  }

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

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

  .locations__info {
    padding: 40px 28px;
  }

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

  .cta {
    padding: 72px 0;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__card {
    padding: 28px 20px;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .service-card {
    padding: 36px 24px;
  }
}
