/* ============================= */
/* VARIABLES GENERALES */
/* ============================= */

:root {
  --color-primary: #0B1F3A;
  --color-primary-dark: #07162A;
  --color-dark: #111111;
  --color-black: #050505;
  --color-text: #1d1d1f;
  --color-muted: #666666;
  --color-light: #f8f8f8;
  --color-white: #ffffff;
  --color-border: #e8e8e8;

  --font-main: "Inter", sans-serif;
  --font-title: "Playfair Display", serif;

  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 26px rgba(0, 0, 0, 0.06);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --transition: all 0.3s ease;
}


/* ============================= */
/* RESET */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}


/* ============================= */
/* BOTONES */
/* ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 24px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  transition: var(--transition);
  cursor: pointer;
}

.btn--small {
  padding: 11px 20px;
  font-size: 13px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-black);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.28);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-white);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-black);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}


/* ============================= */
/* HEADER */
/* ============================= */

.header {
  width: 100%;
  height: 74px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--color-border);

  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 34px;
  height: 34px;

  background: linear-gradient(135deg, var(--color-primary), #1E4C7A);
  border-radius: 9px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;
  color: var(--color-black);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__text strong {
  font-size: 20px;
  font-family: var(--font-title);
  color: var(--color-dark);
}

.logo__text span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  position: relative;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary-dark);
}

.nav__link.active::after {
  content: "";
  width: 6px;
  height: 6px;

  background: var(--color-primary);
  border-radius: 50%;

  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
}

.menu-btn {
  display: none;
  font-size: 24px;
  color: var(--color-dark);
}


/* ============================= */
/* HERO BLOG */
/* ============================= */

.page-hero {
  padding: 90px 0;

  background:
    radial-gradient(circle at right center, rgba(11, 31, 58, 0.16), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);

  overflow: hidden;
}

.page-hero__container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 15px;

  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-hero h1 {
  max-width: 760px;

  font-family: var(--font-title);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.03;
  color: var(--color-black);

  margin-bottom: 24px;
}

.page-hero p {
  max-width: 650px;
  color: var(--color-muted);
  font-size: 17px;
  margin-bottom: 30px;
}

.page-hero__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero__visual {
  min-height: 430px;
  position: relative;
}

.page-hero__visual::before {
  content: "";
  width: 430px;
  height: 430px;

  background: radial-gradient(circle, rgba(11, 31, 58, 0.24), transparent 62%);
  border-radius: 50%;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* ============================= */
/* TARJETA HERO BLOG */
/* ============================= */

.blog-hero-card {
  width: 370px;
  min-height: 310px;

  position: absolute;
  top: 60px;
  right: 35px;

  padding: 36px;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-soft);
}

.blog-hero-card__icon {
  width: 68px;
  height: 68px;

  margin-bottom: 26px;

  background: rgba(11, 31, 58, 0.14);
  color: var(--color-primary-dark);

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
}

.blog-hero-card h3 {
  font-family: var(--font-title);
  font-size: 32px;
  line-height: 1.1;
  color: var(--color-dark);

  margin-bottom: 14px;
}

.blog-hero-card p {
  font-size: 15px;
  margin-bottom: 22px;
}

.blog-hero-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-hero-card__tags span {
  padding: 8px 12px;

  background: #fafafa;
  border: 1px solid var(--color-border);
  border-radius: 999px;

  color: var(--color-dark);
  font-size: 12px;
  font-weight: 800;
}

.floating-note {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-soft);
}

.floating-note i {
  width: 42px;
  height: 42px;

  background: rgba(11, 31, 58, 0.13);
  color: var(--color-primary-dark);

  border-radius: 13px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-note span {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark);
}

.floating-note--one {
  left: 0;
  top: 80px;
}

.floating-note--two {
  right: 0;
  bottom: 45px;
}


/* ============================= */
/* HEADERS DE SECCIÓN */
/* ============================= */

.section-header {
  margin-bottom: 55px;
}

.section-header--center {
  text-align: center;
}

.section-header h2,
.featured-post__content h2,
.newsletter__content h2,
.final-cta__text h2 {
  font-family: var(--font-title);
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.1;
  color: var(--color-dark);
}

.section-header p {
  max-width: 670px;
  margin: 18px auto 0;
  color: var(--color-muted);
  font-size: 16px;
}


/* ============================= */
/* ARTÍCULO DESTACADO */
/* ============================= */

.featured-post {
  background: var(--color-white);
}

