/* ============================================================
   MANE UTILITY LTD — Brand CSS
   Brand: Navy #0B2545 · Blue #1363DF · Cyan #07B5D5 · Orange #F4831F
   ============================================================ */

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

:root {
  --navy:   #0B2545;
  --blue:   #1363DF;
  --cyan:   #07B5D5;
  --orange: #F4831F;
  --light:  #EEF4FB;
  --dark:   #374151;
  --grey:   #6B7280;
  --white:  #ffffff;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(11,37,69,0.12);
  --shadow-lg: 0 12px 48px rgba(11,37,69,0.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: -2px;
}

.nav__logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
}

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

.nav__links a {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
  background: #e5721a !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,37,69,0.88) 0%,
    rgba(11,37,69,0.65) 60%,
    rgba(19,99,223,0.30) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-top: 68px;
}

.hero__eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero__title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--orange);
  margin-top: 20px;
}

.hero__sub {
  color: rgba(255,255,255,0.80);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  margin: 0 auto;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: #e5721a;
  border-color: #e5721a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,131,31,0.35);
}

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

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── STATS ───────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--orange);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child { border-right: none; }

.stat__num {
  font-size: 38px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__intro {
  font-size: 18px;
  color: var(--grey);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about { background: var(--white); }

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

.about__text p {
  color: var(--dark);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  background: var(--light);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(19,99,223,0.15);
}

.about__image {
  position: relative;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img { border-radius: 8px; }

.about__image-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}

.about__image-card strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.about__image-card span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* ── SERVICES ────────────────────────────────────────────── */
.services { background: var(--light); padding-top: 96px; }

.services > .container { margin-bottom: 64px; }

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.service--reverse { direction: rtl; }
.service--reverse > * { direction: ltr; }

.service__image {
  overflow: hidden;
}

.service__image img {
  transition: transform 0.6s ease;
}

.service__image:hover img { transform: scale(1.04); }

.service__content {
  background: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 8px;
}

.service__content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service__content p {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.service__list li {
  font-size: 13.5px;
  color: var(--dark);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── WHY US ──────────────────────────────────────────────── */
.why { background: var(--navy); }

.why .section__eyebrow { color: var(--cyan); }
.why .section__title   { color: var(--white); }
.why .section__intro   { color: rgba(255,255,255,0.65); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.why__card {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), transform var(--transition);
}

.why__card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

.why__icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.why__card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why__card p {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--navy); padding: 96px 0; }

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

.contact__details {
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.contact__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.contact__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.contact__value {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.contact__value a {
  color: var(--orange);
  transition: color var(--transition);
}

.contact__value a:hover { color: #ffaa55; }

/* FORM */
.contact__form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact__form-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19,99,223,0.12);
}

.form__group textarea { resize: vertical; }

.form__note {
  text-align: center;
  font-size: 12px;
  color: var(--grey);
  margin-top: 12px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #07182E;
  padding: 48px 0 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  font-weight: 500;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__legal {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  line-height: 1.8;
}

.footer__bar {
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 100%);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service,
  .service--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service__image { height: 320px; }
  .service__content { padding: 40px 32px; }
  .service__list { grid-template-columns: 1fr; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__image { height: 340px; }

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

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}

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

  .nav__links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--orange);
  }

  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__title { font-size: 36px; }
  .hero__sub .br-desk { display: none; }

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

  .contact__form-wrap { padding: 28px 20px; }
  .footer__links { gap: 16px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
