:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #e2e7ef;
  --navy: #0d1b2e;
  --navy-2: #13263f;
  --accent: #e07a1f;
  --accent-ink: #b85f10;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .9rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

.btn {
  display: inline-block; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 600;
  text-decoration: none; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn.ghost:hover { border-color: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 27, 46, .92); backdrop-filter: saturate(160%) blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; }
.links { display: flex; gap: 1.8rem; margin-left: auto; }
.links a { text-decoration: none; color: rgba(255, 255, 255, .78); font-weight: 500; font-size: .95rem; }
.links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; overflow: hidden; }
.lang button {
  background: none; border: 0; color: rgba(255, 255, 255, .7); font: 600 .78rem Inter, sans-serif;
  padding: .4rem .6rem; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s; }
.nav.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #1e3a5f 0%, transparent 60%), var(--navy); color: #fff; }
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-inner { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero h1 { max-width: 17ch; }
.hero .eyebrow { color: #f3a35b; }
.hero .lead { color: rgba(255, 255, 255, .75); }
.hero-id {
  max-width: 62ch; margin: 1.4rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, .06); border-radius: 0 10px 10px 0; color: #fff; font-size: .98rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 3.5rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.6rem; }
.hero-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; color: #f3a35b; }
.hero-stats span { color: rgba(255, 255, 255, .65); font-size: .92rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 3rem; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #f0c79f; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.ic { width: 48px; height: 48px; border-radius: 12px; background: #fdf1e6; display: grid; place-items: center; margin-bottom: 1.2rem; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.about-inner .lead { color: var(--ink); font-weight: 500; }
.about-inner p:not(.eyebrow):not(.lead) { color: var(--muted); }

/* Estimanta */
.est { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.section.dark .eyebrow { color: #f3a35b; }
.section.dark .lead { color: rgba(255, 255, 255, .75); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: .75rem; }
.checks li { position: relative; padding-left: 2rem; color: rgba(255, 255, 255, .88); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.hub { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; }
.spokes { position: absolute; inset: 0; width: 100%; height: 100%; }
.spokes circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-dasharray: 4 6; }
.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); display: grid; place-content: center; text-align: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(.95rem, 2.4vw, 1.2rem);
  box-shadow: 0 0 0 12px rgba(224, 122, 31, .15), 0 0 60px rgba(224, 122, 31, .4);
}
.hub-core small { font-size: .7em; opacity: .85; letter-spacing: .1em; }
.node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  padding: .45rem .9rem; font-size: .85rem; font-weight: 500;
}
.n1 { left: 50%; top: 12.5%; } .n2 { left: 87.9%; top: 31.25%; } .n3 { left: 87.9%; top: 68.75%; }
.n4 { left: 50%; top: 87.5%; } .n5 { left: 12.1%; top: 68.75%; } .n6 { left: 12.1%; top: 31.25%; }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { border-top: 2px solid var(--line); padding-top: 1.4rem; }
.steps li:first-child { border-color: var(--accent); }
.num { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--accent); font-size: .95rem; display: block; margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.details { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1.8rem; box-shadow: var(--shadow); }
.details div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.details div:last-child { border-bottom: 0; }
.details dt { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.details dd { margin: 0; font-weight: 500; }
.details a { text-decoration: none; color: var(--accent-ink); }
.details a:hover { text-decoration: underline; }

.foot { background: var(--navy); color: rgba(255, 255, 255, .6); font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.6rem 0; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .est, .contact, .about-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none; padding: .5rem 16px 1rem;
  }
  .links a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav.open .links { display: flex; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .node { font-size: .72rem; padding: .35rem .65rem; }
  .details { padding: .4rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
