/* ============================================
   TEMA CONSORCIO SOLUCIONES AMBIENTALES CHIQUINQUIRÁ
   Colores inspirados en el logo y normativa ambiental
   ============================================ */

:root {
  /* Colores primarios - Inspirados en la planta del logo */
  --primary-color: #8a5a2b;
  /* Tierra/café */
  --primary-dark: #6f441f;
  /* Café oscuro */
  --primary-light: #b9824a;
  /* Café claro */

  /* Colores secundarios */
  --secondary-color: #d98f2b;
  /* Ocre/ámbar */
  --secondary-dark: #b9751f;
  /* Ocre oscuro */
  --secondary-light: #efb35e;
  /* Ocre claro */

  /* Colores de acento */
  --accent-color: #f2c14e;
  /* Dorado cálido */
  --accent-light: #f6d889;

  /* Colores neutrales */
  --bg-white: #ffffff;
  --bg-light: #f5f7f9;
  --bg-gray: #e8ebed;
  --text-dark: #2c3e50;
  --text-gray: #5a6c7d;
  --text-light: #8b9aa8;

  /* Colores de estado */
  --success-color: #c47f2b;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #a67c52;

  /* Sombras y efectos */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

  /* Tipografía */
  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Identidad visual */
  --brand-logo: url("../img/image.png");
  --membrete-gradient: linear-gradient(90deg,
      #6f441f 0%,
      #d98f2b 55%,
      #f2c14e 100%);
}

/* ============================================
   ESTILOS GLOBALES
   ============================================ */

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: var(--bg-white);
  background-image:
    radial-gradient(circle at 85% 85%,
      rgba(138, 90, 43, 0.08) 0%,
      transparent 45%);
  background-repeat: no-repeat;
  background-position: right -200px bottom -220px;
  background-size: 520px 520px;
  background-attachment: fixed;
}

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

/* ============================================
   NAVBAR CON MEMBRETE
   ============================================ */

