/* ==========================================================================
   Antonio García Durán — Derecho Administrativo
   Hoja de estilos principal (recreación estática del sitio original)
   ========================================================================== */

:root {
  --navy: #1A202E;
  --navy-alt: #1A3863;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #EFEFEF;
  --gray-mid: #999999;
  --gray-text: #666666;
  --gray-body: #6B6B6B;
  --beige: #F2E7DF;
  --whatsapp: #25D366;
  --font-cond: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-roboto: "Roboto", Arial, sans-serif;
  --font-text: "Pontano Sans", "Roboto", sans-serif;
  --font-post: "Preahvihear", "Roboto", sans-serif;
  --container: 1140px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 140px; }
body {
  margin: 0;
  background-color: var(--beige);
  color: var(--black);
  font-family: var(--font-cond);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: block;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 1.53px;
  color: var(--black);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-cond);
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2em;
  color: var(--black);
  margin-bottom: 20px;
}
.text-block {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: -0.45px;
  text-align: justify;
  color: var(--black);
  margin-bottom: 20px;
}
.text-block p { margin-bottom: 0.9rem; }
.text-block p:last-child { margin-bottom: 0; }
.text-block ul, .text-block ol { padding-left: 2em; margin-bottom: 0.9rem; }
.text-block ul { list-style: disc; }
.text-block ol { list-style: decimal; }

/* Botones (equivalente a .elementor-button) */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 18px;
  letter-spacing: 2px;
  color: var(--white);
  background-color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 5px;
  padding: 12px 24px;
  text-align: center;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background-color: var(--black); border-color: var(--black); }
