/**
 * home-fixes.css: page-scoped styles for the Estructura Home template.
 * Enqueued only on the front page. The hero follows the Figma
 * frame (desktop 252:5, mobile 2077:31); see the hero block near the end.
 */

/* Visual H1 style for non-heading hero titles (slides 2-3, SEO single-H1) */
#hero-estructura .hero-content p.hero-title.h1-style {
    font-family: "Libre Franklin", sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}
@media (max-width: 991px) {
    #hero-estructura .hero-content p.hero-title.h1-style {
        font-size: 42px;
    }
}
@media (max-width: 768px) {
    #hero-estructura .hero-content p.hero-title.h1-style {
        font-size: 32px;
        text-transform: none;
        text-align: left;
        margin-bottom: 16px;
        letter-spacing: normal;
    }
}

/* A) LOCAL hero indicators: thin lines 32px x 2px, bottom-left aligned
   to the content container. Discards Figma-style thick 60px grey bars.
   Applies to both #hero-estructura and front-page.php #banner-principal. */
#hero-estructura .hero-indicators-wrap {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
}
#hero-estructura .hero-indicators-wrap .carousel-indicators {
    pointer-events: auto;
}
#hero-estructura .carousel-indicators.carousel-lines {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
    border: none;
    z-index: 3;
}
#hero-estructura .carousel-indicators.carousel-lines button {
    width: 32px !important;
    height: 2px !important;
    min-height: 2px;
    padding: 0 !important;
    border: none !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    background-clip: padding-box !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    margin: 0 6px 0 0 !important;
    transition: background-color 0.3s ease, width 0.3s ease;
}
#hero-estructura .carousel-indicators.carousel-lines button.active {
    width: 48px !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
}

/* A3) hero-estructura bars: keep visible on mobile, bottom-left aligned */
@media (max-width: 768px) {
    #hero-estructura .hero-indicators-wrap {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 1rem !important;
        margin-bottom: 0 !important;
    }
    #hero-estructura .carousel-indicators.carousel-lines {
        display: flex !important;
        justify-content: flex-start !important;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 12px;
    }
}

/* B) Footer social icons: inline SVG sizing (replaces LineIcons brand
   glyphs removed in v4, which rendered as missing icons) */
.cta-sns .sns-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    vertical-align: middle;
}

/* C) LOCAL hero buttons (desktop): solid black #000 primary + white
   secondary, radius/padding to match LOCAL (exe.local). Overrides the
   theme #11111a near-black so the hero never drifts back to Figma greys.
   Scoped to min-width:769px so the local-verified mobile button styles
   (translucent dark + 8px radius) above are untouched. */
@media (min-width: 769px) {
    #hero-estructura .hero-content .hero-buttons .btn-main.dark {
        background-color: #000000 !important;
        border-color: #000000 !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        padding: 16px 32px !important;
    }
    #hero-estructura .hero-content .hero-buttons .btn-main.dark:hover {
        background-color: #cc3333 !important;
        border-color: #cc3333 !important;
        color: #ffffff !important;
    }
    #hero-estructura .hero-content .hero-buttons .btn-main.light {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: #000000 !important;
        border-radius: 8px !important;
        padding: 16px 32px !important;
    }
    #hero-estructura .hero-content .hero-buttons .btn-main.light:hover {
        background-color: #cacaca !important;
        border-color: #cacaca !important;
        color: #000000 !important;
    }
}

/* ==========================================================
   Estructura Home page-scoped styles (compiled from the former
   style.scss block). Loaded only on the front page.
   ========================================================== */
/*************  Variables  *************/
/*************  Mixins  *************/
/***********/
::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: #cc3333;
}

::-webkit-scrollbar {
  height: 8px; /* height of horizontal scrollbar */
  width: 8px; /* width of vertical scrollbar */
  background-color: #EEEDEE;
  border: none;
  margin-top: 0px;
}

::-moz-selection {
  background: #d0cdcd;
  color: #11111a;
}

::selection {
  background: #d0cdcd;
  color: #11111a;
}

/***********/
.my-32 {
  margin: 32px 0;
}

.m-50 {
  margin: 50px;
}

.my-50 {
  margin: 50px 0;
}

.mx-50 {
  margin: 0 50px;
}

.m-100 {
  margin: 100px;
}

.my-100 {
  margin: 100px 0;
}

.mx-100 {
  margin: 0 100px;
}

.m-150 {
  margin: 150px;
}

.my-150 {
  margin: 150px 0;
}

.mx-150 {
  margin: 0 150px;
}

.m-200 {
  margin: 200px;
}

.my-200 {
  margin: 200px 0;
}

.mx-200 {
  margin: 0 200px;
}

.mb-100 {
  margin-bottom: 100px;
}

.mb-150 {
  margin-bottom: 150px;
}

.mb-200 {
  margin-bottom: 200px;
}

.mt-100 {
  margin-top: 100px;
}

.mt-150 {
  margin-top: 150px;
}

.mt-200 {
  margin-top: 200px;
}

.p-50 {
  padding: 50px;
}

.py-50 {
  padding: 50px 0;
}

.px-50 {
  padding: 0 50px;
}

.p-100 {
  padding: 100px;
}

.py-100 {
  padding: 100px 0;
}

.px-100 {
  padding: 0 100px;
}

.p-150 {
  padding: 150px;
}

.py-150 {
  padding: 150px 0;
}

.px-150 {
  padding: 0 150px;
}

.p-200 {
  padding: 200px;
}

.py-200 {
  padding: 200px 0;
}

.px-200 {
  padding: 0 200px;
}

.w-sm {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

/*** ESTRUCTURA HOME TEMPLATE ***/
#hero-estructura {
  position: relative;
  height: 100vh;
  min-height: 750px;
  background-color: #11111a;
  color: #ffffff;
}
@media (max-width: 768px) {
  #hero-estructura {
    height: auto !important;
    min-height: 520px !important;
    padding: 35px 0 !important;
    display: flex;
    align-items: center;
  }
}
#hero-estructura .carousel, #hero-estructura .carousel-inner, #hero-estructura .carousel-item {
  height: 100%;
}
@media (max-width: 768px) {
  #hero-estructura .carousel, #hero-estructura .carousel-inner, #hero-estructura .carousel-item {
    height: auto !important;
    min-height: 520px !important;
  }
}
#hero-estructura .carousel-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}
#hero-estructura .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17, 17, 26, 0.8) 0%, rgba(17, 17, 26, 0.55) 50%, rgba(17, 17, 26, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  #hero-estructura .carousel-item {
    padding: 30px 0 !important;
    min-height: 520px !important;
    display: flex;
    align-items: center;
  }
  #hero-estructura .carousel-item::before {
    background: rgba(17, 17, 26, 0.65);
  }
}
#hero-estructura .hero-container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
  }
}
#hero-estructura .hero-content {
  max-width: 650px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-content {
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
  }
}
#hero-estructura .hero-content .badge-bienvenido {
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 24px;
  border-radius: 50px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .badge-bienvenido {
    font-size: 11px !important;
    padding: 8px 18px !important;
    margin-bottom: 16px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
    align-self: flex-start !important;
  }
}
#hero-estructura .hero-content .hero-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
}
@media (max-width: 991px) {
  #hero-estructura .hero-content .hero-title {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .hero-title {
    font-size: 32px !important;
    text-transform: none !important;
    text-align: left !important;
    margin-bottom: 16px !important;
    margin-left: 0 !important;
    width: 100% !important;
    letter-spacing: normal !important;
  }
}
#hero-estructura .hero-content .hero-description {
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 580px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .hero-description {
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: left !important;
    margin-bottom: 24px !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
}
#hero-estructura .hero-content .hero-buttons {
  display: flex;
  gap: 15px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-left: 0 !important;
    align-items: stretch !important;
  }
}
#hero-estructura .hero-content .hero-buttons .btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
  cursor: pointer;
}
#hero-estructura .hero-content .hero-buttons .btn-main i {
  font-size: 16px;
  transition: transform 0.3s ease;
}
#hero-estructura .hero-content .hero-buttons .btn-main.dark:hover i {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .hero-buttons .btn-main.dark {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center !important;
    backdrop-filter: blur(4px);
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.dark:hover {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.light {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #11111a !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center !important;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.light:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #11111a !important;
  }
}
#hero-estructura .carousel-indicators.carousel-lines {
  margin: 0;
  padding-left: 12px;
  border: none;
}
@media (max-width: 768px) {
  #hero-estructura .carousel-indicators.carousel-lines {
    display: none !important;
  }
}
#hero-estructura .carousel-indicators.carousel-lines button {
  width: 48px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 1 !important;
  transition: background-color 0.3s ease, width 0.3s ease, opacity 0.3s ease;
}
#hero-estructura .carousel-indicators.carousel-lines button.active {
  background-color: #ffffff !important;
  width: 48px !important;
}

/*** STATS HOME SECTION ***/
#stats-home {
  padding: 40px 0 !important;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  #stats-home {
    padding: 40px 0 !important;
  }
}
#stats-home .stat-item {
  position: relative;
  padding: 20px 0;
}
#stats-home .stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 13%;
  height: 70%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}
