/* =============================================
   GUARDIANES CANINOS GP — Main Stylesheet
   ============================================= */

/* === TOKENS === */
:root {
  --verde-bosque:  #2e6b4f;
  --verde-medio:   #4a9970;
  --verde-menta:   #e8f5ee;
  --crema:         #f5f5f5;
  --naranja:       #d95f2b;
  --naranja-hover: #bf5225;
  --texto:         #222222;
  --texto-suave:   #555555;
  --blanco:        #ffffff;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body:    Arial, Helvetica, sans-serif;

  --radius-card:  6px;
  --shadow-card:  0 2px 8px rgba(0, 0, 0, 0.08);
  --transition:   0.2s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--crema);
  color: var(--texto);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--verde-bosque);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-menta);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__logo img {
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav__logo span { color: var(--naranja); }
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  color: var(--verde-menta);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--naranja); }
.nav__cta {
  background: var(--naranja);
  color: var(--blanco) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background var(--transition);
}
.nav__cta:hover { background: var(--naranja-hover) !important; color: var(--blanco) !important; }

/* === HERO === */
.hero {
  min-height: 50vh;
  background: var(--verde-bosque);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.hero__content { max-width: 760px; }
.hero__eyebrow {
  display: inline-block;
  color: var(--verde-menta);
  font-size: 0.85rem;
  font-weight: normal;
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color: var(--blanco);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero__title em {
  font-style: italic;
  color: var(--verde-menta);
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(216, 243, 220, 0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--naranja);
  color: var(--blanco);
}
.btn--primary:hover { background: var(--naranja-hover); }
.btn--outline {
  background: transparent;
  color: var(--verde-menta);
  border: 2px solid var(--verde-menta);
}
.btn--outline:hover { background: var(--verde-menta); color: var(--verde-bosque); }

/* === STATS BAR === */
.stats {
  background: var(--blanco);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  border-bottom: 3px solid var(--verde-menta);
}
.stat {
  text-align: center;
  padding: 1rem;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--verde-bosque);
  line-height: 1;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-top: 0.3rem;
}

/* === SECTIONS === */
.section { padding: 5rem 2rem; }
.section--alt { background: var(--verde-menta); }
.container { max-width: 1100px; margin: 0 auto; }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__eyebrow {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--verde-medio);
  margin-bottom: 0.4rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: bold;
  color: var(--verde-bosque);
  line-height: 1.3;
}
.section__desc {
  margin-top: 0.8rem;
  color: var(--texto-suave);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* === ABOUT === */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--verde-bosque);
  margin-bottom: 1rem;
}
.about__text p {
  color: var(--texto-suave);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.about__objectives { list-style: none; margin-top: 1.5rem; }
.about__objectives li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--texto-suave);
}
.about__objectives li::before {
  content: '🐾';
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about__visual {
  background: var(--verde-bosque);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--verde-menta);
  text-align: center;
}
.about__visual .big-emoji { font-size: 6rem; margin-bottom: 1rem; }
.about__visual p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

/* === MODULES GRID === */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.module-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #ddd;
  transition: box-shadow var(--transition);
}
.module-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.module-card__num {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--verde-medio);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.module-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.module-card__title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--verde-bosque);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.module-card__desc {
  font-size: 0.88rem;
  color: var(--texto-suave);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.module-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: var(--verde-menta);
  color: var(--verde-bosque);
}
.module-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--naranja);
  transition: gap var(--transition);
}
.module-card__link:hover { gap: 0.7rem; }
.module-card--coming .module-card__title { color: var(--texto-suave); }
.module-card--coming { opacity: 0.7; }

/* === LAWS === */
.laws__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.law-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border-left: 4px solid var(--verde-medio);
  box-shadow: var(--shadow-card);
}
.law-card__source {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde-medio);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.law-card__text {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.5;
  font-style: italic;
}

/* === FOOTER === */
.footer {
  background: var(--verde-bosque);
  color: var(--verde-menta);
  padding: 3rem 2rem;
  text-align: center;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer__logo span { color: var(--naranja); }
.footer__sub {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}
.footer__links a {
  font-size: 0.85rem;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer__links a:hover { opacity: 1; }
.footer__copy {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}