:root {
  --navy-950: #031524;
  --navy-900: #061d32;
  --navy-800: #0b2c48;
  --navy-700: #14415f;
  --orange: #f5a800;
  --orange-soft: #ffc64b;
  --paper: #f5f7f8;
  --white: #ffffff;
  --ink: #0a2236;
  --muted: #5b6974;
  --line: #dce3e7;
  --shadow: 0 24px 70px rgba(3, 21, 36, 0.14);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.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;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--navy-950);
  background: var(--orange);
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 21, 36, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(3, 21, 36, 0.16);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { letter-spacing: 0.13em; font-size: 1rem; }
.brand-copy small { margin-top: 5px; color: #adbbc5; font-size: 0.7rem; letter-spacing: 0.06em; }

.nav { display: flex; align-items: center; gap: 30px; color: #e5edf2; }
.nav > a:not(.nav-cta) { font-size: 0.94rem; font-weight: 600; transition: color 0.2s ease; }
.nav > a:not(.nav-cta):hover { color: var(--orange-soft); }
.nav-cta {
  padding: 11px 17px;
  color: var(--navy-950);
  background: var(--orange);
  border-radius: 11px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--orange-soft); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--white); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 150px 0 92px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(21, 81, 116, 0.7), transparent 29%),
    radial-gradient(circle at 4% 90%, rgba(245, 168, 0, 0.12), transparent 25%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 58%, #0b304c);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 58%);
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 20px; color: var(--navy-700); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 30px; height: 3px; margin: 0 10px 3px 0; background: var(--orange); border-radius: 4px; }
.hero .eyebrow { color: #c1d0da; }
.eyebrow-light { color: #c5d0d8; }

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 5.8vw, 5.9rem); font-weight: 850; }
h1 em { display: block; color: var(--orange); font-style: normal; }
h2 { margin-bottom: 22px; font-size: clamp(2.3rem, 4.2vw, 4.35rem); font-weight: 820; }
h3 { margin-bottom: 12px; font-size: 1.35rem; }