.navbar {
  background: linear-gradient(135deg,
      rgba(138, 90, 43, 0.85) 0%,
      rgba(111, 68, 31, 0.85) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: fixed;
  /* Cambiado a fixed para asegurar que flote siempre arriba */
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  z-index: 1000;
  padding: 5px 0;
  border-radius: 50px;
  /* Redondeado estilo iOS */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* El pseudo-elemento antes del navbar también debe redondearse o removerse si no encaja */
.navbar::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  background: var(--membrete-gradient);
  border-radius: 50px 50px 0 0;
  opacity: 0.5;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  /* Reducido vertical, aumentado lateral para el redondeado */
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-logo {
  height: 48px;
  /* Ligeramente más pequeño para mejor balance */
  width: auto;
  background: white;
  padding: 4px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.navbar-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar-company {
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.3px;
}

.navbar-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  /* Asegura centrado vertical de todos los items */
}

.navbar-menu>a,
.navbar-item>a {
  color: white;
  text-decoration: none;
  padding: 0 20px;
  /* Padding lateral solamente */
  font-weight: 600;
  font-size: 14px;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  /* Altura fija para alineación perfecta */
}

.navbar-menu>a:hover,
.navbar-item>a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  /* Eliminado transform para evitar que el elemento se mueva y pierda el hover */
}

.navbar-item {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 80%;
  /* Ligero solapamiento con el item padre */
  left: 0;
  padding-top: 25px;
  /* Crea el puente de conexión */
  min-width: 220px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
  z-index: 1001;
}

.dropdown-content {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-item:hover .dropdown {
  display: block;
  animation: dropdownFade 0.3s ease;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  border-left-color: var(--primary-color);
  padding-left: 25px;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-services-wrapper {
  position: relative;
  overflow: hidden;
}

#hero-animation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Fijar el canvas al hacer scroll para que sea el fondo de las dos secciones */
.hero-services-wrapper #hero-animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  /* Aumentado top padding para el navbar */
  text-align: center;
  z-index: 2;
}

.section-transparent {
  position: relative;
  background: transparent !important;
  z-index: 2;
}

.section-transparent .section-title h2 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-transparent .section-title p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-details {
  font-size: 16px;
  margin: 25px 0;
  opacity: 0.85;
  color: white;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-tagline {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */

.section.bg-light {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-gray);
  margin-top: 25px;
}

/* ============================================
   CARDS Y GRIDS
   ============================================ */

.services-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  /* Consistencia en el padding interno */
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(138, 90, 43, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-body {
  padding: 30px 25px 20px;
  flex-grow: 1;
  /* Empuja el botón hacia abajo */
  display: flex;
  flex-direction: column;
}

.card-sub-box {
  background: rgba(0, 0, 0, 0.2);
  /* Fondo sólido oscuro para contraste */
  margin: 10px 0 20px;
  /* Ajustado para estar dentro de card-body */
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-sub-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-sub-box li {
  color: #a0aec0;
  /* Gris elegante para detalles secondary */
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-sub-box li:last-child {
  margin-bottom: 0;
}

.card-btn-action {
  margin: auto 25px 30px;
  /* Margen inferior consistente */
  background: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 15px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-btn-action:hover {
  background: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(138, 90, 43, 0.4);
  color: white;
}

/* Efecto de pulso/brillo en hover para el botón */
.card-btn-action::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card-btn-action:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 40px;
  text-align: center;
  padding: 30px 25px 0;
}

.card h3 {
  font-size: 20px;
  /* Reducido un poco para mejor balance */
  font-weight: 700;
  color: #ffffff;
  /* Blanco puro para títulos */
  padding: 0 25px;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card p {
  padding: 0 25px 30px;
  color: rgba(255, 255, 255, 0.9);
  /* Blanco con ligera transparencia */
  line-height: 1.6;
  font-size: 15px;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-date {
  display: inline-block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

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

.btn-secondary:hover {
  background: var(--secondary-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
  color: white;
  padding: 50px 20px 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--membrete-gradient);
}



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

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent-light);
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--accent-light);
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b0bec5;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: var(--accent-light);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-top: 15px;
  background: white;
  padding: 8px;
  border-radius: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.footer-bottom p {
  margin: 5px 0;
  color: #b0bec5;
  font-size: 14px;
}

.footer-legal {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal small {
  color: #8b9aa8;
  font-size: 12px;
}

/* ============================================
   UTILIDADES
   ============================================ */

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

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(138, 90, 43, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
  }

  .navbar-menu.active {
    display: flex;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-menu>a,
  .navbar-item>a {
    width: 100%;
    justify-content: flex-start;
    height: 50px;
    padding: 0 25px;
    border-radius: 15px;
  }

  .navbar-toggle {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggle span::before,
  .navbar-toggle span::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
    transition: all 0.3s ease;
  }

  .navbar-toggle span::before {
    top: -8px;
  }

  .navbar-toggle.active span {
    background: transparent;
  }

  .navbar-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .navbar-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Dropdowns en móvil: siempre visibles o expandibles */
  .navbar-item .dropdown {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 20px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    filter: none;
  }

  .navbar-item.mobile-active .dropdown {
    max-height: 500px;
  }

  .dropdown-content {
    background: transparent;
    border: none;
  }

  .dropdown-content a {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
  }

  .dropdown-content a:hover {
    background: transparent;
    color: white;
    padding-left: 5px;
  }
}

.hero h1 {
  font-size: 32px;
}

.hero-tagline {
  font-size: 18px;
}

.section-title h2 {
  font-size: 28px;
}

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

.navbar-company {
  font-size: 14px;
}

.navbar-subtitle {
  font-size: 11px;
}

.navbar-logo {
  height: 45px;
}

body {
  background-size:
    380px 380px,
    220px auto;
  background-position:
    right -140px bottom -160px,
    right -90px bottom -120px;
}


.hero h1 {
  font-size: 32px;
}

.hero-tagline {
  font-size: 18px;
}

.section-title h2 {
  font-size: 28px;
}

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

.navbar-company {
  font-size: 14px;
}

.navbar-subtitle {
  font-size: 11px;
}

.navbar-logo {
  height: 45px;
}

body {
  background-size:
    380px 380px,
    220px auto;
  background-position:
    right -140px bottom -160px,
    right -90px bottom -120px;
}

.hero {
  padding-top: 140px;
  /* Ajuste para el navbar en mobile */
}

.page-header::after {
  width: 95px;
  height: 95px;
  right: 14px;
  opacity: 0.09;
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA PÁGINAS INTERNAS
   ============================================ */

.page-header {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  padding: 60px 20px 40px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--membrete-gradient);
}

.page-header::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  background: var(--brand-logo) center/contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.info-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 6px solid var(--primary-color);
  padding: 25px;
  margin: 25px 0;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.info-box h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.info-box p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

.info-box.success {
  border-left-color: #48bb78;
  /* Verde esmeralda */
  background: rgba(72, 187, 120, 0.1);
}

.info-box.warning {
  border-left-color: #ed8936;
  /* Naranja/Bronce */
  background: rgba(237, 137, 54, 0.1);
}

.table-responsive {
  overflow-x: auto;
  margin: 30px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: var(--shadow-sm);
}

table th {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--bg-gray);
}

table tr:hover {
  background: var(--bg-light);
}

/* Formularios */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--bg-gray);
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

/* ============================================
   GLASSMORPHISM & ANIMATION PARA SUBPAGINAS
   ============================================ */

.subpage-services-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

#subpage-animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

#header-placeholder {
  position: relative;
  z-index: 9999;
}

.page-header.glass-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-radius: 40px;
  max-width: 1000px;
  margin: 140px auto 40px;
  z-index: 2;
  position: relative;
}

.page-header.glass-header::before,
.page-header.glass-header::after {
  display: none;
}

.glass-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: white;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.glass-container h2,
.glass-container h3,
.glass-container strong {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-container p,
.glass-container li {
  color: rgba(255, 255, 255, 0.9);
}

.glass-container table {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.glass-container table th {
  background: rgba(138, 90, 43, 0.7);
  color: white;
}

.glass-container table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-container table tr:hover {
  background: rgba(255, 255, 255, 0.15);
}