:root {
  --ink: #0b1324;
  --ink-2: #13203a;
  --ink-3: #1c2c4d;
  --text: #1a2233;
  --muted: #5b6678;
  --line: #e4e8f0;
  --bg: #ffffff;
  --tint: #f5f7fb;
  --sun: #ffb627;
  --sun-2: #ffd166;
  --sun-ink: #2a1c00;
  --green: #1fa971;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 19, 36, .18);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sun); color: var(--sun-ink); box-shadow: 0 8px 24px -8px rgba(255, 182, 39, .7); }
.btn--primary:hover { background: var(--sun-2); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--sm { padding: .55rem 1.05rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--whatsapp { background: #25d366; color: #062b16; margin-top: 1.2rem; }
.btn--whatsapp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #b07500; margin-bottom: .9rem;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--sun); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,169,113,.25); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 36, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #ffd166, #ff9f1c); display: grid; place-items: center; }
.brand__mark svg { width: 26px; height: 26px; }
.brand__mark circle { fill: var(--ink); }
.brand__mark path { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: #9aa8c3; letter-spacing: .04em; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .95rem; color: #c9d3e6; transition: color .2s; }
.nav__links a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 72px 0 56px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255,182,39,.22), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: #b9c4d8; max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: #c9d3e6; }
.hero__badges li { display: flex; align-items: center; gap: .45rem; }
.hero__badges svg { width: 18px; height: 18px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__art { position: relative; margin: 0; }
.hero__art img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero__art::before { /* sun glow behind the photo */
  content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,182,39,.55), transparent); z-index: -1;
}
.hero__chip {
  position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content;
  display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-radius: 12px;
  background: rgba(11,19,36,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .88rem; color: #fff;
}

.stats {
  margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); background: rgba(255,255,255,.03);
}
.stats > div { padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.08); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: .85rem; color: #9aa8c3; order: 2; }
.stats dd { margin: 0 0 4px; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: #fff; }
.stats > div { display: flex; flex-direction: column-reverse; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: #b9c4d8; }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__head--row h2 { margin: 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: #fff4dc;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: #c27f00; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--feature {
  grid-row: span var(--rows, 4); background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: #fff; border: 0;
  display: flex; flex-direction: column;
}
.card--feature p { color: #b9c4d8; }
.card__photo { width: calc(100% + 56px); height: auto; max-width: none; margin: -28px -28px 24px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card--feature h3 { font-size: 1.6rem; }
.card--feature .card__icon { background: rgba(255,182,39,.15); }
.card--feature .card__icon svg { stroke: var(--sun); }
.ticks { list-style: none; padding: 0; margin: auto 0 0; padding-top: 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: #dfe6f3; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(31,169,113,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%233ddc97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calc__control { margin: 32px 0 20px; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); }
.calc__control label { display: block; font-size: .9rem; color: #9aa8c3; }
.calc__control output { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: #fff; margin: 2px 0 14px; }
.calc__scale { display: flex; justify-content: space-between; font-size: .8rem; color: #6f7d99; margin-top: 8px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--sun) var(--fill, 5%), #2a3a5c var(--fill, 5%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--sun); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--sun); cursor: pointer; }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(255,182,39,.35); }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); }
.seg button { border: 0; background: none; color: #9aa8c3; padding: .6rem 1.1rem; border-radius: 999px; font: 600 .92rem var(--font-body); cursor: pointer; transition: background .2s, color .2s; }
.seg button.is-active { background: #fff; color: var(--ink); }

.calc__result { background: linear-gradient(160deg, #18284a, #101c36); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 32px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.result span { display: block; font-size: .85rem; color: #9aa8c3; }
.result strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.result--big { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.result--big strong { font-size: clamp(2.2rem, 4.5vw, 3.2rem); background: linear-gradient(90deg, #ffd166, #3ddc97); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.result-grid .result { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.04); }
.fine { font-size: .8rem; color: #7b88a3 !important; margin: 20px 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--tint); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -16px; width: 12px; height: 12px;
  border-top: 2px solid var(--sun); border-right: 2px solid var(--sun); transform: rotate(45deg); z-index: 1;
}
.steps__n { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--sun-ink); background: var(--sun); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--text); padding: .55rem 1rem; border-radius: 999px; font: 500 .9rem var(--font-body); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, opacity .3s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project__img { display: block; width: 100%; padding: 0; border: 0; background: var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__img img { transform: scale(1.05); }
.project figcaption { padding: 20px 22px 22px; }
.project figcaption h3 { margin: 10px 0 4px; }
.project figcaption p { margin: 0; color: var(--muted); font-size: .92rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff4dc; color: #8a5a00; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why__photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); }
.why .lead { color: var(--muted); margin-bottom: 1.6rem; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__list li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.why__list strong { display: block; font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 6px; }
.why__list strong::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--sun); margin-bottom: 14px; }
.why__list span { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: #c27f00; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; color: #dfe6f3; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--sun); }
.contact__list svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--ink-2); fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { background: #fff; color: var(--text); border-radius: 24px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--font-body); color: var(--text); padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(255,182,39,.2); }
.form .is-invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.15); }
.form__note { font-size: .85rem; color: var(--muted) !important; margin: 0; text-align: center; }
.form__note.is-error { color: #c7303a !important; }

/* ---------- Footer ---------- */
.footer { background: #070d1a; color: #9aa8c3; padding: 64px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__tag { margin-top: 14px; max-width: 32ch; }
.footer__cols { display: flex; gap: 64px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer__cols a { display: block; text-decoration: none; margin-bottom: 8px; font-size: .95rem; }
.footer a:hover { color: var(--sun); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.footer__base a { text-decoration: none; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -6px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.member figcaption { padding: 16px 18px 20px; }
.member h3 { color: #fff; margin: 8px 0 2px; font-size: 1.1rem; }
.section--dark .member .team__role { margin: 0; font-size: .88rem; color: #c9d3e6; }
.team__tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--sun); color: var(--sun-ink); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7,13,26,.88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox__cap { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 500; }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.35);
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 1;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-row: auto; grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .projects, .team { grid-template-columns: 1fr 1fr; }
  .why, .faq { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 16px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; z-index: -1;
  }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 16px; }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 48px; }
  .hero__grid, .calc, .contact { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .cards, .projects, .steps, .why__list, .form__row, .result-grid { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .result-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .result strong { font-size: 1.2rem; }
  .calc__result, .form { padding: 22px; }
  .footer__cols { gap: 40px; }
  .stats dd { font-size: 1.5rem; }
  .stats > div { padding: 18px; }
}

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