﻿/* === ESTILOS PÁGINA PQR === */
.pqr-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.pqr-hero {
  /* Unifica con .hero global */
}
.pqr-hero .hero-content {
  /* Usa los estilos globales de .hero-content */
}
.pqr-hero .hero-content h1 {
  /* Usa los estilos globales de .hero-content h1 */
}
.pqr-hero .hero-tagline {
  /* Usa los estilos globales de .hero-tagline */
}
.pqr-hero-line {
  margin: 0;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1.1rem;
}
.pqr-main-section {
  background: #f9fafb;
  padding: 0;
}
.pgr-legal {
  background-color: white;
  border-left: 5px solid var(--info);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}
.pgr-legal-title {
  color: var(--info);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  font-size: 1.3rem;
}
.pgr-legal p {
  margin: 0;
  line-height: 1.6;
}
.pqr-section-card {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  border: 1.5px solid var(--primary-light);
  box-shadow: 0 4px 20px rgba(107, 142, 35, 0.07);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.pqr-section-card:hover {
  box-shadow: 0 10px 30px rgba(107, 142, 35, 0.13);
  transform: translateY(-2px);
}
.pqr-title {
  color: var(--primary-dark);
  margin: 0 0 30px 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 15px;
}
.pqr-info-highlight {
  border: 2px solid var(--info);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 30px;
  background: #f9fafb;
}
.pgr-info-title {
  color: var(--info);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}
.pgr-info-text {
  margin: 0 0 10px 0;
  line-height: 1.6;
}
.pgr-info-deadline {
  margin: 0;
  color: #555;
}
.pgr-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pqr-type-card {
  border-radius: 12px;
  padding: 25px;
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(107, 142, 35, 0.06);
  border: 1.5px solid var(--primary-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pqr-type-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 8px 20px rgba(107, 142, 35, 0.1);
  background-color: #fff;
}
.pgr-type-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
}
.pgr-type-title i {
  color: var(--primary-green);
  font-size: 1.4rem;
}
.pqr-type-card p {
  margin: 0 0 10px 0;
  line-height: 1.5;
  font-size: 0.95rem;
}
.pqr-type-card ul {
  margin: 0 0 15px 0;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
}
.pgr-response-time {
  margin: auto 0 0 0 !important;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: var(--primary-green);
  font-weight: 600;
}
.pgr-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pgr-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pgr-form .form-label {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-left: 2px;
}
.pgr-form .form-control {
  border-radius: 10px;
  border: 1.5px solid var(--primary-light);
  background: #f9fafb;
  font-size: 1rem;
  padding: 12px 15px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.pgr-form .form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.13);
  background: #fff;
}
.pgr-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
}
.pgr-file-help {
  margin: 5px 0 0 0;
  font-size: 0.85rem;
  color: #666;
}
.pgr-form-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 25px;
}
.pgr-form-actions .btn {
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}
.pgr-form-actions .btn.btn-primary {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.13);
}
.pgr-form-actions .btn.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(107, 142, 35, 0.18);
  transform: translateY(-1px);
}
.pgr-form-actions .btn.btn-outline {
  background: #fff;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}
.pgr-form-actions .btn.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pgr-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.pgr-channel-card {
  background: #f9fafb;
  border-radius: 13px;
  border: 1.5px solid var(--primary-light);
  padding: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.pgr-channel-card:hover {
  border-color: var(--primary-green);
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(107, 142, 35, 0.1);
}
.pgr-channel-icon {
  color: var(--primary-green);
  font-size: 2rem;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.pgr-channel-info {
  flex: 1;
}
.pgr-channel-title {
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}
.pgr-channel-value {
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  word-break: break-all;
}
.pgr-channel-meta {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}
.pgr-rights-box {
  background: #f9fafb;
  border-radius: 12px;
  border: 1.5px solid var(--primary-light);
  padding: 25px;
}
.pgr-rights-intro {
  margin: 0 0 20px 0;
  font-size: 1.05rem;
}
.pgr-rights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}
.pgr-rights-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pgr-rights-item i {
  color: var(--primary-green);
  font-size: 1.3rem;
}
/* FUTURO VERDE - CSS UNIFICADO */
/* Generado desde: main.css, template.css, theme.css, tree-animations.css */

/* ===== Inicio: assets/css/main.css ===== */

/**
 * FUTURO VERDE - ESTILOS PRINCIPALES
 * Sistema de diseÃ±o consolidado
 */

/* ============================================
   ðŸ”„ RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ============================================
   ðŸŽ¨ VARIABLES CSS
   ============================================ */
:root {
  /* Colores principales */
  --primary-green: #6b8e23;
  --primary-dark: #556b2f;
  --primary-light: #8fbc8f;
  --secondary-green: #9acd32;
  --accent-green: #8fbc8f;

  /* Grises */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Estados */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Espaciado */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Z-index */
  --z-sticky: 1020;
  --z-dropdown: 1000;
  --z-50: 50;

  /* Transiciones */
  --transition-base: all 0.3s ease;
}

/* ============================================
   ðŸ“ TIPOGRAFÃA
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   ðŸ—ï¸ LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-12) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   ðŸ§­ NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--primary-green) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  width: 100%;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--primary-green) !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  gap: var(--space-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-company {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  justify-content: center;
}

.navbar-company .company-short {
  display: none;
}

.navbar-company strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.navbar-company small {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar-menu > a,
.navbar-item {
  display: flex;
  align-items: center;
}

.navbar-menu > a {
  padding: var(--space-2) var(--space-3);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  transition: var(--transition-base);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.navbar-item > a {
  padding: var(--space-2) var(--space-3);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  transition: var(--transition-base);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.navbar-menu > a:hover,
.navbar-item > a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Dropdown - Estilos Desktop */
.navbar-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px); /* Aparece justo debajo del anchor */
  left: 0;
  min-width: 250px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0;
}

