/* ===========================
   Leovex — Base Styles & Variables
   Swap the --accent / --accent-2 values once brand colors are finalized.
=========================== */
:root {
  --bg: #f8f9fc;
  --bg-alt: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --border: rgba(15, 23, 42, 0.08);
  --text: #10131f;
  --text-muted: #5c6479;
  --accent: #0284c7;      /* deeper sky blue — tuned for contrast on light bg */
  --accent-2: #6366f1;    /* indigo */
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --btn-text: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --container: 1180px;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
}
.section-sub.center { text-align: center; margin: 0 auto 48px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-gradient);
  color: var(--btn-text);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2, 132, 199, 0.3); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text); }

.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(2,132,199,0.10), rgba(99,102,241,0.06), transparent);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Trust strip ===== */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}
.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ===== Services ===== */
.services { padding: 120px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2,132,199,0.35);
  background: var(--surface-2);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.10);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.about-text .btn { margin-top: 8px; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--border);
  padding-left: 28px;
}
.timeline-item {
  position: relative;
  padding-bottom: 34px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 0 4px rgba(2,132,199,0.15);
}
.timeline-year {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Why us ===== */
.why-us { padding: 120px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--accent); }
.why-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--accent-gradient);
  color: #ffffff;
}
.cta-inner {
  padding: 70px 24px;
  text-align: center;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-inner p { margin-bottom: 28px; opacity: 0.9; font-weight: 500; }
.cta-inner .btn-primary {
  background: #0f172a;
  color: #ffffff;
}
.cta-inner .btn-primary:hover { box-shadow: 0 12px 30px rgba(15,23,42,0.35); }

/* ===== Contact ===== */
.contact { padding: 120px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-info .section-sub { margin-bottom: 32px; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-list strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.contact-list a, .contact-list span { font-size: 1.02rem; }
.contact-list a:hover { color: var(--accent); }
.placeholder-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-submit { align-self: flex-start; margin-top: 4px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--text-muted); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; width: 100%; text-align: center; }

/* ===== Reveal animation =====
   Hidden state only applies once JS confirms it can reveal elements again
   (see inline script in <head> and js/script.js). If JS is disabled,
   content stays visible by default — no permanently-hidden sections. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 960px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
}