#stats-home .stat-item:last-child::after {
  display: none;
}
@media (max-width: 991px) {
  #stats-home .stat-item::after {
    display: none !important;
  }
  #stats-home .stat-item {
    padding: 15px 5px;
    margin-bottom: 10px;
  }
}
#stats-home .stat-item .stat-number {
  font-family: "Libre Franklin", sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #cc3333;
  line-height: normal;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #stats-home .stat-item .stat-number {
    font-size: 36px !important;
    margin-bottom: 6px !important;
  }
}
#stats-home .stat-item .stat-label {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: #626b71;
  padding: 10px 15px 0;
}
@media (max-width: 768px) {
  #stats-home .stat-item .stat-label {
    font-size: 11px !important;
    line-height: 1.35 !important;
    padding: 0 5px !important;
    letter-spacing: 0.05em !important;
  }
}

/*** DESCUBRE HOGAR SECTION ***/
#descubre-hogar {
  background-color: #F3F3F3;
  padding: 64px 0 !important;
}
@media (max-width: 768px) {
  #descubre-hogar {
    padding: 35px 0 !important;
    overflow: hidden;
  }
}
#descubre-hogar .section-title-descubre {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  color: #11111a;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #descubre-hogar .section-title-descubre {
    font-size: 24px !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
}
#descubre-hogar .section-subtitle-descubre {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #626b71;
  padding-top: 8px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #descubre-hogar .section-subtitle-descubre {
    font-size: 14px !important;
    text-align: left !important;
    margin-left: 0 !important;
    line-height: 1.4 !important;
  }
}
#descubre-hogar .link-proyectos {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #cc3333;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}
#descubre-hogar .link-proyectos i {
  font-size: 16px;
  transition: transform 0.3s ease;
}
#descubre-hogar .link-proyectos:hover {
  color: rgb(64%, 16%, 16%);
}
#descubre-hogar .link-proyectos:hover i {
  transform: translateX(4px);
}
#descubre-hogar .link-proyectos-mobile {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #cc3333 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.3s ease;
}
#descubre-hogar .link-proyectos-mobile i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
#descubre-hogar .link-proyectos-mobile:hover {
  color: rgb(64%, 16%, 16%) !important;
}
#descubre-hogar .link-proyectos-mobile:hover i {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  #descubre-hogar .projects-carousel-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 5px 20px 20px 0 !important;
    margin: 0 !important;
    width: calc(100% + 20px) !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  #descubre-hogar .projects-carousel-wrapper::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 768px) {
  #descubre-hogar .row-projects-1, #descubre-hogar .row-projects-2 {
    display: contents !important;
  }
}
@media (max-width: 768px) {
  #descubre-hogar .col-item-project {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    width: 82% !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
#descubre-hogar .project-card {
  position: relative;
  height: 380px;
  border-radius: 0;
  overflow: hidden;
  background-color: #1B1C21;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
@media (max-width: 991px) {
  #descubre-hogar .project-card {
    height: 320px;
  }
}
@media (max-width: 768px) {
  #descubre-hogar .project-card {
    height: 250px !important;
    border-radius: 16px !important;
    padding: 16px !important;
  }
}
#descubre-hogar .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
#descubre-hogar .project-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 17, 26, 0.95) 0%, rgba(17, 17, 26, 0.4) 50%, rgba(17, 17, 26, 0.1) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}
#descubre-hogar .project-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(17, 17, 26, 0.98) 0%, rgba(17, 17, 26, 0.5) 60%, rgba(17, 17, 26, 0.2) 100%);
}
#descubre-hogar .project-card .card-badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
}
#descubre-hogar .project-card .card-badges span {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  padding: 6px 12px;
  border-radius: 0;
}
#descubre-hogar .project-card .card-badges .badge-accent {
  background-color: #cc3333;
  color: #ffffff;
}
#descubre-hogar .project-card .card-badges .badge-white {
  background-color: #ffffff;
  color: #11111a;
}
#descubre-hogar .project-card .card-badges .badge-ink {
  background-color: #11111a;
  color: #ffffff;
}
#descubre-hogar .project-card .card-badges .badge-dark {
  background-color: #626b71;
  color: #ffffff;
}
#descubre-hogar .project-card .card-content {
  position: relative;
  z-index: 2;
}
#descubre-hogar .project-card .card-content .card-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  color: #ffffff;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #descubre-hogar .project-card .card-content .card-title {
    font-size: 20px !important;
    text-align: left !important;
    margin-bottom: 4px !important;
  }
}
#descubre-hogar .project-card .card-content .card-details {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 12px;
  margin: 0;
}
@media (max-width: 768px) {
  #descubre-hogar .project-card .card-content .card-details {
    font-size: 12px !important;
    text-align: left !important;
    line-height: 1.3 !important;
  }
}
#descubre-hogar .project-card .card-price-label {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  #descubre-hogar .project-card .card-price-label {
    display: none !important;
  }
}

/*** NUESTRA HISTORIA SECTION ***/
#nuestra-historia {
  background-color: #ffffff;
  padding: 100px 0 !important;
}
@media (max-width: 768px) {
  #nuestra-historia {
    padding: 40px 0 !important;
  }
}
#nuestra-historia .historia-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  #nuestra-historia .historia-title {
    font-size: 28px !important;
    margin-bottom: 16px !important;
    text-align: left !important;
  }
}
#nuestra-historia .historia-text {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #626b71;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  #nuestra-historia .historia-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
  }
}
#nuestra-historia .confianza-card {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background-color: #F3F3F3;
  max-width: 420px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
@media (max-width: 768px) {
  #nuestra-historia .confianza-card {
    max-width: 100% !important;
    padding: 16px 20px !important;
    margin-bottom: 15px !important;
  }
}
#nuestra-historia .confianza-card .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(204, 51, 51, 0.08);
  border-radius: 50%;
  margin-right: 18px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #nuestra-historia .confianza-card .icon-container {
    width: 40px !important;
    height: 40px !important;
    margin-right: 14px !important;
  }
}
#nuestra-historia .confianza-card .icon-container i {
  font-size: 20px;
  color: #cc3333;
}
#nuestra-historia .confianza-card .confianza-content .confianza-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  #nuestra-historia .confianza-card .confianza-content .confianza-title {
    font-size: 15px !important;
    margin-bottom: 2px !important;
  }
}
#nuestra-historia .confianza-card .confianza-content .confianza-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  color: #626b71;
  margin: 0;
}
#nuestra-historia .historia-images-wrapper {
  position: relative;
  height: 480px;
  width: 100%;
}
@media (max-width: 991px) {
  #nuestra-historia .historia-images-wrapper {
    height: 380px;
    margin-top: 50px;
  }
}
@media (max-width: 768px) {
  #nuestra-historia .historia-images-wrapper {
    height: 320px !important;
    margin-top: 10px !important;
  }
}
#nuestra-historia .historia-images-wrapper .image-placeholder-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 85%;
  background-color: #F3F3F3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #626b71;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px dashed rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  #nuestra-historia .historia-images-wrapper .image-placeholder-main {
    width: 78% !important;
    height: 72% !important;
  }
}
#nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45%;
  height: 50%;
  background-color: #1B1C21;
  border-radius: 12px;
  border: 8px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  #nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
    width: 58% !important;
    height: 54% !important;
    border: 5px solid #ffffff !important;
  }
}

