:root {
  --color-primary: #1590c9;
  --color-primary-dark: #0d6da0;
  --color-accent: #4fd1e8;
  --color-violet: #6a6df0;
  --color-ink: #0c1b2a;
  --color-ink-soft: #52667a;
  --color-bg: #ffffff;
  --color-bg-alt: #f2f8fc;
  --color-border: #dce6ee;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 109, 160, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 27, 42, 0.14);
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-violet) 130%);
  --gradient-mesh: radial-gradient(circle at 15% 20%, rgba(21, 144, 201, 0.16), transparent 45%),
                   radial-gradient(circle at 85% 0%, rgba(106, 109, 240, 0.14), transparent 40%),
                   radial-gradient(circle at 50% 100%, rgba(79, 209, 232, 0.14), transparent 45%);
  --container: 1160px;
  --font: "Poppins", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", var(--font);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: var(--color-primary); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 999px; border: 2px solid var(--color-bg-alt); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg { width: 18px; height: 18px; fill: currentColor; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 16px; color: var(--color-ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
p { margin: 0 0 16px; color: var(--color-ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.btn--primary {
  background: var(--gradient-primary);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(21, 144, 201, 0.32);
}
.btn--primary:hover { background-position: 100% 50%; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21, 144, 201, 0.4); }
.btn--primary:active { transform: translateY(-1px); }
.btn--ghost { border-color: var(--color-primary); color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-bg-alt); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* Topbar */
.topbar {
  background: var(--color-ink);
  color: #cfe3df;
  font-size: .8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding: 7px 24px;
  flex-wrap: nowrap;
}
.topbar__group {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.topbar__group--secondary { flex-shrink: 0; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  opacity: .9;
  white-space: nowrap;
}
.topbar__item:hover { opacity: 1; }
.topbar__item span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__item svg { width: 13px; height: 13px; flex-shrink: 0; }
.topbar__social { display: flex; align-items: center; gap: 10px; }
.topbar__social a { opacity: .88; transition: opacity .25s ease, transform .25s var(--ease); }
.topbar__social a:hover { opacity: 1; transform: translateY(-1px); }
.topbar__social svg { width: 14px; height: 14px; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(12, 27, 42, .56);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-backdrop[hidden] { display: none; }
body.nav-open { overflow: hidden; }
.navbar.is-scrolled {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(12, 27, 42, 0.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px 24px;
}
.logo__img {
  height: 52px;
  width: auto;
}
.logo__img--footer {
  height: 96px;
  filter: brightness(1.25) drop-shadow(0 4px 14px rgba(79, 209, 232, 0.35));
}

.navbar__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.7vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  font-weight: 600;
}
.navbar__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .25s ease;
}
.navbar__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
  transition: right .35s var(--ease);
}
.navbar__menu a:hover { color: var(--color-primary); }
.navbar__menu a:hover::after { right: 0; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 27, 42, 0.86) 0%, rgba(12, 27, 42, 0.6) 45%, rgba(12, 27, 42, 0.25) 75%);
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__text { max-width: 620px; }
.hero__text h1 { color: #fff; }
.hero__text h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--color-accent), #a5f0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text p { color: rgba(255,255,255,.86); font-size: 1.08rem; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

.hero__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(21, 144, 201, .92), rgba(106, 109, 240, .88));
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(12, 27, 42, 0.35);
  animation: float 5s ease-in-out infinite;
}
.hero__badge svg { width: 18px; height: 18px; fill: #fff; }
.hero__badge--1 { top: 14%; right: 8%; animation-delay: .2s; }
.hero__badge--2 { top: 42%; right: 18%; animation-delay: 1.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Marquee ticker */
.marquee {
  background: var(--gradient-primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee__track {
  display: inline-flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .95rem;
  padding-right: 4px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__badge { animation: none; }
}

/* Stats */
.stats {
  padding: 72px 0;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(21, 144, 201, 0.28), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(106, 109, 240, 0.24), transparent 45%);
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.stat:hover .stat__icon { transform: translateY(-4px) scale(1.08); background: rgba(255, 255, 255, .14); }
.stat__icon svg { width: 26px; height: 26px; fill: var(--color-accent); }
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .65);
  font-size: .95rem;
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--color-bg-alt); position: relative; overflow: hidden; }
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}
.section--alt > * { position: relative; }
.section__lead { max-width: 640px; font-size: 1.08rem; }
.section__actions { margin-top: 32px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col + .two-col { margin-top: 40px; }

.stat-card {
  background: var(--gradient-primary);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(21, 144, 201, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stat-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%);
  border-radius: 50%;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(21, 144, 201, 0.36); }
.stat-card h3 { color: #fff; }
.stat-card p { color: rgba(255,255,255,.85); margin: 0; }

.cta-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 230, 238, .8);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cta-strip:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.cta-strip h3 { margin: 0; }

.empresa__illustration {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.card h3 { margin-bottom: 8px; font-family: var(--font-display); }
.card p { margin: 0; font-size: .92rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.team-item {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 27, 42, 0) 30%, rgba(12, 27, 42, .55) 60%, rgba(12, 27, 42, .92) 100%);
  transition: background .4s var(--ease);
}
.team-item:hover .team-item__overlay {
  background: linear-gradient(180deg, rgba(12, 27, 42, .2) 0%, rgba(13, 109, 160, .78) 55%, rgba(12, 27, 42, .95) 100%);
}
.team-item__content {
  position: relative;
  padding: 22px;
  width: 100%;
}
.team-item h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.15rem;
  font-family: var(--font-display);
}
.team-item__more {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0;
  transition: opacity .3s var(--ease);
}
.team-item p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .92);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.team-item:hover p { max-height: 200px; opacity: 1; margin-top: 8px; }
.team-item:hover .team-item__more { opacity: 0; display: none; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.news-card__media {
  display: block;
  overflow: hidden;
}
.news-card__media:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}
.news-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-alt);
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card__img { transform: scale(1.06); }
.news-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__category {
  color: var(--color-primary);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.news-card__title { font-size: 1.05rem; margin: 0 0 12px; }
.news-card__date { margin-top: auto; font-size: .8rem; color: var(--color-ink-soft); }

/* Map / location */
.map-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: stretch;
}
.map-block__frame {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.map-block__frame iframe { width: 100%; height: 100%; min-height: 380px; }
.map-block__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.map-block__card h3 { margin: 0; }
.map-block__info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.map-block__info li { display: flex; align-items: flex-start; gap: 12px; }
.map-block__info svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; fill: var(--color-primary); }
.map-block__info span { color: var(--color-ink-soft); font-size: .92rem; }
.map-block__card .btn { align-self: flex-start; }