.navbar-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  color: var(--gray-700);
  border-radius: 6px;
  transition: var(--transition-base);
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown a:hover {
  background: var(--primary-green);
  color: white;
}

.dropdown a i {
  font-size: 1.2rem;
  opacity: 0.8;
}

.dropdown-group {
  border-radius: 8px;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.dropdown-group:last-child {
  margin-bottom: 0;
}

.dropdown-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
}

.dropdown-group summary::-webkit-details-marker {
  display: none;
}

.dropdown-group summary:hover {
  background: rgba(107, 142, 35, 0.1);
}

.dropdown-group[open] summary {
  background: rgba(107, 142, 35, 0.14);
}

.dropdown-group > a {
  padding-left: 2.6rem !important;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.toggle-line {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggle.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

/* ============================================
   ðŸŽ¯ HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  width: 100%;
  margin-top: 70px;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 122, 62, 0.85);
  z-index: 2;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  animation: heroPattern 20s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes heroPattern {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
  will-change: opacity, transform;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* ============================================
   ðŸŽ´ CARDS
   ============================================ */
.card {
  background: white;
  border-radius: 12px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--primary-green);
  border-radius: 50%;
}

.service-icon i {
  font-size: 2.5rem;
  color: white;
}

.service-icon .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  margin: 0;
}

.service-card-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  border: 1px solid var(--gray-200);
}

.service-card-modern .service-icon {
  margin-bottom: var(--space-2);
}

.service-kicker {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(107, 142, 35, 0.1);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-card-modern h3 {
  text-align: center;
  margin-bottom: 0;
}

.service-card-modern p {
  color: var(--gray-800);
  margin-bottom: 0;
  text-align: center;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--gray-800);
  font-size: 0.93rem;
}

.service-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-green);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.service-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--primary-green);
  background: var(--primary-green);
  color: white;
}

.service-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.service-cta .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* CTA de asistencia en inicio */
.home-assistance-section {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(154, 205, 50, 0.14),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(107, 142, 35, 0.1),
      transparent 42%
    ),
    linear-gradient(180deg, #f7faf5 0%, #f3f6f2 100%);
}

.home-assistance-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(107, 142, 35, 0.16);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.08);
}

.home-assistance-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(107, 142, 35, 0.12);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-assistance-title {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: var(--space-3);
  color: var(--gray-900);
}

.home-assistance-text {
  max-width: 690px;
  margin: 0 auto var(--space-8);
  color: var(--gray-500);
  line-height: 1.75;
  font-size: 1.05rem;
}

