:root {
  --navy: #0b1f3b;
  --navy-2: #102a4f;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --surface: #f8fafc;
  --white: #ffffff;
  --line: #dbe4ee;
  --text: #142338;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(11, 31, 59, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.content-section { padding: 112px 0; }
.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: 1000; left: 16px; top: -100px; background: var(--white); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 250, 252, 0.9); border-bottom: 1px solid rgba(219, 228, 238, 0.8); backdrop-filter: blur(14px); }
.nav-wrap { width: min(1240px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 155px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { text-decoration: none; font-size: 0.875rem; font-weight: 600; color: #3c4b5f; transition: color .2s ease; }
.main-nav > a:not(.button):hover { color: var(--blue-dark); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; font-size: 0.92rem; text-decoration: none; box-shadow: 0 10px 24px rgba(59, 130, 246, .22); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 14px 30px rgba(37, 99, 235, .28); }
.button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid rgba(59, 130, 246, .42); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .82rem; }
.button-light { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: none; }
.button-light:hover { background: #eaf2ff; border-color: #eaf2ff; }
.button-disabled { opacity: .48; pointer-events: none; box-shadow: none; }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 700; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--slate-light); padding: 10px 0 6px; }

.hero { min-height: calc(100vh - 78px); padding: 76px 0 84px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--blue-dark); font-size: .76rem; line-height: 1.3; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #8eb8ff; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; color: var(--navy); font-size: clamp(2.7rem, 5.2vw, 5.45rem); line-height: .98; letter-spacing: -.055em; max-width: 820px; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 770px; margin: 28px 0 0; color: #4c5c70; font-size: 1.05rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-proof > div { padding-right: 22px; }
.hero-proof > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-proof strong { display: block; color: var(--navy); font-size: 1.08rem; }
.hero-proof span { display: block; margin-top: 4px; color: var(--slate); font-size: .77rem; line-height: 1.5; }

.portrait-stage { position: relative; min-width: 0; padding: 26px 22px 34px 0; }
.portrait-stage::before { content: ""; position: absolute; inset: 0 0 8% 16%; border-radius: 32px; background: var(--navy); }
.portrait-stage::after { content: ""; position: absolute; width: 170px; height: 170px; left: -28px; bottom: 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #76aaff, var(--blue)); filter: blur(.2px); }
.portrait-card { position: relative; z-index: 2; margin-left: 5%; overflow: hidden; border: 10px solid var(--white); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.portrait-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 38%; }
.portrait-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 16px 10px; }
.portrait-caption p { margin: 0; color: var(--navy); font-weight: 800; }
.portrait-caption span { color: var(--slate); font-size: .74rem; text-align: right; }
.portrait-mark { position: absolute; z-index: 3; right: -2px; bottom: 4px; color: rgba(255,255,255,.88); font-size: .7rem; font-weight: 800; letter-spacing: .28em; writing-mode: vertical-rl; }

.process-band { background: var(--navy); color: var(--white); padding: 96px 0; }
.process-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; }
.process-heading h2, .section-intro h2, .about-copy h2, .contact-inner h2, .config-copy h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.process-heading p:last-child { color: #bdcbe0; margin: 22px 0 0; max-width: 520px; }
.process-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.process-track li { position: relative; min-height: 108px; padding: 20px 34px 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: flex; gap: 18px; align-items: flex-start; }
.process-track li:nth-child(even) { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.2); }
.process-track li:last-child { grid-column: 1 / -1; }
.process-track span { color: #78a9fa; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.process-track strong { font-size: .95rem; line-height: 1.45; }

.section-intro { max-width: 760px; margin-bottom: 48px; }
.section-intro h2, .about-copy h2, .config-copy h2 { color: var(--navy); }
.section-intro > p:last-child { max-width: 680px; margin: 20px 0 0; color: var(--slate); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.74); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b9cef0; box-shadow: 0 20px 46px rgba(11,31,59,.08); }
.service-card h3 { max-width: 420px; margin: 38px 0 14px; color: var(--navy); font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
.service-card p { max-width: 580px; margin: 0; color: var(--slate); }
.card-index { color: var(--blue-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.service-card-accent { background: var(--blue); border-color: var(--blue); }
.service-card-accent .card-index, .service-card-accent p { color: #e9f2ff; }
.service-card-accent h3 { color: var(--white); }

.configurator-wrap { padding: 28px 0 112px; }
.configurator { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; padding: 54px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: 0 30px 80px rgba(11,31,59,.08); }
.config-copy p:last-child { color: var(--slate); margin-top: 20px; }
.config-panel fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.choice { position: relative; display: flex; min-height: 66px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; width: 100%; padding: 14px 42px 14px 18px; border: 1px solid var(--line); border-radius: 14px; color: #344459; font-size: .86rem; font-weight: 600; transition: all .2s ease; }
.choice span::after { content: "+"; position: absolute; right: 18px; color: var(--blue-dark); font-size: 1.2rem; font-weight: 500; }
.choice input:checked + span { color: var(--navy); background: #edf5ff; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + span::after { content: "✓"; font-size: .95rem; font-weight: 800; }
.choice input:focus-visible + span { outline: 3px solid rgba(59, 130, 246, .35); outline-offset: 2px; }
.config-result { margin-top: 18px; padding: 24px; border-radius: 16px; background: var(--navy); color: var(--white); }
.result-label { color: #8eb8ff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.config-result p { min-height: 52px; margin: 10px 0 18px; color: #d3deed; font-size: .9rem; }

.work-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 50px; align-items: stretch; }
.work-steps { list-style: none; margin: 0; padding: 0; }
.work-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); }
.work-steps li:last-child { border-bottom: 1px solid var(--line); }
.work-steps > li > span { color: var(--blue-dark); font-size: .73rem; font-weight: 800; }
.work-steps h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.work-steps p { margin: 0; color: var(--slate); }
.collaboration-card { padding: 42px; border-radius: 24px; background: var(--navy); color: var(--white); }
.collaboration-card > div { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); }
.collaboration-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.collaboration-card p { margin: 0; color: #bdcbe0; font-size: .9rem; }

.experience-section { padding: 112px 0; background: #edf3f9; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { padding: 30px; border: 1px solid #d4e0ed; border-radius: var(--radius); background: var(--white); }
.case-sector { color: var(--blue-dark); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.case-card h3 { min-height: 62px; margin: 22px 0 14px; color: var(--navy); font-size: 1.25rem; line-height: 1.25; }
.case-card > p { color: var(--slate); font-size: .9rem; }
.case-card ul { margin: 22px 0 0; padding: 20px 0 0 18px; border-top: 1px solid var(--line); color: #405168; font-size: .82rem; }
.case-card li + li { margin-top: 8px; }
.other-projects { margin: 24px 0 0; color: var(--slate); font-size: .86rem; }
.other-projects strong { color: var(--navy); }

.about-section { padding: 112px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 76px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 26px -18px -18px 26px; border-radius: 26px; background: var(--blue); }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 36%; border-radius: 24px; box-shadow: var(--shadow); }
.about-copy { max-width: 680px; }
.about-lead { margin: 24px 0 0; color: #344459; font-size: 1.08rem; font-weight: 500; }
.about-copy > p:not(.eyebrow):not(.about-lead):not(.availability) { color: var(--slate); }
.about-copy blockquote { margin: 28px 0; padding: 0 0 0 22px; border-left: 3px solid var(--blue); color: var(--navy); font-size: 1.16rem; font-weight: 700; }
.availability { display: flex; gap: 12px; align-items: flex-start; color: #42546a; font-size: .85rem; font-weight: 600; }
.availability span { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(59,130,246,.14); }

.contact-section { padding: 92px 0; background: var(--blue); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact-inner h2 { max-width: 700px; }
.contact-inner p:last-child { max-width: 620px; color: #eaf2ff; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mail-link { color: var(--white); font-weight: 700; text-underline-offset: 5px; }
.site-footer { padding: 34px 0; background: var(--navy); color: #b9c7da; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-inner p { margin: 0; display: flex; flex-direction: column; font-size: .78rem; }
.footer-inner p:nth-child(2) { text-align: center; }
.footer-inner p:last-child { text-align: right; }
.footer-inner strong, .footer-inner a { color: var(--white); }
.mobile-whatsapp { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 820px; }
  .portrait-stage { width: min(560px, 86%); margin: 0 auto; }
  .process-inner, .configurator, .about-section { grid-template-columns: 1fr; }
  .process-inner { align-items: start; }
  .work-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card h3 { min-height: 0; }
  .about-photo { width: min(410px, 82%); }
}

@media (max-width: 800px) {
  .nav-wrap { min-height: 68px; }
  .brand { width: 132px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; display: none; padding: 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,31,59,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 12px 0; }
  .main-nav .button { margin-top: 14px; }
  .service-grid, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p, .footer-inner p:nth-child(2), .footer-inner p:last-child { text-align: left; }
}

@media (max-width: 620px) {
  .section-shell, .nav-wrap { width: min(100% - 32px, 1180px); }
  .content-section, .experience-section, .about-section { padding-top: 78px; padding-bottom: 78px; }
  h1 { font-size: clamp(2.6rem, 13.5vw, 4rem); }
  .hero { padding: 48px 0 64px; gap: 48px; }
  .hero-lead { font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div { padding: 12px 0; }
  .hero-proof > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .portrait-stage { width: 94%; padding-right: 10px; }
  .portrait-stage::after { width: 110px; height: 110px; }
  .portrait-caption { align-items: flex-start; flex-direction: column; gap: 3px; }
  .portrait-caption span { text-align: left; }
  .process-band { padding: 72px 0; }
  .process-track { grid-template-columns: 1fr; }
  .process-track li, .process-track li:nth-child(even) { grid-column: auto; padding: 20px 0; border-left: 0; }
  .service-card { min-height: auto; padding: 26px; }
  .service-card h3 { margin-top: 28px; }
  .configurator-wrap { padding-bottom: 78px; }
  .configurator { gap: 34px; padding: 28px 20px; border-radius: 22px; }
  .config-panel fieldset { grid-template-columns: 1fr; }
  .collaboration-card { padding: 30px 24px; }
  .about-photo { width: 88%; margin-left: 4%; }
  .contact-section { padding: 72px 0; }
  .contact-inner { gap: 34px; }
  .contact-actions .button { width: 100%; }
  .site-footer { padding-bottom: 92px; }
  .mobile-whatsapp { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: center; align-items: center; min-height: 50px; border-radius: 999px; background: var(--blue); color: var(--white); box-shadow: 0 14px 38px rgba(11,31,59,.26); font-weight: 800; font-size: .88rem; text-decoration: none; }
}

@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; }
}
