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

:root {
  /* Brand colors pulled from Kong Movers logo */
  --gold:        #c49a3c;   /* "MOVERS" gold text */
  --gold-dark:   #a67d28;   /* gold hover */
  --gold-light:  #fdf7e8;   /* light gold tint */
  --teal-dark:   #1a3a38;   /* "KONG" dark forest teal */
  --teal-mid:    #3d7880;   /* staircase medium teal */
  --cream:       #f5f0e6;   /* logo background cream */

  /* Aliases used throughout */
  --dark:        var(--teal-dark);
  --mid:         #2a5250;
  --muted:       #6b8080;
  --border:      #ddd8cc;
  --bg:          var(--cream);
  --white:       #ffffff;

  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--teal-dark);
  background: var(--white);
  line-height: 1.6;
}

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

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  letter-spacing: 0.3px;
}
.btn--primary  { background: var(--gold); color: var(--teal-dark); }
.btn--primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,154,60,.4); }
.btn--outline  { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold-light); }
.btn--ghost    { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.28); }
.btn--full     { width: 100%; text-align: center; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { text-decoration: none; display: flex; align-items: center; }
.nav__logo-img { height: 56px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--mid); text-decoration: none; font-weight: 600; transition: color .15s; }
nav a:hover { color: var(--gold); }
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--teal-dark);
  padding: 4px 8px;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 8px 24px 16px;
  background: var(--white);
}
.nav__mobile a {
  color: var(--mid);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.nav__mobile.open { display: flex; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background: url("images/IMG_0399.webp") center center / cover no-repeat;
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,36,36,.82) 0%, rgba(26,58,56,.75) 55%, rgba(61,120,128,.55) 100%);
  z-index: 0;
}
.hero__backdrop { display: none; }
.hero__content { position: relative; z-index: 1; }
.hero__backdrop {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__content { position: relative; max-width: 680px; }
.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__headline {
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero__headline span { color: var(--gold); }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 40px;
  transition: opacity .15s;
}
.hero__phone:hover { opacity: .8; }
.hero__stats   { display: flex; gap: 48px; flex-wrap: wrap; }
.stat strong   { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat span     { font-size: 0.85rem; color: rgba(255,255,255,.6); }

/* ─── Section Headings ──────────────────────────────────── */
.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section__sub { color: var(--muted); max-width: 540px; margin-bottom: 48px; }

/* ─── Services ──────────────────────────────────────────── */
.services { padding: 96px 0; background: var(--cream); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--featured {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}
.card--featured h3 { color: var(--white); }
.card--featured p  { color: rgba(255,255,255,.8); }
.card__badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--gold);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.card__icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--teal-dark); }
.card p  { color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.card__link { font-weight: 700; font-size: 0.9rem; color: var(--gold); text-decoration: none; }
.card--featured .card__link { color: var(--gold); }
.card__link:hover { text-decoration: underline; }

/* Extra service row */
.services__extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.extra__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .2s;
}
.extra__card:hover { box-shadow: var(--shadow); }
.extra__icon { font-size: 1.8rem; flex-shrink: 0; }
.extra__card strong { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--teal-dark); }
.extra__card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ─── Trust Bar ─────────────────────────────────────────── */
.trust { background: var(--teal-dark); padding: 28px 0; }
.trust__inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust__item {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Why Us ────────────────────────────────────────────── */
.why { padding: 96px 0; background: var(--white); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
}
.why__text p { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--mid);
}
.why__list li span { color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.why__badge-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why__badge {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.why__badge--accent { background: var(--teal-dark); border-color: var(--teal-dark); }
.why__badge strong  { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.why__badge--accent strong { color: var(--gold); }
.why__badge span    { font-size: 0.85rem; color: var(--muted); }
.why__badge--accent span { color: rgba(255,255,255,.7); }

/* ─── Contact ───────────────────────────────────────────── */
.contact { padding: 96px 0; background: var(--cream); }
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact__info p { color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.contact__details { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 10px; color: var(--mid); }
.contact__details a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact__details a:hover { text-decoration: underline; }

/* Form */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact__gform {
  width: 100%;
  height: 820px;
  display: block;
  border: none;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: var(--teal-dark); color: rgba(255,255,255,.5); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__inner p { font-size: 0.85rem; }

/* ─── Gallery ───────────────────────────────────────────── */
.gallery { padding: 96px 0; background: var(--cream); }
.gallery__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal-dark);
}
.gallery__item--featured {
  grid-row: 1 / 3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13,36,36,.85));
  padding: 32px 20px 16px;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gallery__item:hover .gallery__overlay { transform: translateY(0); }
.gallery__overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero { padding: 72px 0 60px; }
  .hero__stats { gap: 28px; }
  .contact__wrapper { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 20px; }
  nav { display: none; }
  .nav__hamburger { display: block; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery__item--featured {
    grid-column: 1 / 3;
    grid-row: 1;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }
  .gallery__item--featured {
    grid-column: 1;
    grid-row: 1;
  }
}

/* ─── Scroll Animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ─── Sticky Mobile CTA ─────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  background: var(--teal-dark);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.sticky-cta__call,
.sticky-cta__quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity .15s;
}
.sticky-cta__call  { background: var(--gold); color: var(--teal-dark); }
.sticky-cta__quote { background: var(--teal-dark); color: var(--white); border-left: 1px solid rgba(255,255,255,.15); }
.sticky-cta__call:hover,
.sticky-cta__quote:hover { opacity: .88; }

@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
}
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
  }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ─── Chat Widget ────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.chat-toggle {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(196,154,60,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.chat-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  animation: chatPulse 2.2s ease-out infinite;
}
.chat-widget.open .chat-toggle::before { animation: none; opacity: 0; }
@keyframes chatPulse {
  0%   { transform: scale(1);   opacity: .75; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(196,154,60,.65); }
.chat-toggle__icon--close { display: none; }
.chat-widget.open .chat-toggle__icon--open  { display: none; }
.chat-widget.open .chat-toggle__icon--close { display: block; }

.chat-nudge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--teal-dark);
  line-height: 1.5;
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  max-width: 210px;
  text-align: left;
  cursor: pointer;
  position: relative;
  animation: nudgePop .3s ease;
}
.chat-nudge strong { color: var(--gold); }
.chat-nudge::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 24px;
  width: 13px;
  height: 13px;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
@keyframes nudgePop {
  from { transform: scale(.88) translateY(10px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.chat-panel {
  width: 360px;
  height: 500px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 48px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: bottom right;
}
.chat-widget.open .chat-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--teal-dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-header__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header__info strong { display: block; color: var(--white); font-size: 0.95rem; }
.chat-header__info span   { font-size: 0.75rem; color: rgba(255,255,255,.55); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.58;
}
.chat-msg--bot  {
  background: var(--cream);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--teal-dark);
}
.chat-msg--user {
  background: var(--teal-dark);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg p { margin: 0; }
.chat-msg--bot  strong { color: var(--teal-dark); }
.chat-msg--user strong { color: var(--gold); }

.chat-typing {
  padding: 4px 20px 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: chatBounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-form {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.chat-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--teal-dark);
  outline: none;
  transition: border-color .15s;
}
.chat-form input:focus { border-color: var(--gold); }
.chat-form button {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.chat-form button:hover { background: var(--gold-dark); transform: scale(1.06); }

@media (max-width: 768px) {
  .chat-widget { bottom: 74px; right: 16px; }
}
@media (max-width: 480px) {
  .chat-widget { bottom: 74px; right: 16px; }
  .chat-panel  { width: calc(100vw - 32px); }
}