/* Contact form */
.contact-form {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 230, 238, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  resize: vertical;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,.8);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(21, 144, 201, 0.14);
}
.contact-form .btn {
  align-self: flex-start;
  justify-content: center;
}
.form-note { font-size: .78rem; margin: 0; }

/* Footer */
.footer {
  background: var(--color-ink);
  color: rgba(226, 238, 248, .75);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 144, 201, 0.12), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(106, 109, 240, 0.1), transparent 40%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand .logo__img--footer { margin-bottom: 20px; }
.footer__brand p { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a:hover { transform: translateY(-3px); background: var(--color-primary); border-color: var(--color-primary); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }
.footer h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: .92rem;
  transition: color .25s ease, padding-left .25s var(--ease);
}
.footer__col a:hover { color: var(--color-accent); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; fill: var(--color-accent); margin-top: 4px; }
.footer__contact a:hover { color: var(--color-accent); }
.footer p { color: inherit; }
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  font-size: .84rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bottom p { margin: 0; color: rgba(226, 238, 248, .55); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hover lift */
.card, .news-card {
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover, .news-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg);
}
.team-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}
.news-card__title a { transition: color .2s ease; }
.news-card:hover .news-card__title a { color: var(--color-primary); }

/* Staggered reveal for grids */
.cards-grid .card,
.team-grid .team-item,
.news-grid .news-card {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cards-grid.is-visible .card,
.team-grid.is-visible .team-item,
.news-grid.is-visible .news-card {
  animation: rise .6s var(--ease) backwards;
}
.cards-grid .card:nth-child(1), .team-grid .team-item:nth-child(1), .news-grid .news-card:nth-child(1) { animation-delay: .05s; }
.cards-grid .card:nth-child(2), .team-grid .team-item:nth-child(2), .news-grid .news-card:nth-child(2) { animation-delay: .12s; }
.cards-grid .card:nth-child(3), .team-grid .team-item:nth-child(3), .news-grid .news-card:nth-child(3) { animation-delay: .19s; }
.cards-grid .card:nth-child(4), .team-grid .team-item:nth-child(4), .news-grid .news-card:nth-child(4) { animation-delay: .26s; }
.team-grid .team-item:nth-child(5), .news-grid .news-card:nth-child(5) { animation-delay: .33s; }
.team-grid .team-item:nth-child(6), .news-grid .news-card:nth-child(6) { animation-delay: .4s; }
.team-grid .team-item:nth-child(7) { animation-delay: .47s; }
.team-grid .team-item:nth-child(8) { animation-delay: .54s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 200;
}
.whatsapp-fab svg { width: 26px; height: 26px; fill: #fff; }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse-ring 2.4s var(--ease) infinite;
  z-index: -1;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::after { animation: none; }
}

/* Nav highlight (Seja Cooperado) */
.navbar__menu a.nav-highlight {
  background: var(--gradient-primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(21, 144, 201, 0.3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.navbar__menu a.nav-highlight::after { display: none; }
.navbar__menu a.nav-highlight:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21, 144, 201, 0.4); }

/* News placeholder + excerpt */
.news-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
.news-card__img--placeholder::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
  top: -60px; right: -40px;
}
.news-card__img--placeholder span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.news-card__excerpt { font-size: .88rem; margin: 0 0 12px; }

/* Page hero (internal pages) */
.page-hero {
  position: relative;
  padding: 96px 0 72px;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.page-hero__mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .hero__actions { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Vacancy card */
.vacancy-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.vacancy-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.vacancy-card__badge {
  display: inline-block;
  background: rgba(37, 211, 102, .14);
  color: #0e9c4a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.vacancy-card .btn { margin-top: 8px; }

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 24px; height: 24px; flex-shrink: 0; fill: var(--color-primary); margin-top: 3px; }
.check-list strong { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.check-list p { margin: 0; font-size: .92rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-ink-soft);
  transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow);
}

/* CTA banner */
.cta-banner {
  margin-top: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 22px 48px rgba(21, 144, 201, 0.32);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
  top: -120px; right: -80px;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.btn--light { background: #fff; color: var(--color-primary); box-shadow: 0 10px 26px rgba(12, 27, 42, .2); position: relative; z-index: 1; }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(12, 27, 42, .28); }

/* Tabs (contato/ouvidoria) */
.tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 40px;
}
.tabs__btn {
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-ink-soft);
  padding: 10px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.tabs__btn.is-active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 144, 201, .3);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: grid; }
.tab-panel { padding: 0; }

.contact-form select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(21, 144, 201, 0.14);
}

