:root {
  --ink: #102033;
  --ink-2: #162d46;
  --muted: #627181;
  --line: #dce5ee;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #088be8;
  --teal: #0d95a4;
  --green: #22a06b;
  --orange: #f58220;
  --red: #d64045;
  --shadow: 0 20px 58px rgba(16, 32, 51, 0.12);
  --soft-shadow: 0 12px 34px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(220, 229, 238, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand img {
  display: block;
  width: 210px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(220, 229, 238, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.66fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 82px);
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.9) 48%, rgba(229, 247, 245, 0.86) 100%),
    url("logo-transparente.png") right -14vw center / min(60vw, 760px) auto no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--orange), var(--red));
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.panel-label {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  line-height: 1.04;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.13rem;
  line-height: 1.24;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-copy p {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: 1.14rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.trust-list span {
  padding: 9px 12px;
  border: 1px solid rgba(13, 149, 164, 0.22);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  width: min(100%, 430px);
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-label {
  margin-bottom: 18px;
  color: var(--blue);
}

.signal-row,
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.signal-row {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.signal-row span,
.signal-grid span,
.progress-label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.signal-row strong {
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.signal-grid div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.signal-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 1.85rem;
}

.progress-area {
  padding-top: 8px;
}

.progress-label strong {
  color: var(--teal);
}

.progress-bar {
  display: block;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7ee;
}

.progress-bar span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--orange));
}

.section,
.feature-band,
.cta-section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section > *,
.feature-band > *,
.cta-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  background: var(--white);
}

.intro > * {
  max-width: none;
}

.intro p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
}

.services-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.case-grid article {
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.case-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 139, 232, 0.28);
  box-shadow: var(--shadow);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
}

.service-card:nth-child(2) .icon-box {
  background: var(--green);
}

.service-card:nth-child(3) .icon-box {
  background: var(--orange);
}

.service-card:nth-child(4) .icon-box {
  background: var(--red);
}

.feature-band {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(16, 32, 51, 0.98), rgba(22, 45, 70, 0.96)),
    url("logo-transparente.png") right -160px center / 620px auto no-repeat;
}

.feature-band .section-kicker {
  color: #55d4df;
}

.feature-band p {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline div {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.timeline span {
  display: block;
  margin-bottom: 40px;
  color: var(--orange);
  font-weight: 850;
}

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

.case-grid strong {
  display: block;
  margin-bottom: 44px;
  color: var(--green);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1;
}

.case-grid article:nth-child(2) strong {
  color: var(--blue);
}

.case-grid article:nth-child(3) strong {
  color: var(--orange);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(13, 149, 164, 0.96), rgba(16, 32, 51, 0.98)),
    url("logo-transparente.png") right -90px center / 640px auto no-repeat;
}

.cta-section > * {
  max-width: none;
}

.cta-section h2 {
  max-width: 800px;
}

.cta-section p {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section .section-kicker {
  color: #ffe2b8;
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-section .button.primary {
  white-space: nowrap;
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.site-footer img {
  width: 172px;
  height: auto;
}

@media (max-width: 1080px) {
  .services-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
  }

  .brand {
    min-width: 156px;
  }

  .brand img {
    width: 162px;
  }

  .menu-button {
    display: block;
  }

  .menu-toggle:checked + .menu-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 48px;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.97), rgba(237, 247, 246, 0.88)),
      url("logo-transparente.png") right -150px top 28px / 420px auto no-repeat;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.6rem);
  }

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

  .hero-copy p {
    font-size: 1.03rem;
  }

  .hero-panel {
    padding: 20px;
  }

  .intro,
  .case-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline div,
  .case-grid article {
    min-height: auto;
  }

  .contact-actions {
    justify-items: stretch;
  }

  .cta-section .button.primary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .signal-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
