:root {
    --primary: #0d4b8c;
    --secondary:rgb(255 130 0);
    --dark: rgb(17 24 39);
    --bg-light: #F8FAFC;
    --text-light: #334155;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-light);
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h2 {
    color: rgb(0 75 141);
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 1.5rem;
    margin-top: 13px;;
}

h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-bottom: 0.5rem;
}
p{
    color:rgb(75 85 99)
}   
.antetitle{
    color:rgb(255, 130, 0);
    letter-spacing: 0.1em;


}
.raya {
    --tw-bg-opacity: 1;
    background-color: rgb(255 130 0 / var(--tw-bg-opacity, 1));
    width: 5rem;
    height: 0.25rem;
    margin: 1rem auto; /* centrado horizontal + margen superior */
}
.iconos{
    --tw-text-opacity: 1;
    color: rgb(255 130 0 / var(--tw-text-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    display: flex;
    margin-bottom: 1rem;
    font-size: 30px;

}

.service-card .service-card2{
  border-radius: 8px; /* Mantener las esquinas redondeadas */
}

.service-card{
      border-top: 4px solid rgb(255, 130, 0); /* Color naranja y grosor */
}
.service-card2 {
 border-top: 4px solid var(--primary);
}

nav.navbar, .separacion {
    border-bottom: 3px solid rgb(255, 130, 0);

}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 0.75rem;
    }

    .parrafo-legal{
        font-size: 1.125rem; 
        line-height: 2; 
        text-align:left;
    }
/* TOP BAR */
.top-bar {
    background: #083c6b;
    color: #fff;
    font-size: 14px;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(13, 75, 140, .9), rgba(13, 75, 140, .9)),
        url("../img/02.jpg") center/cover;
    color: white;
    padding: 100px 0;
}

.badge-orange {
    background: var(--secondary);
    color: #fff;
}

.btn-orange {
    background: var(--secondary);
    color: #fff;
    border: none;
}

.btn-orange:hover {
    background: #e66f00;
}

/* STATS */
.stats h3 {
    color: var(--secondary);
    font-weight: bold;
}

/* SERVICES */
.service-card img, .service-card2 img {
    height: 200px;
    object-fit: cover;
}
.service-card, .service-card2 {
  transition: transform 0.3s ease; /* transición suave */
}

.service-card:hover, .service-card2:hover {
  transform: translateY(-8px); /* sube la tarjeta 8px al pasar el ratón */
}
/* Bloque por qué elegirnos */
.why-section {
    background: #ffffff;
    padding: 4rem 0;
}

.why-image-wrapper {
    position: relative;
}

.why-image-wrapper::before {
    content: "";
    position: absolute;
    left: -30px;
    top: -30px;
    width: 80%;
    height: 80%;
    background: #eaf0fb;
    border-radius: 20px;
    z-index: 0;
}

.why-image-wrapper img {
    position: relative;
    border-radius: 8px;
    z-index: 1;
    width: 100%;
    object-fit: cover;
}

.why-section h6 {
    color: var(--secondary);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.why-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #12305a;
    margin-bottom: 1rem;
}

.why-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--gris-texto);
}

.why-section ul li {
    margin-bottom: 0.85rem;
    padding-left: 1.4rem;
    position: relative;
}

.why-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #0d4b8c, #083c6b);
    color: #fff;
    padding: 70px 0;
}

/* FOOTER */
footer{
    background: var(--dark);
    color: rgb(156 163 175);
    font-size: 14px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer p {

    color: rgb(156 163 175);
}
/* COOKIES */
/* Banner general */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--white);
  padding: 1rem 1.5rem;
  z-index: 1050;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
  transition: bottom 0.5s ease;
  font-family: Arial, sans-serif;
  border-top: 4px solid var(--secondary);
}

/* Mostrar banner */
.cookie-banner.show {
  bottom: 0;
}

.cookie-banner a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.cookie-icon {
  font-size: 2rem;
  flex: 0 0 auto;
}

.cookie-content p {
  flex: 1 1 60%;
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

#cookie-reject {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

#cookie-reject:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

#cookie-accept {
  background: var(--secondary);
  color: var(--white);
}

#cookie-accept:hover {
  background: rgb(230, 111, 0);
  transform: translateY(-2px);
}

/* Botón de cerrar */
.cookie-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.cookie-close:hover {
  color: var(--secondary);
}

.pie{
    color: rgb(255 255 255);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-family: Montserrat, sans-serif;
    margin-bottom: 1rem;
}
.antetitle{
    color:rgb(255, 130, 0);
    letter-spacing: 0.1em;
    }

/* Responsive */
@media(max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    justify-content: flex-start;
    width: 100%;
  }
}