/*** PRECALIFICACION SECTION ***/
#precalificacion-home {
  background-color: #F3F3F3;
  padding: 100px 0 !important;
}
@media (max-width: 768px) {
  #precalificacion-home {
    padding: 40px 0 !important;
  }
}
#precalificacion-home .precalc-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
@media (max-width: 768px) {
  #precalificacion-home .precalc-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 35px !important;
  }
}
#precalificacion-home .precalc-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  #precalificacion-home .precalc-title {
    font-size: 26px !important;
    text-align: left !important;
    margin-bottom: 10px !important;
  }
}
#precalificacion-home .precalc-subtitle {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  color: #626b71;
}
@media (max-width: 768px) {
  #precalificacion-home .precalc-subtitle {
    font-size: 14px !important;
    text-align: left !important;
    line-height: 1.4 !important;
    margin-bottom: 24px !important;
  }
}
#precalificacion-home .mock-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
#precalificacion-home .mock-input-group .currency-symbol {
  position: absolute;
  left: 20px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  color: #626b71;
}
#precalificacion-home .mock-input-group .mock-input {
  width: 100%;
  padding: 16px 20px 16px 40px;
  background-color: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #11111a;
  outline: none;
  cursor: default;
}
#precalificacion-home .mock-select-group .mock-select-display {
  padding: 16px 20px;
  background-color: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  color: #11111a;
  font-weight: 500;
  cursor: default;
}
#precalificacion-home .mock-select-group .mock-select-display i {
  font-size: 14px;
  color: #626b71;
}
#precalificacion-home .mock-result-box {
  background-color: rgba(204, 51, 51, 0.04);
  border: 1px solid rgba(204, 51, 51, 0.08);
  border-radius: 8px;
  padding: 24px;
}
@media (max-width: 768px) {
  #precalificacion-home .mock-result-box {
    border-radius: 12px !important;
    padding: 20px 16px !important;
    margin-bottom: 20px !important;
  }
}
#precalificacion-home .mock-result-box .result-label {
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cc3333;
  display: block;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  #precalificacion-home .mock-result-box .result-label {
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
  }
}
#precalificacion-home .mock-result-box .result-value {
  font-family: "Libre Franklin", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #11111a;
  line-height: 1;
}
@media (max-width: 768px) {
  #precalificacion-home .mock-result-box .result-value {
    font-size: 32px !important;
  }
}
#precalificacion-home .btn-main-precalc {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
  #precalificacion-home .btn-main-precalc {
    padding: 16px 20px !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
  }
}
#precalificacion-home .btn-main-precalc:hover {
  background-color: rgb(67.2%, 16.8%, 16.8%);
  color: #ffffff;
}
#precalificacion-home .features-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  #precalificacion-home .features-title {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  #precalificacion-home .features-title {
    font-size: 22px !important;
    text-align: left !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }
}
#precalificacion-home .features-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #626b71;
}
@media (max-width: 768px) {
  #precalificacion-home .features-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    margin-bottom: 20px !important;
  }
}
#precalificacion-home .features-list li {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  #precalificacion-home .features-list li {
    margin-bottom: 12px !important;
  }
}
#precalificacion-home .features-list .check-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(204, 51, 51, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #precalificacion-home .features-list .check-icon-container {
    width: 22px !important;
    height: 22px !important;
    margin-right: 12px !important;
  }
}
#precalificacion-home .features-list .check-icon-container i {
  font-size: 12px;
  color: #cc3333;
  font-weight: bold;
}
#precalificacion-home .features-list .feature-text {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #11111a;
}
@media (max-width: 768px) {
  #precalificacion-home .features-list .feature-text {
    font-size: 14px !important;
    text-align: left !important;
  }
}

/*** PORQUE ELEGIR EXE SECTION ***/
#porque-elegir-exe {
  background-color: #ffffff;
  padding: 100px 0 !important;
}
@media (max-width: 768px) {
  #porque-elegir-exe {
    padding: 40px 0 !important;
  }
}
#porque-elegir-exe .section-title-porque-elegir {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #porque-elegir-exe .section-title-porque-elegir {
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }
}
#porque-elegir-exe .beneficio-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px 24px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  #porque-elegir-exe .beneficio-card {
    padding: 24px 12px !important;
    border-radius: 16px !important;
  }
}
#porque-elegir-exe .beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
#porque-elegir-exe .beneficio-card .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: rgba(204, 51, 51, 0.08);
  border-radius: 50%;
}
@media (max-width: 768px) {
  #porque-elegir-exe .beneficio-card .icon-circle {
    width: 48px !important;
    height: 48px !important;
  }
}
#porque-elegir-exe .beneficio-card .icon-circle i {
  font-size: 22px;
  color: #cc3333;
}
@media (max-width: 768px) {
  #porque-elegir-exe .beneficio-card .icon-circle i {
    font-size: 20px !important;
  }
}
#porque-elegir-exe .beneficio-card .beneficio-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #11111a;
}
@media (max-width: 768px) {
  #porque-elegir-exe .beneficio-card .beneficio-title {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }
}
#porque-elegir-exe .beneficio-card .beneficio-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #626b71;
}
@media (max-width: 768px) {
  #porque-elegir-exe .beneficio-card .beneficio-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
}

/*** BLOG HOME SECTION ***/
#blog-home {
  background-color: #F3F3F3;
  padding: 100px 0 !important;
}
@media (max-width: 768px) {
  #blog-home {
    padding: 40px 0 !important;
  }
}
#blog-home .blog-section-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  #blog-home .blog-section-title {
    font-size: 26px !important;
    text-align: left !important;
    margin-bottom: 6px !important;
  }
}
#blog-home .blog-section-subtitle {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  color: #626b71;
}
@media (max-width: 768px) {
  #blog-home .blog-section-subtitle {
    font-size: 14px !important;
    text-align: left !important;
    line-height: 1.4 !important;
  }
}
#blog-home .blog-view-all {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cc3333;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}
#blog-home .blog-view-all i {
  margin-left: 6px;
  font-size: 14px;
  transition: transform 0.3s ease;
}
#blog-home .blog-view-all:hover {
  color: rgb(64%, 16%, 16%);
}
#blog-home .blog-view-all:hover i {
  transform: translateX(4px);
}
#blog-home .blog-view-all-mobile {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #cc3333 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color 0.3s ease;
}
#blog-home .blog-view-all-mobile i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
#blog-home .blog-view-all-mobile:hover {
  color: rgb(64%, 16%, 16%) !important;
}
#blog-home .blog-view-all-mobile:hover i {
  transform: translateX(4px);
}
#blog-home .blog-featured-card {
  background-color: #1B1C21;
  border-radius: 20px;
  padding: 48px;
  height: 480px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#blog-home .blog-featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(17, 17, 26, 0.95) 0%, rgba(17, 17, 26, 0.75) 42%, rgba(17, 17, 26, 0.25) 100%), linear-gradient(180deg, rgba(17, 17, 26, 0) 40%, rgba(17, 17, 26, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
#blog-home .blog-featured-card .featured-card-content {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  #blog-home .blog-featured-card {
    padding: 24px 18px !important;
    height: 320px !important;
    border-radius: 16px !important;
  }
}
#blog-home .blog-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
#blog-home .blog-featured-card .blog-badge {
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
  width: fit-content;
}
#blog-home .blog-featured-card .featured-card-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
@media (max-width: 768px) {
  #blog-home .blog-featured-card .featured-card-title {
    font-size: 20px !important;
    text-align: left !important;
    margin-bottom: 6px !important;
  }
}
#blog-home .blog-featured-card .featured-card-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 768px) {
  #blog-home .blog-featured-card .featured-card-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-bottom: 12px !important;
  }
}
#blog-home .blog-featured-card .featured-card-link {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}
#blog-home .blog-featured-card .featured-card-link i {
  margin-left: 6px;
  font-size: 14px;
}
#blog-home .blog-list-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  #blog-home .blog-list-item {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }
}
#blog-home .blog-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
#blog-home .blog-list-item .blog-small-placeholder-img {
  width: 130px;
  height: 95px;
  background-color: #f0f1f4;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: none;
}
@media (max-width: 768px) {
  #blog-home .blog-list-item .blog-small-placeholder-img {
    width: 95px !important;
    height: 80px !important;
    border-radius: 10px !important;
  }
}
#blog-home .blog-list-item .blog-small-placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 95% center;
  display: block;
}
#blog-home .blog-list-item .blog-list-content {
  flex: 1;
}
#blog-home .blog-list-item .blog-list-content .blog-category-tag {
  font-family: "Libre Franklin", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cc3333;
}
#blog-home .blog-list-item .blog-list-content .blog-list-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #11111a;
}

/*** DESCARGA GUIA SECTION ***/
#descarga-guia-section {
  background-color: #ffffff;
  padding: 100px 0 !important;
}
@media (max-width: 767px) {
  #descarga-guia-section {
    padding: 60px 0 !important;
  }
}
#descarga-guia-section .descarga-guia-card {
  background-color: #111115;
  border-radius: 24px;
  padding: 60px 80px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
@media (max-width: 991px) {
  #descarga-guia-section .descarga-guia-card {
    padding: 40px;
  }
}
@media (max-width: 767px) {
  #descarga-guia-section .descarga-guia-card {
    padding: 30px 20px;
  }
}
#descarga-guia-section .guia-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  #descarga-guia-section .guia-title {
    font-size: 24px;
  }
}
#descarga-guia-section .guia-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}
#descarga-guia-section .guia-form-block {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  #descarga-guia-section .guia-form-block {
    padding: 24px 20px;
  }
}
#descarga-guia-section .guia-label {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #11111a;
  margin-bottom: 8px;
}
#descarga-guia-section .mock-input-guia {
  width: 100%;
  padding: 14px 18px;
  background-color: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  color: #11111a;
  outline: none;
  cursor: default;
}
#descarga-guia-section .mock-input-guia::placeholder {
  color: #b0b0b0;
}
#descarga-guia-section .btn-main-guia {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
#descarga-guia-section .btn-main-guia:hover {
  background-color: rgb(67.2%, 16.8%, 16.8%);
  color: #ffffff;
}
#descarga-guia-section .guia-disclaimer {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  color: #626b71;
}

