:root {
  --ink: #15171b;
  --muted: #666b75;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e8e1d5;
  --gold: #f7a629;
  --gold-2: #ffe38d;
  --charcoal: #33363c;
  --steel: #7a7f88;
  --green: #1f8f58;
  --shadow: 0 20px 60px rgba(31, 31, 31, 0.12);
  --shadow-soft: 0 16px 40px rgba(48, 43, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(247, 166, 41, 0.18), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 44%, #f5f3ee 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(232, 225, 213, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.dropdown-button {
  border: 0;
  background: transparent;
  color: #33363c;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-links a:hover,
.dropdown:hover .dropdown-button,
.nav-links a.active {
  background: #fff4df;
  color: #181818;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 90vw);
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--charcoal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--charcoal);
  font-size: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #1e1b16;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(247, 166, 41, 0.24);
}

.button:hover {
  transform: translateY(-1px);
}

.button,
.service-card,
.feature-box,
.detail-box,
.process-step {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
  color: var(--charcoal);
}

.button.whatsapp {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 143, 88, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 46px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -18rem auto;
  width: 48rem;
  height: 48rem;
  background:
    conic-gradient(from 210deg, rgba(247, 166, 41, 0.94), rgba(80, 83, 89, 0.22), rgba(247, 166, 41, 0.22), rgba(247, 166, 41, 0.94));
  border-radius: 50%;
  opacity: 0.23;
  pointer-events: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #90600f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  padding: 24px;
  background: #202226;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(255, 227, 141, 0.28);
  border-radius: 50%;
  animation: slowSpin 14s linear infinite;
}

.hero-panel img {
  width: 245px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.28));
}

.hero-panel p {
  margin: 0;
  color: #d9d9d9;
}

.hero-panel .visual-scene {
  min-height: 245px;
  margin-top: 22px;
  border-color: rgba(255, 227, 141, 0.22);
  box-shadow: none;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.metric {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.metric strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.3rem;
}

.metric span {
  color: #cfd0d2;
  font-size: 0.8rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.trust-chip {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.trust-chip strong {
  display: block;
  color: var(--charcoal);
}

.trust-chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding-top: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 254px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 33, 28, 0.05);
}

.service-card:hover {
  border-color: rgba(247, 166, 41, 0.8);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(36, 33, 28, 0.1);
}

.service-card .number {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #fff1d5;
  color: #8e5900;
  font-weight: 800;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card .learn {
  margin-top: 18px;
  color: #935f0c;
  font-weight: 800;
}

.band {
  background: #202226;
  color: #ffffff;
}

.band .section-head p,
.band .lead {
  color: #d1d2d5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.process-step span {
  color: var(--gold-2);
  font-weight: 800;
}

.process-step p {
  margin: 12px 0 0;
  color: #d7d8da;
}

.about-grid,
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: center;
}

.about-copy p,
.proof-card p {
  color: var(--muted);
}

.about-copy p {
  font-size: 1.04rem;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.proof-card strong {
  display: block;
  margin-bottom: 10px;
  color: #8e5900;
  font-size: 1.6rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: #fff7e8;
  border: 1px solid #f1d7a5;
  border-radius: 8px;
}

.contact-strip p {
  margin: 8px 0 0;
  color: var(--muted);
}

.service-hero {
  padding: 62px 0 32px;
}

.service-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 34px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.breadcrumb a {
  color: #905e12;
  font-weight: 700;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.content-panel,
.sidebar-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(36, 33, 28, 0.05);
}

.content-panel {
  padding: 34px;
}

.content-panel section + section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul {
  padding-left: 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff2da;
  color: #8d590a;
  font-weight: 700;
  font-size: 0.86rem;
}

.service-visual-wrap {
  grid-row: 1 / span 4;
  grid-column: 2;
}

.visual-scene {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(247, 166, 41, 0.28);
  background:
    linear-gradient(145deg, rgba(32, 34, 38, 0.94), rgba(74, 76, 82, 0.9)),
    radial-gradient(circle at 30% 20%, rgba(247, 166, 41, 0.28), transparent 18rem);
  box-shadow: var(--shadow);
}

.visual-home,
.visual-about,
.visual-tax,
.visual-finance,
.visual-iso,
.visual-registration {
  background:
    linear-gradient(145deg, rgba(32, 34, 38, 0.96), rgba(66, 67, 72, 0.9)),
    radial-gradient(circle at 22% 18%, rgba(247, 166, 41, 0.34), transparent 16rem);
}

.visual-provincial,
.visual-trade,
.visual-chamber,
.visual-software {
  background:
    linear-gradient(145deg, rgba(28, 37, 39, 0.96), rgba(64, 70, 72, 0.9)),
    radial-gradient(circle at 76% 22%, rgba(31, 143, 88, 0.24), transparent 15rem);
}

.visual-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000, transparent);
}

