:root {
  --orange: #f0800f;
  --orange-dark: #d76c05;
  --teal: #2e8898;
  --teal-light: #3fa3b3;
  --navy: #10333d;
  --navy-deep: #0b262e;
  --ink: #26292b;
  --muted: #6b7680;
  --line: #e6ebee;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(16, 51, 61, 0.25);
  --container: 1180px;
  --header-h: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--muted); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Top alert bar ---------- */
.top-alert {
  background: var(--navy-deep);
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(16,51,61,.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand-logo { height: 84px; width: auto; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(240,128,15,.65);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-media {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 100vw;
  background:
    linear-gradient(100deg, rgba(11,38,46,.94) 20%, rgba(11,38,46,.8) 55%, rgba(11,38,46,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow-light { color: #ffcb90; }

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}
.text-accent { color: var(--orange); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats-band {
  width: 100vw;
  background: var(--navy-deep);
  padding: 38px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  left: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,.65);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Mobile action bar ---------- */
.mobile-actionbar { display: none; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  width: 100vw;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.section-dark .eyebrow { color: var(--orange); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 44px;
  max-width: 640px;
}
.section-title-light { color: #fff; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(240,128,15,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--orange); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin: 0; }

.panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.panel h3 { color: #fff; font-size: 19px; }
.panel p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }

.quality-note {
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border-left: 4px solid var(--orange);
}
.quality-note h4 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.quality-note p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; }

/* ---------- Services ---------- */
.services-grid { display: flex; flex-direction: column; gap: 70px; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-block-reverse .service-photo { order: 2; }
.service-block-reverse .service-copy { order: 1; }

.service-photo {
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  display: block;
}
.service-copy h3 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}
.check-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--teal);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 15.5px;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(11,38,46,.85), rgba(11,38,46,0));
}

/* ---------- Logo rows ---------- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.logo-item {
  flex: 1 1 220px;
  max-width: 265px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
}
.logo-item img { height: 40px; width: auto; max-width: 88px; object-fit: contain; flex-shrink: 0; }
.logo-item span { font-size: 12.5px; font-weight: 600; color: var(--navy); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  filter: grayscale(35%);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.client-logo:hover { filter: grayscale(0%); transform: translateY(-3px); box-shadow: var(--shadow); }
.client-logo img { max-height: 100px; max-width: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-cards {
  display: grid;
  gap: 16px;
  align-content: start;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.contact-card:not(.contact-card-static):hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.contact-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(240,128,15,.18);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.contact-card h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.contact-card p { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-top: 50px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 42px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  box-shadow: 0 10px 24px -8px rgba(240,128,15,.6);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Desktop scale-up ---------- */
@media (min-width: 981px) {
  body { font-size: 16.5px; }

  .main-nav a { font-size: 16px; }
  .btn { font-size: 16px; padding: 15px 30px; }
  .btn-sm { font-size: 14.5px; }

  .eyebrow { font-size: 14px; }
  .hero-sub { font-size: 18.5px; max-width: 620px; }

  .card { padding: 34px 30px; }
  .card-icon { width: 58px; height: 58px; }
  .card-icon svg { width: 28px; height: 28px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 16px; }

  .panel { padding: 34px 30px; }
  .panel h3 { font-size: 20px; }
  .panel p { font-size: 16.5px; }
  .quality-note p { font-size: 16px; }
  .quality-note h4 { font-size: 17px; }

  .service-copy h3 { font-size: 26px; }
  .check-list li { font-size: 16.5px; padding: 11px 0 11px 32px; }

  .logo-item { padding: 20px 22px; }
  .logo-item img { height: 46px; max-width: 98px; }
  .logo-item span { font-size: 13.5px; }

  .client-logo { height: 150px; padding: 18px; }
  .client-logo img { max-height: 114px; }

  .contact-card { padding: 24px; }
  .contact-card h4 { font-size: 16px; }
  .contact-card p { font-size: 15.5px; }
  .contact-icon { width: 46px; height: 46px; }
  .contact-icon svg { width: 22px; height: 22px; }

  .gallery-grid figcaption { font-size: 15px; padding: 16px 18px; }

  .footer-brand p { font-size: 14px; }
  .footer-nav a { font-size: 15px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .service-block, .service-block-reverse { grid-template-columns: 1fr; }
  .service-block-reverse .service-photo,
  .service-block-reverse .service-copy { order: initial; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
}

@media (max-width: 760px) {
  :root { --header-h: 84px; }
  .brand-logo { height: 60px; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: 0 16px 24px -18px rgba(16,51,61,.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-top: 40px; }
  .section { padding: 64px 0; }

  .whatsapp-float { display: none; }
  .back-to-top { bottom: 78px; }
  body { padding-bottom: 60px; }

  .mobile-actionbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--navy-deep);
    box-shadow: 0 -8px 20px -12px rgba(0,0,0,.4);
  }
  .mobile-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 4px 11px;
    color: rgba(255,255,255,.85);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .mobile-action:last-child { border-right: none; }
  .mobile-action svg { width: 20px; height: 20px; fill: currentColor; }
  .mobile-action-whatsapp { background: #25d366; color: #fff; }
}

@media (max-width: 480px) {
  .grid-4, .gallery-grid, .clients-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .whatsapp-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