/*** HERRAMIENTAS HOME SECTION ***/
#herramientas-home {
  background-color: #F3F3F3;
  padding: 100px 0 !important;
}
@media (max-width: 768px) {
  #herramientas-home {
    padding: 40px 0 !important;
    overflow: hidden;
  }
}
#herramientas-home .herramientas-section-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #11111a;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  #herramientas-home .herramientas-section-title {
    font-size: 26px !important;
    text-align: center !important;
  }
}
#herramientas-home .herramientas-section-subtitle {
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #626b71;
}
@media (max-width: 768px) {
  #herramientas-home .herramientas-section-subtitle {
    font-size: 11px !important;
    text-align: center !important;
  }
}
#herramientas-home .herramienta-featured-card {
  background-color: #1B1C21;
  border-radius: 20px;
  padding: 48px;
  height: 100%;
  min-height: 520px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 991px) {
  #herramientas-home .herramienta-featured-card {
    min-height: 400px;
  }
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-featured-card {
    padding: 24px 18px !important;
    min-height: 380px !important;
    height: 380px !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
  }
}
#herramientas-home .herramienta-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
#herramientas-home .herramienta-featured-card .herramienta-badge {
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
  width: fit-content;
  display: inline-block;
}
#herramientas-home .herramienta-featured-card .herramienta-featured-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-featured-card .herramienta-featured-title {
    font-size: 22px !important;
    text-align: left !important;
    margin-bottom: 6px !important;
  }
}
#herramientas-home .herramienta-featured-card .herramienta-featured-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-featured-card .herramienta-featured-desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-bottom: 16px !important;
  }
}
#herramientas-home .herramienta-featured-card .btn-main-herramienta {
  display: inline-block;
  width: 100%;
  padding: 16px 20px;
  background-color: #cc3333;
  color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-featured-card .btn-main-herramienta {
    padding: 14px 18px !important;
    font-size: 13px !important;
    text-align: center !important;
  }
}
#herramientas-home .herramienta-featured-card .btn-main-herramienta i {
  margin-left: 6px;
  font-size: 14px;
}
#herramientas-home .herramienta-featured-card .btn-main-herramienta:hover {
  background-color: rgb(67.2%, 16.8%, 16.8%);
  color: #ffffff;
}
@media (max-width: 768px) {
  #herramientas-home .herramientas-carousel-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 5px 20px 20px 0 !important;
    margin: 0 !important;
    width: calc(100% + 20px) !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  #herramientas-home .herramientas-carousel-wrapper::-webkit-scrollbar {
    display: none;
  }
}
#herramientas-home .herramienta-list-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-list-item {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    width: 82% !important;
    scroll-snap-align: start;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px !important;
    border-radius: 16px !important;
    margin-bottom: 0 !important;
  }
}
#herramientas-home .herramienta-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
#herramientas-home .herramienta-list-item .herramienta-small-placeholder-img {
  width: 120px;
  height: 90px;
  background-color: #f0f1f4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #626b71;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 600;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-list-item .herramienta-small-placeholder-img {
    width: 100% !important;
    height: 150px !important;
    border-radius: 12px !important;
    margin-right: 0 !important;
    margin-bottom: 14px !important;
  }
}
#herramientas-home .herramienta-list-item .herramienta-list-content {
  flex: 1;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-list-item .herramienta-list-content {
    width: 100% !important;
  }
}
#herramientas-home .herramienta-list-item .herramienta-category-tag {
  font-family: "Libre Franklin", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #cc3333;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#herramientas-home .herramienta-list-item .herramienta-list-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #11111a;
  line-height: 1.4;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-list-item .herramienta-list-title {
    font-size: 16px !important;
    text-align: left !important;
    margin-bottom: 4px !important;
  }
}
#herramientas-home .herramienta-list-item .herramienta-list-desc {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #626b71;
}
@media (max-width: 768px) {
  #herramientas-home .herramienta-list-item .herramienta-list-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-bottom: 8px !important;
  }
}
#herramientas-home .herramienta-list-item .herramienta-list-link {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #11111a;
  display: inline-flex;
  align-items: center;
}
#herramientas-home .herramienta-list-item .herramienta-list-link i {
  margin-left: 4px;
  font-size: 10px;
}

/*** FAQ HOME SECTION ***/
#faq-home {
  background-color: #ffffff;
  padding: 100px 0 !important;
}
@media (max-width: 767px) {
  #faq-home {
    padding: 60px 0 !important;
  }
}
#faq-home .faq-section-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #cc3333;
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  #faq-home .faq-section-title {
    font-size: 26px;
  }
}
#faq-home .faq-section-subtitle {
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #626b71;
}
#faq-home .faq-item {
  background-color: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
#faq-home .faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
#faq-home .faq-button {
  background-color: transparent !important;
  color: #11111a !important;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 24px 0;
  box-shadow: none !important;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767px) {
  #faq-home .faq-button {
    font-size: 15px;
    padding: 20px 0;
  }
}
#faq-home .faq-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23626b71'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 14px;
  width: 14px;
  height: 14px;
  margin-left: 15px;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}
#faq-home .faq-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}
#faq-home .faq-body {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #626b71;
  padding: 0 0 24px 0;
  text-align: left;
}
@media (max-width: 767px) {
  #faq-home .faq-body {
    font-size: 13.5px;
    padding-bottom: 20px;
  }
}

/* Figma content width: 1140px container on desktop for the whole template */
@media (min-width: 1200px) {
  main#primary.site-main .container {
    max-width: 1140px;
  }
}

/* ==========================================================
   Figma parity overrides (desktop 1440 frame, "Estructura Home")
   ========================================================== */

/* 04 · Nuestra historia */
#nuestra-historia {
  padding: 64px 0 !important;
}
#nuestra-historia .historia-title {
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}
#nuestra-historia .historia-text {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  line-height: 22px;
  padding-top: 24px;
  margin-bottom: 0;
}
#nuestra-historia .historia-text .text-accent {
  font-weight: 700;
  color: #cc3333;
}
#nuestra-historia .confianza-card {
  margin: 40px auto 0;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
#nuestra-historia .confianza-card .confianza-content .confianza-title {
  line-height: normal;
  margin-bottom: 0;
}
#nuestra-historia .confianza-card .confianza-content .confianza-desc {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: normal;
  padding-top: 4px;
}
#nuestra-historia .historia-images-wrapper .image-placeholder-main,
#nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}
#nuestra-historia .historia-images-wrapper .image-placeholder-main {
  border: none;
  background-color: transparent;
}
#nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
  background-color: #ffffff;
}
#nuestra-historia .historia-images-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 05 · Calculadora y asesoría */
#precalificacion-home {
  padding: 64px 0 !important;
}
#precalificacion-home .precalc-card {
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}
#precalificacion-home .precalc-title {
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}
#precalificacion-home .precalc-subtitle {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 16px;
  margin-bottom: 0 !important;
}
#precalificacion-home .precalc-form {
  padding-top: 32px;
}
#precalificacion-home .mock-input-group .currency-symbol {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
}
#precalificacion-home .mock-input-group .mock-input,
#precalificacion-home .mock-select-group .mock-select-display {
  border-radius: 0;
}
#precalificacion-home .mock-select-group .mock-select-display {
  font-size: 16px;
}
#precalificacion-home .mock-input-group.mb-3 {
  margin-bottom: 16px !important;
}
#precalificacion-home .mock-select-group.mb-4,
#precalificacion-home .mock-result-box.mb-4 {
  margin-bottom: 24px !important;
}
#precalificacion-home .mock-result-box {
  border-radius: 0;
}
#precalificacion-home .mock-result-box .result-label {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #626b71;
  margin-bottom: 0;
}
#precalificacion-home .mock-result-box .result-value {
  color: #cc3333;
  line-height: normal;
  padding-top: 8px;
}
#precalificacion-home .btn-main-precalc {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
}
#precalificacion-home .features-title {
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}
#precalificacion-home .features-desc {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  padding-top: 16px;
  margin-bottom: 0 !important;
}
#precalificacion-home .features-list {
  padding-top: 24px;
}
#precalificacion-home .features-list li {
  margin-bottom: 16px !important;
}
#precalificacion-home .features-list li:last-child {
  margin-bottom: 0 !important;
}
#precalificacion-home .features-list .feature-text {
  font-size: 16px;
}

/* 06 · Blog */
#blog-home {
  padding: 64px 0 !important;
}
#blog-home .blog-section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}
#blog-home .blog-section-subtitle {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  padding-top: 12px;
}
#blog-home .blog-view-all {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
#blog-home .blog-featured-card {
  border-radius: 0;
  padding: 48px 40px;
  height: 501px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background-position: center;
}
#blog-home .blog-featured-card::before {
  background: linear-gradient(90deg, rgba(17, 17, 26, 0.95) 0%, rgba(17, 17, 26, 0.7) 45%, rgba(17, 17, 26, 0.2) 80%, rgba(17, 17, 26, 0.05) 100%);
}
#blog-home .blog-featured-card .blog-badge {
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
  border-radius: 0;
  margin-bottom: 20px !important;
}
#blog-home .blog-featured-card .featured-card-title {
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 12px !important;
}
#blog-home .blog-featured-card .featured-card-desc {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 545px;
  margin-bottom: 28px !important;
}
#blog-home .blog-featured-card .featured-card-link {
  align-self: flex-start;
  background-color: #cc3333;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