.featured-post__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.featured-post__image {
  height: 460px;

  border-radius: var(--radius-lg);
  overflow: hidden;

  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.featured-post__image img {
  height: 100%;
  object-fit: cover;
}

.featured-post__content p {
  margin: 22px 0;
  color: var(--color-muted);
  font-size: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 26px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
}

.post-meta i {
  color: var(--color-primary-dark);
}


/* ============================= */
/* CATEGORÍAS */
/* ============================= */

.categories {
  padding: 28px 0;

  background: #fcfcfc;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.categories__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;
}

.category-btn {
  padding: 11px 18px;

  background: var(--color-white);
  color: var(--color-text);

  border: 1px solid var(--color-border);
  border-radius: 999px;

  font-size: 13px;
  font-weight: 800;

  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--color-primary);
  color: var(--color-black);
  border-color: var(--color-primary);
}


/* ============================= */
/* POSTS */
/* ============================= */

.posts {
  background: #fcfcfc;
}

.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  overflow: hidden;
  box-shadow: var(--shadow-card);

  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(11, 31, 58, 0.45);
}

.post-card__image {
  position: relative;
  height: 225px;
  overflow: hidden;
}

.post-card__image img {
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card__image img {
  transform: scale(1.08);
}

.post-card__image span {
  position: absolute;
  left: 18px;
  top: 18px;

  padding: 8px 12px;

  background: rgba(255, 255, 255, 0.92);
  color: var(--color-dark);

  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.post-card__content {
  padding: 26px;
}

.post-card__content .post-meta {
  margin-bottom: 16px;
}

.post-card__content h3 {
  font-size: 21px;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.post-card__content p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 22px;
}

.post-card__content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--color-dark);
  font-size: 14px;
  font-weight: 800;

  transition: var(--transition);
}

.post-card__content a i {
  color: var(--color-primary);
}

.post-card__content a:hover {
  color: var(--color-primary-dark);
}


/* ============================= */
/* NEWSLETTER */
/* ============================= */

.newsletter {
  background: var(--color-white);
}

.newsletter__container {
  padding: 50px;

  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 50px;

  background: linear-gradient(135deg, #ffffff, #fafafa);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-card);
}

.newsletter__content p {
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 16px;
}

.newsletter__form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter__form input {
  width: 100%;
  height: 54px;

  padding: 0 18px;

  border: 1px solid var(--color-border);
  border-radius: 8px;

  background: var(--color-white);
  color: var(--color-text);

  font-size: 14px;
  outline: none;

  transition: var(--transition);
}

.newsletter__form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.12);
}


/* ============================= */
/* RECURSOS */
/* ============================= */

.resources {
  background: #fcfcfc;
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.resource-card {
  padding: 34px 30px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(11, 31, 58, 0.45);
}

.resource-card i {
  width: 60px;
  height: 60px;

  margin-bottom: 24px;

  background: rgba(11, 31, 58, 0.13);
  color: var(--color-primary-dark);

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
}

.resource-card h3 {
  font-size: 22px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 22px;
}

.resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--color-dark);
  font-size: 14px;
  font-weight: 800;

  transition: var(--transition);
}

.resource-card a:hover {
  color: var(--color-primary-dark);
}


/* ============================= */
/* CTA FINAL */
/* ============================= */

.final-cta {
  padding: 0 0 70px;
  background: #fcfcfc;
}

.final-cta__container {
  min-height: 120px;

  padding: 25px 34px;

  background: linear-gradient(135deg, #12345A, #0B1F3A);
  border-radius: var(--radius-md);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  box-shadow: 0 14px 40px rgba(11, 31, 58, 0.25);
}

.final-cta__icon {
  width: 72px;
  height: 72px;

  background: var(--color-white);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-primary-dark);
  font-size: 26px;
}

.final-cta__text {
  flex: 1;
}

.final-cta__text h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 3px;
}

.final-cta__text p {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
}


/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-top: 58px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;

  padding-bottom: 45px;
}

.logo--footer .logo__text strong {
  color: var(--color-white);
}

.footer__brand p {
  margin: 20px 0;
  max-width: 300px;

  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 34px;
  height: 34px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: var(--color-black);
  border-color: var(--color-primary);
}

.footer__column h3 {
  margin-bottom: 18px;

  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
}

.footer__column a {
  display: block;
  margin-bottom: 10px;

  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);

  transition: var(--transition);
}

