body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5ff;
    color: #212529;
}

.carousel-spacer {
  margin-top: 5rem;  /* o el espacio que necesites */
}


/* styles.css */

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Si quieres usar este header blanco, ajusta los selectores de color */
/* Por ejemplo: */
header .site-title,
header .icon-link {
  color: #0f172a;
}
header .icon-link:hover,
header .icon-link.active {
  background-color: rgba(42, 64, 118, 0.1);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #212529;
    font-weight: 600;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #1e3a8a;
    color: white;
    border-radius: 5px;
}

.container {
  /* Nunca menos de 600px, idealmente el 90% del viewport,
     y un tope de 1600px en pantallas enormes */
  width: clamp(600px, 90vw, 1600px);
  margin: 0 auto;
  padding: 1rem;
}


.profile-img-wrapper {
    width: 100%;
    max-width: 400px; /* Ajusta según necesites */
    margin: 0 auto;
    display: flex;
    flex-direction: column;    /* apila SVG encima de la imagen */
    align-items: center;
    justify-content: center;
    gap: 0;                    /* elimina espacios extra */
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.profile-img-wrapper svg {
  width: 80px;    /* ajusta el valor a tu gusto */
  height: auto;
  margin-bottom: 0.5rem; /* separa un poco del texto o la imagen */
}

.profile-img-wrapper img {
    display: block;            /* evita comportamiento inline */
    margin: 0;                 /* elimina márgenes por defecto */
}

.profile-img-wrapper img {
    width: 80%;
    height: auto;
}





.profile {
    text-align: center;
    /* margin: 30px 0; */
}

.profile h1 {
    font-size: 28px;
    margin: 12px 0 6px 0;
    font-weight: 600;
    color: #0f172a;
}

.profile p {
    font-style: italic;
    color: #6c757d;
    font-size: 18px;
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #212529;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #1e3a8a;
}

.section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 40px 0;
    gap: 20px;
}

.section.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    max-width: 50%;
}

.text-content h2 {
    color: #1e3a8a;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
}

.text-content h1,
.text-content h3 {
    font-size: 28px;
    margin: 10px 0;
    font-weight: 600;
}

.text-content p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0f172a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 400;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2a4076;
}


.image-placeholder {
    flex: 1;
    max-width: 50%;
    height: 300px;          /* Mantiene una altura constante */
    border-radius: 10px;
    overflow: hidden;       /* Oculta cualquier parte de la imagen que se desborde */
    position: relative;     /* Necesario para el posicionamiento absoluto de la imagen */
}

.image-placeholder img {
    position: absolute;       /* Posiciona la imagen respecto al contenedor */
    top: 0;
    left: 50%;                /* Centra la imagen horizontalmente */
    transform: translateX(-50%); /* Centrado perfecto */
    height: 100%;             /* Mantiene la altura constante */
    min-width: 100%;          /* Asegura que siempre cubra el ancho del contenedor */
    object-fit: cover;        /* Recorta la imagen sin deformarla */
    object-position: center;  /* Asegura que el recorte sea simétrico desde el centro */
    transition: transform 0.5s ease; /* Efecto suave al hacer hover (opcional) */
}

.image-placeholder:hover img {
    transform: translateX(-50%) scale(1.05); /* Efecto de zoom manteniendo el centrado */
}


footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 300;
}

html {
    overflow-y: scroll;
  }


.product-details {
  display: flex;
  flex-wrap: wrap;
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  gap: 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
  justify-content: space-between;
}

.product-attribute {
  flex: 1 1 45%;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.product-attribute:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-attribute h4 {
  margin: 0 0 8px 0;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
}

.product-attribute p,
.product-attribute ul {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.product-attribute ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 4px;
}


.contact-form-wrapper {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  padding: 12px 16px;
  background-color: #1e3a8a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #334cc3;
}

/* === GRID GENERAL === */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* === TARJETA === */
.solution-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* IMAGEN */
.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* CUERPO */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #1e3a8a;
}
.card-body .excerpt {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #374151;
}

/* BADGES */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #374151;
}
.badge.type    { background: #e0f2fe; color: #0369a1; }
.badge.price   { background: #fef3c7; color: #92400e; }
.badge.sector  { background: #dcfce7; color: #166534; }
.badge.tech    { background: #ede9fe; color: #5b21b6; }

/* BOTÓN final */
.update-row {
  margin-top: auto;
  text-align: right;
}
.btn-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1e3a8a;
  color: #fff;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: #3b82f6;
}

#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 1rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
  width: 100vw;
  padding: 0;
}

#cookie-banner > span {
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
}

#cookie-banner a {
  color: #93c5fd;
  margin-left: 0.5rem;
}

#accept-cookies {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
  height: 32px;
}

#accept-cookies:hover {
  background: #1e40af;
}

@media (min-width: 640px) {
  #cookie-banner {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    border-radius: 18px 18px 0 0;
    margin-bottom: 12px;
    padding: 0 2rem;
  }
}

