html { scroll-behavior: smooth; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.font-serif-quote { font-family: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }


/* ===== Identidad visual Baldino: azul + celeste ===== */
:root {
  --baldino-blue: #075985;
  --baldino-deep: #0c4a6e;
  --baldino-sky: #0ea5e9;
  --baldino-light: #e0f2fe;
  --baldino-pale: #f0f9ff;
}

/* Portada con más presencia de marca */
#inicio {
  background:
    radial-gradient(circle at 88% 18%, rgba(14,165,233,.20), transparent 30%),
    radial-gradient(circle at 12% 85%, rgba(2,132,199,.12), transparent 28%),
    linear-gradient(135deg, #f8fdff 0%, #e0f2fe 48%, #f8fafc 100%) !important;
}
#inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.65), rgba(255,255,255,0));
}

/* Franja de públicos */
main > section:nth-of-type(2) {
  background: linear-gradient(90deg, #e0f2fe 0%, #f0f9ff 50%, #e0f2fe 100%) !important;
  border-color: #bae6fd !important;
}

/* Servicios: celeste muy suave */
#servicios {
  background:
    linear-gradient(rgba(255,255,255,.60), rgba(255,255,255,.60)),
    linear-gradient(135deg, #e0f2fe, #f8fafc) !important;
}
#servicios .bg-white {
  box-shadow: 0 10px 28px rgba(2,132,199,.07);
}

/* Sectores: blanco con acentos azules */
#sectores {
  background: #ffffff !important;
}
#sectores button {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#sectores button:hover {
  transform: translateY(-1px);
}

/* Fideicomisos: bloque diferenciado */
#fideicomisos {
  background:
    radial-gradient(circle at 100% 0%, rgba(14,165,233,.13), transparent 30%),
    linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border-color: #bae6fd !important;
}

/* Financiamiento: azul elegante, manteniendo legibilidad de las tarjetas */
#financiamiento {
  background:
    radial-gradient(circle at 10% 10%, rgba(56,189,248,.20), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(125,211,252,.14), transparent 32%),
    linear-gradient(135deg, #0c4a6e 0%, #075985 55%, #0369a1 100%) !important;
  border-color: #075985 !important;
}
#financiamiento h2,
#financiamiento > div > div:first-child p {
  color: #ffffff !important;
}
#financiamiento > div > div:first-child p {
  color: #e0f2fe !important;
}
#financiamiento .bg-white {
  box-shadow: 0 14px 35px rgba(2, 32, 71, .18);
  border-color: rgba(186,230,253,.65) !important;
}

/* Deudas y embargos */
#deudas-embargos {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
}

/* Perfil profesional */
#profesional {
  background:
    radial-gradient(circle at 15% 50%, rgba(14,165,233,.10), transparent 26%),
    #ffffff !important;
}

