/* Tipografía: elegantes y delicadas */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Quicksand:wght@300;400;600&display=swap");

:root {
  --c-1: #3a2d28; /* oscuro */
  --c-2: #a48375; /* medio */
  --c-3: #cbad8d; /* cálido */
  --c-4: #d1c7bd; /* neutro */
  --c-5: #ebe3db; /* claro */
  --c-6: #f1ede6; /* más claro */
  --text-dark: #2b2623;
  --muted: #6b5e57;
  --header-height: 64px; /* ajusta si querés más/menos alto */
}

/* Tipos de letra */
html,
body {
  height: 100%;
  background: var(--c-5);
  color: var(--text-dark);
  /* Fuente principal: cuerpo (ligera, redondeada y amable) */
  font-family:
    "Quicksand",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height) !important;
}

/* Encabezados: elegante y femenino */
h1,
h2,
.display-4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--c-1);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Ajuste fino para textos importantes */
.lead,
.card-title {
  font-weight: 600;
  color: var(--c-1);
}

/* Texto de párrafo: más suave y legible */
p,
li,
.card-text {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

/* Separación extra entre cabecera e introducción */
.intro {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Ajuste responsivo: más espacio en pantallas grandes */
@media (min-width: 768px) {
  .intro {
    margin-top: 3.5rem;
  }
}

/* Sobre-mi (fondo marrón oscuro) */
.sobre-mi .bg-body-secondary {
  background-color: var(--c-1) !important;
  color: var(--c-6) !important;
  border-left: 4px solid var(--c-3);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 18px rgba(58, 45, 40, 0.06);
}

/* Asegurar legibilidad de títulos y párrafos dentro */
.sobre-mi .bg-body-secondary h1,
.sobre-mi .bg-body-secondary p,
.sobre-mi .bg-body-secondary .lead {
  color: var(--c-6) !important;
}

/* Sobre-mi: wrapper que encuadra contenido y imagen (imagen en div separado) */
.sobre-mi .sobre-mi-wrapper {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  background: var(--c-1);
  color: var(--c-6);
  border-radius: 0.6rem;
  padding: 0.25rem;
  box-shadow: 0 8px 28px rgba(58, 45, 40, 0.06);
  overflow: hidden;
}

/* Left column (text split in two blocks) */
.sobre-mi .sobre-mi-left {
  display: flex;
  flex-direction: column;
  flex: 1 1 60%;
  gap: 0;
  background: transparent;
}

/* Ensure text color inside left blocks */
.sobre-mi .sobre-mi-card-top h1,
.sobre-mi .sobre-mi-card-bottom p,
.sobre-mi .sobre-mi-card-bottom .lead {
  color: var(--c-6) !important;
}

/* Responsive: apilar en móvil y reordenar para que quede:
   1) sobre-mi-card-top (Conoceme más)
   2) imagen
   3) sobre-mi-card-bottom (Mi nombre es Valeria...) */
@media (max-width: 767.98px) {
  /* ESTA ES LA MAGIA NUEVA */
  .sobre-mi .sobre-mi-left {
    display: contents !important;
  }

  .sobre-mi .display-4 {
    text-align: center !important;
    margin-top: 1rem;
    width: 100%;
  }

  /* ... ACÁ ABAJO DEJÁS TODO EL RESTO DEL CÓDIGO QUE YA TENÍAS ... */
  .sobre-mi .sobre-mi-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  /* Forzar orden móvil: título -> imagen -> texto */
  .sobre-mi .sobre-mi-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }

  .sobre-mi .sobre-mi-card-top {
    order: 1 !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    text-align: center; /* centrar título en móvil */
  }

  .sobre-mi .sobre-mi-image {
    order: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 auto !important;
    display: block !important;
  }

  .sobre-mi .sobre-mi-card-bottom {
    order: 3 !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .sobre-mi .sobre-mi-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important; /* o 'contain' si preferís ver toda la imagen sin recorte */
    display: block !important;
  }
}

/* Image block */
.sobre-mi .sobre-mi-image {
  flex: 0 0 38%;
  min-width: 200px;
  max-width: 420px;
  display: block;
  background: #000;
}
.sobre-mi .sobre-mi-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Corregir recorte de la imagen en móvil: mostrarla completa */
@media (max-width: 767.98px) {
  .sobre-mi .sobre-mi-image {
    width: 100% !important;
    max-width: none !important;
    height: auto !important; /* permitir altura natural */
    flex: 0 0 auto !important;
  }

  .sobre-mi .sobre-mi-image img {
    width: 100% !important;
    height: auto !important; /* evitar recorte */
    object-fit: contain !important; /* muestra la imagen completa */
    display: block !important;
    aspect-ratio: auto !important; /* anula aspect-ratio fijo */
  }

  /* ajustar padding para que no empalme con el contenido */
  .sobre-mi .sobre-mi-card-top,
  .sobre-mi .sobre-mi-card-bottom {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Album / cards */
.album {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.card {
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(249, 247, 244, 0.9)
  );
  box-shadow: 0 6px 20px rgba(58, 45, 40, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  min-height: 500px; /* altura mínima deseada para la tarjeta */
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(58, 45, 40, 0.1);
}
.card .card-body {
  padding: 1.15rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0; /* evita overflow en flex children */
}

/* Hacer que el texto de las tarjetas se adapte al tamaño de la tarjeta */

/* Asegurar layout flexible dentro de la card */
.card {
  display: flex;
  flex-direction: column;
}

/* Body flexible para que el texto pueda crecer/encogerse */
.card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0; /* evita overflow en flex children */
}

/* Títulos de tarjeta escalables */
.card .card-title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.15;
  margin: 0;
}

/* Texto de tarjeta fluido y con quiebre de palabra */
.card .card-text {
  font-size: clamp(1.2rem, 1.6vw, 1rem);
  line-height: 1.45;
  color: var(--muted);
  flex: 1 1 auto;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Ajuste del bloque inferior (precio / botón / duración) para no romper layout */
.card .d-flex.justify-content-between.align-items-center {
  flex-shrink: 0;
  gap: 0.6rem;
}

/* SVG: texto del placeholder también escala con la tarjeta */
.bd-placeholder-img text {
  font-size: clamp(0.9rem, 2.2vw, 1.25rem) !important;
  font-weight: 600 !important;
}

/* Móviles: reducir tamaños si la tarjeta es muy estrecha */
@media (max-width: 420px) {
  .card .card-title {
    font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  }
  .card .card-text {
    font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  }
  .bd-placeholder-img text {
    font-size: 1rem !important;
  }
}

/* SVG placeholder: fondo y texto */
.bd-placeholder-img rect {
  fill: var(--c-1) !important;
}
.bd-placeholder-img text {
  font-size: 1.25rem !important; /* ajuste para escritorio */
  font-weight: 500 !important;
  fill: var(--c-6) !important;
}

/* Info linea: precio - btn - duracion */
.d-flex.justify-content-between.align-items-center {
  gap: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-body-secondary {
  color: var(--muted) !important;
  font-weight: 500;
}

/* Botón WhatsApp */
.btn-whatsapp,
.whatsapp-btn,
.btn.btn-success {
  background: var(--c-2);
  border-color: transparent;
  color: var(--c-6);
  font-weight: 600;
  border-radius: 0.45rem;
  padding: 0.35rem 0.6rem;
}
.whatsapp-btn:hover,
.btn-success:hover {
  background: color-mix(in srgb, var(--c-2) 85%, black 15%);
  transform: translateY(-1px);
  color: var(--c-6);
}

/* Footer */
footer {
  padding: 2.25rem 1.25rem !important; /* más espacio vertical */
  min-height: 35vh !important; /* mayor altura mínima */
  font-size: 1.12rem !important; /* texto general más grande */
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 25rem !important; /* ajusta este valor para más/menos espacio */
}

/* Texto grande y protagonista encima del footer */
footer .footer-top {
  width: 100%;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  text-align: center;
  color: var(--muted);
  font-size: 2rem !important; /* más grande */
  line-height: 1.55 !important;
  font-weight: 600 !important;
  padding: 0.5rem 0 !important;
  margin-bottom: 0.5rem !important;
}

/* Marca (valesuberofit) más visible */
footer .col-md-4.d-flex p,
footer .col-md-4.d-flex .footer-brand {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin: 5px !important;
  padding: 0 !important;
}

/* Iconos más grandes */
footer .bi,
footer ul.nav li a .bi,
footer .col-md-4 .brand-icon i.bi {
  font-size: 1.25rem !important; /* ajuste principal */
  line-height: 1 !important;
}

/* Mensaje central del footer ligeramente mayor */
footer p.text-center {
  font-size: 1.6rem !important;
  margin: 0 !important;
}

/* Ajustes responsivos: mantener jerarquía pero proporcional */
@media (max-width: 767.98px) {
  footer {
    padding: 1.25rem 0.75rem !important;
    min-height: auto !important;
    font-size: 1rem !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  footer .footer-top {
    font-size: 1.02rem !important;
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.25rem !important;
  }
  footer .col-md-4.d-flex p,
  footer .col-md-4.d-flex .footer-brand {
    font-size: 1.02rem !important;
  }
  footer .bi {
    font-size: 1.45rem !important;
  }
  footer p.text-center {
    font-size: 1rem !important;
  }
  .sobre-mi .sobre-mi-card-top .display-4,
  .sobre-mi .sobre-mi-card-top h1 {
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }
}

/* Footer: asegurar alineación vertical de texto, logo y iconos */
footer .col-md-4.d-flex,
footer ul.nav,
footer p.text-center {
  display: flex;
  align-items: center;
}

/* Contenedor izquierdo (logo + nombre) - reducir al mínimo el espacio entre icono y texto */
footer .col-md-4.d-flex {
  display: inline-flex !important;
  flex-direction: row !important; /* asegurar fila */
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 3px !important; /* espacio ~3px */
  column-gap: 3px !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

/* Corazón muy pegado al texto */
footer .col-md-4.d-flex .bi {
  margin: 20px !important;
  margin-right: 2px !important; /* separación fina de ~2px */
  font-size: 3rem !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* Quitar márgenes/paddings residuales en hijos */
footer .col-md-4.d-flex > * {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}

/* Asegurar que el texto de marca no tenga margen extra */
footer .col-md-4.d-flex .footer-brand,
footer .col-md-4.d-flex span,
footer .col-md-4.d-flex a.brand {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Opcional: pequeño espaciado fino entre icono y texto (ajustable) */
footer .col-md-4.d-flex .bi {
  margin-right: 6px;
  font-size: 1.35rem;
  line-height: 1;
}

/* Texto central */
footer p.text-center {
  font-size: 1.02rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  flex: 1 1 auto;
}

/* Texto superior del footer: centrado, mismo estilo que footer */
footer .footer-top {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 500;
  padding: 0.25rem 0;
  order: 0; /* asegurarse que quede arriba */
}

/* Lista de iconos (derecha) */
footer ul.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Cada enlace-icono */
footer ul.nav li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.25rem;
}

/* Pequeño ajuste para los li de la lista de iconos */
footer ul.nav li {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
}

/* Responsividad y pequeños ajustes */
ul {
  padding-left: 1rem;
}
a {
  text-decoration: none;
}
i.bi {
  color: var(--c-1);
}

/* Accesibilidad: foco visible */
a:focus,
button:focus {
  outline: 3px solid rgba(164, 131, 117, 0.18);
  outline-offset: 2px;
}

/* Cabecera: quedará fijada en la parte superior pero manteniendo el flujo (sticky) */
.cabecera {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height) !important;
  z-index: 1100 !important;
  overflow: visible !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Estilo del header: fondo transparente y misma tipografía/colores del sitio */
.cabecera header {
  background: transparent !important;
  padding: 0.6rem 0;
  margin: 0;
  font-family:
    "Quicksand",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  -webkit-font-smoothing: antialiased;
  height: var(--header-height) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
}

/* Nav pills: texto oscuro, fondo transparente; active con acento cálido */
.nav-pills .nav-link {
  color: var(--c-1) !important;
  background: transparent !important;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
}
.nav-pills .nav-link:hover {
  background: rgba(164, 131, 117, 0.08);
  color: var(--c-1) !important;
}
.nav-pills .nav-link.active {
  background: var(--c-3) !important;
  color: var(--c-6) !important;
  box-shadow: 0 2px 6px rgba(58, 45, 40, 0.12);
}

/* Asegurar que ningún ancestro interfiere con sticky */
html,
body,
.container {
  overflow: visible;
}

/* Si el header ocultara parte del contenido al quedar pegado,
   añadir un pequeño padding-top al siguiente bloque (.intro) */
.intro {
  margin-top: 0.75rem; /* ajusta si necesitas más espacio */
}

/* Forzar fondo transparente en la cabecera */
.cabecera,
.cabecera header {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Forzar transparencia absoluta y restaurar colores de nav */
.cabecera,
.cabecera > header,
.cabecera header,
.cabecera header::before,
.cabecera header::after,
.cabecera .nav-pills {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Evitar estilos de fondo en cualquier elemento dentro */
.cabecera * {
  background: transparent !important;
  background-color: transparent !important;
}

/* Sticky header: transición suave */
.cabecera > header {
  transition:
    background 0.25s ease,
    backdrop-filter 0.25s ease,
    box-shadow 0.25s ease;
  -webkit-transition:
    background 0.25s ease,
    -webkit-backdrop-filter 0.25s ease,
    box-shadow 0.25s ease;
}

/* Estado en top (no scrolleado): fondo más sólido para legibilidad */
.cabecera:not(.scrolled) > header {
  background: rgba(241, 237, 230, 0.95) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 10px rgba(58, 45, 40, 0.04) !important;
}

/* Estado al deslizar (scrolled): semi-transparente con blur (medio blureado) */
.cabecera.scrolled > header {
  background: rgba(241, 237, 230, 0.5) !important; /* semi-transparente */
  background-image: none !important;
  backdrop-filter: blur(8px) saturate(1.03) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.03) !important;
  box-shadow: 0 6px 18px rgba(58, 45, 40, 0.06) !important;
}

/* Mantener colores y contraste de los enlaces del nav */
.cabecera .nav-pills .nav-link {
  color: var(--c-1) !important;
  background: transparent !important;
}
.cabecera .nav-pills .nav-link:hover {
  background: rgba(164, 131, 117, 0.08) !important;
}
.cabecera .nav-pills .nav-link.active {
  background: var(--c-3) !important;
  color: var(--c-6) !important;
}

/* Footer responsive: centrar y apilar en pantallas pequeñas */
@media (max-width: 767.98px) {
  /* Forzar que el footer se apile y centre su contenido */
  .container > footer,
  footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1.25rem !important;
  }

  /* Cada columna ocupando el 100% y centrada */
  footer .col-md-4.d-flex,
  footer p.text-center,
  footer ul.nav {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Orden visual: logo/nombre arriba, texto en medio, iconos abajo */
  footer .col-md-4.d-flex {
    order: 1;
    margin-bottom: 0.25rem;
  }
  footer p.text-center {
    order: 2;
    margin-bottom: 0.25rem;
  }
  footer ul.nav {
    order: 3;
    margin-top: 0.25rem;
  }

  /* Asegurar que los elementos internos estén centrados */
  footer .col-md-4.d-flex,
  footer .col-md-4 d-flex a,
  footer .col-md-4 d-flex span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* Espaciado horizontal entre iconos reducido en móvil */
  footer ul.nav {
    gap: 0.6rem !important;
  }
  footer ul.nav li {
    margin: 0 !important;
  }

  /* Ajuste tamaño iconos para móviles */
  footer .bi {
    font-size: 1.25rem !important;
  }

  /* En móvil: ocultar el corazón y centrar sólo "valesuberofit" */
  /* ocultar el icono de corazón */
  footer .col-md-4.d-flex .bi-heart-fill {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* centrar el bloque de marca y asegurarse que ocupe toda la fila */
  footer .col-md-4.d-flex {
    justify-content: center !important;
    width: 100% !important;
    order: 1 !important; /* mantener arriba si lo deseas */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* centrar el texto de la marca */
  footer .col-md-4.d-flex span {
    display: inline-block !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Ajuste fino: mover la marca hacia la izquierda (ajustar el valor) */
footer .col-md-4.d-flex {
  /* prueba con -3px, -6px, -12px ... más negativo = más a la izquierda */
  transform: translateX(10px) !important;
}

/* Si preferís mover solo el texto y no el icono */
footer .col-md-4.d-flex .footer-brand,
footer .col-md-4.d-flex span {
  transform: translateX(-3px) !important;
}

/* Reset / comportamiento distinto en móvil (si querés centrar en móvil) */
@media (max-width: 767.98px) {
  footer .col-md-4.d-flex,
  footer .col-md-4.d-flex .footer-brand,
  footer .col-md-4.d-flex span {
    transform: none !important; /* o usa un valor menor: translateX(-2px) */
  }
}

/* Ajuste final: centrar "valesuberofit" en móvil respecto a iconos/texto */
@media (max-width: 767.98px) {
  /* Forzar apilado y centrado del footer */
  .container > footer#contacto,
  footer#contacto {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Grupo corazón + marca: ocupar toda la fila y quedar centrado */
  footer#contacto .col-md-4.d-flex {
    width: 100% !important;
    justify-content: center !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Quitar margen del icono (me-2) que desplaza el texto */
  footer#contacto .col-md-4.d-flex .me-2 {
    margin-right: 0 !important;
  }

  /* Ocultar corazón en móvil (si ya lo decidiste) y asegurar marca centrada */
  footer#contacto .col-md-4.d-flex .bi-heart-fill {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  footer#contacto .col-md-4.d-flex p,
  footer#contacto .col-md-4.d-flex span,
  footer#contacto .col-md-4.d-flex a {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: auto !important;
  }

  /* Mensaje central del footer */
  footer#contacto p.text-center {
    order: 2 !important;
    width: 100% !important;
    margin: 0.25rem 0 !important;
    justify-content: center !important;
  }

  /* Iconos a la fila final, centrados */
  footer#contacto ul.nav {
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  footer#contacto ul.nav li {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Si quieres desplazar finamente la marca, usa translateX aquí (valores negativos mueven a la izquierda) */
  /* footer#contacto .col-md-4.d-flex p { transform: translateX(-4px) !important; } */
}

/* Hero: sección grande con imagen blur detrás del texto */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px; /* ocupa al menos la mitad de la pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 0.6rem;
}

/* Imagen de fondo blureada (ajusta la ruta ../imagenes/hero.png si hace falta) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imagenes/hero.png");
  background-size: cover; /* escala con el tamaño del elemento */
  background-position: center center; /* centra siempre */
  background-repeat: no-repeat;
  background-attachment: scroll; /* no fijar respecto a la ventana */
  filter: blur(8px) brightness(0.55);
  -webkit-filter: blur(8px) brightness(0.55);
  z-index: 0;
}

/* Capa semitransparente adicional si necesitás más contraste */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(58, 45, 40, 0.12), rgba(58, 45, 40, 0.06));
  z-index: 0;
}

/* Contenido encima del fondo blureado */
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--c-6);
  padding: 2rem;
  max-width: 900px;
}

/* Titular más grande y elegante */
.hero-content .display-4 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  color: var(--c-6);
  margin-bottom: 1.7rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Texto secundario legible */
.hero-content .lead,
.hero-content p {
  color: var(--c-5);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.5;
  margin: 0.25rem 0;
}

/* Ajustes móviles: menor altura si se necesita */
@media (max-width: 420px) {
  .hero {
    min-height: 42vh;
  }
  .hero-content {
    padding: 1rem;
  }
}

/* Espaciado para el bloque "MIS PLANES" */
h2.text-center {
  margin-top: 2.5rem !important; /* más espacio arriba */
  margin-bottom: 1.75rem !important; /* más espacio debajo */
  line-height: 1.1;
}

/* Si quieres aún más separación en pantallas grandes */
@media (min-width: 992px) {
  h2.text-center {
    margin-top: 1.5rem !important;
    margin-bottom: 1.15rem !important;
  }
}

/* Reducir espacio entre "Conoceme más" y el texto en display normal */
@media (min-width: 768px) {
  .sobre-mi .sobre-mi-left {
    gap: 1rem !important; /* menos separación entre los dos bloques */
  }
  .sobre-mi .sobre-mi-card-top {
    padding-bottom: 0.35rem !important; /* acercar título al contenido */
  }
  .sobre-mi .sobre-mi-card-bottom {
    padding-top: 0.35rem !important;
  }
}
