:root {
  --surface-bg: #f2f5fb;
  --surface-fg: #0f172a;
  --surface-card: #ffffff;
  --surface-muted: #eef2f7;
  --surface-border: #d6deea;
  --text-muted: #5b6b85;

  --brand-600: #1e3a8a;
  --brand-700: #162b6f;
  --brand-accent: #3b82f6;
  --accent-500: #60a5fa;

  --shadow-card: 0 14px 34px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 18px 40px rgba(15, 23, 42, 0.16),
    0 4px 10px rgba(15, 23, 42, 0.12);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;

  --container: 1240px;
  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-bg);
  color: var(--surface-fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

.imagen-difuminada {
  /* Creamos un degradado que va de negro sólido (opaco) a transparente */
  -webkit-mask-image: radial-gradient(ellipse, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse, black 50%, transparent 100%);
  
  /* Asegúrate de que el fondo del contenedor sea el color que mencionaste */
  background-color: #f2f5fb; 
}

.imagen-difuminada-suave {
  /* Creamos un degradado que va de negro sólido (opaco) a transparente */
  -webkit-mask-image: radial-gradient(circle, black 75%, transparent 100%);
  mask-image: radial-gradient(circle, black 75%, transparent 100%);
  
  /* Asegúrate de que el fondo del contenedor sea el color que mencionaste */
  background-color: #f2f5fb; 
}

  .image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10), 0 3px 8px rgba(15, 23, 42, 0.06);
  align-items: center;
  justify-content: center;
  display: flex;  

}

.image-frame img {
  display: block;
  /*width: 100%;*/
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  color: var(--surface-fg);
}

h1 {
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.18;
}

p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: var(--brand-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-accent));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--brand-600);
  border-color: var(--surface-border);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.btn-large {
  min-height: 58px;
  padding: 0 26px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 245, 251, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214, 222, 234, 0.88);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-accent));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}

.brand-text {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.image-placeholder {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(30, 58, 138, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.82)),
    linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(30, 58, 138, 0.06));
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  /*padding: 28px;*/
}

.image-placeholder strong {
  color: var(--brand-700);
  font-size: 1rem;
}

.image-placeholder span {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.image-xl {
  height: 680px;
}

.image-lg {
  min-height: 620px;
}

.mini-placeholder {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(30, 58, 138, 0.24);
  background: rgba(255, 255, 255, 0.88);
  padding: 22px;
}

.mini-placeholder strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-700);
}

.mini-placeholder span {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.editorial-section {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.36), rgba(238,242,247,0.26));
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 780px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 18px;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.cta-section {
  padding: 96px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #ffffff;
  border-radius: 34px;
  padding: 54px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-copy {
  max-width: 720px;
}

.cta-copy .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #dbeafe;
}

.cta-copy h2 {
  margin-top: 18px;
  color: #ffffff;
}

.cta-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(214, 222, 234, 0.86);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 1200px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .editorial-section,
  .cta-section {
    padding: 78px 0;
  }

  .cta-box {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .header-inner {
    min-height: 78px;
  }

  .cta-actions {
    width: 100%;
  }

  .image-xl,
  .image-lg {
    min-height: 500px;
  }

}