:root {
  --ink: #172238;
  --muted: #5d6b7a;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #dfe6ee;
  --navy: #123b68;
  --blue: #1b5da8;
  --green: #13845f;
  --green-dark: #0b5e43;
  --orange: #f28a21;
  --shadow: 0 18px 44px rgba(18, 35, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 10px 5vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 238, 0.8);
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(18, 59, 104, 0.12);
}

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

.brand img {
  width: 56px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-link,
.nav-trigger {
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #26374d;
  cursor: pointer;
  font-weight: 750;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-link.active,
.nav-trigger.active {
  color: var(--blue);
  background: #edf5ff;
  outline: none;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  min-width: 280px;
  max-width: 340px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-dropdown.open .dropdown-panel,
.nav-dropdown:hover .dropdown-panel {
  display: grid;
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 650;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: var(--soft);
  color: var(--green-dark);
  outline: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--paper);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible,
.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: #14253a;
}

.home-hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 33, 54, 0.9), rgba(18, 59, 104, 0.62) 58%, rgba(19, 132, 95, 0.2)),
    linear-gradient(0deg, rgba(10, 18, 30, 0.18), rgba(10, 18, 30, 0.18));
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(870px, 90vw);
  padding: 96px 0 62px;
  margin-left: 5vw;
}

.page-hero {
  min-height: 430px;
}

.page-hero-inner {
  padding-top: 88px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

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

.home-hero h1,
.page-hero h1 {
  margin-bottom: 18px;
  font-size: 4rem;
}

.page-hero h1 {
  font-size: 3.35rem;
}

.hero-copy,
.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
}

.slogan-line {
  display: inline-flex;
  margin-bottom: 16px;
  color: #ffd394;
  font-weight: 850;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
}

.btn.primary {
  color: var(--paper);
  background: var(--green);
}

.btn.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.52);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.23);
  outline: none;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.hero-metrics strong {
  color: var(--orange);
  font-size: 1.34rem;
}

.section {
  padding: 82px 5vw;
}

.section.soft {
  background: var(--soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.detail-main h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: 2.35rem;
}

.section-heading p,
.split-copy p,
.detail-main p,
.contact-copy p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.04rem;
}

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

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

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

.card,
.listing-card,
.profile-card,
.contact-card,
.legal-page,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(22, 34, 56, 0.06);
}

.card,
.contact-card,
.detail-panel {
  padding: 24px;
}

.listing-card {
  overflow: hidden;
}

.listing-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf2f8;
  border-bottom: 1px solid var(--line);
}

.listing-card-body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3,
.listing-card h3,
.profile-card h3,
.contact-card h3,
.detail-panel h3 {
  margin-bottom: 10px;
}

.card p,
.listing-card p,
.profile-card p,
.contact-card p,
.detail-panel p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.detail-main img {
  width: 100%;
  margin: 22px 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-main img.profile-photo-large {
  width: min(220px, 70vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
}

.cta-band {
  padding: 42px;
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--green-dark));
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

.profile-card {
  padding: 22px;
  overflow: hidden;
}

.profile-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--soft);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(22, 34, 56, 0.12);
}

.profile-card div {
  padding: 16px 0 0;
}

.profile-meta {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-meta strong {
  color: var(--navy);
}

.quote-box {
  margin: 22px 0;
  padding: 22px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}

.quote-box p {
  margin: 0;
  color: var(--ink);
}

.client-logo {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
  font-weight: 850;
  color: var(--navy);
}

.client-logo img {
  max-height: 64px;
  object-fit: contain;
}

.client-card {
  display: grid;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(22, 34, 56, 0.06);
}

.client-card-logo {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin-bottom: 14px;
}

.client-card-logo img {
  max-height: 84px;
  width: 100%;
  object-fit: contain;
}

.client-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.client-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.client-card .card-link {
  margin-top: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: start;
}

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

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.contact-form label:nth-child(3) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfdff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(27, 93, 168, 0.14);
}

.contact-form button {
  justify-self: start;
}

.legal-page {
  max-width: 980px;
  padding: 34px;
}

.site-footer {
  padding: 42px 5vw;
  color: rgba(255, 255, 255, 0.86);
  background: #14253a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(140px, 1fr));
  gap: 28px;
}

.footer-brand img {
  width: 72px;
  margin-bottom: 14px;
}

.footer-brand strong {
  display: block;
  color: var(--paper);
}

.footer-slogan {
  color: #ffd394;
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h3 {
  color: var(--paper);
  font-size: 1rem;
}

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

.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--paper);
  background: #19b866;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(25, 184, 102, 0.35);
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 1180px) {
  .grid.four,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .header-call span {
    display: none;
  }

  .grid,
  .grid.two,
  .detail-layout,
  .contact-layout,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-dropdown {
    display: grid;
  }

  .nav-trigger,
  .nav-link {
    width: 100%;
    text-align: left;
  }

  .dropdown-panel {
    position: static;
    display: none;
    max-width: none;
    min-width: 0;
    box-shadow: none;
    margin: 4px 0 8px;
  }

  .nav-dropdown.open .dropdown-panel {
    display: grid;
  }

  .home-hero {
    min-height: 70vh;
  }

  .hero-inner,
  .page-hero-inner {
    width: min(90vw, 720px);
    margin: 0 auto;
    padding: 70px 0 48px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 62px 5vw;
  }

  .section-heading h2,
  .split-copy h2,
  .detail-main h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 48px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1.03rem;
    line-height: 1.5;
  }

  .slogan-line {
    margin-bottom: 10px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .header-call {
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 42px 0 28px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero-metrics span {
    min-height: 60px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    font-size: 0.76rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hero-metrics strong {
    font-size: 1.18rem;
  }

  .grid,
  .grid.four,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 28px;
  }
}
