:root {
  --bg: #f6f3ec;
  --bg-soft: #ebe6db;
  --surface: #fffcf7;
  --ink: #171513;
  --muted: #5f574e;
  --line: #ddd4c6;
  --accent: #c1121f;
  --accent-dark: #8a0c16;
  --accent-soft: #f8d7d9;
  --whatsapp: #128c7e;
  --call: #1b6b4a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 21, 19, 0.08);
  --radius: 18px;
  --container: 1160px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* Header — light */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}

.topbar a {
  color: var(--ink);
}

.topbar-links {
  display: flex;
  gap: 14px;
}

.topbar-links a:hover {
  color: var(--accent);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand img {
  height: 48px;
  width: auto;
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > a,
.nav-drop > .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.nav > a:hover,
.nav-drop:hover > .nav-label,
.nav > a.active,
.nav-drop.active > .nav-label {
  background: var(--bg);
  color: var(--accent);
}

.nav-drop {
  position: relative;
}

.nav-drop .caret {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-40%);
  width: min(720px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  z-index: 60;
}

.nav-drop:hover .mega,
.nav-drop:focus-within .mega {
  display: grid;
}

.mega h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.mega a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mega a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.icon-btn {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.icon-btn.call {
  background: #e8f6ef;
  color: var(--call);
}

.icon-btn.wa {
  background: #e7f6f3;
  color: var(--whatsapp);
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.header-cta:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.mobile-panel {
  display: none;
}

/* Home hero: copy left, form right, no background image */
.hero {
  padding: 35px 0 28px;
  background: var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  margin-top:20px;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy .lede {
  margin-inline: 0;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
}

/* Inner page banners */
.page-banner {
  position: relative;
  min-height: 42vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.55), rgba(12, 10, 9, 0.72));
}

.page-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 88px 0 72px;
  max-width: 820px;
}

.page-banner__content {
  padding: 64px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  margin-top:35px;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.page-banner h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

.lede.light {
  color: #ece6dc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  padding: 12px 18px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-call {
  background: #fff;
  color: var(--ink);
}

.kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-head h2,
.detail h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  color: var(--muted);
  margin-top: 8px;
}

.pill-row,
.team-grid,
.service-grid,
.feature-grid,
.office-grid,
.contact-wrap,
.stats-grid,
.split {
  display: grid;
  gap: 16px;
}

.pill-row,
.team-grid,
.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.split,
.office-grid,
.contact-wrap,
.stats-grid,
.form-row {
  grid-template-columns: 1fr 1fr;
}

.stats-grid.cols-4,
.service-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.pill,
.card,
.stat-card,
.info-card,
.team-card,
.feature-card,
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.pill h3,
.card h3,
.service-card h3,
.feature-card h3,
.team-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.muted,
.pill p,
.service-card p,
.feature-card p,
.team-card p {
  color: var(--muted);
}

.prose p {
  color: #3d3832;
  margin-bottom: 14px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.bullet-pane {
  display: grid;
  gap: 10px;
}

.bullet-pane li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.bullet-pane i {
  color: var(--accent);
  margin-top: 3px;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.media-card {
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.band {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.band p {
  color: #d7d0c7;
  margin-top: 8px;
}

.band .btn-ghost {
  border-color: #fff;
  color: #fff;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-status.ok {
  color: #1f7a3a;
}

.form-status.err {
  color: var(--accent);
}

.site-footer {
  background: var(--ink);
  color: #efe8de;
  padding: 48px 0 22px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: #fcf2e7;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h4 {
  margin-bottom: 12px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 14px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}

.footer-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  color:#8a0c16
}

.footer-actions .btn-call {
  color:#8a0c16
}
.footer-actions .btn-call:hover {
  color:#fff;
  background: #8a0c16;
}
.footer-bottom {
  border-top: 1px solid #3a3530;
  margin-top: 28px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b8aea3;
  font-size: 0.9rem;
}

.detail {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 24px;
}

.side-box a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.service-card,
.feature-card,
.pill,
.team-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.feature-card:hover,
.pill:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: #c9b8a6;
}

a.service-card {
  color: inherit;
}

/* Marquee clients */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.logo-card {
  position: relative;
  width: 260px;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  background: #fff;
}

.logo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 10, 0.15), rgba(15, 12, 10, 0.78));
}

.logo-card h3 {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
  font-size: 1.02rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}

/* Float dock */
.float-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 1.2rem;
}

.float-btn.call {
  background: var(--call);
}

.float-btn.wa {
  background: #25d366;
}

.float-btn:hover {
  transform: scale(1.06);
}

/* Motion */
.reveal {
  animation: rise 0.7s ease both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .pill-row,
  .team-grid,
  .service-grid,
  .feature-grid,
  .stats-grid,
  .stats-grid.cols-4,
  .service-grid.four,
  .form-row,
  .split,
  .contact-wrap,
  .office-grid,
  .detail,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-panel.open {
    display: block;
    padding: 8px 0 18px;
  }

  .mobile-panel a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink);
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .page-banner {
    min-height: auto;
  }

  .band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar-inner span.hide-sm {
    display: none;
  }

  .pill-row,
  .team-grid,
  .service-grid,
  .feature-grid,
  .stats-grid,
  .stats-grid.cols-4,
  .service-grid.four,
  .form-row,
  .split,
  .contact-wrap,
  .office-grid,
  .detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .logo-card {
    width: 210px;
    height: 150px;
  }
}
