:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --ink: #15212b;
  --muted: #526371;
  --brand: #1d3f5f;
  --brand-strong: #15314c;
  --accent: #2f6b52;
  --line: #dce4ea;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --shadow: 0 20px 48px rgba(14, 26, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 6%, rgba(38, 99, 76, 0.06) 0, transparent 34%),
    radial-gradient(circle at 4% 12%, rgba(29, 63, 95, 0.08) 0, transparent 28%),
    var(--bg);
  line-height: 1.55;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 248, 0.92);
  border-bottom: 1px solid rgba(21, 33, 43, 0.06);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  border-radius: 10px;
}

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

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

a.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #1f8f63, #157a53) !important;
  border: 1px solid #116544 !important;
  border-radius: 999px;
  padding: 0.56rem 0.98rem;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(21, 122, 83, 0.24) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

a.header-whatsapp::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9ffd6;
  box-shadow: 0 0 0 3px rgba(185, 255, 214, 0.24);
}

a.header-whatsapp:link,
a.header-whatsapp:visited,
a.header-whatsapp:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

a.header-whatsapp:hover {
  background: linear-gradient(135deg, #239d6d, #18855b) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 122, 83, 0.3) !important;
}

.header-note-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.85rem;
}

.hero {
  padding: 3.2rem 0 2.5rem;
}

.hero-grid,
.trust-grid,
.transform-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1fr 1.1fr;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.top-line {
  margin: 0;
  font-size: 0.9rem;
  color: #2d4f68;
  font-weight: 600;
  max-width: 640px;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #5f6f7b;
  padding-top: 0.1rem;
  min-height: 30px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: #3b4a55;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0 0.1rem;
  line-height: 1;
}

.lang-switch button:hover {
  color: var(--brand);
}

.lang-switch button.active {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: 0 12px 22px rgba(21, 49, 76, 0.26);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: rgba(29, 63, 95, 0.35);
}

.btn-secondary:hover {
  background: rgba(29, 63, 95, 0.05);
}

.hero-media img,
.card-media img,
.service-card img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 16 / 11;
}

.card-media img {
  aspect-ratio: 16 / 10;
}

.trust {
  padding: 0.5rem 0 1.2rem;
}

.trust-grid {
  grid-template-columns: 1fr 1.05fr;
}

.trust-copy {
  display: grid;
  gap: 1rem;
}

.pill-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.86rem;
  color: var(--ink);
}

.section {
  padding: 3.2rem 0;
}

.section.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.82));
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  gap: 1.2rem;
}

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

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  display: grid;
  gap: 0.82rem;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.service-card img {
  aspect-ratio: 16 / 10;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(14, 26, 36, 0.12);
  border-color: rgba(29, 63, 95, 0.3);
}

.transform-grid,
.contact-grid {
  grid-template-columns: 1.05fr 1fr;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  background: #fff;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap img {
  width: 132px;
  height: auto;
}

.footer-wrap p {
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .trust-grid,
  .transform-grid,
  .contact-grid,
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 146px;
  }

  .header-note-wrap {
    display: grid;
    gap: 0.5rem;
    padding-bottom: 0.9rem;
  }

  .top-line {
    font-size: 0.82rem;
    max-width: none;
  }

  .lang-switch {
    justify-content: flex-start;
    font-size: 0.78rem;
  }

  .lang-switch button {
    font-size: 0.78rem;
  }

  .nav {
    gap: 0.9rem;
  }

  .header-whatsapp {
    font-size: 0.8rem;
    padding: 0.46rem 0.78rem;
  }

  .hero-media img,
  .card-media img,
  .service-card img {
    border-radius: 14px;
  }
}
