.footer-note {
  color: #000;
}
:root {
  --bg: #003159;
  --bg-soft: #13249b;
  --card: rgba(3, 36, 73, 0.9);
  --text: #f4f9ff;
  --muted: rgba(200, 221, 255, 0.9);
  --accent: #09dfe6;
  --accent-strong: #2e46f3;
  --border: rgba(255, 255, 255, 0.12);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

.max-width {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 17, 47, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

#nav-toggle {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-header nav a {
  color: #003159;
  font-weight: 500;
}

.site-header .btn.secondary {
  border-color: #003159;
  color: #003159;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #003159;
}

.btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #00122d;
}

.btn.secondary {
  border-color: #2e46f3;
  color: #2e46f3;
  background: transparent;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
  background: transparent;
}

.toggle-more {
  border: 1px solid rgba(9, 223, 230, 0.5);
  color: rgba(9, 223, 230, 0.9);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(9, 223, 230, 0.3);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 6rem 0 4rem;
  position: relative;
  background: radial-gradient(circle at top, rgba(9, 223, 230, 0.2), transparent),
    url("img/fondos-01.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 45, 0.78);
}

.hero-content {
  position: relative;
  text-align: left;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
}

p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.hero-stats .stat {
  font-size: 2.5rem;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0.2rem 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card-grid article {
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 6, 24, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 360px;
}

.card-grid article h3 {
  margin-bottom: 0.25rem;
}

.extra-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.is-hidden {
  display: none !important;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.excerpt {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.5rem;
}

.expanded .excerpt {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.read-more {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(9, 223, 230, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.about-points {
  display: grid;
  gap: 1.5rem;
}

.about-points article {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.cert-grid img {
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  height: 90px;
  object-fit: contain;
  filter: grayscale(0.1);
}

.clients {
  background: rgba(255, 255, 255, 0.02);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.clients-grid img {
  width: 160px;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: grayscale(0.2);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.clients-grid img:hover {
  opacity: 1;
  filter: none;
}

.contact {
  background: rgba(0, 17, 47, 0.8);
}

.contact-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: rgba(3, 10, 32, 0.7);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

.contact-list strong {
  display: block;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: #f4f6fb;
  color: #003159;
}

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

.socials {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  color: #003159;
}

.site-footer a {
  color: #003159;
}

@media (max-width: 800px) {
  nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: rgba(5, 6, 10, 0.95);
    flex-direction: column;
    padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  #nav-toggle:checked + .nav-toggle + nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .site-header nav a,
  .site-header .btn.secondary {
    color: var(--text);
    border-color: var(--text);
  }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}