.home-assistance-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.home-assistance-btn {
  min-width: 190px;
  justify-content: center;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.home-assistance-btn.btn-outline {
  border-color: rgba(107, 142, 35, 0.75);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
}

.home-assistance-btn.btn-outline:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.home-assistance-btn .material-symbols-outlined {
  font-size: 1.2rem;
  line-height: 1;
}

/* ============================================
   ðŸ”˜ BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-primary {
  background: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-green);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}

/* Sistema de botones unificado para la portada */
.home-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.3rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.home-page .btn .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  line-height: 1;
}

.home-page .btn-sm {
  min-height: 40px;
  padding: 0.58rem 1rem;
  font-size: 0.9rem;
}

.home-page .btn-lg {
  min-height: 50px;
  padding: 0.9rem 1.45rem;
  font-size: 1rem;
}

.home-page .btn-primary {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  box-shadow: 0 8px 18px rgba(85, 107, 47, 0.22);
}

.home-page .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(85, 107, 47, 0.3);
}

.home-page .btn-outline {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(85, 107, 47, 0.7);
  color: var(--primary-dark);
}

.home-page .btn-outline:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(85, 107, 47, 0.24);
}

.home-page .btn-glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.home-page .btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.62);
  color: white;
}

.home-page .btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.home-page .service-cta {
  border-radius: 10px;
}

/* Servicios en portada: 4 tarjetas en una sola linea */
.home-page #servicios .services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-page #servicios .container {
  max-width: 1440px;
}

.home-page .valores-section .container {
  max-width: 1440px;
}

.home-page .valores-grid {
  gap: 1.25rem;
}

/* Impacto en portada */
.home-page .home-impact-section {
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(107, 142, 35, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(16, 185, 129, 0.08),
      transparent 40%
    ),
    linear-gradient(180deg, #f7faf5 0%, #f3f6f2 100%);
}

.home-page .home-impact-title {
  margin-bottom: 2.25rem;
}

.home-page .home-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-page .home-impact-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(107, 142, 35, 0.12);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-page .home-impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(31, 41, 55, 0.1);
}

.home-page .home-impact-value {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary-dark);
}

.home-page .home-impact-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* Quienes Somos */
.about-page {
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(107, 142, 35, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 90%,
      rgba(16, 185, 129, 0.07),
      transparent 32%
    ),
    #f7faf8;
}

.about-page .about-hero {
  position: relative;
  overflow: hidden;
}

.about-page .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(70, 88, 34, 0.68) 0%,
    rgba(93, 126, 30, 0.58) 100%
  );
}

.about-page .about-hero .hero-content {
  position: relative;
  z-index: 1;
  opacity: 1 !important;
}

.about-page .about-hero .hero-content h1 {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.38);
  -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.3);
}

.about-page .about-hero .hero-tagline {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.45),
    0 5px 14px rgba(0, 0, 0, 0.32);
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.28);
}

.about-page .about-container {
  max-width: 1280px;
}

.about-content-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.about-page .about-card {
  border: 1px solid rgba(107, 142, 35, 0.14);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.07);
}

.about-page .about-company-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf6 100%);
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-service-item {
  background: #f8fbf7;
  border: 1px solid rgba(107, 142, 35, 0.16);
  border-radius: 12px;
  padding: 1rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(31, 41, 55, 0.08);
}

.about-page .about-legal-list li {
  background: #fafcf9;
  border: 1px solid rgba(107, 142, 35, 0.1);
  border-radius: 10px;
  margin-bottom: 0.55rem;
  padding: 0.7rem 0.85rem;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-contact-grid > div {
  background: #f8fbf7;
  border: 1px solid rgba(107, 142, 35, 0.16);
  border-radius: 12px;
  padding: 1rem;
}

@media (max-width: 1280px) {
  .home-page #servicios .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-page #servicios .services-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-impact-grid {
    grid-template-columns: 1fr;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ðŸ“Š UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}
.text-white {
  color: white;
}
.bg-light {
  background-color: var(--gray-50);
}
.hover-lift {
  transition: transform 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
}

/* Grids responsivos */
.services-grid,
.news-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================
   ðŸ¦¶ FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: var(--space-12) 0 var(--space-6);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: white;
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-4);
  font-size: 1.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-4);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-base);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Social link individual (footer) */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-base);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link span {
  font-size: 1.2rem;
  line-height: 1;
}

