:root {
  --bg: #eaf2f6;
  --surface: #ffffff;
  --surface-strong: #d9ecf6;
  --ink: #10253a;
  --muted: #4a617a;
  --brand: #0f6d89;
  --brand-strong: #0a5065;
  --accent: #ff7d45;
  --whatsapp: #26d367;
  --line: #cad9e4;
  --ok: #1f9e88;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 40px rgba(16, 37, 58, 0.14);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -18%, rgba(49, 177, 209, 0.27) 0%, rgba(49, 177, 209, 0) 40%),
    radial-gradient(circle at 95% -12%, rgba(255, 180, 110, 0.24) 0%, rgba(255, 180, 110, 0) 44%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 46%),
    var(--bg);
}

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

a {
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(234, 242, 246, 0.88);
  border-bottom: 1px solid rgba(16, 37, 58, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(12, 64, 84, 0.24);
  display: block;
}

.brand__logo--horizontal {
  width: clamp(164px, 23vw, 242px);
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.brand__text {
  display: grid;
  gap: 0.12rem;
}

.brand__name {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand__tag {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 0.48rem 0.74rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(15, 109, 137, 0.12);
  color: var(--brand-strong);
}

.nav-link.is-active {
  background: var(--brand);
  color: #fff;
}

.hero {
  padding: clamp(2.5rem, 4vw, 4rem) 0 2.2rem;
}

.hero__card {
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 45%, #18a58f 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.hero__card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  top: -110px;
  right: -70px;
}

.hero__card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  bottom: -120px;
  left: -70px;
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.86;
  margin: 0 0 0.45rem;
}

.hero h1 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 3.8vw, 2.8rem);
  line-height: 1.15;
}

.hero p {
  margin: 0.9rem 0 0;
  max-width: 68ch;
  font-size: clamp(1rem, 1.9vw, 1.1rem);
  opacity: 0.95;
}

.hero__visual {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  overflow: hidden;
  max-width: 430px;
  justify-self: end;
  box-shadow: 0 14px 30px rgba(4, 26, 38, 0.2);
  min-height: 220px;
}

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

.hero__actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  text-decoration: none;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.68rem 1.05rem;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

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

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

.btn--light:hover,
.btn--light:focus-visible {
  box-shadow: 0 10px 22px rgba(3, 26, 40, 0.18);
}

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

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

.btn--accent:hover,
.btn--accent:focus-visible {
  box-shadow: 0 10px 20px rgba(255, 125, 69, 0.34);
}

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

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  box-shadow: 0 10px 20px rgba(38, 211, 103, 0.32);
}

.section {
  padding: 0 0 2.2rem;
}

.section__title {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.25;
}

.section__text {
  margin: 0;
  max-width: 76ch;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.8vw, 1.6rem);
  box-shadow: 0 14px 30px rgba(16, 37, 58, 0.08);
}

.panel + .panel {
  margin-top: 1rem;
}

.feature-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li + li {
  margin-top: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline__item {
  border-left: 4px solid var(--surface-strong);
  padding: 0.55rem 0.8rem;
  background: #f7fafc;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.timeline__item h3 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.timeline__item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 158, 136, 0.15);
  color: #00654f;
  font-weight: 700;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  background: #fff;
}

.card__icon {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(16, 37, 58, 0.08);
}

.card h3 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

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

.erg-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.erg-gallery__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 18px rgba(16, 37, 58, 0.08);
}

.erg-gallery__media {
  aspect-ratio: 4 / 3;
  background: #f2f7fb;
  border-bottom: 1px solid rgba(16, 37, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.erg-gallery__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.erg-gallery__media:focus-visible {
  outline: 3px solid rgba(15, 109, 137, 0.35);
  outline-offset: -3px;
}

.erg-gallery__item figcaption {
  padding: 0.7rem 0.78rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 25, 0.86);
  backdrop-filter: blur(2px);
}

.lightbox__figure {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(1160px, 92vw);
  max-height: 90vh;
  display: grid;
  gap: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #07131d;
  box-shadow: 0 30px 54px rgba(4, 12, 20, 0.58);
  padding: 0.9rem;
}

.lightbox__img {
  width: 100%;
  height: auto;
  max-height: min(76vh, 860px);
  object-fit: contain;
  border-radius: 10px;
  background: #0b202f;
}

.lightbox__caption {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #d7e8f4;
}

.lightbox__close {
  position: absolute;
  top: 0.56rem;
  right: 0.56rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 26, 38, 0.75);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(12, 41, 58, 0.95);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.doc-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-strong);
}

.kpi-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  text-align: center;
}

.kpi-card strong {
  display: block;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  color: var(--brand-strong);
}

.kpi-card span {
  font-size: 0.9rem;
  color: var(--muted);
}

.profile-photo {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.profile-photo img {
  width: min(280px, 100%);
  height: auto !important;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(16, 37, 58, 0.12);
}

.profile-photo figcaption {
  color: var(--muted);
  font-size: 0.87rem;
}

.disclaimer-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.map-card__head {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
}

.map-card__head h3 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.map-card__head p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-card iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.lead-field {
  display: grid;
  gap: 0.35rem;
}

.lead-field--full {
  grid-column: 1 / -1;
}

.lead-field label {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.66rem 0.72rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.lead-field textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: 2px solid rgba(15, 109, 137, 0.18);
  border-color: var(--brand);
}

.lead-feedback {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: #116a42;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(16, 37, 58, 0.09);
  background: #e7eff4;
  margin-top: 1.4rem;
}

.footer-row {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-brand__logo {
  width: clamp(148px, 17vw, 206px);
  height: auto;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 16px 24px rgba(5, 56, 27, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 28px rgba(5, 56, 27, 0.32);
}

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

.whatsapp-float__label {
  position: absolute;
  right: 66px;
  white-space: nowrap;
  background: #1d3242;
  color: #fff;
  padding: 0.36rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: 0.16s ease;
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 980px) {
  .header-row {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 66px 0 auto;
    border-bottom: 1px solid rgba(16, 37, 58, 0.08);
    background: rgba(237, 243, 247, 0.98);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    width: min(1140px, 92%);
    margin: 0.45rem auto 0.7rem;
    display: grid;
    gap: 0.24rem;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .brand__logo--horizontal {
    width: clamp(150px, 38vw, 210px);
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .hero__visual {
    justify-self: stretch;
    max-width: none;
  }

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

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

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

  .map-grid {
    grid-template-columns: 1fr;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-field--full {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.7rem;
  }

  .hero__card {
    border-radius: var(--radius);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .erg-gallery {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .footer-row {
    font-size: 0.86rem;
  }

  .footer-brand__logo {
    width: 156px;
  }

  .lightbox__figure {
    width: 94vw;
    padding: 0.62rem;
  }

  .lightbox__caption {
    font-size: 0.86rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float__label {
    display: none;
  }
}