.btn--sm { font-size: 16px; }
.btn--white { background-color: var(--white); color: var(--black); border-color: var(--white); }
.btn--white:hover { background-color: var(--gray-light); border-color: var(--gray-light); }
.btn--outline { background-color: transparent; color: var(--navy); }
.btn--outline:hover { background-color: var(--navy); color: var(--white); }
.btn--whatsapp { background-color: var(--whatsapp); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background-color: #1ebe5a; border-color: #1ebe5a; }
.btn--blue { background-color: var(--navy-alt); border-color: var(--navy-alt); }
.btn--blue:hover { background-color: #132a4a; border-color: #132a4a; }
.btn--icon { font-size: 14px; padding: 12px 14px; }
.btn--icon svg { width: 1em; height: 1em; vertical-align: -0.12em; margin-right: 6px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; }
.btn-row .btn { margin: 0 10px 10px 0; }

.divider {
  border: 0;
  border-top: 2px solid var(--gray-mid);
  margin: 30px 0;
  width: 100%;
}

/* ---------- Animaciones de entrada ---------- */
.anim {
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease;
}
.anim--fade-in-down { transform: translateY(-40px); }
.anim--slide-in-right { transform: translateX(80px); }
.anim.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  padding: 0 5%;
  transition: background .3s, box-shadow .3s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 10vh;
}
.site-header__logo {
  width: 10%;
  padding: 15px;
  flex-shrink: 0;
}
.site-header__logo img { width: 100%; }
.site-header__brand {
  width: 29.664%;
  padding: 10px;
}
.site-header__name {
  font-family: var(--font-cond);
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
  margin-bottom: 5px;
}
.site-header__tag {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 200;
  text-transform: uppercase;
  line-height: 1.5em;
  letter-spacing: 2px;
  color: var(--navy);
}
.site-nav {
  width: 60%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid transparent;
  color: var(--black);
  cursor: pointer;
  align-items: center;
  gap: 6px;
  padding: 8px;
  margin: 0 auto;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.site-nav__toggle svg { width: 22px; height: 22px; fill: currentColor; }
.site-nav__toggle .site-nav__toggle-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.site-nav__toggle .icon-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav__menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.site-nav__menu a {
  position: relative;
  display: block;
  padding: 13px 20px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--gray-text);
  transition: color .3s;
}
.site-nav__menu a::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 6px;
  height: 2px;
  background: var(--black);
  opacity: 0;
  transition: opacity .3s;
}
.site-nav__menu a:hover,
.site-nav__menu a:focus,
.site-nav__menu a.is-active { color: var(--black); }
.site-nav__menu a:hover::after,
.site-nav__menu a.is-active::after { opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  display: flex;
  align-items: stretch;
  min-height: 900px;
  background: var(--gray-light);
  overflow: hidden;
}
.hero__photo {
  width: 33.333%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/fwIMG_5300pp_pp.jpg");
  background-image: image-set(url("../img/fwIMG_5300pp_pp.webp") type("image/webp"), url("../img/fwIMG_5300pp_pp.jpg") type("image/jpeg"));
  filter: saturate(0%);
  z-index: 2;
}
.hero__content {
  width: 66.667%;
  display: flex;
  align-items: center;
  padding: 0 6.67% 0 10%;
}
.hero__title {
  font-family: var(--font-cond);
  font-size: 55px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1em;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero .text-block { margin-bottom: 0; }
.hero .text-block + .text-block { margin-bottom: 20px; }

/* ==========================================================================
   BANDA (franja azul con título)
   ========================================================================== */
.band {
  background: var(--navy);
  padding: 20px 0;
  overflow: hidden;
}
.band__title {
  font-family: var(--font-cond);
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9em;
  color: var(--white);
  text-align: center;
  padding: .6em 0 .3em;
}
.band--light { background: var(--gray-light); padding: 100px 0; }
.band--light .band__title,
.band__title--dark { color: var(--black); font-size: 60px; }

/* ==========================================================================
   SECCIONES DE DOS COLUMNAS (Sobre nosotros / Sobre mí)
   ========================================================================== */
.split {
  display: flex;
  align-items: stretch;
  min-height: 70vh;
}
.split__text {
  width: 66.667%;
  background: var(--white);
  padding: 0 10% 0 3.33%;
  display: flex;
  align-items: center;
  z-index: 1;
}
.split__text-inner { padding: 50px 0; width: 100%; }
.split__photo {
  width: 33.333%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.split__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  filter: saturate(0%);
}
.split__photo--nosotros::before {
  background-image: url("../img/fwIMG_5177pp_pp.jpg");
  background-image: image-set(url("../img/fwIMG_5177pp_pp.webp") type("image/webp"), url("../img/fwIMG_5177pp_pp.jpg") type("image/jpeg"));
}
.split__photo--mi::before {
  background-image: url("../img/fwIMG_5215pp_pp.jpg");
  background-image: image-set(url("../img/fwIMG_5215pp_pp.webp") type("image/webp"), url("../img/fwIMG_5215pp_pp.jpg") type("image/jpeg"));
}
.split__label {
  position: relative;
  display: inline-block;
  background: var(--white);
  padding: 10px 13px 7px 20px;
  font-family: var(--font-cond);
  font-size: 85px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 4.25px;
  color: var(--navy);
}
.split__label a:hover { color: var(--black); }
.split--mi { min-height: 0; }

/* ==========================================================================
   BENEFICIOS
   ========================================================================== */
.benefits {
  display: flex;
  align-items: stretch;
  min-height: 35vh;
}
.benefits__title-col {
  width: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.benefits__title-col .section-title { text-align: center; margin: 0; }
.benefits__list-col {
  width: 50%;
  background: var(--gray-light);
  padding: 40px;
  display: flex;
  align-items: center;
}
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  padding: 4px 0;
}
.check-list svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  fill: var(--navy);
  margin: .6em 12px 0 0;
}

/* ==========================================================================
   CONFIANZA (sección oscura)
   ========================================================================== */