.scene-card {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.scene-card.primary {
  left: 34px;
  top: 44px;
  width: 190px;
  min-height: 142px;
  padding: 20px;
  animation: floatCard 5.5s ease-in-out infinite;
}

.scene-card.secondary {
  right: 28px;
  bottom: 34px;
  width: 178px;
  min-height: 118px;
  padding: 18px;
  animation: floatCard 6.2s ease-in-out infinite reverse;
}

.scene-card span {
  color: #8e5900;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scene-card strong {
  display: block;
  margin-top: 10px;
  color: var(--charcoal);
  font-size: 1.35rem;
  line-height: 1.05;
}

.scene-card i,
.scene-card b {
  display: block;
  height: 8px;
  margin-top: 13px;
  border-radius: 99px;
  background: #ece4d7;
}

.scene-card i {
  width: 82%;
}

.scene-card b:nth-child(2) {
  width: 84%;
}

.scene-card b:nth-child(3) {
  width: 64%;
}

.scene-card b:nth-child(4) {
  width: 74%;
}

.scene-ring {
  position: absolute;
  right: -54px;
  top: -48px;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 24px solid rgba(247, 166, 41, 0.48);
  border-left-color: rgba(255, 255, 255, 0.18);
  animation: slowSpin 18s linear infinite;
}

.scene-chart {
  position: absolute;
  left: 38px;
  bottom: 34px;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 78px;
}

.scene-chart span {
  width: 22px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #ffe38d, #f7a629);
  animation: barLift 2.8s ease-in-out infinite;
}

.scene-chart span:nth-child(1) {
  height: 45%;
}

.scene-chart span:nth-child(2) {
  height: 78%;
  animation-delay: 0.3s;
}

.scene-chart span:nth-child(3) {
  height: 58%;
  animation-delay: 0.6s;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.detail-box:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 166, 41, 0.72);
}

.detail-box p {
  margin-bottom: 0;
}

.feature-box-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-box {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 241, 0.96)),
    radial-gradient(circle at top right, rgba(247, 166, 41, 0.18), transparent 12rem);
  box-shadow: var(--shadow-soft);
}

.feature-box::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(247, 166, 41, 0.12);
  border-radius: 50%;
}

.feature-box:hover {
  transform: translateY(-7px);
  border-color: rgba(247, 166, 41, 0.8);
  box-shadow: 0 20px 50px rgba(36, 33, 28, 0.12);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #202226;
  color: #ffe38d;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-box p {
  margin-bottom: 0;
}

.mini-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-segments span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff0d3;
  color: #865309;
  font-size: 0.82rem;
  font-weight: 800;
}

.moving-boxes .feature-box {
  animation: gentleMove 5s ease-in-out infinite;
}

.moving-boxes .feature-box:nth-child(2) {
  animation-delay: 0.4s;
}

.moving-boxes .feature-box:nth-child(3) {
  animation-delay: 0.8s;
}

.bottom-contact {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid #f1d7a5;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff7e8, #ffffff 58%),
    radial-gradient(circle at right, rgba(31, 143, 88, 0.12), transparent 16rem);
}

.bottom-contact p {
  max-width: 690px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(31, 143, 88, 0.34);
}

.sidebar-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.sidebar-panel h3 {
  margin-bottom: 12px;
}

.side-link {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.side-link:hover,
.side-link.active {
  background: #fff2da;
  color: #875506;
}

.mini-contact {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 34px 0;
  background: #17191c;
  color: #d9d9d9;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gentleMove {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes barLift {
  0%,
  100% {
    transform: scaleY(0.82);
  }
  50% {
    transform: scaleY(1);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid img {
  width: 160px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #f3d187;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .service-layout,
  .contact-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hero .container {
    grid-template-columns: 1fr;
  }

  .service-visual-wrap {
    grid-row: auto;
    grid-column: auto;
  }

  .sidebar-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 146px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 10px;
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    box-shadow: none;
    margin-top: 4px;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-panel {
    padding: 20px;
  }

  .metric-row,
  .detail-grid,
  .feature-box-grid,
  .hero-trust,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .content-panel {
    padding: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .visual-scene {
    min-height: 260px;
  }

  .scene-card.primary {
    left: 20px;
    width: 168px;
  }

  .scene-card.secondary {
    right: 18px;
    width: 150px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }
}