/* Navbar responsive desde 1140px */
@media (max-width: 1140px) {
  .navbar-company .company-full {
    display: none;
  }

  .navbar-company .company-short {
    display: block;
  }

  .navbar-logo {
    height: 40px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-item {
    width: 100%;
  }

  .navbar-menu > a,
  .navbar-item > a {
    padding: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    margin-top: var(--space-2);
    display: none;
  }

  .navbar-item.active .dropdown {
    display: block;
  }

  .dropdown-group summary {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .dropdown-group summary:hover,
  .dropdown-group[open] summary {
    background: rgba(255, 255, 255, 0.12);
  }

  .dropdown-group > a {
    color: rgba(255, 255, 255, 0.95);
  }
}

/* ============================================
   ðŸ“± RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }

  /* Navbar Mobile */
  .navbar-company .company-full {
    display: none;
  }

  .navbar-company .company-short {
    display: block;
  }

  .navbar-logo {
    height: 40px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-item {
    width: 100%;
  }

  .navbar-menu > a,
  .navbar-item > a {
    padding: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    margin-top: var(--space-2);
    display: none;
  }

  .navbar-item.active .dropdown {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  /* Ocultar order en mÃ³vil */
  [style*="order"] {
    order: 0 !important;
  }

  .service-card-modern {
    padding: var(--space-4);
  }

  .home-assistance-card {
    padding: 1.75rem 1.1rem;
    border-radius: 14px;
  }

  .home-assistance-text {
    font-size: 1rem;
    margin-bottom: var(--space-6);
  }

  .home-assistance-actions {
    gap: 0.75rem;
  }

  .home-assistance-btn {
    width: 100%;
    min-width: unset;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 600px;
  }

  /* Grid responsive desde tablet */
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 700px;
  }
}

/* ============================================
   ðŸŽ¨ MODERN DESIGN ENHANCEMENTS
   ============================================ */

/* Hero Enhanced */
.hero-enhanced {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(85, 107, 47, 0.88);
  z-index: 1;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: rgba(249, 250, 251, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

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

/* Hero Title */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
  color: #fff;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-glow {
  box-shadow:
    0 0 20px rgba(107, 142, 35, 0.5),
    0 0 40px rgba(107, 142, 35, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(107, 142, 35, 0.5),
      0 0 40px rgba(107, 142, 35, 0.3);
  }
  50% {
    box-shadow:
      0 0 30px rgba(107, 142, 35, 0.7),
      0 0 60px rgba(107, 142, 35, 0.5);
  }
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Animations */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Valores Section Enhanced */
.valores-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.section-title-modern {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: #6b8e23;
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #111827;
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.8;
}

/* Valores Grid */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

@media (max-width: 1200px) {
  .valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.valor-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.valor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #6b8e23;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.valor-card:hover::before {
  transform: scaleX(1);
}

.valor-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.valor-icon-green {
  background: #059669;
}

.valor-icon-blue {
  background: #2563eb;
}

.valor-icon-orange {
  background: #d97706;
}

.valor-icon-nature {
  background: #6b8e23;
}

.valor-card:hover .valor-icon-wrapper {
  transform: rotate(5deg) scale(1.05);
}

.valor-icon {
  font-size: 2.5rem !important;
  color: white;
}

.valor-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.valor-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.valor-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #f3f4f6;
  color: #6b8e23;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .hero-enhanced {
    min-height: 100svh;
    background-attachment: scroll;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .valores-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .valor-card {
    padding: 1.5rem;
  }
}

/* Touch Improvements */
@media (hover: none) {
  .valor-card:active {
    transform: scale(0.98);
  }

  .btn:active {
    transform: scale(0.95);
  }
}

/* Scroll Animations */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate="fade-up"].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Performance Optimizations */
.valor-card,
.btn,
.hero-overlay {
  will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   ðŸ’¡ TOOLTIPS & UTILITIES
   ============================================ */

.tooltip {
  position: fixed;
  background: rgba(17, 24, 39, 0.95);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  pointer-events: none;
  z-index: 9999;
  animation: tooltipFadeIn 0.2s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ðŸŽ¯ NAVBAR ENHANCED
   ============================================ */

.navbar {
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   ðŸ“± MOBILE OPTIMIZATIONS
   ============================================ */

/* Mejoras tÃ¡ctiles para mÃ³viles */
@media (max-width: 768px) {
  .btn {
    min-height: 44px; /* TamaÃ±o mÃ­nimo tÃ¡ctil iOS */
    padding: 0.875rem 1.5rem;
  }

  .card {
    -webkit-tap-highlight-color: transparent;
  }

  /* Evitar zoom en inputs iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
  }
}

/* Mejoras para Safari iOS */
@supports (-webkit-touch-callout: none) {
  .hero-enhanced {
    min-height: -webkit-fill-available;
  }
}

/* ============================================
   âš¡ LOADING STATES
   ============================================ */

.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   ðŸŽ¨ GLASS MORPHISM UTILITIES
   ============================================ */

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   ðŸ”¥ GRADIENT UTILITIES
   ============================================ */

/* ============================================
   ðŸŽ¨ COLOR UTILITIES - COLORES NATURALES
   ============================================ */

.bg-primary {
  background: #6b8e23;
}

.bg-success {
  background: #059669;
}

.bg-overlay {
  position: relative;
}

.bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(85, 107, 47, 0.88);
  z-index: 1;
}

/* ============================================
   âœ¨ SCROLL REVEAL ANIMATIONS
   ============================================ */

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate="fade-left"].animate-in {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate="fade-right"].animate-in {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="scale"] {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate="scale"].animate-in {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   ðŸŽ¯ FOCUS STATES (Accesibilidad)
   ============================================ */

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6b8e23;
  outline-offset: 2px;
}

/* ============================================
   ðŸ“Š SKELETON LOADERS (Opcional)
   ============================================ */

.skeleton {
  background: #e5e7eb;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ============================================
   ðŸŒ PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .footer,
  .hero-badge,
  .hero-actions,
  .hero-stats {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ============================================
   ðŸŽ¨ CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6b8e23;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #556b2f;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6b8e23 #f1f1f1;
}

/* ===== Fin: assets/css/main.css ===== */

/* ===== Inicio: assets/css/template.css ===== */

/**
 * Plantilla: Feed Social Integrado
 * ID: T11_SOCIAL_FEED
 * TipografÃ­a: Work Sans / IBM Plex Sans
 * Hero: social_hero
 */

@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");

/* ============================================
   TOKENS DE COLOR
   ============================================ */
:root {
  --color-primary: #6b8e23;
  --color-secondary: #556b2f;
  --color-accent: #8fbc8f;
  --color-success: #10b981;

  --color-primary-light: #0288d120;
  --color-primary-dark: #546e7a;

  --font-primary: "Work Sans", sans-serif;
  --font-secondary: "IBM Plex Sans", sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================
   TIPOGRAFÃA
   ============================================ */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

/* ============================================
   NAVBAR - social_nav
   ============================================ */

.navbar {
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

/* ============================================
   HERO - social_hero
   ============================================ */

/* Hero styles moved to shared/css/components.css */
/* Avoid conflicts by not redefining .hero here */

/* ============================================
   CARDS - instagram_grid
   ============================================ */

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--color-primary);
}

/* ============================================
   NOTICIAS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-secondary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.35;
}

.footer-brand-logo {
  width: 250px;
  height: 110px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact ul li {
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.65rem;
}

.footer-contact ul li .material-symbols-outlined {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(143, 188, 143, 0.16);
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-contact-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.footer-contact-text strong,
.footer-contact-text span {
  line-height: 1.45;
}

.footer-contact-text span {
  word-break: break-word;
  color: rgba(255, 255, 255, 0.92);
}

.footer-section ul li i {
  color: var(--color-accent);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

.footer-column h4 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-column a:hover {
  color: white;
  padding-left: 5px;
  transition: all 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1100px) {
  .footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-secondary);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Botón desactivado estilo CCU */
.btn[disabled],
.btn:disabled,
.btn[aria-disabled="true"] {
  background: #e5e7eb !important;
  color: #b0b0b0 !important;
  border: 1.5px solid #d1d5db !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  pointer-events: none;
}
.btn[disabled] i,
.btn:disabled i,
.btn[aria-disabled="true"] i {
  color: #b0b0b0 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 400px;
  }

  .hero.split-content {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Badges y etiquetas */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-success {
  background: var(--success);
  color: white;
}

.badge-info {
  background: var(--info);
  color: white;
}

/* Alertas */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.alert-info {
  background: #dbeafe;
  border-left: 4px solid var(--info);
  color: #1e40af;
}

.alert-success {
  background: #d1fae5;
  border-left: 4px solid var(--success);
  color: #065f46;
}

.alert-warning {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
  color: #92400e;
}

/* Tablas */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th {
  background: var(--primary-green);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.table tr:hover {
  background: var(--gray-50);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Fin: assets/css/template.css ===== */

/* ===== Inicio: assets/css/theme.css ===== */

:root {
  /* Paleta de colores Futuro Verde - Tonos naturales y orgÃ¡nicos */
  --primary-green: #6b8e23;
  --primary-dark: #556b2f;
  --primary-darker: #3d5a27;
  --primary-light: #8fbc8f;
  --secondary-green: #9acd32;
  --secondary-dark: #6b8e23;
  --accent-green: #8fbc8f;
  --accent-blue: #5f9ea0;
  --earth-brown: #8b7355;

  /* Grises y neutros */
  --gray-50: #f8fafb;
  --gray-100: #f1f4f6;
  --gray-200: #e4e9ed;
  --gray-300: #d0d8de;
  --gray-400: #9ba7b4;
  --gray-500: #6b7785;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --gray-900: #0f1419;

  /* Colores de estado */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* TipografÃ­a */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
}

/* Estilos del navbar */
.navbar {
  background: var(--primary-green);
  box-shadow: var(--shadow-md);
}

/* Los estilos especÃ­ficos del navbar estÃ¡n en main.css */

/* Hero Section */
.hero {
  background: var(--primary-green);
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Botones */
.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary-green);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: white;
}

/* BotÃ³n especÃ­fico para tarjetas de servicios en inicio */
.service-card-modern .service-cta {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  margin-top: auto;
  border: 1px solid var(--primary-green);
  border-radius: 10px;
  background: var(--primary-green);
  color: white;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(107, 142, 35, 0.2);
}

.service-card-modern .service-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(85, 107, 47, 0.25);
}

.service-card-modern .service-cta .material-symbols-outlined {
  font-size: 1.2rem;
  line-height: 1;
}

.service-card-modern .service-cta:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

/* Tarjetas */
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-date {
  color: var(--gray-500);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Secciones */
.section {
  padding: 60px 0;
}

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

.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.bg-light {
  background: var(--gray-50);
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Grid de noticias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Override final footer layout */
.footer .footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 1100px) {
  .footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.footer-super-row {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-super-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
}

/* Utilidades */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Badges y etiquetas */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-success {
  background: var(--success);
  color: white;
}

.badge-info {
  background: var(--info);
  color: white;
}

/* Alertas */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.alert-info {
  background: #dbeafe;
  border-left: 4px solid var(--info);
  color: #1e40af;
}

.alert-success {
  background: #d1fae5;
  border-left: 4px solid var(--success);
  color: #065f46;
}

.alert-warning {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
  color: #92400e;
}

/* Tablas */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th {
  background: var(--primary-green);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.table tr:hover {
  background: var(--gray-50);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Fin: assets/css/theme.css ===== */

/* ===== Inicio: assets/css/tree-animations.css ===== */

/**
 * ANIMACIONES DE HOJAS - Sistema de partÃ­culas orgÃ¡nicas
 * Hojas que aparecen y caen en interacciones
 */

/* Contenedor de hojas */
.leaves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* Hoja individual */
.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  pointer-events: none;
}

/* Hojas de diferentes tamaÃ±os */
.leaf.small {
  width: 15px;
  height: 15px;
}

.leaf.medium {
  width: 20px;
  height: 20px;
}

.leaf.large {
  width: 25px;
  height: 25px;
}

/* AnimaciÃ³n de caÃ­da y desvanecimiento */
@keyframes leafFall {
  0% {
    transform: translateY(-20px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) translateX(var(--drift))
      rotate(var(--rotation));
    opacity: 0;
  }
}

/* AnimaciÃ³n de rotaciÃ³n suave */
@keyframes leafRotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* AnimaciÃ³n de apariciÃ³n al hover */
@keyframes leafAppear {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(360deg) translateY(30px);
    opacity: 0;
  }
}

/* Clase de animaciÃ³n activa */
.leaf.falling {
  animation: leafFall var(--duration) ease-in forwards;
}

.leaf.appearing {
  animation: leafAppear 1s ease-out forwards;
}

/* Efecto de hover en elementos interactivos */
.leaf-trigger {
  position: relative;
  transition: transform 0.3s ease;
}

.leaf-trigger:hover {
  transform: translateY(-2px);
}

/* Brillo sutil al interactuar */
@keyframes leafGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.leaf-trigger:hover {
  animation: leafGlow 0.6s ease-in-out;
}

/* Estructura de Ã¡rbol visual para navbar */
.tree-structure {
  position: relative;
}

.tree-branch {
  position: relative;
  padding-left: 20px;
}

.tree-branch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary-green),
    var(--secondary-green)
  );
  opacity: 0.3;
}

.tree-branch::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 2px;
  background: var(--primary-green);
  opacity: 0.3;
}

/* Conexiones de Ã¡rbol en dropdowns */
.dropdown a {
  position: relative;
  padding-left: 35px !important;
}

.dropdown a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-green);
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.dropdown a:hover::before {
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--secondary-green);
  transform: translateY(-50%) scale(1.3);
}

/* AnimaciÃ³n deshabilitada para evitar conflictos con posicionamiento
.navbar-item:hover .dropdown {
  animation: branchGrow 0.3s ease-out;
}

@keyframes branchGrow {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* PartÃ­culas de hojas en el fondo */
.leaf-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 50% 0;
  opacity: 0.2;
  animation: floatParticle 20s infinite ease-in-out;
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
  }
  50% {
    transform: translateY(-10px) translateX(-15px) rotate(180deg);
  }
  75% {
    transform: translateY(-40px) translateX(10px) rotate(270deg);
  }
}