#blog-home .blog-featured-card .featured-card-link i {
  margin-left: 4px;
}
#blog-home .blog-list-item {
  height: 242px;
  border-radius: 0;
  padding: 0;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 7.5px rgba(0, 0, 0, 0.01);
  align-items: stretch !important;
}
#blog-home .blog-list-item:last-child {
  margin-bottom: 0 !important;
}
#blog-home .blog-list-item .blog-small-placeholder-img {
  width: 160px;
  height: 100%;
  border-radius: 0;
  margin-right: 0 !important;
}
#blog-home .blog-list-item .blog-small-placeholder-img img {
  object-position: center;
}
#blog-home .blog-list-item .blog-list-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  min-width: 0;
}
#blog-home .blog-list-item .blog-list-content .blog-category-tag {
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 0 !important;
}
#blog-home .blog-list-item .blog-list-content .blog-list-title {
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  margin: 0 !important;
  padding: 8px 0 16px;
}
#blog-home .blog-list-item .blog-list-content .blog-list-link {
  display: inline-block;
  background-color: #cc3333;
  color: #ffffff;
  padding: 12px 24px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

/* 07 · Herramientas financieras */
#herramientas-home {
  padding: 64px 0 !important;
}
#herramientas-home .herramientas-section-title {
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 0;
}
#herramientas-home .herramientas-section-subtitle {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  padding-top: 12px;
}
#herramientas-home > .container > .row.mb-5 {
  margin-bottom: 48px !important;
}
#herramientas-home .herramienta-featured-card {
  border-radius: 0;
}
#herramientas-home .herramienta-featured-card .herramienta-badge {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  line-height: normal;
  border-radius: 0;
  margin-bottom: 12px !important;
}
#herramientas-home .herramienta-featured-card .herramienta-featured-title {
  font-size: 28px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0 !important;
}
#herramientas-home .herramienta-featured-card .herramienta-featured-desc {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 450px;
  padding-top: 16px;
  margin-bottom: 32px !important;
}
#herramientas-home .herramienta-featured-card .btn-main-herramienta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
}
#herramientas-home .herramienta-featured-card .btn-main-herramienta i {
  margin-left: 0;
  font-size: 16px;
}
#herramientas-home .herramienta-list-item {
  height: 200px;
  border-radius: 0;
  padding: 0 32px 0 0;
  box-shadow: 0 4px 7.5px rgba(0, 0, 0, 0.01);
}
#herramientas-home .herramienta-list-item .herramienta-small-placeholder-img {
  width: 128px;
  height: 100%;
  margin-right: 32px !important;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background-color: transparent;
}
#herramientas-home .herramienta-list-item .herramienta-small-placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
#herramientas-home .herramienta-list-item .herramienta-list-content {
  min-width: 0;
}
#herramientas-home .herramienta-list-item .herramienta-category-tag {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  line-height: normal;
  margin-bottom: 0 !important;
}
#herramientas-home .herramienta-list-item .herramienta-list-title {
  font-size: 16px;
  line-height: normal;
  margin: 0 !important;
  padding-top: 8px;
}
#herramientas-home .herramienta-list-item .herramienta-list-desc {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 12px 0;
  margin: 0 !important;
}
#herramientas-home .herramienta-list-item .herramienta-list-link {
  font-size: 16px;
  font-weight: 700;
  color: #cc3333;
  gap: 6px;
}
#herramientas-home .herramienta-list-item .herramienta-list-link i {
  margin-left: 0;
  font-size: 16px;
}

/* 08 · Preguntas frecuentes */
#faq-home {
  padding: 64px 0 !important;
}
#faq-home > .container > .row.mb-5 {
  margin-bottom: 48px !important;
}
#faq-home .faq-section-title {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: normal;
  color: #11111a;
  margin-bottom: 0;
}
#faq-home .faq-section-subtitle {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  padding-top: 12px;
}
#faq-home .faq-item:first-child {
  border-top: none;
}
#faq-home .faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#faq-home .faq-button {
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  padding: 24px 0;
  gap: 16px;
}
#faq-home .faq-button:not(.collapsed) {
  color: #cc3333 !important;
}
#faq-home .faq-button::after {
  width: 28px;
  height: 28px;
  margin-left: 0;
  border-radius: 14px;
  border: 1px solid #eeeeee;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2311111a' fill-opacity='0.3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
#faq-home .faq-button:not(.collapsed)::after {
  transform: none;
  border-color: #cc3333;
  background-color: #cc3333;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff' fill-opacity='0.6'%3e%3cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e") !important;
}
#faq-home .faq-body {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  padding: 16px 0 24px;
}

/* 09 · Mantente al día (global #newsletter block, scoped by this stylesheet) */
#newsletter {
  margin: 0 !important;
  padding: 64px 0;
  background-color: #f3f3f3;
}
#newsletter .container.bg-light {
  background-color: transparent !important;
}
#newsletter .section-title {
  margin-bottom: 0;
}
#newsletter .section-title .title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
  letter-spacing: 0;
  color: #11111a;
  margin: 0;
}
#newsletter .section-title .subtitle {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
  color: #626b71;
  padding-top: 12px;
  margin: 0;
}
#newsletter > .container > p.text-center {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #626b71;
  margin: 24px 0 24px;
}
#newsletter .wpcf7-form {
  max-width: 440px;
  margin: 0 auto;
}
#newsletter .wpcf7-form input[type="email"] {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 17px;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background-color: #ffffff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  color: #11111a;
  margin: 0 !important;
}
#newsletter .wpcf7-form input[type="email"]::placeholder {
  color: #626b71;
  opacity: 1;
}
#newsletter .wpcf7-form a.underline {
  display: block;
  margin-top: 20px;
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #626b71;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#newsletter .wpcf7-form .btn-main {
  width: 130px !important;
  height: 56px;
  padding: 0;
  margin: 30px auto 0 !important;
  border-radius: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  background-color: #cc3333;
  border: 1px solid #cc3333;
  color: #ffffff;
}
#newsletter .wpcf7-form .btn-main:hover {
  background-color: #11111a;
  border-color: #11111a;
}

/* 10 · Pie de página (global footer, scoped by this stylesheet) */
footer {
  background-color: #1b1c21;
}
footer p,
footer .small,
footer .drop-link,
footer .lone,
footer .copyright {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
}
footer .cta-sns .title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #eeedee;
  text-transform: none;
  letter-spacing: 0;
}
footer .foo-title {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
footer .foo-title::after {
  display: none;
}
footer .drop-link {
  color: #cacaca;
  font-size: 17px;
}
footer .small {
  font-size: 14px;
  color: #b0b0b0;
}
footer .lone {
  font-size: 17px;
}
footer .copyright {
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================
   Figma parity overrides (mobile frame "Inicio móvil · EXE", 390px)
   ========================================================== */
@media (max-width: 768px) {
  #stats-home {
    padding: 40px 0 !important;
  }
  #stats-home .stat-item .stat-number {
    font-size: 36px !important;
    font-weight: 600;
    margin-bottom: 0 !important;
  }
  #stats-home .stat-item .stat-label {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none;
    padding: 8px 5px 0 !important;
  }

  #descubre-hogar {
    padding: 40px 0 !important;
  }
  #descubre-hogar .section-title-descubre {
    font-weight: 400;
    line-height: 1.2 !important;
  }
  #descubre-hogar .section-subtitle-descubre {
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding-top: 8px;
  }
  #descubre-hogar .project-card {
    height: 240px !important;
    border-radius: 0 !important;
  }
  #descubre-hogar .project-card .card-content .card-title {
    font-size: 20px !important;
    font-weight: 700;
  }
  #descubre-hogar .project-card .card-content .card-details {
    font-size: 16px !important;
    line-height: 1.3 !important;
    padding-top: 8px;
  }
  #descubre-hogar .link-proyectos-mobile {
    font-size: 16px;
  }

  #nuestra-historia {
    padding: 40px 0 !important;
  }
  #nuestra-historia .historia-title {
    font-size: 24px !important;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0 !important;
  }
  #nuestra-historia .historia-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding-top: 20px;
    margin-bottom: 0 !important;
  }
  #nuestra-historia .confianza-card {
    margin-top: 24px;
    max-width: none;
  }

  #precalificacion-home {
    padding: 40px 0 !important;
  }
  #precalificacion-home .precalc-card {
    padding: 24px;
  }
  #precalificacion-home .precalc-title {
    font-size: 24px !important;
    font-weight: 400;
    line-height: 1.2;
  }
  #precalificacion-home .features-title {
    font-size: 20px !important;
  }

  #blog-home {
    padding: 40px 0 !important;
  }
  #blog-home .blog-section-title {
    font-size: 24px !important;
    line-height: 1.2;
  }
  #blog-home .blog-featured-card {
    height: auto;
    min-height: 420px;
    padding: 32px 24px;
  }
  #blog-home .blog-list-item {
    height: auto;
    min-height: 173px;
  }
  #blog-home .blog-list-item .blog-small-placeholder-img {
    width: 120px;
    height: auto;
    min-height: 173px;
    align-self: stretch;
  }
  #blog-home .blog-list-item .blog-list-content {
    padding: 20px 16px;
  }

  #herramientas-home {
    padding: 40px 0 !important;
  }
  #herramientas-home .herramientas-section-title {
    font-size: 24px !important;
    line-height: 1.2;
  }
  #herramientas-home .herramienta-featured-card {
    padding: 24px;
    min-height: 520px;
  }
  #herramientas-home .herramienta-list-item {
    height: auto;
  }

  #faq-home {
    padding: 40px 0 !important;
  }
  #faq-home .faq-section-title {
    font-size: 24px !important;
    line-height: 1.2;
  }
  #faq-home .faq-button {
    font-size: 17px !important;
    padding: 20px 0 !important;
  }
  #faq-home .faq-body {
    font-size: 16px !important;
    padding: 12px 0 20px !important;
  }

  #newsletter {
    padding: 40px 0;
  }
  #newsletter .section-title .title {
    font-size: 24px;
  }
}

