/* ============================================================
   LUCKEE — styles.css
   Color palette: deep navy + gold accent + clean white
   ============================================================ */

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

:root {
  --navy:       #0B1E3D;
  --navy-mid:   #132952;
  --navy-dark:  #091629;
  --gold:       #C8952A;
  --gold-light: #E0AA45;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --gray-100:   #ECEEF2;
  --gray-300:   #C8CDD8;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --text:       #111827;

  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--nav-h); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }

/* Scroll reveal — handled purely by JS, no hidden-by-default state */
.fade-in {
  animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- TYPOGRAPHY ---------- */
.section__tag {
  display: inline-block;
  background: rgba(200,149,42,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section__desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 540px;
}
.section__header { margin-bottom: 44px; }
.section__header--center { text-align: center; }
.section__header--center .section__desc { margin: 0 auto; }

.highlight { color: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(200,149,42,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
}
.btn--full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo::after { content: '.'; color: var(--gold); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--white); }

.nav__link--cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--gold-light);
  transform: none;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(200,149,42,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200,149,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 56px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,149,42,0.15);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(200,149,42,0.25);
}
.hero__badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 800px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stats strip */
.hero__stats {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  max-width: 580px;
}
.hero__stat {
  flex: 1 1 120px;
  padding: 0 24px 16px 0;
}
.hero__stat + .hero__stat {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  line-height: 1.4;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.service-card__badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card--featured .service-card__title { color: var(--white); }

.service-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 22px;
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,0.65); }

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.service-card--featured .service-card__list li { color: rgba(255,255,255,0.75); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--white); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 30px;
  background: var(--white);
  transition: background var(--transition);
}
.process__step:hover { background: var(--off-white); }

.process__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.22;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  transition: opacity var(--transition);
  margin-top: 2px;
}
.process__step:hover .process__num { opacity: 0.7; }

.process__body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.process__body p {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.6;
}

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

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

.about .section__tag {
  background: rgba(200,149,42,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(200,149,42,0.25);
}
.about .section__title { color: var(--white); }

.about__text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--white); }

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.pillar strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 3px;
}
.pillar p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.about__card--gold {
  background: rgba(200,149,42,0.1);
  border-color: rgba(200,149,42,0.2);
}
.about__card-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.about__card-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

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

.contact__layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.form__field input,
.form__field select,
.form__field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,149,42,0.12);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form__submit { margin-top: 8px; }
.form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 14px;
}
.form__note a { color: var(--gold); font-weight: 600; }

/* Contact sidebar */
.contact__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.contact__side-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: steps;
}
.contact__steps li {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
  counter-increment: steps;
}
.contact__steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(200,149,42,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}
.contact__steps strong { color: var(--navy); }

.contact__side-card--navy {
  background: var(--navy);
}
.contact__side-card--navy h3 { color: var(--white); }
.contact__email {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.contact__email:hover { color: var(--white); }
.contact__side-card--navy p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  margin-bottom: 14px;
}
.footer__logo::after { content: '.'; color: var(--gold); }

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 18px;
}
.footer__email {
  font-size: 0.875rem;
  color: var(--gold-light);
  font-weight: 600;
  transition: color var(--transition);
}
.footer__email:hover { color: var(--white); }

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a {
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 22px 0;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   RESPONSIVE — tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; max-width: 520px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — mobile (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* Nav: slide-in drawer */
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 85vw);
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    z-index: 99;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__link { font-size: 1.05rem; }
  .nav__toggle { display: flex; position: relative; z-index: 100; }

  .hero__inner { padding: 56px 0 56px; }
  .hero__title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 0; padding-top: 24px; }
  .hero__stat { flex: 1 1 100px; padding: 0 16px 12px 0; }
  .hero__stat + .hero__stat { padding-left: 16px; }

  .process__grid { grid-template-columns: 1fr; }
  .process__step { padding: 20px 18px; gap: 14px; }
  .process__num { font-size: 1.3rem; width: 36px; }

  .contact__form-wrap { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }

  .section__title { font-size: 1.6rem; }
}
