:root {
  --ink: #101318;
  --brand-blue: #2d588c;
  --muted: #5c6675;
  --line: #dfe6ee;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --cyan: #08b9d6;
  --green: #20bf75;
  --coral: #ff6f59;
  --shadow: 0 22px 60px rgba(16, 19, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 230, 238, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 230px;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #26313f;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.main-nav a:hover,
.header-action:hover {
  background: var(--soft);
}

.header-action {
  color: white;
  background: var(--brand-blue);
}

.header-action:hover {
  color: white;
  background: #244a78;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

section {
  padding: 58px clamp(18px, 5vw, 72px);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
}

.value-strip div {
  min-height: 138px;
  padding: 26px;
  background: white;
}

.value-strip strong,
.value-strip span {
  display: block;
}

.value-strip strong {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 18px;
}

.value-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section-band {
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  align-items: center;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.14) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 850;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--brand-blue), #183b63);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 32px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 230, 238, 0.8);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(16, 19, 24, 0.08);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  display: grid;
  gap: 4px;
  max-width: 840px;
  margin-bottom: 24px;
}

.intro-grid,
.split-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.intro-heading {
  margin-bottom: 22px;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
}

.intro-lead,
.intro-points div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 19, 24, 0.06);
}

.intro-lead {
  display: grid;
  align-content: end;
  min-height: 220px;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 191, 117, 0.28), transparent 32%),
    linear-gradient(135deg, var(--brand-blue), #122b49);
  border-color: rgba(255, 255, 255, 0.12);
}

.intro-lead strong {
  display: block;
  max-width: 330px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.intro-lead p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.intro-points div {
  min-height: 220px;
  padding: 22px;
}

.intro-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: white;
  font-weight: 900;
  background: var(--brand-blue);
  border-radius: 8px;
}

.intro-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.intro-points p {
  margin: 0;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: contain;
  background: #f5f8fb;
  border-radius: 8px;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.tab.is-active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

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

.service-card {
  min-height: 226px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 19, 24, 0.06);
}

.service-card[hidden] {
  display: none;
}

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

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.feature-list div {
  padding: 20px;
  background: var(--soft);
  border-left: 5px solid var(--brand-blue);
  border-radius: 8px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
}

.media-card {
  margin: 0;
  min-width: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.contact-list a {
  color: var(--brand-blue);
  font-weight: 850;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) repeat(2, minmax(190px, 0.7fr));
  gap: clamp(28px, 5vw, 72px);
  padding: 56px clamp(18px, 5vw, 72px) 28px;
  color: white;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 88, 140, 0.48), transparent 34%),
    linear-gradient(135deg, #0f141b, #182433);
}

.footer-brand {
  display: inline-flex;
  max-width: 218px;
  padding: 8px;
  background: white;
  border-radius: 8px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

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

.site-footer p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  color: white;
  font-weight: 900;
  background: var(--green);
  border-radius: 8px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 16px;
  line-height: 1.2;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.footer-column a:hover,
.footer-cta:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: white;
  font-size: 15px;
  font-weight: 950;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(32, 191, 117, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.float-whatsapp:hover {
  background: #16a765;
  box-shadow: 0 18px 42px rgba(32, 191, 117, 0.48);
  transform: translateY(-2px);
}

.float-whatsapp svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: currentColor;
}

.float-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 10px;
  }

  .main-nav.is-open a {
    background: var(--soft);
  }

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

  .intro-points {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 660px) {
  section {
    padding: 46px 18px;
  }

  .hero {
    min-height: 760px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .brand {
    max-width: 178px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(255, 255, 255, 0.2) 100%);
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .media-card img {
    min-height: 220px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

}
