:root {
  --verde-renew-claro: #c5e8d3;
  --verde-renew: #3a7d44;
  --verde-oscuro: #2c5f33;
  --verde-claro: #a1d6a1;
  --texto-gris: #aaaaaa;
}

body {
  background-color: #ffffff; /* fondo blanco limpio */
  color: #222;
  font-family: 'Segoe UI', sans-serif;
}

p {
  text-align: justify;
}

.center {
  text-align: center;
}

.navbar {
  transition: all 0.3s ease;
}

.navbar .nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #0072CE;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .dropdown-item:hover {
  background-color: #f2f2f2;
  color: #0072CE;
}

.navbar .btn-outline-primary {
  border-radius: 20px;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: var(--verde-claro) !important;
  color: var(--verde-oscuro) !important;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-collapse,
.accordion-body {
  background-color: white !important; /* O el color que uses como fondo original */
}

.accordion-button:focus {
  border-color: var(--verde-renew) !important;
  box-shadow: 0 0 0 0.25rem rgba(72, 180, 97, 0.5) !important;
}

.post-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer {
  background-color: var(--verde-renew);
  color: #f0f0f0;
}

.text-secondary {
  color: #555555; /* gris oscuro legible */
}

/* Estética botón CTA flotante */
.boton-contacto-flotante {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, var(--verde-renew-claro), var(--verde-renew));
  color: black;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.boton-contacto-flotante:hover {
  background: linear-gradient(135deg, var(--verde-renew), #365c4a);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: black;
}

/* Botones principales */
.btn-success {
  background-color: var(--verde-renew);
  border-color: var(--verde-renew);
  color: white;
}

.btn-success:hover {
  background-color: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
  color: white;
}

.btn-renew {
  background: linear-gradient(135deg, var(--verde-renew-claro), var(--verde-renew));
  font-weight: 500;
  border: none;
  border-radius: 50px;
  padding: 3px 28px;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-renew:hover,
.btn-renew:focus {
  background: linear-gradient(135deg, var(--verde-renew), var(--verde-oscuro));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  text-decoration: none;
}

.btn-outline-renew {
  color: var(--verde-renew);
  border: 1px solid var(--verde-renew);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-renew:hover,
.btn-outline-renew:focus {
  background-color: var(--verde-renew);
  color: #fff;
  border-color: var(--verde-renew);
}

/* Fondo de secciones */
section.bg-section-impar {
  background-color: #ffffff;
}

section.bg-section-par {
  background-color: var(--verde-claro);
  color: var(--verde-oscuro);
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  background-color: #fff;
  border: 2px solid var(--verde-oscuro);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.step-number {
  flex-shrink: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1;
  user-select: none;
}

.step-content {
  color: #222; /* texto muy oscuro para buen contraste */
  font-size: 1rem;
  line-height: 1.5;
}

.step-content strong {
  color: #3a7d44; /* verde principal para destacar */
}

/* Estilo acordeón integrado */
.bg-acordeon {
  background-color: var(--verde-claro) !important;
  border: none;
}

.accordion-button {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000;
  font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--bs-dark);
}

.accordion-body {
  background-color: var(--verde-claro);
  border-top: 1px solid #ccc;
  padding: 0.75rem 1rem;
}


/* Responsivo botón flotante */
@media (max-width: 576px) {
  .boton-contacto-flotante {
    font-size: 14px;
    padding: 12px 18px;
    bottom: 15px;
    right: 15px;
  }
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh; /* Ajustable */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-wrapper picture,
.hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.frosted-glass {
  background: rgba(255, 255, 255, 0.85); /* semi-transparente */
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  font-size: 0.95rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: var(--verde-oscuro);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--verde-renew);
}

.cookie-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}
