* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo img {
    max-width: 200px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.2) brightness(1.1); 

}

.btn-acceso {
    padding: 12px 32px;
    background: #ffffff;
    color: #034520;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-acceso:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.btn-acceso:active {
    transform: translateY(0);
}

.main-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin: 50px auto;
}



.columna-texto {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #e8e4df 0%, #f0ebe6 100%);
    position: relative;
}

.columna-texto h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
}

.columna-texto p {
    font-size: 14px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
    text-align: justify;
}

.columna-texto .highlighted {
    font-style: italic;
    color: #034520;
    font-weight: 500;
    margin-top: 20px;
    font-size: 15px;
}

.columna-imagen {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.columna-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, rgba(232, 228, 223, 0.6), transparent);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
   .verde {
        padding: 16px 20px;
    }

    .logo img {
        max-width: 150px;
    }

    .btn-acceso {
        padding: 10px 20px;
        font-size: 11px;
    }

    .main-container {
        flex-direction: column;
        border-radius: 16px;
        margin: 30px 20px;
    }

    .verde-bar {
        border-radius: 16px 16px 0 0;
    }

    .columna-texto {
        padding: 50px 30px;
    }

    .columna-texto h1 {
        font-size: 26px;
    }

    .columna-imagen {
        height: 300px;
    }

    .gradient-overlay {
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, rgba(232, 228, 223, 0.6), transparent);
    }
}

/*Cards*/

/*  Two-column grid for the cards  */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

.desplegable-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.desplegable-header.activo + .desplegable-contenido {
  max-height: 300px;   /* any number larger than real height */
  padding: 20px 16px;
}

/*  Mobile: stack cards  */
@media (max-width: 768px) {
  .cards-wrapper {
    grid-template-columns: 1fr;
  }
}


/* ====== CARDS ====== */
.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*-INFOCARD-*/
.cardo {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 39px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #034520;
    text-align: center;
    margin-bottom: 10px;
}

.desplegable-grupo {
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
}

.desplegable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #e8e4df;
    cursor: pointer;
    transition: background 0.3s ease;
}

.desplegable-header:hover {
    background: #ddd9d3;
}

.desplegable-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.icon {
    font-size: 18px;
    color: #034520;
    transition: transform 0.3s ease;
}

.desplegable-header.activo .icon {
    transform: rotate(180deg);
}

.desplegable-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafaf9;
    padding: 0 16px;
}

.desplegable-header.activo + .desplegable-contenido {
    max-height: 300px;
    padding: 20px 16px;
}

.botones-grupo {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.btn-primario {
    background: #034520;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 69, 32, 0.3);
}

.btn-primario:hover {
    background: #026b30;
    transform: translateY(-2px);
}

.btn-secundario {
    background: transparent;
    color: #034520;
    border: 2px solid #034520;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secundario:hover {
    background: #f0f5fa;
    transform: translateY(-2px);
}

.botones-grupo{
  display:flex;
  gap:16px;
  /* las que tienen 2 botones seguirán en fila como ahora */
}

/* Solo centramos cuando pongas la clase center */
.botones-grupo.center{
  justify-content:center;
}

/* Asegúrate de que el botón no se estire a ancho completo */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;   /* importante: NO flex:1 */
}
