:root {
  --empresa-verde: #8fd13f;
  --empresa-azul: #1b5f7d;
  --empresa-celeste: #16b8f2;
  --gris-900: #0f172a;
  --gris-700: #334155;
  --gris-500: #64748b;
  --blanco: #ffffff;
  --sombra-suave: 0 20px 40px rgba(15, 23, 42, 0.12);
  --font-sans: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--gris-900);
  padding-top: 140px;
}

.site-header {
  position: relative;
  z-index: 50;
}

.nav-shell {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  padding: 0 8px;
  z-index: 50;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 22px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  position: relative;
}

.nav-shell.is-top .nav-inner {
  background: #f9fafb;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(148, 163, 184, 0.18);
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--empresa-azul);
  font-weight: 700;
}

.brand-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.2px;
  font-family: var(--font-serif);
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(30, 74, 101, 0.2);
  background: transparent;
  cursor: pointer;
}

.menu-icon {
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: var(--empresa-azul);
}

.menu-icon-close {
  opacity: 0;
  transform: rotate(-180deg) scale(0.9);
}

.nav-shell[data-state="open"] .menu-icon-open {
  opacity: 0;
  transform: rotate(180deg) scale(0.9);
}

.nav-shell[data-state="open"] .menu-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.nav-center {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.nav-links,
.nav-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--gris-700);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-section {
  position: relative;
  background: linear-gradient(rgba(14, 34, 48, 0.72), rgba(14, 34, 48, 0.78)), url("../images/asedral5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
  font-family: var(--font-serif);
  letter-spacing: 0.4px;
}

.nav-link:hover {
  color: var(--empresa-celeste);
}

.nav-panel {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  padding: 22px 24px;
  border-radius: 28px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.nav-shell[data-state="open"] .nav-panel {
  display: flex;
}

.nav-mobile {
  width: 100%;
}

.nav-mobile-links {
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  align-items: center;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.nav-button {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button-outline {
  border: 1px solid rgba(30, 74, 101, 0.2);
  color: var(--empresa-azul);
  background: transparent;
}

.nav-button-outline:hover {
  background: var(--empresa-celeste);
  color: var(--blanco);
  border-color: transparent;
}

.nav-button-solid {
  background: var(--empresa-azul);
  color: var(--blanco);
  box-shadow: 0 12px 24px rgba(30, 74, 101, 0.25);
}

.nav-button:hover {
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  body {
    padding-top: 150px;
  }

  .nav-inner {
    padding: 14px 28px;
  }

  .nav-brand {
    width: auto;
    flex: 1;
  }

  .menu-toggle {
    display: none;
  }

  .nav-center {
    display: flex;
  }

  .nav-panel {
    display: flex;
    width: auto;
    flex: 1;
    justify-content: flex-end;
    margin-top: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }

  .nav-shell[data-state="open"] .nav-panel {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .nav-actions {
    flex-direction: row;
    width: auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .brand-name {
    display: none;
  }
}

.site-footer {
  padding: 64px 24px 72px;
  background: #f4f6f8;
  margin-top: 40px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--empresa-azul);
  font-weight: 700;
}

.footer-name {
  font-family: var(--font-serif);
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gris-500);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gris-500);
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--empresa-azul);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links a,
.footer-social a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--empresa-celeste);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gris-500);
}

.indicators-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.indicators-grid {
  display: grid;
  gap: 16px;
}

.indicator-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.indicator-label {
  font-size: 0.85rem;
  color: var(--gris-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.indicator-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--empresa-azul);
}

.indicator-updated {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gris-500);
}

.contact-form-status {
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form-status[data-state="loading"] {
  color: var(--empresa-azul);
}

.contact-form-status[data-state="success"] {
  color: #15803d;
}

.contact-form-status[data-state="error"] {
  color: #b91c1c;
}

.indicator-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--gris-500);
}

@media (min-width: 768px) {
  .indicators-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