/* ==========================================================
   01 · Portada (hero) — Figma desktop 252:5 and mobile 2077:31
   ========================================================== */
#hero-estructura {
  height: 800px;
  min-height: 0;
}
#hero-estructura .hero-container {
  padding-top: 80px;
}
#hero-estructura .hero-content {
  max-width: 650px;
}
#hero-estructura .hero-content .badge-bienvenido {
  display: inline-block;
  margin-bottom: 24px !important;
  padding: 8px 24px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}
#hero-estructura .hero-content .hero-title,
#hero-estructura .hero-content p.hero-title.h1-style {
  font-family: "Libre Franklin", sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 !important;
  max-width: 650px;
}
#hero-estructura .hero-content .hero-description {
  font-family: "Urbanist", "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  padding-top: 32px;
  margin: 0 !important;
}
#hero-estructura .hero-content .hero-buttons {
  display: flex;
  gap: 15px;
  padding-top: 48px;
}
#hero-estructura .hero-content .hero-buttons .btn-main {
  height: auto;
  padding: 16px 32px;
  border-radius: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
  gap: 4px;
}
#hero-estructura .hero-content .hero-buttons .btn-main i {
  margin: 0;
}
@media (min-width: 769px) {
  #hero-estructura .hero-content .hero-buttons .btn-main.dark {
    background-color: #cc3333 !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.dark:hover {
    background-color: #11111a !important;
    border-color: #11111a !important;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.light {
    background-color: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #11111a !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
  }
}
#hero-estructura .hero-indicators-wrap {
  bottom: 36px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
#hero-estructura .carousel-indicators.carousel-lines {
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 !important;
}
#hero-estructura .carousel-indicators.carousel-lines button,
#hero-estructura .carousel-indicators.carousel-lines button.active {
  width: 48px !important;
  height: 2px !important;
  min-height: 2px;
  margin: 0 6px 0 0 !important;
  border-radius: 0 !important;
}
#hero-estructura .carousel-indicators.carousel-lines button {
  background-color: rgba(255, 255, 255, 0.4) !important;
  opacity: 0.35 !important;
}
#hero-estructura .carousel-indicators.carousel-lines button.active {
  background-color: #ffffff !important;
  opacity: 1 !important;
}
@media (max-width: 768px) {
  #hero-estructura {
    height: auto !important;
    min-height: 554px !important;
    padding: 0 !important;
  }
  #hero-estructura .carousel-item {
    min-height: 554px !important;
    padding: 32px 0 !important;
  }
  #hero-estructura .hero-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  #hero-estructura .hero-content .badge-bienvenido {
    padding: 4px 12px !important;
    font-size: 14px !important;
    line-height: 16px;
    letter-spacing: 0.6px;
    margin-bottom: 24px !important;
  }
  #hero-estructura .hero-content .hero-title,
  #hero-estructura .hero-content p.hero-title.h1-style {
    font-size: 28px !important;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase !important;
  }
  #hero-estructura .hero-content .hero-description {
    font-size: 18px !important;
    line-height: normal !important;
    color: #ffffff !important;
    padding-top: 24px;
  }
  #hero-estructura .hero-content .hero-buttons {
    gap: 12px !important;
    padding-top: 40px;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.dark,
  #hero-estructura .hero-content .hero-buttons .btn-main.light {
    height: 52px;
    padding: 0 24px !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    backdrop-filter: none;
  }
  #hero-estructura .hero-content .hero-buttons .btn-main.dark {
    background-color: #cc3333 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    gap: 8px;
  }
  #hero-estructura .hero-indicators-wrap {
    display: none !important;
  }
}

/* Hero content sits at x=70 of the 1440 frame (Figma left-aligned 1140 container) */
@media (min-width: 1200px) {
  #hero-estructura .hero-container,
  #hero-estructura .hero-indicators-wrap {
    max-width: 1140px;
    margin-left: max(0px, calc(50% - 650px)) !important;
    margin-right: auto !important;
  }
}

/* Figma uses 0 letter-spacing; the global body rule adds .2px */
main#primary.site-main,
#newsletter,
footer {
  letter-spacing: 0;
}
#hero-estructura .hero-content .badge-bienvenido {
  padding: 8px 39px 8px 24px;
}
@media (max-width: 768px) {
  #hero-estructura .hero-content .badge-bienvenido {
    padding: 4px 12px !important;
  }
}

/* 02 · Cifras: items are top-aligned in Figma */
#stats-home .row {
  align-items: flex-start !important;
}

/* 03 · Proyectos: Figma places the link 38px in from the container edge */
@media (min-width: 768px) {
  #descubre-hogar .link-proyectos {
    margin-right: 38px;
  }
}

/* 04 · Nuestra historia: Figma shows the trust card title in sentence case with an outlined seal icon */
#nuestra-historia .confianza-card .confianza-content .confianza-title {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Libre Franklin", sans-serif;
}
#nuestra-historia .confianza-card .icon-container i {
  font-size: 22px;
  line-height: 1;
}

/* 05 · Calculadora: the Figma inner container is 597.6px tall (card 725px) */
@media (min-width: 992px) {
  #precalificacion-home .precalc-card > .row {
    min-height: 597.6px;
  }
}

/* 06 · Blog: list titles are sentence case in Figma (global h4 is uppercase) */
#blog-home .blog-list-item .blog-list-content .blog-list-title,
#blog-home .blog-featured-card .featured-card-title {
  text-transform: none;
  letter-spacing: 0;
}

/* 07 · Herramientas: list titles are sentence case in Figma (global h4 is uppercase) */
#herramientas-home .herramienta-list-item .herramienta-list-title {
  text-transform: none;
  letter-spacing: 0;
}

/* 08 · FAQ: beat the global "Premium Accordion Unification" !important rules in h1-fix.css */
#faq-home .faq-button {
  font-weight: 400 !important;
  font-size: 20px !important;
  color: #11111a !important;
  padding: 24px 0 !important;
}
#faq-home .faq-button:not(.collapsed) {
  color: #cc3333 !important;
}
#faq-home .faq-button::after {
  filter: none !important;
  opacity: 1 !important;
  background-size: 14px !important;
}
#faq-home .faq-body {
  color: #626b71 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  padding: 16px 0 24px !important;
}
@media (max-width: 768px) {
  #faq-home .faq-button {
    font-size: 17px !important;
    padding: 20px 0 !important;
  }
  #faq-home .faq-body {
    padding: 12px 0 20px !important;
  }
}

/* 09 · Newsletter: container reset, and selectors strong enough to win over the inline
   <style> block in footer.php (which also uses !important) */
#newsletter .container.bg-light {
  max-width: 1140px;
  padding: 0;
}
#newsletter .container.bg-light::before {
  display: none;
}
#newsletter form.wpcf7-form p {
  margin: 0;
  padding: 0;
}
#newsletter form.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}
#newsletter form.wpcf7-form input.btn-main {
  width: 130px !important;
  height: 56px;
  margin: 30px auto 0 !important;
  padding: 0;
}
#newsletter form.wpcf7-form .wpcf7-spinner {
  display: none;
}
#newsletter .section-title .title {
  line-height: 38px;
}
#newsletter .section-title .subtitle {
  line-height: 22px;
}
#newsletter > .container > p.text-center {
  line-height: 28px;
  height: 28px;
}
#newsletter form.wpcf7-form a.underline {
  line-height: 20px;
}

/* 10 · Footer fixes found in the visual comparison */
@media (min-width: 1200px) {
  footer > .container {
    max-width: 1140px;
  }
}
footer .row > .col-lg-5 > p {
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  color: #ffffff;
}
footer .col-lg-4 > .d-flex.flex-column {
  gap: 0 !important;
  margin: 0 !important;
}
footer .col-lg-4 > .d-flex.flex-column > a.drop-link {
  padding: 10px 0 !important;
  margin: 0 0 10px !important;
}
footer .lone {
  text-decoration: none;
}
footer .drop-link,
footer .small,
footer .lone,
footer .copyright {
  font-weight: 400;
}
/* Figma footer: flexible text column plus two 220px link columns on the right */
@media (min-width: 992px) {
  footer .container > .row:nth-child(2) {
    flex-wrap: nowrap;
    min-height: 431.5px;
  }
  footer .container > .row:nth-child(2) > .col-lg-5 {
    flex: 1 1 0;
    max-width: none;
    width: auto;
  }
  footer .container > .row:nth-child(2) > .col-lg-2,
  footer .container > .row:nth-child(2) > .col-lg-4 {
    flex: 0 0 220px;
    width: 220px;
    max-width: 220px;
    margin-left: 0;
  }
}
@media (min-width: 992px) {
  footer .container > .row:nth-child(2) {
    justify-content: flex-start;
  }
  footer .container > .row:nth-child(2) > .col-lg-5 {
    margin-right: auto;
    flex: 0 0 475px;
    width: 475px;
    max-width: 475px;
  }
}
#faq-home .faq-button {
  line-height: normal !important;
}

