:root {
    --color-principal: #4a2b11;
    --color-secundario: #fdfdfd;
    --color-texto: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nexa', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--color-secundario);
    color: var(--color-texto);
    min-height: 100vh;
}

/* Header y logo */
header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: var(--color-secundario);
    border-bottom: 4px solid #ada48f;
}

.logo img {
    height: 60px;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.menu li a {
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-principal);
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
    font-family: 'Nexa', sans-serif;
}

.menu li a:hover {
    background-color: var(--color-principal);
    color: #fff;
    border-radius: 6px;
}

/*titulo*/
.titulo h2{
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px;
    margin-top: 25px;
    text-align: center;
    color: var(--color-principal);
}

/*contenido*/
.nuestrafirma .card {
  position: relative;
  background: white;
  border: 2px solid var(--color-principal);
  border-radius: 16px;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 6px 20px rgba(74,43,17,0.12), 0 1.5px 6px rgba(74,43,17,0.08);
  transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px; 
}

.nuestrafirma .card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(74,43,17,0.16), 0 2px 6px rgba(74,43,17,0.10);
  border-color: #ada48f;
}

.nuestrafirma .card h3 {
  position: relative;
  color: var(--color-principal);
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 2px solid #e6e0d3;
  letter-spacing: 1px;
}

.nuestrafirma .card h3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-principal), #ada48f 80%);
  border-radius: 2px;
}

.nuestrafirma .card p {
  font-size: 0.95rem;
  color: #4a2b11;
  margin-bottom: 8px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-family:Georgia, serif;
}

.nuestrafirma .card strong {
  color: #8b5e3c;
  font-weight: 700;
}

@media (max-width: 600px) {
  .nuestrafirma {
    margin-left: 8px;
    margin-right: 8px;
  }
  .nuestrafirma .card {
    padding: 10px 6px 8px 6px;
    border-radius: 8px;
    max-width: 98%;
    margin: 5px 0;
  }
}
/*modal*/
.contenedor-boton { 
  text-align: right; 
  margin-right: 20px;
  margin-top: -40px;
}

.btn-btn-primary{
  background-color: #4a2b11;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333; 
  text-align: center;
}

.btn-btn-secondary{
  background-color: #ada48f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333; 
  text-align: center; 
}

.modal-body {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.modal-content {
  background-color: #fdfdfd;
  color: #333;
}



    /*footer*/
footer {
    background-color: #ada48f;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    .menu {
      flex-direction: column;
      gap: 10px;
    }
  }

/* Responsivo */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        gap: 10px;
    }
    header {
        padding: 10px 20px;
    }
    footer {
        font-size: 14px;
        padding: 15px 10px;
    }
}
