:root {
  --primary: #1f3b73;
  --primary-dark: #162b55;
  --secondary: #148f55;
  --accent: #f2b84b;
  --background: #f7f9fc;
  --surface: #ffffff;
  --muted: #eef3f8;
  --surface-tint: #fbfdff;
  --text: #172033;
  --text-soft: #5d6b82;
  --border: #dfe6ef;
  --shadow: 0 18px 44px rgba(31, 59, 115, 0.12);
  --shadow-soft: 0 8px 22px rgba(31, 59, 115, 0.08);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(31, 59, 115, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 59, 115, 0.025) 1px, transparent 1px),
    var(--background);
  background-size: 42px 42px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

p {
  color: var(--text-soft);
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  box-shadow: 0 10px 30px rgba(31, 59, 115, 0.06);
  backdrop-filter: blur(18px);
}

.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), #0d7c50);
  color: #ffffff;
  font-size: 0.9rem;
}

.top-bar p,
.top-bar a {
  color: #ffffff;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 20px;
}

.top-links {
  display: flex;
  gap: 24px;
}

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

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

.brand img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(31, 59, 115, 0.14);
  object-fit: cover;
}

.brand strong {
  display: block;
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1.1;
}

.brand strong span {
  color: var(--primary);
}

.brand small {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
}

.nav-menu a:not(.btn) {
  position: relative;
  color: #31405a;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .active {
  color: var(--secondary);
}

.nav-menu a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu a:not(.btn):hover::after,
.nav-menu .active:not(.btn)::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #16a765, var(--secondary));
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(20, 143, 85, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 143, 85, 0.24);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(20, 143, 85, 0.08);
  border-color: #0f7849;
  color: #0f7849;
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
}

.btn-light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--secondary);
}

.hero {
  padding: 176px 0 84px;
  overflow: hidden;
}

.section-light {
  background:
    linear-gradient(135deg, rgba(20, 143, 85, 0.08) 0 26%, transparent 26% 100%),
    linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1,
.page-hero h1 {
  color: var(--secondary);
  font-size: clamp(2.55rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.hero-content h1 span,
.page-hero h1 span {
  color: var(--primary);
}

.lead {
  max-width: 620px;
  font-size: 1.16rem;
}

.eyebrow {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-image {
  position: relative;
}

.image-panel {
  position: relative;
}

.hero-image::before,
.image-panel::before {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 59, 115, 0.14), rgba(20, 143, 85, 0.16), rgba(242, 184, 75, 0.18));
  content: "";
}

.hero-image::after,
.image-panel::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 88px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(242, 184, 75, 0.26);
  content: "";
}

.hero-image img,
.image-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin-top: 58px;
}

.stat-card,
.info-panel,
.form-card,
.contact-card,
.value-grid article,
.process-grid article {
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-tint));
  box-shadow: var(--shadow-soft);
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 22px 16px;
  text-align: center;
}

.stat-card::before {
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--accent);
  content: "";
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section {
  padding: 82px 0;
}

.section-muted {
  background: linear-gradient(180deg, var(--muted), #f4f7fb);
}

.section-primary {
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.11) 0 22%, transparent 22% 100%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
}

.section-primary p,
.section-primary .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

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

.section-heading h2,
.content-block h2,
.cta-box h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading.light h2,
.section-primary h2,
.section-primary h3 {
  color: #ffffff;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  content: "";
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 143, 85, 0.26);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card div {
  padding: 24px;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.25rem;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 700;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 14px;
  padding: 0 8px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 143, 85, 0.14), rgba(242, 184, 75, 0.2));
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.center-action {
  margin-top: 34px;
  text-align: center;
}

.content-block p {
  font-size: 1.05rem;
}

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

.check-list.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #16a765);
  color: #ffffff;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.reason-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(5, 20, 48, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.reason-grid article:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.reason-grid p {
  margin-bottom: 0;
}

.cta-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.12) 0 22%, transparent 22% 100%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: 172px 0 82px;
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.12) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
}

.page-hero h1 {
  color: var(--primary);
}

.page-hero p {
  font-size: 1.12rem;
}

.reverse {
  align-items: stretch;
}

.info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.value-grid article,
.process-grid article {
  position: relative;
  overflow: hidden;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-grid article:hover,
.process-grid article:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 3px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card span {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 1.08rem;
}

.contact-card small {
  color: var(--text-soft);
}

.whatsapp-box {
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 24%, transparent 24% 100%),
    linear-gradient(135deg, #16a765, var(--secondary));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 143, 85, 0.22);
}

.whatsapp-box p,
.whatsapp-box h2 {
  color: #ffffff;
}

.form-card {
  padding: 32px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(223, 230, 239, 0.96);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  background: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(20, 143, 85, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--secondary);
  font-weight: 700;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(20, 143, 85, 0.16) 0 24%, transparent 24% 100%),
    var(--primary-dark);
  color: #ffffff;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding: 54px 0;
}

.footer-grid h3 {
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand strong {
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .top-bar {
    display: none;
  }

  .navbar {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 12px;
  }

  .nav-menu a:not(.btn)::after {
    right: auto;
    bottom: 4px;
    left: 12px;
    width: 28px;
  }

  .nav-menu .btn {
    margin-top: 10px;
  }

  .hero,
  .page-hero {
    padding-top: 122px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .brand img {
    width: 44px;
    height: 44px;
  }

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

  .hero,
  .page-hero,
  .section {
    padding-bottom: 58px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    gap: 34px;
  }

  .button-row,
  .cta-box,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .card-grid,
  .reason-grid,
  .value-grid,
  .process-grid,
  .form-row,
  .check-list.two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 18px 14px;
  }

  .service-card img {
    height: 160px;
  }

  .cta-box,
  .form-card,
  .info-panel {
    padding: 24px;
  }
}