.footer__column a:hover {
  color: var(--color-primary);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__contact i {
  color: var(--color-primary);
}

.footer__bottom {
  padding: 22px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.11);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__bottom p,
.footer__bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom div {
  display: flex;
  gap: 22px;
}

.footer__bottom a:hover {
  color: var(--color-primary);
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1050px) {
  .header .btn--small {
    display: none;
  }

  .nav {
    gap: 22px;
  }

  .page-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero__buttons {
    justify-content: center;
  }

  .page-hero__visual {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .featured-post__container {
    grid-template-columns: 1fr;
  }

  .featured-post__image {
    height: 380px;
  }

  .posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter__container {
    grid-template-columns: 1fr;
  }

  .resources__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


@media (max-width: 850px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    right: -100%;

    width: 270px;
    height: calc(100vh - 74px);

    background: var(--color-white);
    border-left: 1px solid var(--color-border);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.08);

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 35px;

    transition: var(--transition);
  }

  .nav.nav--active {
    right: 0;
  }

  .nav__link.active::after {
    display: none;
  }

  .page-hero {
    padding: 65px 0;
  }

  .page-hero__visual {
    min-height: 390px;
  }

  .blog-hero-card {
    width: 330px;
    right: 50%;
    transform: translateX(50%);
  }

  .floating-note--one {
    left: 0;
  }

  .floating-note--two {
    right: 0;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__form .btn {
    width: 100%;
  }

  .final-cta__container {
    flex-direction: column;
    text-align: center;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


@media (max-width: 600px) {
  .section {
    padding: 65px 0;
  }

  .logo__text strong {
    font-size: 18px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .page-hero__buttons {
    flex-direction: column;
  }

  .page-hero__buttons .btn {
    width: 100%;
  }

  .page-hero__visual {
    min-height: auto;
    margin-top: 35px;
  }

  .page-hero__visual::before {
    width: 300px;
    height: 300px;
  }

  .blog-hero-card,
  .floating-note {
    position: relative;
  }

  .blog-hero-card,
  .floating-note--one,
  .floating-note--two {
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin-bottom: 18px;
  }

  .featured-post__image {
    height: 280px;
  }

  .categories__container {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .category-btn {
    white-space: nowrap;
  }

  .posts__grid,
  .resources__grid {
    grid-template-columns: 1fr;
  }

  .post-card__content,
  .resource-card {
    padding: 26px 22px;
  }

  .post-card__image {
    height: 220px;
  }

  .newsletter__container {
    padding: 30px 22px;
  }

  .final-cta__container {
    padding: 28px 22px;
  }

  .footer__container {
    grid-template-columns: 1fr;
  }

  .footer__bottom div {
    flex-direction: column;
    gap: 10px;
  }
}
/* ============================= */
/* TEXTO BLANCO EN FONDOS AZULES */
/* ============================= */

.btn--primary,
.btn--primary i {
  color: #ffffff;
}

.category-btn.active,
.category-btn.active i,
.category-btn:hover,
.category-btn:hover i {
  color: #ffffff;
}

.filter-btn.active,
.filter-btn.active i,
.filter-btn:hover,
.filter-btn:hover i {
  color: #ffffff;
}

.logo__icon {
  color: #ffffff;
}

.final-cta__container,
.final-cta__container h2,
.final-cta__container p,
.final-cta__container a,
.final-cta__container i {
  color: #ffffff;
}

.contact-social,
.contact-social h3,
.contact-social a,
.contact-social i {
  color: #ffffff;
}

.footer__social a:hover,
.footer__social a:hover i {
  color: #ffffff;
}

.custom-alert--success,
.custom-alert--success i {
  color: #ffffff;
}
/* ============================= */
/* CORRECCIÓN CTA FINAL AZUL MARINO */
/* ============================= */

.final-cta__container {
  background: linear-gradient(135deg, #12345A, #0B1F3A);
  color: #ffffff;
}

.final-cta__text h2,
.final-cta__text p {
  color: #ffffff;
}

.final-cta__icon {
  background: #ffffff;
  color: #0B1F3A;
}

.final-cta__icon i {
  color: #0B1F3A;
}

/* Botón blanco dentro del recuadro azul */
.final-cta__container .btn--light {
  background: #ffffff;
  color: #0B1F3A;
  font-weight: 800;
}

.final-cta__container .btn--light i {
  color: #0B1F3A;
}

.final-cta__container .btn--light:hover {
  background: #f3f6fb;
  color: #07162A;
}


/* ============================= */
/* CORRECCIÓN FOOTER AZUL MARINO */
/* ============================= */

.footer {
  background: #030712;
}

.footer__column h3 {
  color: #ffffff;
}

.footer__column a {
  color: rgba(255, 255, 255, 0.72);
}

.footer__column a:hover {
  color: #8FBCE6;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.72);
}

.logo--footer .logo__text strong {
  color: #ffffff;
}

.logo--footer .logo__text span {
  color: #8FBCE6;
}

.footer__contact i {
  color: #8FBCE6;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.85);
}

.footer__social a:hover {
  background: #0B1F3A;
  color: #ffffff;
  border-color: #0B1F3A;
}

.footer__bottom p,
.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a:hover {
  color: #8FBCE6;
}
/* ============================= */
/* LOGO SOCIALITY WEBS MEJORADO */
/* ============================= */

.logo {
  gap: 12px;
}

.logo__icon {
  width: 42px;
  height: 42px;

  background: linear-gradient(135deg, #0B1F3A 0%, #12345A 55%, #8FBCE6 100%) !important;
  color: #ffffff !important;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0;
  font-weight: 900;

  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.25);

  position: relative;
  overflow: hidden;
}

.logo__icon::before {
  content: "S";
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-main);
  letter-spacing: -1px;
}

.logo__icon::after {
  content: "";
  width: 38px;
  height: 38px;

  position: absolute;
  top: -18px;
  right: -18px;

  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.logo__text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo__text span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
}
/* ============================= */
/* NOTIFICACIÓN NEWSLETTER */
/* ============================= */

.newsletter-notification {
  position: fixed;
  left: 50%;
  bottom: 30px;

  transform: translateX(-50%) translateY(30px);

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 16px 22px;

  background: #0B1F3A;
  color: #ffffff;

  border-radius: 16px;

  font-size: 15px;
  font-weight: 700;

  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.28);

  opacity: 0;
  pointer-events: none;

  z-index: 99999;

  transition: all 0.3s ease;
}

.newsletter-notification--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.newsletter-notification i {
  color: #8FBCE6;
  font-size: 18px;
}

.newsletter-notification--error {
  background: #991b1b;
}

.newsletter-notification--error i {
  color: #fecaca;
}

@media (max-width: 600px) {
  .newsletter-notification {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
    bottom: 20px;
  }
}
/* ============================= */
/* NEWSLETTER RESTAURADO */
/* ============================= */

.newsletter {
  padding: 90px 0;
}

.newsletter__container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;

  padding: 58px;

  background: #ffffff;
  border: 1px solid #dde5f0;
  border-radius: 28px;

  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.08);
}

.newsletter__content h2 {
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  color: #07162A;
  margin-bottom: 18px;
}

.newsletter__content p {
  max-width: 540px;
  color: #405066;
  line-height: 1.7;
}

.newsletter__form {
  display: flex;
  gap: 14px;
}

.newsletter__form input[type="email"] {
  flex: 1;
  height: 58px;

  padding: 0 20px;

  background: #f8fafc;
  border: 1px solid #dde5f0;
  border-radius: 14px;

  font-size: 15px;
  color: #07162A;
}

.newsletter__form button {
  height: 58px;
  white-space: nowrap;
}

/* Notificación */
.newsletter-notification {
  position: fixed;
  left: 50%;
  bottom: 30px;

  transform: translateX(-50%) translateY(30px);

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 16px 22px;

  background: #0B1F3A;
  color: #ffffff;

  border-radius: 16px;

  font-size: 15px;
  font-weight: 700;

  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.28);

  opacity: 0;
  pointer-events: none;

  z-index: 99999;

  transition: all 0.3s ease;
}

.newsletter-notification--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.newsletter-notification i {
  color: #8FBCE6;
  font-size: 18px;
}

.newsletter-notification--error {
  background: #991b1b;
}

.newsletter-notification--error i {
  color: #fecaca;
}

@media (max-width: 850px) {
  .newsletter__container {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__form button {
    width: 100%;
  }
}
/* ============================= */
/* ARREGLO DEFINITIVO NEWSLETTER BLOG */
/* ============================= */

.newsletter {
  padding: 60px 0 80px !important;
  margin-top: 0 !important;
  background: #eef3f9 !important;
}

.newsletter__container {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  align-items: center !important;
  gap: 50px !important;

  padding: 58px !important;

  background: #ffffff !important;
  border: 1px solid #d8e2ee !important;
  border-radius: 28px !important;

  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.08) !important;
}

.newsletter__content {
  display: block !important;
}

.newsletter__content .section-tag {
  display: inline-block !important;
  margin-bottom: 18px !important;
  color: #0B1F3A !important;
}

.newsletter__content h2 {
  font-family: var(--font-title) !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.05 !important;
  color: #07162A !important;
  margin-bottom: 18px !important;
}

.newsletter__content p {
  max-width: 540px !important;
  color: #405066 !important;
  line-height: 1.7 !important;
}

.newsletter__form {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
}

.newsletter__form input[type="email"] {
  flex: 1 !important;
  height: 58px !important;

  padding: 0 20px !important;

  background: #f8fafc !important;
  border: 1px solid #d8e2ee !important;
  border-radius: 14px !important;

  font-size: 15px !important;
  color: #07162A !important;
}

.newsletter__form button {
  height: 58px !important;
  white-space: nowrap !important;
}
/* ===================================================== */
/* PÁGINA DE ARTÍCULO */
/* ===================================================== */

.article-hero {
  padding: 90px 0 60px;
  background:
    radial-gradient(circle at right center, rgba(11, 31, 58, 0.12), transparent 35%),
    linear-gradient(180deg, #eef3f9 0%, #f8fafc 100%);
}

.article-hero__container {
  max-width: 920px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 32px;

  color: #0B1F3A;
  font-size: 14px;
  font-weight: 800;
}

.article-back i {
  color: #0B1F3A;
}

.article-hero h1 {
  max-width: 900px;

  font-family: var(--font-title);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  color: #07162A;

  margin-bottom: 24px;
}

.article-hero p {
  max-width: 780px;
  color: #405066;
  font-size: 18px;
  line-height: 1.8;

  margin-bottom: 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  background: #ffffff;
  border: 1px solid #d8e2ee;
  border-radius: 999px;

  color: #405066;
  font-size: 13px;
  font-weight: 800;
}

.article-meta i {
  color: #0B1F3A;
}

.article-image-section {
  padding: 0 0 70px;
  background: #f8fafc;
}

.article-main-image {
  height: 520px;

  border-radius: 30px;
  overflow: hidden;

  border: 1px solid #d8e2ee;
  box-shadow: 0 24px 65px rgba(11, 31, 58, 0.14);
}

.article-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content-section {
  padding: 90px 0;
  background: #ffffff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 70px;
  align-items: flex-start;
}

.article-content {
  width: 100%;
}

.article-content p {
  color: #405066;
  font-size: 17px;
  line-height: 1.9;

  margin-bottom: 24px;
}

.article-content .article-intro {
  font-size: 20px;
  color: #24364d;
  font-weight: 500;
}

.article-content h2 {
  font-family: var(--font-title);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  color: #07162A;

  margin: 54px 0 18px;
}

.article-tip {
  display: flex;
  gap: 16px;

  padding: 22px;

  background: #eef3f9;
  border: 1px solid #d8e2ee;
  border-radius: 20px;

  margin: 34px 0;
}

.article-tip i {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0B1F3A;
  color: #ffffff;
  border-radius: 14px;
}

.article-tip p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0B1F3A;
}

.article-summary {
  padding: 34px;

  background: #0B1F3A;
  border-radius: 24px;

  margin-top: 56px;
}

.article-summary h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 14px;
}

.article-summary p {
  color: #dbe8f7;
  margin: 0;
}

.article-cta {
  margin-top: 60px;
  padding: 40px;

  background: #eef3f9;
  border: 1px solid #d8e2ee;
  border-radius: 26px;
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  margin-bottom: 28px;
}

.article-sidebar {
  position: sticky;
  top: 100px;

  display: grid;
  gap: 24px;
}

.sidebar-card {
  padding: 28px;

  background: #f8fafc;
  border: 1px solid #d8e2ee;
  border-radius: 22px;

  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.08);
}

