:root {
  --ink-950: #0b1220;
  --ink-900: #111827;
  --ink-800: #1f2937;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --line: #d9e2ec;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --navy: #12345a;
  --blue: #2463eb;
  --teal: #0f9488;
  --amber: #c8922b;
  --emerald: #16835b;
  --fire: #b5413d;
  --violet: #6266c8;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 55px rgba(15, 23, 42, .10);
  --shadow-strong: 0 34px 90px rgba(15, 23, 42, .24);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--slate-700); background: var(--mist); line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

.hero-shell {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 9% 14%, rgba(36, 99, 235, .38), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(15, 148, 136, .22), transparent 32rem),
    linear-gradient(135deg, #0b1220 0%, #102540 48%, #132f4d 100%);
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: .42;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(calc(100% - 32px), var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(11, 18, 32, .76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo { width: 48px; height: 48px; padding: 6px; border-radius: 16px; background: #fff; object-fit: contain; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.brand small { color: rgba(255,255,255,.68); font-size: .72rem; }
.main-menu { display: flex; align-items: center; gap: 6px; }
.main-menu a { padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,.76); font-weight: 800; font-size: .94rem; transition: .2s ease; }
.main-menu a:hover { color: #fff; background: rgba(255,255,255,.09); }
.main-menu .nav-cta { color: #082016; background: linear-gradient(135deg, #16c784, #e3f8af); }
.menu-toggle { display: none; border: 0; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.1); cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
  padding-top: 132px;
  padding-bottom: 76px;
}
.eyebrow { margin: 0 0 14px; color: #e8bd5e; text-transform: uppercase; letter-spacing: .16em; font-size: .77rem; font-weight: 950; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 24px; color: #fff; font-size: clamp(3rem, 6.4vw, 6.1rem); line-height: .94; letter-spacing: -.07em; }
h2 { margin-bottom: 18px; color: var(--ink-950); font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.04; letter-spacing: -.055em; }
h3 { margin-bottom: 10px; color: var(--ink-950); font-size: 1.2rem; line-height: 1.22; letter-spacing: -.025em; }
.hero-copy > p:not(.eyebrow) { max-width: 680px; margin-bottom: 28px; color: rgba(255,255,255,.76); font-size: clamp(1.04rem, 1.45vw, 1.22rem); }
.hero-actions, .form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #101720; background: linear-gradient(135deg, #f0c36a, #58d5c8); box-shadow: 0 22px 50px rgba(88, 213, 200, .21); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.btn-whatsapp { color: #071e14; background: linear-gradient(135deg, #17c16f, #d8f9a8); }
.trust-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.trust-strip span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.74); font-weight: 760; }
.trust-strip strong { color: #fff; margin-right: 6px; }

.hero-board { min-height: 620px; position: relative; border-radius: 38px; overflow: hidden; box-shadow: var(--shadow-strong); background: #0b1220; }
.hero-board::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.86), transparent 55%); }
.hero-card { position: absolute; z-index: 2; display: grid; gap: 2px; max-width: 250px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.92); color: var(--ink-950); box-shadow: 0 18px 46px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.hero-card span { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 950; }
.hero-card strong { line-height: 1.2; }
.card-it { top: 28px; right: 26px; border-left: 6px solid var(--blue); }
.card-fire { bottom: 28px; left: 26px; border-left: 6px solid var(--fire); }
.card-civil { right: 26px; bottom: 126px; border-left: 6px solid var(--amber); }

.section { padding: clamp(76px, 9vw, 118px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr); gap: clamp(38px, 7vw, 88px); align-items: start; }
.section-title { max-width: 760px; }
.centered { margin-inline: auto; text-align: center; margin-bottom: 44px; }
.centered p { max-width: 730px; margin-inline: auto; color: var(--slate-600); }
.lead { color: var(--ink-950); font-size: clamp(1.12rem, 1.8vw, 1.42rem); line-height: 1.5; }
.about-copy > p:not(.lead) { color: var(--slate-600); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.about-cards article, .info-cards a, .info-cards div, .contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-cards article { padding: 24px; }
.about-cards span { display: inline-flex; margin-bottom: 12px; color: var(--navy); font-weight: 950; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.about-cards p { margin-bottom: 0; color: var(--slate-600); }

.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: 0 18px 44px rgba(15,23,42,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 75px rgba(15,23,42,.14); }
.service-card img { height: 214px; }
.service-content { display: flex; flex-direction: column; flex: 1; padding: 26px; border-top: 6px solid var(--accent, var(--navy)); }
.service-kicker { width: max-content; margin-bottom: 14px; padding: 7px 10px; border-radius: 999px; color: var(--accent, var(--navy)); background: color-mix(in srgb, var(--accent, var(--navy)) 10%, white); font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.service-content p { color: var(--slate-600); }
ul { display: grid; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
li { position: relative; padding-left: 22px; color: var(--slate-600); font-size: .95rem; }
li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 999px; background: var(--accent, var(--navy)); }
.text-link { width: max-content; margin-top: auto; color: var(--accent, var(--blue)); font-weight: 950; }
.accent-civil { --accent: var(--amber); }
.accent-it { --accent: var(--blue); }
.accent-wireless { --accent: var(--teal); }
.accent-security { --accent: var(--emerald); }
.accent-fire { --accent: var(--fire); }
.accent-project { --accent: var(--violet); }

.process { background: linear-gradient(180deg, #f4f7fb 0%, #edf3f8 100%); }
.process-grid { display: grid; grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); gap: clamp(38px, 7vw, 84px); align-items: center; }
.process-visual { position: relative; min-height: 560px; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.process-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.72), transparent 60%); }
.visual-note { position: absolute; left: 28px; bottom: 28px; z-index: 2; display: grid; padding: 20px 22px; border-radius: 22px; background: rgba(255,255,255,.94); color: var(--ink-950); box-shadow: 0 18px 48px rgba(0,0,0,.2); }
.visual-note strong { font-size: 2.1rem; line-height: 1; }
.visual-note span { color: var(--slate-600); font-weight: 850; }
.timeline { display: grid; gap: 16px; margin-top: 28px; }
.timeline article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 38px rgba(15,23,42,.07); }
.timeline span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); font-weight: 950; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin-bottom: 0; color: var(--slate-600); }

.cta-band { padding: 0 0 clamp(74px, 9vw, 112px); background: #edf3f8; }
.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); gap: 34px; align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, #0b1220, #12345a 58%, #0f9488); box-shadow: var(--shadow-strong); }
.cta-card h2 { color: #fff; }
.solution-list { display: flex; flex-wrap: wrap; gap: 10px; }
.solution-list span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.86); font-weight: 800; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(340px, 1.12fr); gap: clamp(34px, 6vw, 76px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--slate-600); max-width: 560px; }
.info-cards { display: grid; gap: 12px; margin-top: 28px; }
.info-cards a, .info-cards div { display: grid; gap: 4px; padding: 18px; }
.info-cards span { color: var(--slate-500); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 950; }
.info-cards strong { color: var(--ink-950); }
.contact-form { display: grid; gap: 17px; padding: clamp(24px, 4vw, 34px); }
.form-row { display: grid; gap: 16px; }
.split { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 7px; color: var(--ink-950); font-weight: 850; font-size: .9rem; }
input, select, textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-950); background: #f8fbff; outline: none; font: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
textarea { min-height: 136px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a99aa; }
input:focus, select:focus, textarea:focus { border-color: rgba(36,99,235,.62); box-shadow: 0 0 0 4px rgba(36,99,235,.10); background: #fff; }
.form-note { margin-bottom: 0; color: var(--slate-500); font-size: .86rem; }

.site-footer { padding: 30px 0; background: var(--ink-950); color: rgba(255,255,255,.72); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer a:last-child { color: #e8bd5e; font-weight: 850; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 54px; padding: 0 18px; border-radius: 999px; color: #071e14; background: linear-gradient(135deg, #17c16f, #d8f9a8); box-shadow: 0 18px 42px rgba(15,23,42,.22); font-weight: 950; }
.floating-whatsapp::before { content: ""; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(7,30,20,.08); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .service-kicker { background: #eef4ff; }
}

@media (max-width: 1080px) {
  .hero, .about-grid, .process-grid, .cta-card, .contact-grid { grid-template-columns: 1fr; }
  .hero-board { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .navbar { border-radius: 28px; align-items: center; }
  .menu-toggle { display: inline-block; }
  .main-menu { position: fixed; top: 88px; left: 16px; right: 16px; display: grid; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(11,18,32,.97); box-shadow: var(--shadow-strong); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s ease; }
  .main-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-menu a { padding: 13px 14px; }
  .hero { padding-top: 128px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-cards, .split { grid-template-columns: 1fr; }
  .process-visual { min-height: 420px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .navbar { width: calc(100% - 20px); top: 12px; padding: 9px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand small { display: none; }
  h1 { font-size: clamp(2.55rem, 14vw, 3.9rem); }
  h2 { font-size: clamp(2rem, 10.8vw, 3rem); }
  .hero-board { min-height: auto; display: grid; gap: 12px; padding: 12px; background: rgba(255,255,255,.08); box-shadow: none; }
  .hero-board > img { height: 280px; border-radius: 26px; }
  .hero-board::after { display: none; }
  .hero-card { position: relative; inset: auto; max-width: none; }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
  .section { padding: 66px 0; }
  .service-content, .contact-form { padding: 22px; }
  .cta-card { padding: 28px; }
  .floating-whatsapp { right: 16px; bottom: 16px; min-width: 112px; }
}
