/* ===== Moylen — Design Tokens ===== */
:root {
  --background: #ffffff;
  --foreground: #2b2f36;
  --muted: #f5f6f7;
  --muted-foreground: #6b7280;
  --border: #e7e9ec;
  --primary: #e8702a;
  --primary-hover: #d35f1d;
  --primary-foreground: #fffaf6;
  --accent: #fdeee2;
  --accent-foreground: #b5550f;
  --dark: #1c2128;
  --dark-foreground: #f3f4f6;
  --radius: 12px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.14);
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section {
  padding-block: 4.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
}

.section-lead {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-top: 0.75rem;
}

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

.center-x {
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.05s ease,
    border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: var(--background);
  color: var(--dark);
}

.btn-light:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ===== Header / Navbar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.site-footer .logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--dark);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

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

.mobile-menu a {
  padding: 0.7rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 0.75rem;
}

/* ===== Hero (full background image, text overlay) ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: 5rem;
  background-image: linear-gradient(to right,
      rgba(20, 24, 30, 0.86),
      rgba(20, 24, 30, 0.55) 60%,
      rgba(20, 24, 30, 0.35)),
    url("images/hero-cover.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-content {
  max-width: 640px;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero .badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.3rem + 4vw, 3.8rem);
}

.hero h1 .accent {
  color: var(--primary);
}

.hero p {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-meta .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
}

.hero-meta .lbl {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Stats strip ===== */
.stats {
  background: var(--dark);
  color: var(--dark-foreground);
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  color: var(--primary);
}

.stat .lbl {
  color: rgba(243, 244, 246, 0.7);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ===== Cards / Services grid ===== */
.section-head {
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease,
    border-color 0.2s ease;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--muted, #f4f1ec);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.75rem;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #f0d6c4;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.97rem;
}

.card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary);
}

.card .link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card:hover .link svg {
  transform: translateX(3px);
}

.card.value {
  padding: 1.75rem;
}

/* ===== Why-us / split section ===== */
.muted-bg {
  background: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
}

.feature-list .tick {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--primary);
}

.feature-list .tick svg {
  width: 18px;
  height: 18px;
}

.feature-list h4 {
  font-size: 1.02rem;
}

.feature-list p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* ===== Detailed service rows ===== */
.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

.service-row .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.service-row .icon svg {
  width: 28px;
  height: 28px;
}

.service-row h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.service-row p {
  color: var(--muted-foreground);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-list li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

/* ===== Values / about ===== */
.value h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value h4 .icon {
  color: var(--primary);
  display: inline-grid;
  place-items: center;
}

.value h4 .icon svg {
  width: 22px;
  height: 22px;
}

.value p {
  color: var(--muted-foreground);
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem);
}

.cta-band p {
  color: rgba(255, 250, 246, 0.9);
  max-width: 55ch;
  margin: 0.75rem auto 0;
  font-size: 1.1rem;
}

.cta-band .btn {
  margin-top: 1.75rem;
}

/* ===== Page header ===== */
.page-header {
  background: var(--dark);
  color: var(--dark-foreground);
  padding-block: 4rem;
}

.page-header .eyebrow {
  color: var(--primary);
}

.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem);
}

.page-header p {
  color: rgba(243, 244, 246, 0.75);
  max-width: 60ch;
  margin-top: 0.85rem;
  font-size: 1.1rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.contact-info .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info h4 {
  font-size: 1rem;
}

.contact-info p {
  color: var(--muted-foreground);
}

.form-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 112, 42, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
}

.form-success .check svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 0.4rem;
}

.form-success p {
  color: var(--muted-foreground);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: var(--dark-foreground);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer .logo {
  color: #fff;
}

.footer-about p {
  color: rgba(243, 244, 246, 0.65);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(243, 244, 246, 0.55);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(243, 244, 246, 0.8);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 244, 246, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(243, 244, 246, 0.55);
  font-size: 0.9rem;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split .split-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  section {
    padding-block: 3rem;
  }

  .hero {
    min-height: 80vh;
    background-image: linear-gradient(to bottom,
        rgba(20, 24, 30, 0.7),
        rgba(20, 24, 30, 0.82)),
      url("images/hero-cover.png");
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 1.75rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}