.sidebar-card h3 {
  font-size: 20px;
  color: #07162A;

  margin-bottom: 18px;
}

.sidebar-card a {
  display: block;

  padding: 12px 0;

  color: #405066;
  font-size: 14px;
  font-weight: 700;

  border-bottom: 1px solid #d8e2ee;
}

.sidebar-card a:last-child {
  border-bottom: none;
}

.sidebar-card a:hover {
  color: #0B1F3A;
}

.sidebar-card--dark {
  background: linear-gradient(135deg, #12345A, #0B1F3A);
  border: none;
}

.sidebar-card--dark h3 {
  color: #ffffff;
}

.sidebar-card--dark p {
  color: #dbe8f7;
  line-height: 1.7;
  margin-bottom: 22px;
}

.related-posts {
  background: #eef3f9;
}

/* RESPONSIVE ARTÍCULO */

@media (max-width: 1000px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-main-image {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .article-hero {
    padding: 70px 0 45px;
  }

  .article-hero h1 {
    font-size: 40px;
  }

  .article-hero p {
    font-size: 16px;
  }

  .article-main-image {
    height: 270px;
    border-radius: 22px;
  }

  .article-content-section {
    padding: 65px 0;
  }

  .article-content p {
    font-size: 15px;
  }

  .article-cta,
  .article-summary {
    padding: 26px;
  }
}