:root {
  --color-primary: #f59a23;
  --color-secondary: #5d7c54;
  --color-dark: #08090a;
  --color-ink: #151515;
  --color-text: #2c2b28;
  --color-muted: #67625a;
  --color-line: rgba(20, 20, 20, 0.12);
  --color-light: #f6f2ea;
  --color-soft: #fbfaf7;
  --color-white: #ffffff;
  --font-main: "Manrope", Arial, sans-serif;
  --font-display: "Sora", "Manrope", Arial, sans-serif;
  --container: 1180px;
  --radius: 8px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-soft);
}
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section { padding: 96px 0; background: var(--color-white); }
.section.soft { background: linear-gradient(180deg, #fbfaf7, var(--color-light)); }
.section.dark {
  color: var(--color-white);
  background: linear-gradient(135deg, rgba(8, 9, 10, 0.97), rgba(24, 29, 31, 0.95));
}
.section-actions { display: flex; justify-content: center; margin-top: 34px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(7, 8, 9, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  background: rgba(7, 8, 9, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.13);
}
.brand img { width: 118px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: var(--color-white);
  background: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 800;
}
.nav a, .nav-dropdown > button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.nav a:hover, .nav a.is-active, .nav-dropdown > button:hover { color: var(--color-white); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.nav-cta, .button.primary { color: #14100a !important; background: var(--color-primary); }
.button.secondary {
  color: var(--color-white);
  border-color: rgba(255,255,255,.34);
  background: rgba(8,9,10,.34);
}
.button:hover { transform: translateY(-2px); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(20,20,20,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  color: var(--color-text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: flex;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--color-text);
}
.dropdown-menu a:hover { color: var(--color-ink); background: var(--color-light); }
.dropdown-all { margin-top: 6px; color: var(--color-primary) !important; font-weight: 900; }

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-dark);
}
.home-hero { min-height: 100svh; }
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg img, .hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg img { opacity: .62; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,4,5,.94) 0%, rgba(3,4,5,.76) 42%, rgba(3,4,5,.18) 100%),
    linear-gradient(0deg, rgba(3,4,5,.7), transparent 44%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, .section-title h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}
h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1;
}
.hero-subtitle {
  max-width: 720px;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}
.hero-text { max-width: 660px; color: rgba(255,255,255,.72); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}
.breadcrumbs a::after { content: "/"; margin-left: 8px; color: var(--color-primary); }

.section-title {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-title.center {
  margin-inline: auto;
  text-align: center;
}
.section-title h2 {
  margin-bottom: 14px;
  color: var(--color-ink);
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.08;
}
.dark .section-title h2, .gallery-preview .section-title h2 { color: var(--color-white); }
.section-title p:not(.eyebrow), .prose p, .detail-copy {
  color: var(--color-muted);
  line-height: 1.75;
}
.dark .section-title p:not(.eyebrow) { color: rgba(255,255,255,.72); }

.intro-grid, .split-section, .text-layout, .service-detail, .represented-detail, .contact-layout, .diagnostic-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.feature-list { display: grid; gap: 14px; }
.feature-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  font-weight: 800;
}
.feature-list svg, .card-icon, .pillars-grid svg, .contact-panel svg, .detail-panel svg { color: var(--color-primary); }

.card-grid, .represented-grid, .gallery-grid, .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
}
.team-card div { padding: 16px; }
.team-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 17px;
}
.team-card p {
  min-height: 54px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}
.team-card a {
  display: flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .represented-card, .pillars-grid article, .detail-panel, .contact-panel, .list-panel {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}
.service-card h3, .represented-card h3, .pillars-grid h3, .detail-panel h2, .contact-panel h2 {
  font-family: var(--font-display);
  line-height: 1.2;
}
.service-card p, .represented-card p, .pillars-grid p, .contact-panel p {
  color: var(--color-muted);
  line-height: 1.65;
}
.service-card a, .card-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: rgba(245,154,35,.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.metric-grid strong { display: block; color: var(--color-primary); font-size: 34px; }
.metric-grid span { color: rgba(255,255,255,.74); font-size: 12px; font-weight: 900; text-transform: uppercase; }

.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.segment-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-dark);
  box-shadow: 0 28px 70px rgba(0,0,0,.2);
}
.segment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,8,9,.84), rgba(7,8,9,.16));
}
.segment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  transition: transform .5s ease;
}
.segment-card:hover img { transform: scale(1.05); }
.segment-card div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--color-white);
}
.segment-card svg { color: var(--color-primary); margin-bottom: 12px; }

.represented-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.represented-media {
  height: 150px;
  display: grid;
  place-items: center;
  margin: -8px -8px 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}
.represented-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
}
.represented-card span {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.gallery-preview { background: linear-gradient(135deg, #08090a, #1a1f22); color: var(--color-white); }
.gallery-mini, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--color-dark);
  cursor: pointer;
  text-align: left;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,8,9,.84), rgba(7,8,9,.08));
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card span, .gallery-card strong {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
}
.gallery-card span { bottom: 56px; color: var(--color-primary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gallery-card strong { bottom: 20px; font-size: 17px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-bar button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 900;
}
.filter-bar button.is-active { background: var(--color-primary); color: #14100a; border-color: var(--color-primary); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(0,0,0,.88);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78vh; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox strong { margin-top: 16px; color: var(--color-white); }
.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  color: var(--color-white);
  background: rgba(255,255,255,.08);
}

.detail-panel p, .contact-panel p, .list-panel p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
}
.represented-logo-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}
.represented-logo-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

.whatsapp-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; color: var(--color-ink); font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--color-text);
  background: var(--color-white);
}
textarea { resize: vertical; }

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 72px 0;
  padding: 36px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: linear-gradient(135deg, #090a0b, #23282b);
}
.cta-block h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
}
.cta-block p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.72); line-height: 1.65; }

.site-footer {
  padding: 64px 0 28px;
  color: rgba(255,255,255,.72);
  background: #030405;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.footer-brand img { width: 128px; margin-bottom: 24px; }
.site-footer h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 16px;
}
.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.72);
}
.site-footer a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}
.footer-contact .button { width: fit-content; margin-top: 10px; color: #14100a; }