.trust {
  background: var(--navy);
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 0 15% 0 10%;
}
.trust__inner { padding: 50px 0; width: 100%; }
.trust .eyebrow, .trust .section-title, .trust .text-block { color: var(--white); }
.trust .btn { margin-bottom: 30px; }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services { background: var(--gray-light); padding: 100px 0; overflow: hidden; }
.services__grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}
.service-card {
  width: calc(50% - 20px);
  background: var(--white);
  border: 1px solid var(--gray-light);
  margin: 10px;
  padding: 20px;
  text-align: center;
}
.service-card__icon {
  display: block;
  width: 50px; height: 50px;
  margin: 0 auto 20px;
  fill: var(--navy);
}
.service-card__title {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2em;
  color: var(--black);
  margin-bottom: 20px;
}
.service-card .text-block {
  text-align: center;
  font-size: 18px;
  color: var(--gray-text);
  margin-bottom: 0;
}
.services__cta { text-align: center; margin-top: 30px; }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  position: relative;
  padding: 40px 0;
  scroll-margin-top: 80px;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern0.png");
  background-image: image-set(url("../img/pattern0.webp") type("image/webp"), url("../img/pattern0.png") type("image/png"));
  background-repeat: repeat;
  opacity: .63;
  filter: saturate(0%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0 10px;
}
.contact__info {
  width: 68.465%;
  position: relative;
  background: var(--navy);
  color: var(--white);
  margin: 20px 20px 20px 0;
  padding: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  overflow: hidden;
}
.contact__info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern0.png");
  background-image: image-set(url("../img/pattern0.webp") type("image/webp"), url("../img/pattern0.png") type("image/png"));
  background-repeat: repeat;
  opacity: .69;
  filter: saturate(0%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.contact__info > * { position: relative; }
.contact__title {
  font-family: var(--font-cond);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  padding-left: 20px;
}
.contact__subtitle {
  font-family: var(--font-roboto);
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-light);
  padding: 5px 0 0 20px;
}
.contact__divider {
  border: 0;
  border-top: 2px solid #b5b5b5;
  width: 150px;
  margin: 15px 0 15px 20px;
}
.contact__cols { display: flex; flex-wrap: wrap; }
.contact__col { padding: 10px; }
.contact__col--phones { width: 28.252%; }
.contact__col--email { width: 29.629%; }
.contact__col--address { width: 42.112%; }
.contact__label {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.contact__text {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}
.contact__text a:hover { text-decoration: underline; }
.contact__actions { display: flex; flex-wrap: wrap; padding: 30px 0 0 10px; }
.contact__actions .btn { margin: 0 10px 10px 0; }

.contact__form-col {
  width: 31.535%;
  background: var(--white);
  margin: 20px 0;
  padding: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}
.contact__form-col .contact__title { color: #333; }
.contact__form-col .contact__subtitle { color: #333; }
.contact__form-box {
  background: var(--gray-light);
  margin: 10px;
  padding: 10px;
  border-radius: 15px;
}

/* Formulario */
.forma { padding: 10px; }
.forma .row1 { display: flex; }
.forma .column1 { flex: 50%; }
.forma .col1 { margin-right: 10px; }
.forma label {
  display: block;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.forma input[type="text"],
.forma input[type="email"],
.forma input[type="tel"],
.forma select {
  width: 100%;
  height: 32px;
  margin: 3px 0 6px;
  padding: 0 10px;
  color: #333;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  box-shadow: 1px 1px 2px 0 rgba(153, 153, 153, 1);
  font-family: var(--font-cond);
  font-size: 14px;
}
.forma input:focus, .forma select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.forma .hid2 { display: none !important; visibility: hidden !important; }
.forma .boton {
  display: block;
  margin-top: 10px;
  padding: 0 30px;
  min-height: 50px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 4px;
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 1px 1px 2px 0 rgba(153, 153, 153, 1);
  cursor: pointer;
}
.forma .boton:hover { background: var(--navy); }
.forma__msg {
  font-family: var(--font-cond);
  font-size: 14px;
  margin-top: 8px;
  display: none;
}
.forma__msg.is-error { display: block; color: #b00020; }
.forma__msg.is-ok { display: block; color: #1a7f37; }

/* ==========================================================================
   PÁGINA DE ARTÍCULOS (listado)
   ========================================================================== */
.blog-hero {
  display: flex;
  align-items: stretch;
  background: var(--gray-light);
}
.blog-hero__text {
  width: 66.667%;
  padding: 20px 5% 20px 5%;
}
.blog-hero__text .section-title { margin-bottom: 10px; }
.blog-hero__photo {
  width: 33.333%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
}
.blog-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/fwphoto-of-people-leaning-on-wooden-table-3183183.jpg");
  background-image: image-set(url("../img/fwphoto-of-people-leaning-on-wooden-table-3183183.webp") type("image/webp"), url("../img/fwphoto-of-people-leaning-on-wooden-table-3183183.jpg") type("image/jpeg"));
  filter: saturate(0%);
}
.blog-hero__label {
  position: relative;
  display: inline-block;
  background: var(--white);
  padding: 10px 20px;
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--black);
}

.posts { background: var(--white); padding: 60px 0; }
.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 30px;
  padding: 0 20px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, .15);
  transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.post-card__img { display: block; height: 200px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__avatar {
  position: absolute;
  left: 20px;
  top: 170px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.post-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 40px 25px 20px; flex: 1; }
.post-card__title {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
  margin-bottom: 12px;
}
.post-card__title a:hover { color: var(--navy); }
.post-card__excerpt {
  font-family: var(--font-roboto);
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-body);
  margin-bottom: 15px;
}
.post-card__more {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
}
.post-card__more:hover { text-decoration: underline; }
.post-card__meta {
  border-top: 1px solid var(--gray-light);
  padding: 12px 25px;
  font-family: var(--font-roboto);
  font-size: 11px;
  color: var(--gray-body);
}
.post-card__meta span + span::before { content: "•"; margin: 0 8px; }

/* ==========================================================================
   PÁGINA DE ARTÍCULO (individual)
   ========================================================================== */
.post-hero {
  position: relative;
  background: var(--black);
  padding: 150px 0 100px;
  color: var(--white);
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, .93);
  opacity: .38;
  background-position: center center;
  background-size: cover;
}
.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, 0) 100%);
}
.post-hero__inner { z-index: 1; }
.post-hero__inner { position: relative; padding: 0 20px; }
.post-hero__title {
  font-family: var(--font-cond);
  font-size: 60px;
  font-weight: 300;
  line-height: 56px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}
