:root {
  --navy: #173b76;
  --navy-deep: #0f2c5c;
  --blue: #006eb6;
  --cyan: #00aeef;
  --sky: #eaf7fd;
  --ink: #172033;
  --muted: #627084;
  --line: #dbe5ef;
  --light: #f6f9fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 50, 92, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.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; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; background: var(--navy); color: white; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219,229,239,.9); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 196px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 700; }
.main-nav > a:not(.btn) { text-decoration: none; color: #344158; position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--cyan); transition: .25s ease; }
.main-nav > a:not(.btn):hover::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--light); border-radius: 12px; padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--navy); border-radius: 2px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--cyan); }
.eyebrow.light { color: #ccefff; }
.eyebrow.light::before { background: #fff; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 5vw, 5.1rem); letter-spacing: -.055em; margin-bottom: 26px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); letter-spacing: -.045em; margin-bottom: 24px; }
h3 { font-size: 1.18rem; }
p { color: var(--muted); margin: 0 0 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; box-shadow: 0 10px 24px rgba(0,110,182,.24); }
.btn-secondary { border-color: var(--line); color: var(--navy); background: white; }
.btn-light { background: white; color: var(--navy); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn-full { width: 100%; }

.hero { overflow: hidden; min-height: 710px; display: flex; align-items: center; background: linear-gradient(180deg, #fff 0%, #f4faff 100%); padding-top: 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; z-index: 2; }
.hero-copy > p { font-size: 1.14rem; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .88rem; font-weight: 700; color: #49566c; }
.hero-trust span::before { content: "✓"; color: var(--blue); margin-right: 8px; }
.hero-visual { position: relative; }
.visual-panel { background: rgba(255,255,255,.96); border: 1px solid rgba(214,229,241,.9); border-radius: 30px; box-shadow: 0 30px 80px rgba(25,55,98,.18); padding: 24px; transform: rotate(1deg); }
.visual-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 18px; font-weight: 800; color: var(--navy); }
.status { font-size: .76rem; color: #317b65; display: flex; align-items: center; gap: 7px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #36b37e; box-shadow: 0 0 0 5px rgba(54,179,126,.12); }
.visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mini-card { min-height: 150px; background: var(--light); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; justify-content: space-between; border: 1px solid #edf2f7; }
.mini-card-wide { grid-column: 1 / -1; min-height: 122px; flex-direction: row; align-items: center; }
.mini-card strong { color: var(--navy); }
.mini-card small { color: var(--muted); }
.mini-icon { width: 42px; height: 42px; display: grid; place-items: center; background: white; border-radius: 12px; color: var(--blue); font-size: 1.2rem; box-shadow: 0 8px 18px rgba(22,61,117,.1); }
.accent-card { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.accent-card strong, .accent-card small { color: white; }
.bars { display: flex; align-items: end; gap: 6px; height: 56px; }
.bars span { width: 12px; background: rgba(255,255,255,.88); border-radius: 6px 6px 2px 2px; }
.bars span:nth-child(1) { height: 28%; }.bars span:nth-child(2) { height: 60%; }.bars span:nth-child(3) { height: 45%; }.bars span:nth-child(4) { height: 90%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .55; }
.hero-glow-one { width: 420px; height: 420px; right: -150px; top: -180px; background: radial-gradient(circle, rgba(0,174,239,.25), transparent 68%); }
.hero-glow-two { width: 380px; height: 380px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(0,110,182,.16), transparent 70%); }
.wave { position: absolute; left: -5%; right: -5%; bottom: -58px; height: 100px; background: white; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.trust-strip { padding: 42px 0 30px; background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-grid div { padding-left: 20px; border-left: 2px solid var(--cyan); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--navy); font-size: 1.05rem; }
.trust-grid span { color: var(--muted); font-size: .88rem; }

.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.section-copy > p { font-size: 1.03rem; }
.text-link { display: inline-flex; gap: 10px; text-decoration: none; color: var(--blue); font-weight: 800; margin-top: 10px; }
.principles { display: grid; gap: 14px; }
.principles article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 28px rgba(20,50,92,.05); }
.principles article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--sky); color: var(--blue); font-weight: 900; }
.principles h3 { color: var(--navy); margin-bottom: 6px; }
.principles p { margin: 0; font-size: .94rem; }

.solutions { background: var(--light); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card { background: white; border: 1px solid #e5edf5; border-radius: var(--radius); padding: 30px; min-height: 270px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #bfddec; }
.solution-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; font-weight: 900; margin-bottom: 24px; }
.solution-card h3 { color: var(--navy); margin-bottom: 12px; }
.solution-card p { margin: 0; }

.products-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.products-header > div { max-width: 790px; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab-button { border: 1px solid var(--line); background: white; color: #41506a; border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.tab-button.active { background: var(--navy); color: white; border-color: var(--navy); }
.product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-list span { min-height: 68px; padding: 16px 16px 16px 44px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; position: relative; color: #36435a; background: white; font-weight: 650; }
.product-list span::before { content: "✓"; position: absolute; left: 16px; color: var(--blue); font-weight: 900; }
.product-list span.hidden { display: none; }
.product-note { margin-top: 24px; padding: 18px 20px; background: var(--sky); border-left: 4px solid var(--cyan); border-radius: 10px; font-size: .9rem; }

.process { background: linear-gradient(180deg, #fff, #f3f9fd); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-grid article { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: white; box-shadow: 0 15px 34px rgba(22,61,117,.08); border: 1px solid #e6eef5; }
.process-grid article > span { position: absolute; top: -18px; left: 28px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; font-weight: 900; box-shadow: 0 8px 18px rgba(0,110,182,.22); }
.process-grid h3 { color: var(--navy); margin-top: 8px; }

.portfolio { padding-top: 40px; }
.portfolio-card { background: linear-gradient(135deg, var(--navy-deep), var(--blue)); border-radius: 32px; padding: 54px 58px; display: flex; align-items: center; justify-content: space-between; gap: 45px; box-shadow: 0 28px 60px rgba(15,44,92,.24); overflow: hidden; position: relative; }
.portfolio-card::after { content: ""; position: absolute; width: 330px; height: 330px; border: 46px solid rgba(255,255,255,.07); border-radius: 50%; right: -120px; top: -135px; }
.portfolio-card > * { position: relative; z-index: 1; }
.portfolio-card h2, .portfolio-card p { color: white; }
.portfolio-card p { max-width: 720px; opacity: .86; }
.portfolio-card .btn { flex: 0 0 auto; }

.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.contact-cards a, .contact-cards div { text-decoration: none; padding: 18px; border-radius: 15px; background: white; border: 1px solid var(--line); }
.contact-cards span, .contact-cards strong { display: block; }
.contact-cards span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.contact-cards strong { color: var(--navy); margin-top: 4px; font-size: .92rem; }
.quote-form { background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 34px; }
.quote-form label { display: block; font-size: .88rem; font-weight: 800; color: #33425a; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 7px; border: 1px solid #ced9e5; border-radius: 11px; padding: 13px 14px; background: #fbfdff; color: var(--ink); outline: none; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,174,239,.1); }
.quote-form textarea { resize: vertical; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--muted) !important; }
.consent input { width: 18px; margin-top: 3px; }
.form-help { margin-top: 12px; text-align: center; font-size: .78rem; }

.site-footer { background: #0c2348; color: white; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 185px; background: white; padding: 8px 10px; border-radius: 12px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h3 { font-size: .94rem; color: white; margin-bottom: 18px; }
.site-footer a, .site-footer p { display: block; color: #c7d3e4; text-decoration: none; margin: 0 0 10px; font-size: .9rem; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 45px; padding-top: 22px; color: #adbed2; font-size: .86rem; }
.footer-bottom a { margin: 0; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 14px 35px rgba(37,211,102,.33); transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; fill: white; }

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

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border-radius: 18px; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 13px 12px; }
  .main-nav .btn { margin-top: 8px; }
  .hero-grid, .two-columns, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { gap: 48px; }
  .two-columns { gap: 44px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list { grid-template-columns: repeat(3, 1fr); }
  .contact-copy { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 165px; }
  .header-inner { min-height: 72px; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .hero { padding-top: 60px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { display: grid; gap: 10px; }
  .visual-grid { grid-template-columns: 1fr; }
  .mini-card-wide { grid-column: auto; }
  .trust-grid, .solution-grid, .process-grid, .product-list, .contact-cards, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 18px; }
  .products-header, .portfolio-card, .footer-bottom { align-items: stretch; flex-direction: column; }
  .products-header { display: block; }
  .products-header .btn { margin-top: 18px; }
  .portfolio-card { padding: 38px 26px; }
  .quote-form { padding: 24px 18px; }
  .footer-bottom { display: flex; gap: 10px; }
  .whatsapp-float { right: 15px; bottom: 15px; }
}

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