/* VALGAIR MEP SERVICES */

:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --steel: #41566e;
  --amber: #f08a1d;
  --amber-dark: #d1740f;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --text: #1a2735;
  --muted: #5d6e80;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(11,31,51,.08);
  --shadow-lg: 0 18px 48px rgba(11,31,51,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 { line-height: 1.22; color: var(--navy); font-weight: 700; }
h1 { font-size: 2.9rem; letter-spacing: -1px; }
h2 { font-size: 2.1rem; letter-spacing: -0.4px; }
h3 { font-size: 1.15rem; }

.section { padding: 86px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #c3d2e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section--dark .section-head p { color: #a8bbcd; }

/* ---------- Reveal on scroll ---------- */
/* Content is visible by default; the script opts in to animating it,
   so a JS error or an old browser can never hide the page. */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #b8c8d8;
  font-size: 0.85rem;
  padding: 9px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #b8c8d8; }
.topbar a:hover { color: var(--amber); text-decoration: none; }
.topbar .sep { margin-left: 18px; }

.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: inset 0 -3px 0 var(--amber);
}
.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
  letter-spacing: 1.5px;
  line-height: 1.15;
}
.brand-text small { color: var(--muted); font-size: 0.7rem; letter-spacing: 1.6px; text-transform: uppercase; }

.nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transition: right .25s ease;
}
.nav a:not(.btn):hover { text-decoration: none; }
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(240,138,29,.3); }
.btn--primary:hover { background: var(--amber-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-home.jpg") center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,23,38,.94) 0%, rgba(8,23,38,.82) 46%, rgba(8,23,38,.5) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 860px; }
.hero .tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero .tagline::before { content: ""; width: 34px; height: 2px; background: var(--amber); }
.hero p.lead { max-width: 640px; margin-top: 22px; font-size: 1.12rem; color: #cedbe8; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-strip div { background: rgba(8,23,38,.55); padding: 22px 18px; }
.hero-strip strong { display: block; color: var(--amber); font-size: 1.05rem; letter-spacing: .5px; }
.hero-strip span { font-size: 0.82rem; color: #b6c7d8; }

/* page banners */
.page-hero {
  position: relative;
  color: #fff;
  padding: 92px 0 70px;
  background: var(--navy) center/cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,23,38,.93), rgba(8,23,38,.72));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 2.4rem; }
.page-hero p { color: #bccfe0; margin-top: 10px; max-width: 620px; }
.crumbs { font-size: 0.82rem; color: #9fb4c8; margin-bottom: 12px; letter-spacing: .5px; }
.crumbs a { color: #9fb4c8; }
.crumbs a:hover { color: var(--amber); text-decoration: none; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------- Service cards with imagery ---------- */
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,23,38,.75), rgba(8,23,38,0) 55%);
}
.svc-media h3 {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  color: #fff;
  z-index: 2;
  font-size: 1.15rem;
}
.svc-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-body p { color: var(--muted); font-size: 0.95rem; }
.svc-body ul { margin: 14px 0 0 18px; color: var(--muted); font-size: 0.93rem; }
.svc-body ul li { margin-bottom: 5px; }
.svc-body .more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 0.9rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .ico {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: #fdf0e1;
  color: var(--amber-dark);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}

/* ---------- About collage ---------- */
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.collage img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.collage .tall { grid-row: span 2; min-height: 420px; }
.collage .short { min-height: 201px; }

.media-figure { position: relative; }
.media-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.media-badge {
  position: absolute;
  right: -14px; bottom: -14px;
  background: var(--amber);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  max-width: 230px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow-lg);
}
.media-badge small { display: block; font-weight: 600; opacity: .9; font-size: 0.8rem; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-2); color: #fff; padding: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.stat { background: var(--navy-2); padding: 34px 20px; text-align: center; }
.stat strong { display: block; font-size: 1.9rem; color: var(--amber); line-height: 1.2; }
.stat span { font-size: 0.8rem; letter-spacing: 1.6px; text-transform: uppercase; color: #bcd0e2; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button {
  border: none;
  padding: 0;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery button:hover img { transform: scale(1.08); opacity: .82; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(8,23,38,.88), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6,16,27,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: var(--radius); }
.lightbox .lb-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #d6e2ee; font-size: 0.95rem; }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox button:hover { background: var(--amber); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Lists & tags ---------- */
.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--muted); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fdf0e1;
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid; place-items: center;
  margin-top: 4px;
}
.section--dark .checklist li { color: #bccfe0; }

.value-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.value-item:last-child { border-bottom: none; }
.value-item h3 { font-size: 0.95rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--amber-dark); }
.value-item p { color: var(--muted); margin-top: 4px; }
.section--dark .value-item { border-color: rgba(255,255,255,.12); }
.section--dark .value-item p { color: #a8bbcd; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--steel);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber), #f5a84c);
  color: #fff;
  padding: 54px 0;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 1.7rem; }
.cta-band p { color: #fff6ec; }
.cta-band .btn { background: var(--navy); color: #fff; box-shadow: none; }
.cta-band .btn:hover { background: #071623; }

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy); }
.field .req { color: var(--amber-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(240,138,29,.16);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.hp { position: absolute; left: -9999px; top: -9999px; }

.alert { padding: 15px 18px; border-radius: 8px; margin-bottom: 22px; font-size: 0.95rem; }
.alert--ok { background: #e7f7ee; border: 1px solid #a6ddbe; color: #1c6b3c; }
.alert--err { background: #fdeaea; border: 1px solid #f0b4b4; color: #9b2222; }

.contact-aside .box {
  background: var(--navy) ;
  color: #c3d2e1;
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}
.contact-aside .box h3 { color: #fff; margin-bottom: 16px; }
.contact-aside .box a { color: var(--amber); }
.contact-aside dl dt { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #8aa1b8; margin-top: 16px; }
.contact-aside dl dt:first-child { margin-top: 0; }
.contact-aside dl dd { color: #e2ebf3; }
.contact-aside .aside-img { border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a0b4c7; padding: 60px 0 0; font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #a0b4c7; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 20px 13px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { background: #1da851; color: #fff; text-decoration: none; transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.btn--wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn--wa:hover { background: #1da851; color: #fff; }
.btn--wa svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .collage .tall { min-height: 300px; }

  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul li:last-child { border-bottom: none; padding-top: 12px; }
  .nav a { display: block; padding: 13px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { justify-content: center; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 72px 0 60px; }
  .hero-strip { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr; }
  .collage .tall { grid-row: auto; min-height: 260px; }
  .media-badge { position: static; margin-top: 14px; max-width: none; }
  .wa-float { padding: 15px; right: 16px; bottom: 16px; }
  .wa-float .wa-label { display: none; }
  .form-card { padding: 22px; }
}
