:root {
  --ink: #16241d;
  --ink-deep: #0d2018;
  --green-deep: #0e5c36;
  --green-bright: #24c26a;
  --green-pale: #e3f3e6;
  --green: #00b050;
  --beige: #ece2d1;
  --cream: #f4f1e9;
  --paper: #fbfaf6;
  --white: #fff;
  --muted: #5f6f66;
  --line: rgba(20, 36, 26, 0.16);
  --shadow: 0 24px 70px rgba(12, 28, 18, 0.12);
  --radius: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.brand img {
  display: block;
  width: 164px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}
.brand-mark { width: 34px; }
.brand-mark circle, .brand-mark path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
}
.brand-mark path { stroke: var(--white); stroke-linecap: round; }
.main-nav { display: flex; align-items: center; gap: 31px; color: rgba(255,255,255,.78); font-size: 15px; }
.main-nav > a:not(.button) { transition: color .2s ease; }
.main-nav > a:not(.button):hover { color: var(--white); }
.language-link { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.menu-button { display: none; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 3px;
  padding: 0 24px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 43px; padding-inline: 20px; }
.button-dark { background: var(--white); color: var(--ink); }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 12px 30px rgba(0,176,80,.25); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(0,176,80,.35); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 172px 0 100px;
  color: var(--white);
  background:
    radial-gradient(circle at 73% 49%, rgba(0, 176, 80, .22), transparent 31%),
    linear-gradient(115deg, #0d2117 0%, #123322 48%, #0d2117 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 45%);
}
.hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 180px;
  right: -280px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 24px; height: 2px; background: var(--green); }
