/* ==========================================
   VARIABLES
========================================== */

:root {
  /* Colores */
  --color-primary: #4b4b4b;
  --color-secondary: #505f76;

  --color-background: #fcf8fa;
  --color-surface: #ffffff;
  --color-surface-light: #f6f3f5;
  --color-border: #c6c6cd;

  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-error: #ba1a1a;

  /* Tipografía */
  --font-heading: 'Open Sans';
  --font-body: "Inter", sans-serif;

  /* Tamaños */
  --fs-display: 45px;
  --fs-h1: 36px;
  --fs-h2: 28px;
  --fs-h3: 24px;
  --fs-body-lg: 20px;
  --fs-body: 18px;
  --fs-small: 18px;
  --fs-caption: 18px;

  /* Espaciado */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 64px;

  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 8px;

}

/* ==========================================
   RESET
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--color-background);
  color: #1b1b1d;
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  line-height: 1.6;
}

/* ==========================================
   LAYOUT
========================================== */

.container {
  max-width: var(--container);
  margin: auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

/* ==========================================
   TIPOGRAFÍA
========================================== */
.entry-content img[src$=".svg"] {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    margin: 0 .25em;
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-display) !important;
  line-height: 50px !important;  
  font-weight: 300 !important;
  line-height: 1.2;
  margin-bottom: 20px !important;
}
.entry-content img {
    margin: 40px 0;
}
h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1) !important;
  line-height: 41px !important;  
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px !important;
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3) !important;
  font-weight: 300 !important;
  margin-bottom: 15px !important;
}

br {
    display: block;
    content: "";
}
br::after {
    content: "";
    display: block;
    height: 20px;
}

strong {
    font-weight: 500 !important;
}
p {
  font-family: var(--font-heading);
  font-size: 18px !important;
  line-height: 23px !important;
  margin-bottom: 1rem !important;
  font-weight: 300 !important;
}

.lead {
  font-size: var(--fs-body-lg);
}

small {
  font-size: var(--fs-caption);
}

/* ==========================================
   ENLACES
========================================== */

a {
  color: var(--color-primary);
  text-decoration: underline;
}

a:hover {
  opacity: .7;
}

/* ==========================================
   BOTONES
========================================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: .3s;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  opacity: .85;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* ==========================================
   TARJETAS
========================================== */

.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

/* ==========================================
   FORMULARIOS
========================================== */

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ==========================================
   LISTAS
========================================== */

ul,
ol {
  padding-left: 24px;
  margin: 20px 0 !important;
}

li {
  font-family: var(--font-heading);
    font-size: 18px !important;
    line-height: 23px !important;
    font-weight: 300 !important;
  margin-bottom: 8px;
}
ol::marker,
li::marker {
    color: #8f4649;
}

/* ==========================================
   ALERTAS
========================================== */

.alert {
  padding: 16px;
  border-left: 4px solid;
  margin-bottom: 20px;
}

.alert-info {
  border-color: var(--color-primary);
  background: #f5f5f5;
}

.alert-success {
  border-color: var(--color-success);
  background: #f0f9f4;
}

.alert-warning {
  border-color: var(--color-warning);
  background: #fff7e6;
}

.alert-error {
  border-color: var(--color-error);
  background: #ffe5e5;
}

/* ==========================================
   UTILIDADES
========================================== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt {
  margin-top: var(--space-md);
}

.mb {
  margin-bottom: var(--space-md);
}

.py {
  padding: var(--space-md) 0;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.gap {
  gap: var(--space-md);
}

/* ==========================================
   RESPONSIVE TITLES
========================================== */

@media (max-width: 1024px) {
  h1 {
    font-size: 48px !important;
    line-height: 53px !important;
  }

  h2 {
    font-size: 32px !important;
    line-height: 37px !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 27px !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px !important;
    line-height: 45px !important;
    margin-bottom: 18px !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 33px !important;
    margin-bottom: 18px !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 27px !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 34px !important;
    line-height: 39px !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 31px !important;
  }

  h3 {
    font-size: 21px !important;
    line-height: 26px !important;
  }
}