/* Mobile hero: Figma shows a 69px header above the 554px hero; the global navbar overlays
   the hero here, so reserve its height to keep the content at the same position. */
@media (max-width: 768px) {
  #hero-estructura {
    min-height: 623px !important;
    padding-top: 69px !important;
  }
  #hero-estructura .carousel-item {
    min-height: 554px !important;
  }
}

@media (max-width: 768px) {
  #hero-estructura .carousel-item {
    align-items: flex-start !important;
    padding-top: 34px !important;
  }
  #stats-home > .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  #stats-home .row {
    --bs-gutter-x: 16px;
  }
  #stats-home .stat-item {
    padding: 0 !important;
    margin-bottom: 16px !important;
  }
  #stats-home .stat-item .stat-label {
    padding: 8px 0 0 !important;
  }
}

@media (max-width: 768px) {
  main#primary.site-main .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  #stats-home .stat-item {
    margin-bottom: 8px !important;
  }
  #stats-home .stat-item .stat-label {
    padding: 8px 15px 0 !important;
  }
  #descubre-hogar .col-item-project {
    flex: 0 0 288px !important;
    max-width: 288px !important;
    width: 288px !important;
  }
  #descubre-hogar .projects-carousel-wrapper {
    padding-left: 24px !important;
    margin-left: -24px !important;
    width: calc(100% + 48px) !important;
  }
}

@media (max-width: 768px) {
  #descubre-hogar .projects-carousel-wrapper {
    padding: 0 24px 20px 24px !important;
    margin: 0 -24px !important;
    width: auto !important;
  }
  #descubre-hogar .project-card {
    height: 192px !important;
  }
  #stats-home .stat-item .stat-number {
    font-size: 32px !important;
  }
  #stats-home .stat-item .stat-label {
    padding: 8px 8px 0 !important;
  }
  /* Figma mobile content spans the full 342px between the 24px gutters */
  :is(#descubre-hogar, #nuestra-historia, #precalificacion-home, #blog-home, #herramientas-home, #faq-home) > .container > .row:not(.projects-carousel-wrapper) {
    margin-left: 0;
    margin-right: 0;
  }
  :is(#descubre-hogar, #nuestra-historia, #precalificacion-home, #blog-home, #herramientas-home, #faq-home) > .container > .row:not(.projects-carousel-wrapper) > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  #descubre-hogar .projects-carousel-wrapper {
    scroll-padding-left: 24px;
  }
  /* Figma mobile H2: two lines in a 54px box, 342px wide */
  #descubre-hogar .section-title-descubre,
  #nuestra-historia .historia-title,
  #precalificacion-home .precalc-title,
  #blog-home .blog-section-title,
  #herramientas-home .herramientas-section-title,
  #faq-home .faq-section-title {
    font-size: 23px !important;
    line-height: 27px !important;
  }
}

@media (max-width: 768px) {
  #nuestra-historia .confianza-card {
    padding: 16px;
    text-align: left;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.08);
  }
  #nuestra-historia .confianza-card .icon-container {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }
  #nuestra-historia .confianza-card .confianza-content {
    text-align: left;
  }
  #nuestra-historia .historia-images-wrapper {
    height: 267px;
    margin-top: 24px;
  }
  #nuestra-historia .historia-images-wrapper .image-placeholder-main {
    width: 310px;
    height: 218px;
    max-width: 90%;
  }
  #nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
    width: 220px;
    height: 137px;
    max-width: 65%;
    border: none;
  }
}

@media (max-width: 768px) {
  #nuestra-historia .historia-text {
    font-size: 17px !important;
    line-height: 24px !important;
  }
  #nuestra-historia .confianza-card {
    padding: 12px 16px;
  }
  #nuestra-historia .confianza-card .confianza-content .confianza-desc {
    font-size: 15px;
  }
  #nuestra-historia .historia-images-wrapper .image-placeholder-overlap {
    border: 0 !important;
    box-shadow: none !important;
  }
  #nuestra-historia .historia-images-wrapper .image-placeholder-main {
    box-shadow: none !important;
  }

  /* Calculator: title and copy sit on the grey background, only the form is a white card */
  #precalificacion-home .precalc-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  #precalificacion-home .precalc-form {
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    margin-top: 16px;
  }
  #precalificacion-home .precalc-subtitle {
    margin-bottom: 0 !important;
    padding-top: 12px;
    line-height: 1.6;
  }
  #precalificacion-home .features-title,
  #precalificacion-home .features-desc,
  #precalificacion-home .features-list {
    text-align: left;
  }
  #precalificacion-home .col-lg-6.ps-lg-5 {
    padding-top: 8px;
  }
}

@media (max-width: 768px) {
  #precalificacion-home .precalc-card {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
  }
  #precalificacion-home .precalc-subtitle {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  #precalificacion-home .precalc-title {
    margin-bottom: 0 !important;
  }
  #precalificacion-home .mock-select-display {
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    padding: 16px 20px;
  }
  #precalificacion-home .mock-select-display span {
    text-align: left;
  }
  #precalificacion-home .mock-result-box {
    border-radius: 0 !important;
    padding: 24px !important;
  }
  #precalificacion-home .mock-result-box .result-label {
    font-size: 14px !important;
    letter-spacing: 0 !important;
  }
  #precalificacion-home .mock-result-box .result-value {
    font-size: 38px !important;
  }
  #precalificacion-home .btn-main-precalc {
    font-size: 16px !important;
    letter-spacing: 0 !important;
    padding: 16px 24px !important;
  }
  #precalificacion-home .features-title {
    font-size: 24px !important;
    font-weight: 400;
    margin: 24px 0 0 !important;
  }
  #precalificacion-home .features-desc {
    font-size: 16px !important;
    line-height: normal !important;
    padding-top: 16px;
    margin-bottom: 0 !important;
  }
  #precalificacion-home .features-list .feature-text {
    font-size: 16px !important;
  }
  #precalificacion-home .features-list li {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 768px) {
  #precalificacion-home .btn-main-precalc {
    text-wrap: balance;
    text-align: center;
  }
  #precalificacion-home .mock-select-display {
    color: #626b71;
  }
  #precalificacion-home .features-list .check-icon-container {
    background-color: transparent !important;
  }
  #precalificacion-home .features-list .feature-text {
    color: #626b71 !important;
  }
}

/* 06 · Blog (mobile): image on top, white content panel below, flat list cards */
@media (max-width: 768px) {
  #blog-home .blog-section-title {
    text-align: center;
  }
  #blog-home .blog-section-subtitle {
    font-size: 16px;
    padding-top: 12px;
    line-height: normal;
  }
  #blog-home .row.align-items-end.mb-4 {
    margin-bottom: 24px !important;
  }
  #blog-home .blog-featured-card {
    height: auto;
    min-height: 0;
    padding: 205px 0 0;
    background-color: #ffffff;
    background-size: 100% 205px;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  #blog-home .blog-featured-card::before {
    height: 205px;
    bottom: auto;
    background: linear-gradient(180deg, rgba(17, 17, 26, 0.35), rgba(17, 17, 26, 0.1));
  }
  #blog-home .blog-featured-card .featured-card-content {
    height: auto !important;
    justify-content: flex-start !important;
    padding: 24px;
  }
  #blog-home .blog-featured-card .blog-badge {
    background: transparent;
    color: #cc3333;
    padding: 0;
    margin-bottom: 12px !important;
  }
  #blog-home .blog-featured-card .featured-card-title {
    color: #11111a;
    font-size: 18px;
    line-height: 1.3;
  }
  #blog-home .blog-featured-card .featured-card-desc {
    color: #626b71;
  }
  #blog-home .blog-featured-card .featured-card-link {
    padding: 12px 20px;
    font-size: 14px;
  }
  #blog-home .blog-list-item {
    padding: 0;
    margin-bottom: 16px !important;
    border-radius: 0;
    align-items: stretch !important;
  }
  #blog-home .blog-list-item .blog-small-placeholder-img {
    width: 120px;
    height: auto;
    border-radius: 0;
    margin-right: 0 !important;
  }
  #blog-home .blog-list-item .blog-list-content {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 20px 16px;
  }
  #blog-home .blog-list-item .blog-list-content .blog-list-title {
    text-align: left;
    font-size: 17px;
    padding: 8px 0 16px;
  }
  #blog-home .blog-list-item .blog-list-content .blog-list-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  #blog-home .blog-view-all-mobile {
    font-size: 16px;
  }
  #blog-home .container > .text-center.mt-4 {
    text-align: left !important;
    margin-top: 16px !important;
  }
}

@media (max-width: 768px) {
  #blog-home .blog-featured-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 205px 0 0 !important;
    border-radius: 0 !important;
  }
  #blog-home .blog-featured-card .featured-card-content {
    padding: 24px !important;
  }
  #blog-home .blog-list-item {
    padding: 0 !important;
    border-radius: 0 !important;
    min-height: 173px;
  }
  #blog-home .blog-list-item .blog-small-placeholder-img {
    width: 120px !important;
    height: auto !important;
    border-radius: 0 !important;
  }
  #blog-home .blog-list-item .blog-list-content {
    padding: 20px 16px !important;
  }
}