/* Article */
.article__container { max-width: 780px; }
.article__back {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 24px;
  transition: transform .3s var(--ease);
}
.article__back:hover { transform: translateX(-4px); }
.article h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.article__date { display: block; color: var(--color-ink-soft); font-size: .88rem; margin-bottom: 28px; }
.article__img {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.article__p { font-size: 1.02rem; line-height: 1.8; }
.article__cta { margin-top: 36px; }
.event-details {
  list-style: none;
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}
.event-details li {
  color: var(--color-ink-soft);
  font-size: .95rem;
}
.event-details li + li { margin-top: 8px; }

/* Filiais */
.filiais {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.filial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.filial::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.filial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.filial__badge {
  display: inline-block;
  background: rgba(21, 144, 201, .1);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.filial h3 { margin-bottom: 6px; }
.filial p { font-size: .92rem; margin-bottom: 12px; }
.filial__link { color: var(--color-primary); font-weight: 600; font-size: .9rem; }
.filial__link:hover { text-decoration: underline; }

/* ===== Links page ===== */
.links-page {
  min-height: 100vh;
  background: var(--color-ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.links-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(21, 144, 201, 0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(106, 109, 240, 0.3), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(79, 209, 232, 0.2), transparent 40%);
  pointer-events: none;
}
.links-wrap { width: 100%; max-width: 460px; position: relative; }
.links-card {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.links-logo {
  width: 92px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 8px 20px rgba(21, 144, 201, .5));
  animation: float 5s ease-in-out infinite;
}
.links-card h1 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.links-tagline {
  color: rgba(255, 255, 255, .65);
  font-size: .92rem;
  margin-bottom: 28px;
}
.links-list { display: flex; flex-direction: column; gap: 14px; }
.link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.link-item:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.link-item svg { width: 26px; height: 26px; flex-shrink: 0; }
.link-item--wa svg { fill: #25d366; }
.link-item--mail svg { fill: var(--color-accent); }
.link-item--site svg { fill: #a5b8ff; }
.link-item strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.link-item small { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.links-social { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
.links-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.links-social a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .16); }
.links-social svg { width: 20px; height: 20px; fill: rgba(255, 255, 255, .85); }
.links-footer { color: rgba(255, 255, 255, .4); font-size: .8rem; margin: 26px 0 0; }

/* Responsive */
@media (max-width: 960px) {
  .topbar__item--email { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .map-block { grid-template-columns: 1fr; }
  .map-block__frame, .map-block__frame iframe { min-height: 300px; }
  .two-col + .two-col { margin-top: 24px; }
  .empresa__illustration { max-width: 320px; }
  .cards-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .filiais { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero__badge { display: none; }
}

@media (max-width: 1024px) {
  .navbar__toggle { display: flex; }
  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    height: 100vh;
    padding: 88px 0 24px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: flex;
    transform: translateX(102%);
    visibility: hidden;
    border-left: 1px solid var(--color-border);
    box-shadow: -26px 0 52px rgba(12, 27, 42, .22);
    transition: transform .34s var(--ease), visibility .34s var(--ease);
    z-index: 101;
  }
  .navbar__menu::before {
    content: "Menu";
    position: absolute;
    top: 30px;
    left: 24px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-ink);
  }
  .navbar__menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .navbar__menu li { border-top: 1px solid var(--color-border); }
  .navbar__menu li:last-child { border-bottom: 1px solid var(--color-border); }
  .navbar__menu a {
    display: flex;
    justify-content: space-between;
    min-height: 0;
    padding: 16px 24px;
    font-size: .98rem;
  }
  .navbar__menu a::after { display: none; }
  .navbar__menu a.nav-highlight {
    margin: 10px 24px 14px;
    justify-content: center;
  }
  .navbar__toggle {
    position: relative;
    z-index: 102;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
  }
  .navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navbar__toggle span { transition: transform .25s ease, opacity .2s ease; }
}

@media (max-width: 720px) {
  .topbar__inner { display: none; }
  .navbar__inner { min-height: 70px; }
  .logo__img { height: 46px; }
  .cards-grid, .team-grid, .news-grid { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}
