:root {
  --ink: #102a43;
  --graphite: #526577;
  --soft: #eef4f9;
  --line: #d8e3ee;
  --paper: #ffffff;
  --warm: #1f6fbf;
  --warm-dark: #0b4f8a;
  --green: #1f7a55;
  --blue-soft: #e8f2fb;
  --blue-deep: #071b33;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
  --max: 1180px;
}

* {
  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;
  line-height: 1.55;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 46px);
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.brand small {
  display: block;
  margin-top: -3px;
  font-size: 0.72rem;
  color: currentColor;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--blue-deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.94) 0%, rgba(16, 42, 67, 0.72) 45%, rgba(16, 42, 67, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 27, 51, 0.72) 0%, rgba(7, 27, 51, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 160px 0 142px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 960px;
  margin-top: 38px;
}

.hero-trust article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-trust strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
}

.hero-trust span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--warm);
}

.button.primary:hover {
  background: #2f82d0;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 227, 238, 0.86);
}

.hero-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 112px) 0;
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 86px);
}

.section-heading h2,
.split h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading.compact {
  max-width: 720px;
}

.intro-copy p,
.split-copy p,
.contact p {
  margin: 0 0 18px;
  color: var(--graphite);
  font-size: 1.05rem;
}

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  border-top: 1px solid var(--line);
}

.credentials h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.credentials-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.credentials-grid article:first-child {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.credentials-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credentials-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.credentials-grid p {
  margin: 0;
  color: var(--graphite);
}

.credentials-grid article:first-child p {
  color: rgba(255, 255, 255, 0.74);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--line);
}

.stats article {
  min-height: 176px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  background: #f7fafc;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
}

.stats span {
  margin-top: 8px;
  color: var(--graphite);
  font-weight: 700;
}

.problems,
.differentials,
.proposal {
  width: min(1260px, calc(100% - 36px));
}

.problem-grid,
.differential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.problem-grid article,
.differential-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.problem-grid article:hover,
.differential-grid article:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.problem-grid h3,
.differential-grid h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.problem-grid p,
.differential-grid p {
  margin: 0;
  color: var(--graphite);
}

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

.differential-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 900;
}

.services {
  width: min(1260px, calc(100% - 36px));
}

.service-categories {
  display: grid;
  gap: 34px;
  margin-top: 42px;
}

.service-category {
  display: grid;
  gap: 18px;
}

.service-category-header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 900px;
}

.service-category-header > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(31, 111, 191, 0.36);
  border-radius: 8px;
  color: var(--warm);
  background: var(--blue-soft);
  font-weight: 900;
}

.service-category-header h3 {
  margin: 0 0 8px;
  font-size: clamp(1.32rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.service-category-header p {
  max-width: 720px;
  margin: 0;
  color: var(--graphite);
}

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

.service-card {
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card:not(.featured):hover {
  border-color: rgba(31, 111, 191, 0.48);
  box-shadow: 0 22px 54px rgba(31, 111, 191, 0.14);
}

.service-card.featured {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--warm);
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-card:not(.featured):hover .service-icon {
  border-color: var(--warm);
  color: #fff;
  background: var(--warm);
}

.service-card h3 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
}

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

.service-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}

.service-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.service-card a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 900;
  transition: color 0.2s ease;
}

.service-card:not(.featured):hover a {
  color: var(--warm);
}

.service-card.featured a {
  color: #fff;
}

.split {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 13px;
  height: 13px;
  border: 3px solid var(--green);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.principles {
  width: min(1260px, calc(100% - 36px));
}

.principles-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.principles-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.principles-grid article:first-child {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.principles-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.principles-grid p {
  margin: 0;
  color: var(--graphite);
  font-size: 1.03rem;
}

.principles-grid article:first-child p {
  color: rgba(255, 255, 255, 0.76);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.timeline h3 {
  margin: 32px 0 10px;
  font-size: 1.16rem;
}

.timeline p {
  margin: 0;
  color: var(--graphite);
}

.contact {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.contact p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-link span {
  color: var(--warm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.contact-link strong {
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.proposal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.proposal h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.proposal-copy p {
  color: var(--graphite);
  font-size: 1.05rem;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.direct-contact a {
  font-weight: 900;
}

.proposal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.proposal-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proposal-form .full,
.proposal-form button {
  grid-column: 1 / -1;
}

.proposal-form input,
.proposal-form select,
.proposal-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.proposal-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(160px, clamp(18px, 4vw, 46px)) 28px clamp(18px, 4vw, 46px);
  color: var(--graphite);
  background: #f7fafc;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(31, 122, 85, 0.36);
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero-strip,
  .hero-trust,
  .stats,
  .problem-grid,
  .service-grid,
  .differential-grid,
  .principles-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .split,
  .credentials,
  .proposal,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    display: block;
    max-width: 210px;
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .hero {
    min-height: 920px;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 282px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.85rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-strip,
  .hero-trust,
  .stats,
  .problem-grid,
  .service-grid,
  .differential-grid,
  .credentials-grid,
  .principles-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 50px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-categories {
    gap: 42px;
  }

  .service-category-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card,
  .problem-grid article,
  .differential-grid article,
  .timeline article {
    min-height: auto;
  }

  .proposal-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 18px;
    padding-bottom: 88px;
  }

  .floating-whatsapp {
    bottom: 22px;
  }
}