.post-hero__divider {
  border: 0;
  border-top: 1px solid var(--white);
  width: 100%;
  max-width: 600px;
  margin: 0 0 20px;
}
.post-hero__subtitle {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: 2px;
  color: var(--white);
  margin: 0 20px 30px 0;
  padding-right: 20px;
}
.post-hero .btn { margin: 0 10px 10px 0; }

.post-body { background: var(--white); padding: 40px 0; }
.post-content {
  padding: 15px 35px;
  font-family: var(--font-post);
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
  color: var(--black);
}
.post-content p { margin-bottom: 1.2em; }
.post-content h2, .post-content h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  margin: 1.4em 0 .6em;
  text-align: left;
}
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 22px; }
.post-content ul, .post-content ol { padding-left: 2em; margin-bottom: 1.2em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content img { margin: 20px auto; }
.post-content a { color: var(--navy-alt); text-decoration: underline; }

.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 35px 40px;
}
.post-share__title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 500;
  color: #0c0c0c;
  margin-right: 15px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-roboto);
  font-size: 14px;
  transition: opacity .3s;
}
.share-btn:hover { opacity: .85; }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-btn--whatsapp { background: #0E7A6D; }
.share-btn--facebook { background: #3b5998; }
.share-btn--twitter { background: #0C7ABF; }
.share-btn--linkedin { background: #005E93; }

.post-cta {
  position: relative;
  background-color: #1a1a1a;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/ezgif.com-webp-to-jpg-1.jpg");
  background-image: image-set(url("../img/ezgif.com-webp-to-jpg-1.webp") type("image/webp"), url("../img/ezgif.com-webp-to-jpg-1.jpg") type("image/jpeg"));
  padding: 40px;
  color: var(--white);
}
.post-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: .75;
}
.post-cta__inner { position: relative; }
.post-cta__title {
  font-family: var(--font-cond);
  font-size: 40px;
  font-weight: 900;
  line-height: 46px;
  color: var(--white);
  padding: 10px;
}
.post-cta__text {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--white);
  padding: 10px;
}
.post-cta__buttons { display: flex; flex-wrap: wrap; padding: 10px; }
.post-cta__buttons .btn { margin: 0 20px 10px 0; }

/* ==========================================================================
   SEO / NAVEGACIÓN SECUNDARIA
   ========================================================================== */
.hero__eyebrow { margin-bottom: 14px; color: var(--gray-text); }
.breadcrumb {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--gray-text);
  background: var(--gray-light);
  padding: 10px 20px;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--black); }