/* Ajuste de centrado del fondo del hero en portada */
.home-page .hero.hero-enhanced {
  background-position: center 0% !important;
  background-repeat: no-repeat;
}

@media (max-width: 1140px) {
  .home-page .hero.hero-enhanced {
    background-position: center center !important;
    background-size: contain !important;
    background-color: #556b2f;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .home-page .hero.hero-enhanced {
    background-position: center 32% !important;
    background-size: contain !important;
    min-height: 78vh;
  }

  .home-page .hero-overlay {
    background: rgba(85, 107, 47, 0.6);
  }

  .leaf {
    width: 15px;
    height: 15px;
  }

  .leaf.large {
    width: 20px;
    height: 20px;
  }

  .tree-branch::before,
  .tree-branch::after {
    display: none;
  }
}

/* Efecto de crecimiento en cards */
.card.leaf-trigger {
  transition: all 0.3s ease;
}

.card.leaf-trigger:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Botones con efecto de hojas */
.btn.leaf-trigger:hover {
  transform: translateY(-2px);
}

.btn.leaf-trigger:active {
  transform: translateY(0);
}

/* ===== Fin: assets/css/tree-animations.css ===== */

/* Override final: visibilidad hero Quienes Somos */
.about-page .about-hero::before {
  background: linear-gradient(
    135deg,
    rgba(53, 69, 24, 0.82) 0%,
    rgba(84, 114, 24, 0.76) 100%
  ) !important;
  z-index: 2 !important;
}

.about-page .about-hero .hero-content {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  position: relative !important;
  z-index: 12 !important;
}

.about-page .about-hero .hero-content h1 {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.65),
    0 10px 24px rgba(0, 0, 0, 0.55) !important;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.35);
}

.about-page .about-hero .hero-tagline {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.62),
    0 8px 18px rgba(0, 0, 0, 0.48) !important;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
  opacity: 1 !important;
}
