:root {
  --navy: #0b1f3a;
  --navy-soft: #12345b;
  --steel: #5f6875;
  --gray: #f3f5f8;
  --gray-2: #e4e8ee;
  --white: #ffffff;
  --text: #1c2530;
  --muted: #697586;
  --accent: #1f75b9;
  --shadow: 0 20px 60px rgba(11, 31, 58, 0.14);
  --shadow-soft: 0 12px 35px rgba(11, 31, 58, 0.1);
  --radius: 22px;
  --transition: all 0.28s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section-padding {
  padding: 96px 0;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.topbar__content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 42px;
}

.topbar__links {
  display: flex;
  gap: 22px;
  white-space: nowrap;
}

.topbar__links a {
  transition: var(--transition);
}

.topbar__links a:hover {
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand__logo {
  width: clamp(46px, 6vw, 72px);
  height: clamp(46px, 6vw, 72px);
  object-fit: contain;
}

.brand__fallback {
  width: clamp(46px, 6vw, 72px);
  height: clamp(46px, 6vw, 72px);
  display: none;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: var(--white);
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: var(--shadow-soft);
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  color: var(--navy);
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.5px;
}

.brand__text small {
  color: var(--steel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  background: var(--gray);
  color: var(--accent);
}

.nav__link--button {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(11, 31, 58, 0.18);
}

.nav__link--button:hover {
  background: var(--accent);
  color: var(--white);
}

.nav__toggle {
  display: none;
  border: 0;
  background: var(--navy);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  place-items: center;
  padding: 11px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  margin: 3px 0;
  transition: var(--transition);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 124px);
  display: grid;
  align-items: center;
  padding: 88px 0 110px;
  background:
    radial-gradient(circle at 20% 18%, rgba(31, 117, 185, 0.16), transparent 26%),
    linear-gradient(135deg, #f8fafc 0%, #edf1f6 46%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.06), transparent 52%);
  pointer-events: none;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.7;
}

.hero__bg-shape--one {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 80px;
  background: rgba(11, 31, 58, 0.11);
}

.hero__bg-shape--two {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 60px;
  background: rgba(31, 117, 185, 0.13);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero p {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(11, 31, 58, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  background: var(--accent);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.btn--full {
  width: 100%;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 42px);
}

.logo-card {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.96), rgba(18, 52, 91, 0.9)),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.28), transparent 30%);
  margin-bottom: 22px;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.logo-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  right: -42px;
  top: -42px;
}

.logo-card__img {
  width: min(260px, 72%);
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.22));
}

.logo-card__fallback {
  display: none;
  color: var(--white);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero__stats article {
  background: var(--gray);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
}

.hero__stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.hero__stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}

.intro {
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-heading p,
.intro__text {
  color: var(--muted);
  font-size: 17px;
}

.section-heading--center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.services {
  background: var(--gray);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.07);
  transition: var(--transition);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 117, 185, 0.28);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: var(--white);
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.service-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.about__visual {
  min-height: 520px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.94), rgba(18, 52, 91, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 34%);
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about__visual::before,
.about__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.about__visual::before {
  width: 260px;
  height: 260px;
  top: -70px;
  right: -60px;
}

.about__visual::after {
  width: 380px;
  height: 380px;
  bottom: -170px;
  left: -120px;
}

.about__box {
  position: absolute;
  background: rgba(255,255,255,0.94);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 46px rgba(0,0,0,0.18);
}

.about__box span {
  display: block;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  margin-bottom: 6px;
}

.about__box strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.about__box--main {
  width: 72%;
  left: 36px;
  bottom: 42px;
}

.about__box--floating {
  width: 58%;
  right: 28px;
  top: 54px;
}

.about__content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 17px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.values div {
  background: var(--gray);
  padding: 18px;
  border-radius: 18px;
}

.values strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.values span {
  color: var(--muted);
  font-size: 14px;
}

.sectors {
  background: var(--gray);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sector-list span {
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.07);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.cta {
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.96), rgba(18, 52, 91, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(31, 117, 185, 0.42), transparent 28%);
  color: var(--white);
  padding: 88px 0;
  overflow: hidden;
}

.cta__content {
  max-width: 900px;
  text-align: center;
}

.cta .eyebrow {
  color: #9ecdf1;
  justify-content: center;
}

.cta .eyebrow::before {
  background: #9ecdf1;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 30px;
}

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact__info p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
  color: var(--muted);
}

.contact-list strong {
  color: var(--navy);
}

.contact-list a {
  color: var(--accent);
  font-weight: 800;
}

.contact-form {
  background: var(--gray);
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(11, 31, 58, 0.14);
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  font: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 117, 185, 0.12);
}

.form-message {
  min-height: 24px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 12px;
}

.footer {
  background: #07172c;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 70px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
  padding-bottom: 46px;
}

.footer .brand__text strong,
.footer .brand__text small {
  color: var(--white);
}

.brand__logo--footer,
.brand__fallback--footer {
  width: 58px;
  height: 58px;
}

.footer__brand p {
  max-width: 320px;
  margin-top: 16px;
}

.footer h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 16px;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.32);
  transition: var(--transition);
}

.whatsapp strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 20px;
}

.whatsapp:hover {
  transform: translateY(-4px);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1000;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__grid,
  .intro__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__visual {
    min-height: 420px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .topbar__content {
    justify-content: center;
    text-align: center;
  }

  .topbar__links {
    display: none;
  }

  .nav {
    min-height: 74px;
  }

  .nav__toggle {
    display: grid;
  }

  .nav__menu {
    position: fixed;
    top: 116px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 31, 58, 0.08);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero h1 {
    letter-spacing: -1.4px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 72px 0;
  }

  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand__text small {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 340px;
    border-radius: 26px;
  }

  .about__box {
    padding: 18px;
  }

  .about__box strong {
    font-size: 19px;
  }

  .about__box--main {
    width: 80%;
    left: 18px;
    bottom: 22px;
  }

  .about__box--floating {
    width: 74%;
    right: 16px;
    top: 24px;
  }

  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom {
    padding: 18px 0;
  }

  .whatsapp span {
    display: none;
  }

  .whatsapp {
    width: 56px;
    padding: 0;
    justify-content: center;
  }
}