/* Frase institucional: sección exterior azul clara para reforzar contraste */
main > section:nth-of-type(9) {
  background: linear-gradient(135deg, #e0f2fe 0%, #f8fafc 50%, #dbeafe 100%) !important;
  border-color: #bae6fd !important;
}
main > section:nth-of-type(9) > div > div {
  background:
    radial-gradient(circle at 20% 0%, rgba(56,189,248,.20), transparent 30%),
    linear-gradient(135deg, #082f49 0%, #0c4a6e 55%, #075985 100%) !important;
  border-color: #0369a1 !important;
}

/* Contacto final más vivo */
#contacto {
  background:
    radial-gradient(circle at 85% 20%, rgba(14,165,233,.18), transparent 26%),
    linear-gradient(135deg, #f0f9ff 0%, #dff4ff 100%) !important;
  border-color: #bae6fd !important;
}

/* Botones: identidad Baldino */
a[class*="bg-slate-900"],
button[class*="bg-slate-900"] {
  background-color: #075985 !important;
}
a[class*="bg-slate-900"]:hover,
button[class*="bg-slate-900"]:hover {
  background-color: #0369a1 !important;
}

/* Header y footer con mejor unión de marca */
#header-nav {
  border-bottom-color: rgba(14,165,233,.18) !important;
}
footer {
  background:
    radial-gradient(circle at 80% 0%, rgba(14,165,233,.14), transparent 28%),
    #082f49 !important;
  border-color: #0c4a6e !important;
}

/* Más profundidad en tarjetas */
.rounded-3xl.bg-white {
  box-shadow: 0 8px 24px rgba(15, 98, 146, .06);
}



/* ===== Mejora de legibilidad: textos de cuadros más grandes ===== */

/* Textos generales dentro de tarjetas y cuadros */
.rounded-2xl p,
.rounded-3xl p,
.rounded-2xl li,
.rounded-3xl li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Títulos de las tarjetas */
.rounded-2xl h3,
.rounded-3xl h3 {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
}

/* Subtítulos dentro de tarjetas */
.rounded-2xl h4,
.rounded-3xl h4 {
  font-size: 1.08rem !important;
  line-height: 1.45 !important;
}

/* Botones dentro de cuadros */
.rounded-2xl a,
.rounded-3xl a,
.rounded-2xl button,
.rounded-3xl button {
  font-size: 0.98rem !important;
}

/* Textos pequeños de etiquetas sin hacerlos gigantes */
.rounded-2xl .text-xs,
.rounded-3xl .text-xs {
  font-size: 0.82rem !important;
}

/* Celular: que siga siendo cómodo y no desborde */
@media (max-width: 640px) {
  .rounded-2xl p,
  .rounded-3xl p,
  .rounded-2xl li,
  .rounded-3xl li {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .rounded-2xl h3,
  .rounded-3xl h3 {
    font-size: 1.18rem !important;
  }
}


/* =========================================================
   BALDINO V3 — MÁS VISUAL, MÁS COLOR, MÁS LEGIBILIDAD
   ========================================================= */

body {
  font-size: 18px !important;
  background: #f8fbff;
}

/* Portada fotográfica */
.hero-main-card {
  min-height: 540px;
  isolation: isolate;
}
.hero-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .46;
  transform: scale(1.02);
}
.hero-main-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 27, 51, .96) 0%, rgba(3, 65, 105, .87) 48%, rgba(2, 132, 199, .54) 100%),
    linear-gradient(0deg, rgba(2, 20, 38, .35), transparent 55%);
}
.hero-main-card h1 {
  font-size: clamp(3rem, 5vw, 5.3rem) !important;
  line-height: .98 !important;
  max-width: 820px !important;
}
.hero-main-card p {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem) !important;
  line-height: 1.6 !important;
  max-width: 760px !important;
}
.hero-main-card a {
  font-size: 1.05rem !important;
  padding: 1rem 1.45rem !important;
}

/* Franja visual */
.visual-strip-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(56,189,248,.22), transparent 28%),
    linear-gradient(135deg, #082f49 0%, #075985 50%, #0369a1 100%);
  color: white;
}
.visual-kicker {
  display: inline-block;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: .65rem;
}
.visual-title {
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 900;
  max-width: 850px;
}
.visual-intro {
  color: #dbeafe;
  font-size: 1.15rem;
  max-width: 430px;
}
.visual-sector-card {
  min-height: 355px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px rgba(2, 20, 38, .26);
  border: 1px solid rgba(255,255,255,.16);
}
.visual-sector-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.visual-sector-card:hover .visual-sector-image {
  transform: scale(1.07);
}
.visual-sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 20, 38, .96) 0%, rgba(3, 65, 105, .45) 60%, rgba(2, 132, 199, .12) 100%);
}
.visual-sector-content {
  position: absolute;
  inset: 0;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.visual-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  font-weight: 900;
  font-size: .9rem;
}
.visual-sector-content h3 {
  font-size: 1.65rem !important;
  line-height: 1.08 !important;
  font-weight: 900;
  margin-bottom: .5rem;
}
.visual-sector-content p {
  font-size: 1.05rem !important;
  color: #e0f2fe;
  line-height: 1.45 !important;
}
.visual-sector-link {
  margin-top: 1.1rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  background: #38bdf8;
  color: #082f49;
  font-weight: 900;
  font-size: 1rem !important;
  padding: .75rem 1rem;
  border-radius: 12px;
}

/* TODAS las tarjetas: texto mayor */
.rounded-xl p,
.rounded-2xl p,
.rounded-3xl p,
.rounded-xl li,
.rounded-2xl li,
.rounded-3xl li,
.rounded-xl span:not(.w-1):not(.w-1\.5),
.rounded-2xl span:not(.w-1):not(.w-1\.5),
.rounded-3xl span:not(.w-1):not(.w-1\.5) {
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
}
.rounded-2xl h4,
.rounded-3xl h4 {
  font-size: 1.35rem !important;
  line-height: 1.28 !important;
}
.rounded-2xl h3,
.rounded-3xl h3 {
  font-size: 1.65rem !important;
  line-height: 1.22 !important;
}
.rounded-2xl a,
.rounded-3xl a,
.rounded-2xl button,
.rounded-3xl button {
  font-size: 1rem !important;
}

