:root {
  --blue: #0b2e59;
  --blue-dark: #071f3d;
  --orange: #ff7a00;
  --orange-dark: #d96600;
  --white: #ffffff;
  --ink: #102033;
  --muted: #5b6b7c;
  --line: #dbe4ee;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(11, 46, 89, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius);
}

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

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

.section {
  padding: 88px 0;
}

.top-bar {
  color: var(--white);
  background: var(--blue-dark);
  font-size: 0.92rem;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.94;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 238, 0.82);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(7, 31, 61, 0.1);
}

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

.brand img {
  width: 148px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--blue);
  font-weight: 700;
}

.nav-menu a:not(.btn) {
  position: relative;
}

.nav-menu a:not(.btn)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transition: width 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 13px 24px rgba(255, 122, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--orange-dark);
  box-shadow: 0 18px 32px rgba(255, 122, 0, 0.32);
}

.btn--small {
  min-height: 42px;
  padding: 11px 16px;
}

.btn--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--blue);
  background: var(--white);
}

.btn--light {
  color: var(--blue);
  background: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 16%, rgba(255, 122, 0, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  animation: drift 18s linear infinite;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 64px;
  min-height: 630px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: inherit;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 5vw, 4.85rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.hero__text {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.17rem;
}

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

.hero__visual {
  position: relative;
  min-height: 430px;
}

.growth-card,
.rank-card,
.search-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.growth-card {
  top: 52px;
  left: 18px;
  width: min(290px, 76vw);
  padding: 28px;
  animation: float 5.5s ease-in-out infinite;
}

.metric {
  color: var(--orange);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.growth-card p,
.rank-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.search-panel {
  right: 0;
  bottom: 42px;
  width: min(360px, 88vw);
  padding: 28px;
}

.search-line {
  height: 14px;
  margin: 18px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.search-line.active {
  width: 84%;
  background: var(--orange);
}

.search-line.short {
  width: 62%;
}

.rank-card {
  right: 32px;
  top: 108px;
  width: 176px;
  padding: 22px;
  animation: float 6.2s ease-in-out infinite reverse;
}

.rank-card span {
  color: var(--white);
  font-size: 3rem;
  font-weight: 900;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-one {
  inset: 14px 44px 50px 18px;
}

.orbit-two {
  inset: 70px 88px 0 82px;
  border-color: rgba(255, 122, 0, 0.34);
  animation-duration: 24s;
}

.trust-band {
  color: var(--white);
  background: var(--blue);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid div {
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.story-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(11, 46, 89, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  padding: 30px;
}

.service-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 0, 0.42);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius);
  font-weight: 900;
}

.service-card h3 {
  color: var(--blue);
}

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

.choose {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.choose__grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.choose__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.choose-list {
  display: grid;
  gap: 14px;
}

.choose-list div {
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

.consultation {
  color: var(--white);
  background: var(--orange);
}

.consultation__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
}

.consultation p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(rgba(7, 31, 61, 0.88), rgba(11, 46, 89, 0.9)),
    radial-gradient(circle at 75% 20%, rgba(255, 122, 0, 0.35), transparent 34%);
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.story,
.values {
  background: var(--soft);
}

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

.story-card {
  padding: 36px;
}

.story-card span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.story-card h2 {
  margin-top: 12px;
  color: var(--blue);
}

.story-card p {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value-grid div {
  padding: 20px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

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

.contact-card {
  padding: 30px;
  color: var(--ink);
}

.contact-card span {
  color: var(--orange);
  font-size: 2rem;
}

.contact-card h3 {
  margin-top: 12px;
  color: var(--blue);
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.7fr;
  gap: 44px;
  padding: 56px 0 36px;
}

.footer-logo {
  width: 162px;
  height: 82px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  margin: 8px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
}

.copyright {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: var(--white);
  background: #20b358;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(32, 179, 88, 0.38);
  animation: pulse 1.8s ease-in-out infinite;
}

.whatsapp-float span {
  font-size: 2rem;
  font-weight: 900;
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 179, 88, 0.32); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(32, 179, 88, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  to { background-position: 58px 58px; }
}

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

@media (max-width: 920px) {
  .top-bar__inner {
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 4px;
  }

  .nav-menu .btn {
    width: 100%;
    padding-inline: 12px;
  }

  .hero__grid,
  .choose__grid,
  .consultation__inner {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
    padding: 44px 0;
  }

  .hero__visual {
    min-height: 360px;
  }

  .trust-grid,
  .service-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 132px;
    height: 52px;
  }

  .nav {
    min-height: 70px;
  }

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

  .hero__visual {
    min-height: 310px;
  }

  .growth-card {
    left: 0;
    top: 20px;
  }

  .rank-card {
    right: 0;
    top: 112px;
  }

  .search-panel {
    bottom: 0;
  }

  .trust-grid,
  .service-grid,
  .story-grid,
  .value-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar a {
    font-size: 0.86rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