.hero .eyebrow { color: #8fe0ab; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; }
h1 {
  max-width: 710px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero-lead { max-width: 600px; margin: 0 0 34px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.text-link { font-size: 15px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 9px; color: var(--green-bright); transition: transform .2s ease; }
.text-link:hover span { transform: translateY(4px); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 50px; color: rgba(255,255,255,.48); font-size: 13px; line-height: 1.5; }
.hero-proof p { margin: 0; }
.hero-proof strong { color: rgba(255,255,255,.8); font-weight: 600; }
.experience-badge {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0,176,80,.16);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.avatar-stack { display: flex; }
.avatar-stack span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 2px solid var(--ink-deep);
  border-radius: 50%;
  margin-left: -8px;
  color: var(--white);
  background: var(--green-deep);
  font-size: 9px;
  font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; background: var(--green); }
.avatar-stack span:last-child { background: #4f9468; }

.hero-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.orbit { position: absolute; inset: 45px; border: 1px solid rgba(52,197,120,.22); border-radius: 50%; }
.orbit-two { inset: 118px; border-style: dashed; animation: rotate 25s linear infinite; }
.visual-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 132px;
  height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(10, 46, 28, .65);
  box-shadow: 0 0 60px rgba(0,176,80,.22);
  transform: translate(-50%,-50%);
  backdrop-filter: blur(10px);
}
.visual-center .pulse { width: 9px; height: 9px; margin-bottom: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(0,176,80,.12); }
.visual-center strong { font-size: 13px; }
.visual-center small { color: rgba(255,255,255,.45); font-size: 10px; }
.visual-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 7px;
  padding: 14px 16px;
  background: rgba(13, 36, 24, .88);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.visual-card small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .13em; }
.visual-card strong { display: block; font-size: 11px; }
.card-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 5px; font-size: 12px; font-weight: 800; }
.icon-orange { color: #bff3d7; background: rgba(0,176,80,.2); }
.icon-blue { color: #c8f0d6; background: rgba(36,194,106,.22); }
.card-process { top: 40px; left: 27px; }
.card-sap { top: 179px; right: -17px; }
.card-time { bottom: 31px; left: 20px; align-items: flex-end; }
.status-dot { width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: #66d18b; box-shadow: 0 0 0 4px rgba(102,209,139,.08); }
.connector { color: #4c8a63; letter-spacing: 2px; }
.metric { color: var(--green-bright); font-family: "Manrope", sans-serif; font-size: 26px; font-weight: 800; }
.mini-chart { display: flex; height: 25px; align-items: end; gap: 3px; }
.mini-chart i { width: 5px; height: 40%; background: #3d7a56; }
.mini-chart i:nth-child(2) { height: 55%; }.mini-chart i:nth-child(3) { height: 45%; }.mini-chart i:nth-child(4) { height: 78%; }.mini-chart i:nth-child(5) { height: 100%; background: var(--green); }
.visual-note { position: absolute; right: 10px; bottom: -8px; width: 150px; color: rgba(255,255,255,.35); font-size: 10px; line-height: 1.6; }
@keyframes rotate { to { transform: rotate(360deg); } }

.context-strip { color: var(--ink); background: var(--green-pale); }
.strip-content { min-height: 76px; display: flex; align-items: center; justify-content: space-between; font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .13em; }
.strip-content i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; margin-bottom: 64px; }
.section-heading h2, .problem-copy h2, .contact-copy h2 { margin-bottom: 0; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { max-width: 430px; margin: 0 0 7px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.solution-card {
  position: relative;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
  background: var(--paper);
  transition: color .3s ease, background .3s ease, transform .3s ease;
}
.solution-card:hover, .solution-card.featured { color: var(--white); background: var(--green-deep); transform: translateY(-6px); box-shadow: var(--shadow); }
.solution-number { align-self: flex-end; color: #9ba7ad; font-size: 12px; letter-spacing: .15em; }
.featured .solution-number, .solution-card:hover .solution-number { color: rgba(255,255,255,.5); }
.solution-icon { width: 52px; color: var(--green-deep); }
.solution-icon rect, .solution-icon circle, .solution-icon path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.featured .solution-icon, .solution-card:hover .solution-icon { color: #bfe9cf; }
.solution-card h3 { margin-bottom: 13px; font-size: 22px; letter-spacing: -.025em; }
.solution-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.featured p, .solution-card:hover p { color: rgba(255,255,255,.68); }
.card-arrow { position: absolute; right: 28px; bottom: 27px; opacity: 0; color: var(--green); font-size: 21px; transform: translate(-6px,6px); transition: .3s ease; }
.solution-card:hover .card-arrow, .featured .card-arrow { opacity: 1; transform: none; }
.portfolio-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.portfolio-list strong { margin-right: 8px; color: var(--ink); font-size: 13px; }
.portfolio-list span, .portfolio-list a {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  font-size: 12px;
}
.portfolio-list a {
  border-color: rgba(0,176,80,.35);
  color: #087441;
  font-weight: 700;
}

.problem-section { color: var(--white); background: var(--ink-deep); }
.problem-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 100px; }
.eyebrow.light { color: #8fe0ab; }
.problem-copy h2 { margin-bottom: 28px; }
.problem-copy > p:not(.eyebrow) { max-width: 570px; margin: 0 0 34px; color: rgba(255,255,255,.59); font-size: 17px; line-height: 1.8; }
.button-light { color: var(--ink); background: var(--white); }
.problem-list { border-top: 1px solid rgba(255,255,255,.12); }
.problem-list article { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.12); }
.problem-list span { color: var(--green); font-size: 11px; letter-spacing: .12em; }
.problem-list p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.5; }

.section-heading.compact { grid-template-columns: 1fr; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding: 0; margin: 20px 0 0; list-style: none; }
.process-steps li { position: relative; padding-right: 38px; }
.step-number { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-deep); font-size: 12px; font-weight: 700; background: var(--paper); }
.step-line { position: absolute; top: 22px; left: 44px; width: calc(100% - 44px); height: 1px; background: var(--line); }
.process-steps li:last-child .step-line { display: none; }
.process-steps h3 { margin: 28px 0 12px; font-size: 18px; }
.process-steps p { max-width: 220px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.cases { background: #eeece5; }
.case-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.case-card {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  color: var(--white);
  background:
    linear-gradient(to top, rgba(9,26,17,.94), rgba(9,26,17,.08) 70%),
    linear-gradient(135deg, #1f5c3c, #bcd9bf);
}
.case-card::before, .case-card::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.case-card::before { width: 300px; height: 300px; top: 45px; left: 18%; }
.case-card::after { width: 130px; height: 130px; top: 130px; left: 34%; background: rgba(255,255,255,.07); backdrop-filter: blur(5px); }
.case-two { background: linear-gradient(to top, rgba(28,20,10,.94), rgba(28,20,10,.04) 70%), linear-gradient(135deg, #9c8355, var(--beige)); }
.case-two::before { width: 260px; height: 260px; left: 12%; border-radius: 20px; transform: rotate(28deg); }
.case-two::after { left: 44%; border-radius: 20px; transform: rotate(-18deg); }
.case-tag { position: absolute; z-index: 2; top: 25px; left: 26px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.case-content { position: relative; z-index: 2; max-width: 470px; }
.case-content p { margin: 0 0 11px; color: #b9e3c4; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.case-two .case-content p { color: #f0dfb8; }
.case-content h3 { margin-bottom: 14px; font-size: 26px; line-height: 1.25; }
.case-content span { color: rgba(255,255,255,.57); font-size: 13px; }

.contact-section { padding: 80px 0; background: var(--cream); }
.contact-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
  padding: 72px;
  color: var(--white);
  background: var(--green-deep);
  box-shadow: var(--shadow);
}
.contact-copy h2 { max-width: 720px; margin-bottom: 22px; }
.contact-copy > p:not(.eyebrow) { max-width: 650px; margin: 0; color: rgba(255,255,255,.67); line-height: 1.75; }
.contact-action { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.button-whatsapp { width: 100%; color: var(--ink); background: var(--white); }
.button-whatsapp svg { width: 20px; fill: #20a866; }
.contact-action small { color: rgba(255,255,255,.5); }
.contact-email {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer { padding: 62px 0; color: rgba(255,255,255,.62); background: #0a1912; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 90px; align-items: end; }
.footer-brand { margin-bottom: 20px; }
.footer-brand img { width: 190px; height: 58px; }
.footer-grid > div:first-child p { max-width: 360px; margin: 0; font-size: 14px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: auto auto; gap: 12px 35px; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-meta { text-align: right; font-size: 12px; }
.footer-meta p { margin: 9px 0 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.legal-hero { padding: 168px 0 56px; color: var(--white); background: var(--ink-deep); }
.legal-hero h1 { max-width: 640px; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.legal-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }
.legal-content { padding: 76px 0 120px; }
.legal-content .container { max-width: 760px; }
.legal-content h2 { margin: 52px 0 16px; font-size: 23px; letter-spacing: -.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 18px; color: var(--ink); font-size: 16px; line-height: 1.8; }
.legal-content ul, .legal-content ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink); font-size: 16px; line-height: 1.8; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { font-weight: 700; }
.legal-content a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .legal-updated { color: var(--muted); font-size: 13px; }

@media (max-width: 600px) {
  .legal-hero { padding: 122px 0 44px; }
  .legal-content { padding: 56px 0 84px; }
  .legal-content h2 { font-size: 21px; margin-top: 40px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-button {
    z-index: 3;
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: transparent;
  }
  .menu-button span:not(.sr-only) { width: 17px; height: 1px; background: var(--white); transition: .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 70px 10vw;
    color: var(--white);
    background: rgba(10,28,20,.98);
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: .25s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .language-link { border: 0; padding: 0; }
  .hero { padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 560px); margin: -20px auto 0; }
  .section-heading, .problem-grid, .contact-card { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 330px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 50px 0; }
  .process-steps li:nth-child(2) .step-line { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 380px; }
  .contact-card { padding: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1/-1; text-align: left; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 74px; }
  .hero { min-height: auto; padding: 125px 0 76px; }
  h1 { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-proof { margin-top: 38px; }
  .hero-visual { min-height: 385px; margin-top: 0; }
  .orbit { inset: 38px; }
  .orbit-two { inset: 98px; }
  .visual-center { width: 112px; height: 112px; }
  .card-process { top: 24px; left: 0; }
  .card-sap { top: 150px; right: -8px; }
  .card-time { bottom: 19px; left: -4px; }
  .visual-note { display: none; }
  .strip-content { min-height: 63px; font-size: 11px; letter-spacing: .08em; }
  .section { padding: 84px 0; }
  .section-heading { gap: 24px; margin-bottom: 43px; }
  .section-heading h2, .problem-copy h2, .contact-copy h2 { font-size: 38px; }
  .problem-grid { gap: 54px; }
  .process-steps { grid-template-columns: 1fr; gap: 44px; }
  .step-line { top: 44px; left: 22px; width: 1px; height: 44px; }
  .process-steps li:nth-child(2) .step-line { display: block; }
  .process-steps li:last-child .step-line { display: none; }
  .process-steps h3 { margin: 18px 0 8px; }
  .case-card { min-height: 370px; padding: 26px; }
  .contact-section { padding: 0; }
  .contact-section .container { width: 100%; }
  .contact-card { gap: 36px; padding: 58px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
