/* ============================================================
   ELIE SERVICES — Global Stylesheet
   Design: Swiss / Premium Agency
   Fonts: Syne (display) + Inter (body)
   ============================================================ */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --black:    #0A0A0A;
  --white:    #FFFFFF;
  --lime:     #C4D946;
  --gray-100: #F5F5F3;
  --gray-200: #E8E8E6;
  --gray-400: #A0A0A0;
  --gray-600: #606060;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius: 4px;
  --nav-h: 68px;

  --transition: 200ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

/* ─── Typography classes ─────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.t-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section      { padding-block: 96px; }
.section--sm  { padding-block: 64px; }

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

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.btn--primary:hover { background: #b8cc3a; border-color: #b8cc3a; }

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark:hover { background: #222; border-color: #222; }

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ─── Brand accent line ──────────────────────────────────── */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--lime);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

/* ─── Navigation ─────────────────────────────────────────── */
#header {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

#header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.logo-svg-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--black);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition);
}
.nav-links .nav-cta:hover { background: #b8cc3a; color: var(--black); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 3px);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links a {
    display: block;
    padding: 20px 0;
    font-size: 1.1rem;
    color: var(--black);
  }
  .nav-links .nav-cta {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .nav-links li:last-child { border-bottom: none; }
}

/* ─── Page top offset ────────────────────────────────────── */
main { padding-top: calc(var(--nav-h) + 3px); }

/* ─── Rating squares ─────────────────────────────────────── */
.rating {
  display: flex;
  gap: 4px;
}
.rating-square {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 1px;
}

/* ─── Fade-in on scroll ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Footer ─────────────────────────────────────────────── */
#footer {
  background: var(--black);
  color: var(--gray-400);
  padding-block: 72px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li + li { margin-top: 12px; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--lime); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gray-400); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--lime); }

/* ─── Section labels / eyebrow ──────────────────────────── */
.section-label,
.t-label,
[class*="eyebrow"] {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ─── Utilities ──────────────────────────────────────────── */
.text-lime   { color: var(--lime); }
.text-white  { color: var(--white); }
.text-gray   { color: var(--gray-600); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
