@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8faf8;
  color: #1f2937;
  line-height: 1.6;
  overflow-x: hidden;
}

.btn-primary {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 1rem 0 0 auto;
  padding: 1rem;
  background-color: rgba(41, 153, 43, 0.06);
  color: #29992b;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  border-radius: 0.5rem;
  border: none;
  transition: background-color, 0.25s ease-in;
  transition: color 0.35s ease-in-out;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #1e7a20;
  color: #f8faf8;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.logo img {
  width: 55px;
  height: 44px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #29992b, #002477);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.6rem 1.1rem;
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #29992b;
  background: rgba(41, 153, 43, 0.06);
}

.nav-link.active {
  font-weight: 600;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  border: 1px solid #e5e7eb;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: #1f2937;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 450;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu li a:hover {
  background: rgba(41, 153, 43, 0.08);
  color: #29992b;
  padding-left: 1.3rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #1f2937;
  border-radius: 2px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    align-items: stretch;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    padding: 1rem;
    border-radius: 8px;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f9fafb;
    border-radius: 8px;
    margin: 0.5rem 0 0.5rem 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu.show {
    display: block;
    transform: none;
  }
  .hero {
    padding: 3.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .section-title h1 {
    font-size: 1.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .main-content {
    padding: 2.5rem 1rem;
  }
  .card-body {
    padding: 1.2rem 1.3rem 1.5rem;
  }
  .footer {
    padding: 3rem 1.2rem 1.5rem;
  }
}
/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #34c236;
}

.footer-col p,
.footer-col a {
  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col a:hover {
  color: #34c236;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-bottom a {
  color: #34c236;
  text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 72px;
  padding: 5rem 2rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/bg.jpg");
  background-position: center center;
  background-size: cover;
  filter: grayscale(100%);
  z-index: -1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #29992b;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(41, 153, 43, 0.4);
}

.hero-cta:hover {
  background: #34c236;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 153, 43, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
/* ===== MAIN CONTENT - CARDS ===== */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: #6b7280;
  font-size: 1.1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: #29992b;
}

.card-image {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-image .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #29992b;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem 1.8rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.8rem;
}

.card-body p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.2rem;
  color: #29992b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 14px;
}

.card-link svg {
  width: 18px;
  height: 18px;
}

/* Estilos de infografia*/
.infografia-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.infografia-modal[open] {
  animation: infografia-in 0.2s ease;
}

.infografia-modal__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
}

.infografia-modal__close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #03227a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.infografia-modal__close:hover {
  background: #2a9728;
  color: #fff;
}

.infografia-modal__close:focus-visible {
  outline: 3px solid #2a9728;
  outline-offset: 2px;
}

@keyframes infografia-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .infografia-modal[open] {
    animation: none;
  }
}
/* ===== CONTACT PAGE ===== */
.contact-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-no-style {
  text-decoration: none;
}

.contact-detail .icon {
  width: 48px;
  height: 48px;
  background: rgba(41, 153, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #29992b;
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #29992b;
  box-shadow: 0 0 0 3px rgba(41, 153, 43, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #29992b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
  background: #1e7a20;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

dialog.infografia-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

dialog.infografia-modal[open] {
  animation: infografia-in 0.2s ease;
}

.infografia-modal__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
}

.infografia-modal__close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #03227a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.infografia-modal__close:hover {
  background: #2a9728;
  color: #fff;
}

.infografia-modal__close:focus-visible {
  outline: 3px solid #2a9728;
  outline-offset: 2px;
}

@keyframes infografia-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog.infografia-modal[open] {
    animation: none;
  }
}
.card {
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(2) {
  animation-delay: 0.1s;
}

.card:nth-child(3) {
  animation-delay: 0.2s;
}

.card:nth-child(4) {
  animation-delay: 0.3s;
}

.card:nth-child(5) {
  animation-delay: 0.4s;
}

.card:nth-child(6) {
  animation-delay: 0.5s;
}

/* Overlay para móvil */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

.title-brand {
  text-align: center;
  margin: 3rem 0 3rem 0;
}
/*# sourceMappingURL=app.css.map */