/* Encabezados de cada sección */
section h2 {
  font-size: clamp(2.5rem, 4vw, 4.1rem) !important;
  line-height: 1.05 !important;
}
section > div > div.text-center > p,
section > div > div[class*="max-w-3xl"] > p {
  font-size: 1.22rem !important;
  line-height: 1.65 !important;
}

/* Más color y profundidad por secciones */
#servicios {
  background:
    radial-gradient(circle at 8% 12%, rgba(14,165,233,.18), transparent 25%),
    linear-gradient(180deg, #eff9ff 0%, #ffffff 100%) !important;
}
#servicios .rounded-3xl {
  border-top: 5px solid #38bdf8 !important;
}
#sectores {
  background:
    radial-gradient(circle at 95% 10%, rgba(59,130,246,.16), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #eaf7ff 100%) !important;
}
#fideicomisos {
  background:
    radial-gradient(circle at 0% 100%, rgba(56,189,248,.25), transparent 32%),
    linear-gradient(135deg, #dff4ff 0%, #f8fbff 55%, #dbeafe 100%) !important;
}
#deudas-embargos {
  background:
    linear-gradient(135deg, #eff6ff 0%, #ffffff 42%, #e0f2fe 100%) !important;
}
#profesional {
  background:
    radial-gradient(circle at 88% 30%, rgba(14,165,233,.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef9ff) !important;
}

/* Tabs de sectores ahora con imagen */
.sector-tab-card {
  position: relative;
  overflow: hidden;
  min-height: 115px;
  isolation: isolate;
}
.sector-tab-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .30;
  z-index: -2;
}
.sector-tab-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(224,242,254,.80));
}
.sector-tab-card.bg-slate-900::after {
  background: linear-gradient(90deg, rgba(8,47,73,.95), rgba(3,105,161,.83));
}
.sector-tab-icon {
  flex-shrink: 0;
}
.sector-tab-card span {
  font-size: 1rem !important;
}

/* Sector activo: textos más grandes */
#sectores .lg\:col-span-5 h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.6rem) !important;
}
#sectores .lg\:col-span-5 p,
#sectores .lg\:col-span-7 p {
  font-size: 1.17rem !important;
}
#sectores li {
  font-size: 1.02rem !important;
}

/* Fideicomisos hero image más alta */
#fideicomisos .relative.h-64 {
  height: 420px !important;
}
#fideicomisos .relative.h-64 h3 {
  font-size: clamp(2.2rem, 3vw, 3.7rem) !important;
}
#fideicomisos .relative.h-64 p {
  font-size: 1.2rem !important;
  max-width: 780px;
}

/* Contacto mucho más potente */
#contacto {
  background:
    radial-gradient(circle at 90% 10%, rgba(56,189,248,.25), transparent 30%),
    linear-gradient(135deg, #dff4ff 0%, #ffffff 55%, #dbeafe 100%) !important;
}

/* Celular */
@media (max-width: 640px) {
  body { font-size: 17px !important; }
  .hero-main-card { min-height: 610px; }
  .hero-main-card h1 { font-size: 3rem !important; }
  .hero-main-card p { font-size: 1.15rem !important; }
  .visual-sector-card { min-height: 310px; }
  .rounded-xl p,
  .rounded-2xl p,
  .rounded-3xl p,
  .rounded-xl li,
  .rounded-2xl li,
  .rounded-3xl li {
    font-size: 1.03rem !important;
  }
  section h2 {
    font-size: 2.45rem !important;
  }
}


/* Ajustes finales solicitados por el cliente */
footer .grid > div:first-child > p,
footer .grid > div:first-child > div {
  display: none !important;
}

/* Mejor encuadre de imágenes sectoriales sin cambiar la estética */
.visual-sector-image {
  object-position: center center !important;
}
.hero-main-photo {
  object-position: center center !important;
}

/* El texto largo de matrícula debe respirar bien en móvil */
@media (max-width: 640px) {
  #inicio .relative.z-10.pt-6 {
    gap: .65rem !important;
  }
}

/* Ajuste final: mayor presencia visual del nombre profesional */
.hero-profile-card { background: linear-gradient(145deg,#e0f2fe 0%,#f8fafc 58%,#dbeafe 100%); }
.hero-profile-name { font-family: Georgia, 'Times New Roman', serif; letter-spacing: .015em; }
