:root {
  --blue: #087c9d;
  --blue-deep: #075d77;
  --blue-dark: #063d50;
  --ink: #101820;
  --muted: #60707a;
  --line: #dce8ec;
  --soft: #f3f8fa;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(4, 61, 80, .12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(8,124,157,.10);
  backdrop-filter: blur(16px);
}
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 178px; }
.nav { display: flex; align-items: center; gap: 6px; font-weight: 750; font-size: 14px; }
.nav a { padding: 12px 14px; border-radius: 12px; transition: background .2s ease, color .2s ease; }
.nav a:hover { background: var(--soft); color: var(--blue-deep); }
.nav .nav__whatsapp { background: var(--blue); color: var(--white); padding-inline: 18px; margin-left: 6px; box-shadow: 0 10px 24px rgba(8,124,157,.20); }
.nav .nav__whatsapp:hover { background: var(--blue-deep); color: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 3px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; isolation: isolate; padding: 88px 0 76px; overflow: hidden; background: linear-gradient(135deg, #f8fcfd 0%, #ffffff 48%, #edf8fb 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(8,124,157,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(8,124,157,.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero__shape { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); }
.hero__shape--one { width: 420px; height: 420px; right: -150px; top: -160px; background: rgba(8,124,157,.12); }
.hero__shape--two { width: 260px; height: 260px; left: -130px; bottom: -120px; background: rgba(8,124,157,.09); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 66px; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 5px 11px; border-radius: 999px; background: #e7f4f7; color: var(--blue-deep); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(8,124,157,.10); }
.tag--light { background: rgba(255,255,255,.12); color: var(--white); }
.tag--light::before { background: #93d7e6; box-shadow: 0 0 0 4px rgba(255,255,255,.10); }
.hero h1 { margin: 18px 0 4px; font-size: clamp(46px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero__lead { margin: 16px 0 8px; color: var(--blue-deep); font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; }
.hero__text { max-width: 690px; margin: 0; color: var(--muted); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 19px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--blue); color: var(--white); box-shadow: 0 15px 30px rgba(8,124,157,.22); }
.button--primary:hover { background: var(--blue-deep); }
.button--outline { border-color: var(--line); background: rgba(255,255,255,.76); color: var(--ink); }
.button--outline:hover { border-color: rgba(8,124,157,.30); box-shadow: 0 12px 28px rgba(4,61,80,.09); }
.button--light { background: var(--white); color: var(--blue-dark); }
.button--ghost-light { border-color: rgba(255,255,255,.36); color: var(--white); background: rgba(255,255,255,.06); }

.hero__visual { min-width: 0; }
.logo-card { position: relative; min-height: 390px; display: grid; place-items: center; padding: 52px 34px; border: 1px solid rgba(8,124,157,.15); border-radius: 34px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); overflow: hidden; }
.logo-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -125px; border-radius: 50%; border: 44px solid rgba(8,124,157,.06); }
.logo-card__accent { position: absolute; top: 0; left: 0; width: 88px; height: 7px; background: var(--blue); border-radius: 0 0 8px 0; }
.logo-card img { position: relative; z-index: 1; width: min(100%, 470px); }
.hero__chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 12px 12px 0; }
.hero__chips span { padding: 10px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--blue-deep); text-align: center; font-size: 12px; font-weight: 800; box-shadow: 0 8px 20px rgba(4,61,80,.06); }

.info-strip { position: relative; z-index: 3; margin-top: -22px; }
.info-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 16px 42px rgba(4,61,80,.10); overflow: hidden; }
.info-item { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 22px 24px; border-right: 1px solid var(--line); }
.info-item:last-child { border-right: 0; }
a.info-item:hover { background: var(--soft); }
.info-item__icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 13px; background: #e8f5f8; color: var(--blue-deep); font-weight: 900; }
.info-item div { min-width: 0; }
.info-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 750; }
.info-item strong { display: block; margin-top: 1px; font-size: 16px; word-break: break-word; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .finance-intro h2, .final-cta h2 { margin: 15px 0 0; font-size: clamp(34px, 5vw, 55px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { margin: 11px 0 0; color: var(--muted); font-size: 17px; }

.cards--services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { position: relative; min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: -48px; bottom: -50px; border-radius: 50%; background: rgba(8,124,157,.06); }
.service-card:hover { transform: translateY(-5px); border-color: rgba(8,124,157,.30); box-shadow: 0 18px 38px rgba(4,61,80,.10); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: #e9f5f8; color: var(--blue-deep); font-size: 26px; font-weight: 900; }
.service-card__number { position: absolute; top: 22px; right: 24px; color: #a6bac2; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.service-card h3 { max-width: 210px; margin: 40px 0 0; font-size: 19px; line-height: 1.28; }

.section--finance { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep)); color: var(--white); }
.section--finance::before { content: ""; position: absolute; width: 500px; height: 500px; top: -290px; right: -120px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; }
.finance-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.finance-intro h2 { max-width: 420px; }
.finance-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.finance-card { min-height: 190px; padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.finance-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 17px; background: var(--white); color: var(--blue-deep); font-size: 25px; font-weight: 900; }
.finance-card small { color: #bcd9e1; font-size: 12px; font-weight: 750; }
.finance-card h3 { margin: 4px 0 0; font-size: 23px; }

.contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 12px 28px rgba(4,61,80,.05); transition: transform .2s ease, box-shadow .2s ease; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(4,61,80,.10); }
.contact-card--whatsapp { background: linear-gradient(145deg, #ffffff, #effafd); }
.contact-card--facebook { background: linear-gradient(145deg, #ffffff, #f2f7ff); }
.contact-card__label { margin-bottom: auto; color: var(--blue-deep); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.contact-card strong { display: block; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; }
.contact-card__action { margin-top: 16px; color: var(--muted); font-size: 13px; font-weight: 800; }

.final-cta { padding: 72px 0; background: #0e2028; color: var(--white); }
.final-cta__inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; align-items: center; }
.final-cta__inner > img { width: min(100%, 390px); padding: 22px; border-radius: 20px; background: var(--white); }
.final-cta__buttons { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }

.footer { padding: 44px 0; background: #081318; color: #dce8ec; border-top: 1px solid rgba(255,255,255,.07); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr .8fr; gap: 30px; align-items: start; }
.footer__brand img { width: 185px; padding: 9px; border-radius: 12px; background: var(--white); }
.footer__column { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.footer__column span { color: #8ea7b0; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.footer__column a:hover { color: #93d7e6; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 120; }
.floating-whatsapp__button { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--blue); color: var(--white); box-shadow: 0 15px 35px rgba(4,61,80,.25); cursor: pointer; font-weight: 900; }
.floating-whatsapp__options { position: absolute; right: 0; bottom: 68px; width: 182px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.floating-whatsapp__options a { display: block; padding: 10px 11px; border-radius: 10px; color: var(--ink); font-size: 13px; font-weight: 850; }
.floating-whatsapp__options a:hover { background: var(--soft); }

@media (max-width: 980px) {
  .hero { padding-top: 66px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-card { min-height: 330px; }
  .cards--services { grid-template-columns: repeat(2, 1fr); }
  .finance-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:last-child { grid-column: span 2; }
  .final-cta__inner { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header__inner { min-height: 72px; }
  .brand img { width: 150px; }
  .menu-button { display: block; }
  .nav { position: absolute; top: calc(100% + 1px); left: 20px; right: 20px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav.is-open { display: grid; }
  .nav a { padding: 13px; }
  .nav .nav__whatsapp { margin-left: 0; text-align: center; }
  .menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.is-open span:nth-child(2) { opacity: 0; }
  .menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .info-strip__grid { grid-template-columns: 1fr; }
  .info-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-item:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .hero { padding: 48px 0 52px; }
  .hero h1 { font-size: clamp(44px, 15vw, 66px); }
  .hero__lead { font-size: 22px; }
  .hero__text { font-size: 15px; }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .logo-card { min-height: 240px; padding: 32px 20px; border-radius: 24px; }
  .hero__chips { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .cards--services { grid-template-columns: 1fr; }
  .service-card { min-height: 175px; }
  .service-card h3 { margin-top: 30px; }
  .finance-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card:last-child { grid-column: auto; }
  .contact-card { min-height: 180px; }
  .final-cta { padding: 58px 0; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 34px; }
  .final-cta__inner > img { width: 100%; }
  .final-cta__buttons { display: grid; }
  .footer__grid { grid-template-columns: 1fr; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

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