.breadcrumb--light {
  background: none;
  padding: 0 0 24px;
  color: rgba(255, 255, 255, .75);
}
.breadcrumb--light span[aria-current] { color: var(--white); }
.post-meta {
  font-family: var(--font-cond);
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 24px;
}
.post-meta a { text-decoration: underline; }
.blog-hero__desc {
  font-family: var(--font-cond);
  font-size: 18px;
  color: var(--gray-text);
  max-width: 560px;
  margin-top: 4px;
}
.related { background: var(--white); padding: 0 0 48px; }
.related__heading {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  padding: 0 35px 20px;
  border-top: 1px solid var(--gray-light);
  padding-top: 40px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 35px;
}
.related__card {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, .12);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.related__card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.related__card img { width: 100%; height: 150px; object-fit: cover; }
.related__title {
  display: block;
  padding: 14px 16px 4px;
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}
.related__date {
  display: block;
  padding: 0 16px 14px;
  font-family: var(--font-roboto);
  font-size: 12px;
  color: var(--gray-body);
}
.notfound { background: var(--white); padding: 80px 20px; text-align: center; }
.notfound .text-block { text-align: center; max-width: 560px; margin: 0 auto 24px; }
.notfound .btn-row { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--gray-light);
  text-align: center;
  padding: 32px 20px 24px;
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: .5px;
  line-height: 1.7;
}
.site-footer__brand { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.site-footer__address { font-style: normal; max-width: 720px; margin: 0 auto 14px; }
.site-footer__address a:hover, .site-footer__nav a:hover { text-decoration: underline; }
.site-footer__nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.site-footer__copy { color: #b5b5b5; font-size: 12px; }

/* ==========================================================================
   RESPONSIVE — Tablet (768px – 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .container { max-width: 1024px; }
  [id] { scroll-margin-top: 110px; }

  /* Header: una sola fila, tamaños contenidos */
  .site-header { padding: 0 24px; }
  .site-header__inner { min-height: 0; padding: 10px 0; }
  .site-header__logo { width: 84px; padding: 0; margin-right: 14px; }
  .site-header__brand { width: auto; flex: 1; padding: 0; min-width: 0; }
  .site-header__name { font-size: 22px; line-height: 1.1; }
  .site-header__tag { font-size: 11px; letter-spacing: 1.5px; line-height: 1.4; }
  .site-nav { width: auto; flex-shrink: 0; margin-left: 12px; }
  .site-nav__menu a { padding: 12px 12px; }
  .site-nav__menu a::after { left: 12px; right: 12px; }

  /* Tipografía general */
  .section-title { font-size: 44px; }
  .text-block { font-size: 17px; letter-spacing: 0; text-align: left; }
  .btn { font-size: 17px; }

  /* Hero */
  .hero { flex-wrap: wrap; min-height: 0; }
  .hero__photo { width: 100%; min-height: 55vh; background-position: center 22%; }
  .hero__content { width: 100%; padding: 48px 6% 56px; }
  .hero__title { font-size: 44px; }
  .band__title { font-size: clamp(20px, 3.4vw, 30px); }
  .band--light .band__title, .band__title--dark { font-size: clamp(30px, 5vw, 50px); }

  /* Secciones de dos columnas */
  .split__text { width: 56%; padding: 0 5%; }
  .split__photo { width: 44%; }
  .split__photo::before { background-position: center 15%; }
  .split__label { font-size: 44px; letter-spacing: 3px; padding: 8px 14px 6px 16px; }

  /* Beneficios */
  .benefits__list-col { padding: 32px 28px; }
  .check-list li { font-size: 20px; padding: 6px 0; }

  /* Confianza */
  .trust { padding: 0 8%; }

  /* Servicios */
  .services { padding: 72px 0; }
  .service-card__title { font-size: 24px; }
  .service-card .text-block { font-size: 16px; }

  /* Contacto: cajas apiladas */
  .contact__inner { flex-wrap: wrap; padding: 0 24px; }
  .contact__info, .contact__form-col { width: 100%; margin: 12px 0; }
  .contact__form-col { padding: 24px; }
  .contact__form-box { max-width: 640px; margin: 10px auto 0; }

  /* Blog */
  .posts__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .blog-hero__text { width: 56%; padding: 36px 5%; }
  .blog-hero__photo { width: 44%; min-height: 40vh; }

  /* Artículo */
  .post-hero { padding: 96px 0 72px; }
  .post-hero__title { font-size: 42px; line-height: 1.15; letter-spacing: 1px; }
  .post-content { padding: 10px 24px; font-size: 16px; }
  .related__heading, .related__grid { padding-left: 24px; padding-right: 24px; }
  .post-share { padding: 16px 24px 32px; }
  .post-cta { padding: 40px 24px; }
}

/* ==========================================================================
   RESPONSIVE — Móvil (≤ 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .container { max-width: 767px; }
  [id] { scroll-margin-top: 84px; }
  body { font-size: 16px; }

  /* Header compacto: logo + nombre + hamburguesa en una fila */
  .site-header { padding: 0 16px; }
  .site-header__inner { position: relative; min-height: 0; padding: 8px 0; flex-wrap: nowrap; }
  .site-header__logo { width: 56px; padding: 0; margin-right: 12px; }
  .site-header__brand { width: auto; flex: 1; padding: 0; min-width: 0; }
  .site-header__name { font-size: 18px; line-height: 1.1; margin-bottom: 3px; }
  .site-header__tag { font-size: 10px; letter-spacing: 1px; line-height: 1.35; }
  .site-nav { width: auto; margin-left: 8px; flex-shrink: 0; }
  .site-nav__toggle {
    display: flex;
    width: 44px; height: 44px;
    justify-content: center;
    padding: 0; margin: 0;
    border-radius: 6px;
  }
  .site-nav__toggle:active { background: var(--gray-light); }
  .site-nav__menu {
    display: none;
    position: absolute;
    left: -16px; right: -16px;
    top: 100%;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 10px 16px rgba(0, 0, 0, .12);
  }
  .site-nav__menu.is-open { display: flex; }
  .site-nav__menu a {
    padding: 16px 24px;
    font-size: 15px;
    color: var(--black);
    border-bottom: 1px solid var(--gray-light);
  }
  .site-nav__menu li:last-child a { border-bottom: 0; }
  .site-nav__menu a::after { display: none; }
  .site-nav__menu a.is-active { background: var(--gray-light); }

  /* Texto: sin justificar (evita ríos de espacio) y tamaños legibles */
  .text-block { font-size: 16px; text-align: left; letter-spacing: 0; line-height: 1.6; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .section-title { font-size: 30px; line-height: 1.15; letter-spacing: .5px; margin-bottom: 16px; }
  .btn { font-size: 15px; padding: 13px 20px; }
  .btn-row { gap: 0; }
  .btn-row .btn { flex: 1 1 auto; margin: 0 8px 8px 0; }
  .divider { margin: 24px 0; }

  /* Hero */
  .hero__photo { min-height: 60vh; background-position: center 18%; }
  .hero__content { padding: 40px 20px 48px; }
  .hero__title { font-size: 30px; line-height: 1.1; letter-spacing: .5px; }
  .band { padding: 16px 20px; }
  .band__title { font-size: clamp(17px, 5vw, 22px); line-height: 1.2; padding: .3em 0; }
  .band--light .band__title, .band__title--dark { font-size: 28px; line-height: 1.15; }

  /* Secciones de dos columnas */
  .split { flex-wrap: wrap; min-height: 0; }
  .split__text { width: 100%; padding: 40px 20px 8px; }
  .split__text-inner { padding: 0 0 32px; }
  .split__photo { width: 100%; min-height: 72vw; padding: 12px; }
  .split__photo::before { background-position: center 12%; }
  .split__label { font-size: 30px; letter-spacing: 2px; padding: 8px 14px 6px 16px; }

  /* Beneficios */
  .benefits { flex-wrap: wrap; min-height: 0; }
  .benefits__title-col { width: 100%; padding: 48px 20px 24px; }
  .benefits__list-col { width: 100%; padding: 24px 20px 32px; }
  .check-list li { font-size: 18px; padding: 6px 0; }

  /* Confianza */
  .trust { min-height: 0; padding: 48px 20px 40px; }
  .trust__inner { padding: 0; }
  .trust .btn { margin-bottom: 0; }

  /* Servicios */
  .services { padding: 48px 0; }
  .services__grid { padding: 0 20px; }
  .service-card { width: 100%; margin: 0 0 16px; padding: 24px 20px; }
  .service-card__icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .service-card__title { font-size: 22px; letter-spacing: 0; }
  .service-card .text-block { font-size: 15px; text-align: center; }
  .services__cta { margin-top: 16px; }
  .services .band__title { margin-bottom: 20px; }

  /* Contacto */
  .contact { padding: 24px 0 32px; }
  .contact__inner { flex-wrap: wrap; padding: 0 16px; }
  .contact__info, .contact__form-col { width: 100%; margin: 10px 0; padding: 24px 20px; }
  .contact__title, .contact__subtitle, .contact__divider { padding-left: 0; margin-left: 0; }
  .contact__title { font-size: 24px; }
  .contact__subtitle { font-size: 16px; }
  .contact__col { width: 100% !important; padding: 8px 0; }
  .contact__text { font-size: 15px; }
  .contact__actions { flex-direction: column; padding: 20px 0 0; }
  .contact__actions .btn { margin: 0 0 10px; width: 100%; font-size: 15px; }
  .contact__form-col .contact__title,
  .contact__form-col .contact__subtitle { text-align: center; }
  .contact__form-box { margin: 12px 0 0; padding: 12px; }
  .forma { padding: 6px; }
  .forma .row1 { flex-direction: column; }
  .forma .col1 { margin-right: 0; }
  .forma label { font-size: 14px; }
  .forma input[type="text"],
  .forma input[type="email"],
  .forma input[type="tel"],
  .forma select { height: 44px; font-size: 16px; margin: 4px 0 10px; padding: 0 12px; }
  .forma .boton { width: 100%; min-height: 50px; margin-top: 6px; font-size: 15px; }

  /* Blog */
  .blog-hero { flex-wrap: wrap; }
  .blog-hero__text { width: 100%; padding: 36px 20px 28px; }
  .blog-hero__photo { width: 100%; min-height: 50vw; padding: 12px; }
  .blog-hero__label { font-size: 15px; letter-spacing: 3px; padding: 8px 14px; }
  .posts { padding: 32px 0 40px; }
  .posts__grid { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; }
  .post-card__img { height: 190px; }
  .post-card__title { font-size: 19px; }
  .post-card__excerpt { font-size: 14px; }

  /* Artículo */
  .post-hero { padding: 64px 0 40px; }
  .post-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .7) 100%); }
  .post-hero__inner { padding: 0 20px; }
  .post-hero__title { font-size: 28px; line-height: 1.2; letter-spacing: .5px; margin-bottom: 16px; }
  .post-hero__divider { margin-bottom: 16px; }
  .post-hero__subtitle { font-size: 16px; line-height: 1.5; letter-spacing: .5px; margin: 0 0 24px; padding-right: 0; }
  .post-hero::before { opacity: .28; }
  .post-hero .btn-row { flex-direction: column; }
  .post-hero .btn-row .btn { width: 100%; margin: 0 0 10px; }
  .post-body { padding: 24px 0 16px; }
  .post-content { padding: 0 20px; font-size: 16px; line-height: 1.7; text-align: left; }
  .post-content h2 { font-size: 24px; }
  .post-content h3 { font-size: 20px; }
  .post-share { padding: 8px 20px 32px; gap: 10px; }
  .post-share__title { width: 100%; font-size: 19px; margin: 0 0 4px; }
  .share-btn { flex: 1 1 45%; justify-content: center; padding: 11px 12px; }
  .post-cta { padding: 40px 20px; }
  .post-cta__title { font-size: 28px; line-height: 1.2; padding: 0 0 8px; }
  .post-cta__text { font-size: 16px; letter-spacing: .5px; line-height: 1.5; padding: 0 0 12px; }
  .post-cta__buttons { flex-direction: column; padding: 4px 0 8px; }
  .post-cta__buttons .btn { margin: 0 0 10px; width: 100%; }

  .site-footer { font-size: 12px; letter-spacing: .5px; line-height: 1.6; }
  .site-footer__nav { gap: 16px; flex-wrap: wrap; }
  .related__grid { grid-template-columns: 1fr; padding: 0 20px; }
  .related__heading { padding: 32px 20px 16px; font-size: 22px; }
  .breadcrumb { padding: 8px 16px; font-size: 12px; }
  .breadcrumb--light { padding: 0 0 16px; }
  .hero__eyebrow { font-size: 11px; }
  .blog-hero__desc { font-size: 16px; }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
  .site-header__tag { display: none; }
  .hero__title { font-size: 26px; }
  .section-title { font-size: 26px; }
}