@media (max-width: 768px) {
  #blog-home .blog-featured-card .featured-card-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  #blog-home .blog-featured-card::before {
    background: rgba(17, 17, 26, 0.55) !important;
  }
  #blog-home .blog-section-subtitle {
    font-size: 16px !important;
    text-align: left;
  }
}

/* 07 · Herramientas (mobile): flat featured card and 280px carousel cards, as in Figma */
@media (max-width: 768px) {
  #herramientas-home .herramientas-section-subtitle {
    font-size: 16px !important;
    padding-top: 8px;
  }
  #herramientas-home > .container > .row.mb-5 {
    margin-bottom: 24px !important;
  }
  #herramientas-home .herramienta-featured-card {
    border-radius: 0 !important;
    padding: 24px !important;
    min-height: 520px !important;
    align-items: flex-start;
    text-align: left;
  }
  #herramientas-home .herramienta-featured-card .herramienta-badge {
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 0 !important;
  }
  #herramientas-home .herramienta-featured-card .herramienta-featured-title {
    font-size: 24px;
    text-align: left !important;
  }
  #herramientas-home .herramienta-featured-card .herramienta-featured-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }
  #herramientas-home .herramienta-featured-card .featured-card-content {
    width: 100%;
  }
  #herramientas-home .herramientas-carousel-wrapper {
    padding: 0 24px 4px 24px !important;
    margin: 0 -24px !important;
    width: auto !important;
    gap: 16px !important;
    scroll-padding-left: 24px;
  }
  #herramientas-home .herramienta-list-item {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    height: auto;
    padding: 0 0 21px !important;
    border: 1px solid #e5e7eb;
    border-radius: 0 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 0 !important;
  }
  #herramientas-home .herramienta-list-item .herramienta-small-placeholder-img {
    width: 100% !important;
    height: 200px !important;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
  }
  #herramientas-home .herramienta-list-item .herramienta-list-content {
    padding: 0 16px;
    text-align: left;
  }
  #herramientas-home .herramienta-list-item .herramienta-category-tag {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 14px;
  }
  #herramientas-home .herramienta-list-item .herramienta-list-title {
    font-size: 17px;
    font-weight: 400;
    padding-top: 8px;
    text-align: left;
  }
  #herramientas-home .herramienta-list-item .herramienta-list-desc {
    font-size: 16px !important;
    line-height: 1.6;
    padding: 8px 0;
    text-align: left;
  }
  #herramientas-home .herramienta-list-item .herramienta-list-link {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #herramientas-home {
    background-color: #ffffff;
  }
  #herramientas-home .herramienta-featured-card .btn-main-herramienta {
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 768px) {
  #faq-home > .container > .row.mb-5 {
    margin-bottom: 24px !important;
  }
  #faq-home .faq-button {
    font-size: 16px !important;
    line-height: 1.35 !important;
    padding: 16px 0 !important;
  }
  #faq-home .faq-body {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding: 12px 0 16px !important;
    max-width: none;
  }
}

/* 09 and 10 (mobile): newsletter and footer layout from the Figma mobile frame */
@media (max-width: 768px) {
  #newsletter {
    padding: 40px 0;
  }
  #newsletter .container.bg-light {
    padding: 0 24px;
  }
  #newsletter > .container > p.text-center {
    height: auto;
    line-height: 1.4;
    margin: 16px 0;
    text-align: center;
  }
  #newsletter form.wpcf7-form {
    max-width: none;
    width: 100%;
  }
  #newsletter form.wpcf7-form input.btn-main {
    width: 148px !important;
    height: 52px;
  }

  footer {
    text-align: left;
    padding-top: 48px;
  }
  footer .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  footer .container > .row {
    margin-left: 0;
    margin-right: 0;
  }
  footer .container > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    text-align: left !important;
  }
  footer .container > .row > img.logo {
    display: block;
    margin: 0 auto 32px;
    max-width: 180px;
  }
  footer .container > .row:nth-child(2) {
    min-height: 0;
  }
  footer .container > .row:nth-child(2) > .col-lg-5 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-bottom: 32px !important;
  }
  footer .container > .row:nth-child(2) > .col-lg-2,
  footer .container > .row:nth-child(2) > .col-lg-4 {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    align-items: flex-start !important;
  }
  footer .cta-sns {
    margin: 24px 0;
  }
  footer .cta-sns .btn-cont {
    display: flex;
  }
  footer .foo-title {
    font-size: 20px;
  }
  footer .drop-link {
    font-size: 15px;
  }
  footer .container > .row.justify-content-center {
    justify-content: flex-start !important;
  }
  footer .lone {
    margin: 32px 0 16px;
  }
  footer hr {
    display: none;
  }
  footer .copyright {
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  footer .cta-sns .btn-cont {
    justify-content: flex-start;
  }
  footer .lone,
  footer .copyright {
    text-align: left !important;
    width: 100%;
    padding-left: 0;
  }
  footer .drop-link {
    font-size: 14px;
  }
  footer .container > .row > .col-lg-5 > p {
    font-weight: 300;
  }
}

/* Wide screens: the global navbar container grows to 1320px from 1400px, so the page content
   follows it (the 1140px caps above only apply between 1200px and 1399px). */
@media (min-width: 1400px) {
  main#primary.site-main .container,
  #newsletter .container.bg-light,
  footer > .container {
    max-width: 1320px;
  }
  #hero-estructura .hero-container,
  #hero-estructura .hero-indicators-wrap {
    max-width: 1320px;
    margin-left: calc(50% - 660px) !important;
  }
}

/* 1200-1399px: the hero text follows the 1140px navbar container instead of hugging the left edge */
@media (min-width: 1200px) and (max-width: 1399px) {
  #hero-estructura .hero-container,
  #hero-estructura .hero-indicators-wrap {
    margin-left: calc(50% - 570px) !important;
  }
}

/* Project cards are links to the project pages: keep them looking like the former divs. */
#descubre-hogar a.project-card,
#descubre-hogar a.project-card:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Blog side cards: image on top, text below (all widths) */
#blog-home .blog-list-item {
  position: relative;
  flex-direction: column;
  align-items: stretch !important;
  height: auto;
  min-height: 0 !important;
}
#blog-home .blog-list-item .blog-small-placeholder-img {
  width: 100% !important;
  height: 120px !important;
  flex-shrink: 0;
}
#blog-home .blog-list-item .blog-small-placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
#blog-home .blog-list-item .blog-list-content {
  padding: 16px 24px 20px !important;
  justify-content: flex-start;
}
#blog-home .blog-list-item .blog-list-content .blog-list-title {
  font-size: 17px;
  padding: 6px 0 12px;
}
#blog-home .blog-list-item .blog-list-content .blog-list-link {
  padding: 10px 20px;
  font-size: 15px;
}

/* Blog side cards: keep the whole banner image visible (no fixed-height crop) */
#blog-home .blog-list-item .blog-small-placeholder-img {
  height: auto !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
#blog-home .blog-list-item .blog-small-placeholder-img img {
  object-position: center;
}

/* Blog side cards: the banner thumbnails carry the title on a grey panel
   (left ~32%). Show only the photo part so the title is not repeated. */
#blog-home .blog-list-item .blog-small-placeholder-img {
  position: relative;
  aspect-ratio: 5 / 2;
  overflow: hidden;
}
#blog-home .blog-list-item .blog-small-placeholder-img img {
  position: absolute;
  top: 50%;
  right: 0;
  width: 147%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  object-fit: cover;
}

/* Blog side cards: flush image edges, and on desktop the two cards split the
   featured card's 501px height evenly. */
#blog-home .blog-list-item .blog-small-placeholder-img {
  margin: 0 !important;
  padding: 0;
  border-radius: 0 !important;
}
@media (min-width: 992px) {
  #blog-home .row > .col-lg-5 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 501px;
  }
  #blog-home .row > .col-lg-5 .blog-list-item {
    flex: 1 1 0;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-small-placeholder-img {
    flex: 1 1 0;
    min-height: 0;
    aspect-ratio: auto;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-small-placeholder-img img {
    top: 0;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: 100% 30%;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-list-content {
    flex: 0 0 auto;
    padding: 12px 24px 14px !important;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-list-content .blog-category-tag {
    font-size: 13px;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-list-content .blog-list-title {
    font-size: 16px;
    padding: 4px 0 8px;
  }
  #blog-home .row > .col-lg-5 .blog-list-item .blog-list-content .blog-list-link {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* History photos: keep faces in frame instead of centre-cropping the portraits. */
#nuestra-historia .historia-images-wrapper .image-placeholder-main img { object-position: 65% center; }
#nuestra-historia .historia-images-wrapper .image-placeholder-overlap img { object-position: center 12%; }
@media (min-width: 992px) {
  #nuestra-historia .historia-images-wrapper .image-placeholder-overlap { height: 56%; }
}
