:root {
  --maroon: #711624;
  --maroon-2: #4c0b15;
  --red: #c52431;
  --navy: #101927;
  --charcoal: #1c2430;
  --steel: #65717f;
  --line: rgba(16, 25, 39, .12);
  --soft: #f5f7fa;
  --white: #fff;
  --shadow: 0 22px 55px rgba(16, 25, 39, .14);
  --radius: 8px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 82px 0; }
.section.compact { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.08; color: var(--navy); letter-spacing: 0; }
h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 780px; }
h2 { font-size: clamp(28px, 3vw, 44px); }
h3 { font-size: 19px; }
p { margin: 0; color: var(--steel); }
.lead { font-size: 18px; color: #4b5664; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 30px; }
.section-head.center { text-align: center; justify-items: center; margin-left: auto; margin-right: auto; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(16, 25, 39, .16); }
.btn.primary { background: var(--maroon); color: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.outline { background: transparent; color: var(--maroon); border-color: rgba(113, 22, 36, .28); }
.btn.light { background: #fff; color: var(--maroon); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-bar {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  max-width: 310px;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.05;
  font-weight: 950;
}
.brand span { color: var(--maroon); }
.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 14px;
  font-weight: 850;
}
.nav-links a { color: #2b3543; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  transform: scaleX(0);
  background: var(--red);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--maroon); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.header-cta { white-space: nowrap; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg, .floating-actions svg, .contact-icon svg { width: 22px; height: 22px; display: block; }
.drawer-actions { display: none; }
.hero {
  position: relative;
  padding: 76px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(197,36,49,.12), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f7f9fc 56%, #eef2f6 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(113,22,36,.06), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, .8fr);
  gap: 46px;
  align-items: center;
}
.hero h1 { margin: 14px 0 18px; }
.hero-copy { display: grid; gap: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 680px; }
.trust-pill {
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(16, 25, 39, .06);
}
.hero-collage {
  display: grid;
  grid-template-columns: 1.1fr .85fr;
  grid-template-rows: 240px 190px;
  gap: 14px;
}
.hero-collage figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: var(--shadow);
  background: #dfe5eb;
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-collage figure:hover img { transform: scale(1.045); }
.hero-collage .large { grid-row: span 2; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 16px 42px rgba(16, 25, 39, .08);
}
.stat { padding: 25px; background: #fff; }
.stat strong { display: block; color: var(--maroon); font-size: 30px; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--navy); font-weight: 850; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.media-card img { width: 100%; height: 430px; object-fit: cover; }
.feature-list { display: grid; gap: 12px; margin: 22px 0; padding: 0; }
.feature-list li {
  list-style: none;
  background: var(--soft);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 14px;
  color: #354253;
  font-weight: 750;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 25, 39, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(113, 22, 36, .28); }
.card-img { height: 190px; overflow: hidden; background: #e8edf2; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.055); }
.card-body { padding: 20px; display: grid; gap: 12px; }
.service-top { display: flex; align-items: center; gap: 12px; }
.service-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--maroon);
  background: #fff3f4;
  border: 1px solid rgba(113,22,36,.16);
}
.service-icon svg { width: 22px; height: 22px; }
.band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16,25,39,.96), rgba(76,11,21,.94)),
    url("../images/client/client-15.webp") center/cover no-repeat;
}
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.78); }
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.step {
  min-height: 132px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.step b { display: block; color: #fff; margin-bottom: 8px; }
.step span { color: rgba(255,255,255,.76); font-size: 13px; }
.project-card { border-top: 4px solid var(--maroon); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f8ecee;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 850;
}
.work-slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.work-slider:hover .slider-track { animation-play-state: paused; }
.slide-card {
  width: 330px;
  height: 230px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e7ebef;
}
.slide-card img { width: 100%; height: 100%; object-fit: cover; }
.slide-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(16,25,39,.78);
  color: #fff;
  font-weight: 850;
  font-size: 13px;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16,25,39,.05);
}
.social-panel, .cta-panel {
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--maroon-2));
}
.social-panel { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.social-panel h2, .social-panel p, .cta-panel h2, .cta-panel p { color: #fff; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero {
  padding: 68px 0 54px;
  background:
    linear-gradient(135deg, rgba(16,25,39,.96), rgba(76,11,21,.92)),
    url("../images/client/client-13.webp") center/cover no-repeat;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-top: 12px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 780px; margin-top: 16px; font-size: 18px; }
.detail-service {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px;
}
.detail-service img { height: 210px; width: 100%; object-fit: cover; border-radius: 6px; }
.detail-service ul { margin: 10px 0 0; padding-left: 18px; color: var(--steel); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}
.filter-btn.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.search {
  min-height: 42px;
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery-item {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img { transform: scale(1.035); filter: contrast(1.04); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(16,25,39,.9);
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; max-width: min(1100px, 94vw); border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-box, .form-wrap {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-icon { color: var(--maroon); flex: 0 0 auto; padding-top: 2px; }
.form { display: grid; gap: 14px; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--charcoal);
}
.form textarea { min-height: 130px; resize: vertical; }
.map {
  min-height: 260px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef2f6, #dbe3eb);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--navy);
  font-weight: 850;
}
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.76);
  padding: 58px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr 1fr 1.25fr;
  gap: 28px;
}
.footer h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li { list-style: none; }
.footer a:hover { color: #fff; }
.footer-cta { margin-top: 16px; }
.credit {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 14px;
}
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
}
.floating-actions a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--maroon);
  box-shadow: 0 14px 30px rgba(16, 25, 39, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-actions a:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(16,25,39,.26); }
.floating-actions .whatsapp { background: #128c50; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-bar { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: calc(100dvh - 67px);
    padding: 26px 24px 32px;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 18px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(16,25,39,.18);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a::after { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; position: relative; z-index: 90; }
  .drawer-actions { display: grid; gap: 10px; margin-top: 8px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 680px; }
  .stats, .grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-service { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 58px 0; }
  .nav-bar { min-height: 66px; }
  .brand { max-width: 235px; }
  .hero { padding: 48px 0 38px; }
  .hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy p { order: 3; }
  .hero-collage { order: 4; }
  .hero-actions { order: 5; }
  .trust-row { order: 6; }
  .hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .lead, .page-hero p { font-size: 16px; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .trust-row, .stats, .grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-collage { width: 100%; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 132px; gap: 10px; }
  .hero-collage .large { grid-column: 1 / -1; grid-row: auto; }
  .media-card img { height: 280px; }
  .process { grid-template-columns: 1fr; }
  .social-panel, .cta-panel { grid-template-columns: 1fr; padding: 24px; }
  .slide-card { width: 265px; height: 190px; }
  .search { max-width: none; margin-left: 0; }
  .floating-actions { right: 12px; bottom: 12px; }
  .floating-actions a { width: 48px; height: 48px; }
}