.hero-lead { max-width: 690px; margin: 0 0 32px; color: #cad6de; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--orange); }
.button-primary:hover { background: var(--orange-soft); }
.button-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.1); }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; color: #aebdc7; font-size: 0.9rem; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border: 2px solid var(--orange); border-radius: 50%; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.logo-panel {
  width: min(420px, 88%);
  aspect-ratio: 1;
  padding: 19px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  transform: rotate(2.5deg);
  backdrop-filter: blur(8px);
}
.logo-panel::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(245, 168, 0, 0.25); border-radius: 27px; pointer-events: none; }
.logo-panel img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.circuit { position: absolute; z-index: 1; border-color: rgba(245, 168, 0, 0.65); border-style: solid; }
.circuit::after { content: ""; position: absolute; width: 13px; height: 13px; border: 3px solid var(--orange); border-radius: 50%; background: var(--navy-900); }
.circuit-one { width: 190px; height: 115px; right: -10px; top: 44px; border-width: 3px 3px 0 0; border-radius: 0 30px 0 0; }
.circuit-one::after { right: -8px; bottom: -8px; }
.circuit-two { width: 160px; height: 150px; left: 0; bottom: 35px; border-width: 0 0 3px 3px; border-radius: 0 0 0 30px; }
.circuit-two::after { right: -8px; bottom: -8px; }
.circuit-three { width: 105px; height: 3px; right: 22px; bottom: 105px; border-width: 3px 0 0; }
.circuit-three::after { left: -8px; top: -8px; }
.visual-note { position: absolute; z-index: 3; left: 8px; bottom: 22px; display: flex; align-items: center; gap: 13px; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: rgba(3, 21, 36, 0.88); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); }
.visual-note p { display: grid; margin: 0; line-height: 1.25; }
.visual-note small { color: #98aab6; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; }
.visual-note strong { margin-top: 4px; font-size: 0.85rem; }
.pulse { width: 11px; height: 11px; position: relative; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(245, 168, 0, 0.12); }

.section-heading { display: grid; grid-template-columns: 1.15fr 0.75fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 280px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #bdcbd3; box-shadow: var(--shadow); }
.service-card p { margin: 0; color: var(--muted); }
.service-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 34px; color: var(--orange); border: 1px solid #dde5e9; border-radius: 13px; background: #f7f9fa; font-size: 1.5rem; font-weight: 800; }
.service-card-accent { color: var(--white); border-color: var(--navy-800); background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); }
.service-card-accent p { color: #c2d0d8; }
.service-card-accent .service-icon { border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.07); }

.focus-section { color: var(--white); background: var(--navy-900); }
.focus-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 100px; align-items: center; }
.focus-copy > p:not(.eyebrow):not(.focus-boundary) { color: #c1ced6; font-size: 1.08rem; }
.focus-boundary { margin-top: 32px; padding: 22px 24px; color: #d2dce2; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, 0.055); }
.focus-list { display: grid; }
.focus-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
.focus-list > div:last-child { border-bottom: 0; }
.focus-list span { color: var(--orange); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; }
.focus-list p { display: grid; margin: 0; color: #bfccd5; }
.focus-list strong { margin-bottom: 5px; color: var(--white); font-size: 1.12rem; }

.process-section { background: var(--white); }
.process-heading { margin-bottom: 72px; }
.process-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-line::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; background: linear-gradient(to right, var(--orange), #dbe3e7); }
.process-item { position: relative; padding-top: 40px; }
.process-dot { width: 19px; height: 19px; position: absolute; left: 0; top: 0; border: 4px solid var(--white); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.process-item p { margin: 0; color: var(--muted); }

.about-section { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 110px; }
.about-mark { min-height: 430px; display: grid; place-items: center; position: relative; border-radius: 32px; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow); }
.about-mark span { color: var(--white); font-size: 13rem; font-weight: 900; line-height: 1; }
.about-mark i { position: absolute; width: 118px; height: 5px; right: -40px; background: var(--orange); border-radius: 5px; }
.about-mark i:nth-of-type(1) { top: 35%; }
.about-mark i:nth-of-type(2) { bottom: 35%; }
.about-mark i::after { content: ""; position: absolute; right: -2px; top: -9px; width: 17px; height: 17px; border: 3px solid var(--orange); border-radius: 50%; background: var(--paper); }
.about-copy p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 12px; padding-bottom: 4px; color: var(--navy-800); border-bottom: 3px solid var(--orange); font-weight: 800; }

.contact-section { padding: 0 0 100px; background: var(--paper); }
.contact-card { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 82px; padding: 70px; color: var(--white); border-radius: 30px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow); }
.contact-card h2 { max-width: 710px; }
.contact-card > div:first-child > p:last-child { max-width: 680px; margin-bottom: 0; color: #bdccd6; }
.contact-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 15px; }
.contact-line { display: grid; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.contact-line small { color: #91a5b3; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-line strong { margin-top: 4px; font-size: 0.98rem; overflow-wrap: anywhere; }

.site-footer { padding: 60px 0 26px; color: #b9c7d0; background: var(--navy-950); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 45px; padding-bottom: 42px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--white); font-weight: 700; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; }

.floating-whatsapp { width: 58px; height: 58px; display: grid; place-items: center; position: fixed; z-index: 80; right: 22px; bottom: 22px; color: white; border-radius: 50%; background: #20b85a; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); transition: transform 0.2s ease, background 0.2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); background: #17a84e; }
.floating-whatsapp svg { width: 30px; height: 30px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2), .process-item:nth-child(2) { transition-delay: 0.07s; }
.service-card:nth-child(3), .process-item:nth-child(3) { transition-delay: 0.14s; }
.service-card:nth-child(4), .process-item:nth-child(4) { transition-delay: 0.21s; }
.service-card:nth-child(5) { transition-delay: 0.28s; }
.service-card:nth-child(6) { transition-delay: 0.35s; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 80px 16px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: rgba(3, 21, 36, 0.98); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34); }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav-cta) { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .hero { padding-top: 135px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { min-height: 500px; }
  .section-heading, .focus-grid, .about-grid, .contact-card { grid-template-columns: 1fr; gap: 40px; }
  .section-heading { align-items: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-list { margin-top: 10px; }
  .process-line { grid-template-columns: repeat(2, 1fr); gap: 46px 35px; }
  .process-line::before { display: none; }
  .about-grid { max-width: 760px; }
  .about-mark { min-height: 370px; }
  .contact-card { padding: 52px 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 42px; height: 42px; }
  .nav { inset-top: 72px; }
  .hero { min-height: auto; padding: 118px 0 72px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.1rem); }
  h2 { font-size: clamp(2.15rem, 10.5vw, 3.1rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions, .button { width: 100%; }
  .hero-points { gap: 13px 16px; }
  .hero-visual { min-height: 390px; }
  .logo-panel { width: min(330px, 86%); border-radius: 28px; }
  .visual-note { left: 0; bottom: 0; max-width: 92%; }
  .circuit-one { right: -50px; }
  .circuit-two { left: -35px; }
  .section-heading { gap: 22px; margin-bottom: 38px; }
  .service-grid, .process-line { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px; }
  .service-icon { margin-bottom: 26px; }
  .focus-grid { gap: 28px; }
  .focus-list > div { grid-template-columns: 36px 1fr; }
  .process-line { gap: 32px; }
  .about-mark { min-height: 300px; }
  .about-mark span { font-size: 9rem; }
  .about-mark i { right: -65px; }
  .contact-section { padding-bottom: 60px; }
  .contact-card { width: 100%; padding: 44px 24px; border-radius: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-whatsapp { width: 54px; height: 54px; right: 15px; bottom: 15px; }
}

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