/*
Theme Name: InfoRepuestos Kadence Child
Theme URI: https://inforepuestos.com/
Description: Tema hijo de Kadence para InfoRepuestos.
Author: Washington C.
Author URI: https://inforepuestos.com/
Template: kadence
Version: 1.0.0
Text Domain: inforepuestos-kadence-child
*/

/* ==================================================
   CSS GLOBAL DEL PROYECTO TIWALAO
   ================================================== */

/* Variables globales */
:root {
    --tiwalao-color-principal: #315f57;
    --tiwalao-color-secundario: #eef7f4;
    --tiwalao-color-texto: #202124;
    --tiwalao-color-blanco: #ffffff;
    --tiwalao-radio: 12px;
    --tiwalao-ancho-contenido: 1180px;
}

/* Ajustes globales básicos */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    color: var(--tiwalao-color-texto);
}

/* Contenedor reutilizable */
.tiwalao-contenedor {
    width: min(100% - 32px, var(--tiwalao-ancho-contenido));
    margin-inline: auto;
}

/* Botón general */
.tiwalao-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--tiwalao-radio);
    background: var(--tiwalao-color-principal);
    color: var(--tiwalao-color-blanco);
    text-decoration: none;
    font-weight: 600;
}

.tiwalao-boton:hover,
.tiwalao-boton:focus-visible {
    opacity: 0.9;
    color: var(--tiwalao-color-blanco);
}

/* Folio blanco: entrada sola o entrada + sidebar */
.single-post .content-container {
    background: #ffffff;
   /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.04);*/
}

/* Evitar que se vean cajas separadas dentro del folio */
.single-post .entry-content-wrap {
    background: transparent;
    box-shadow: none;
}

/* El sidebar forma parte de la misma hoja blanca */
.single-post .primary-sidebar,
.single-post .sidebar-inner-wrap {
    background: transparent;
    box-shadow: none;
}

/* Sombra más discreta en móvil */
@media screen and (max-width: 767px) {
    .single-post .content-container {
        box-shadow: 0 2px 9px rgba(0, 0, 0, 0.08);
    }
}
/* =========================================================
   INFOREPUESTOS · SIDEBAR RESPONSIVE
   Visible solo en escritorio (1025px o superior)
   Oculta en móvil y tablet (hasta 1024px)
========================================================= */

@media screen and (max-width: 1024px) {

    body.has-sidebar .primary-sidebar {
        display: none !important;
    }

    body.has-sidebar .content-container {
        grid-template-columns: minmax(0, 1fr) !important;
    }

}


.tw-course-widget {
  width: 100%;
  box-sizing: border-box;

  margin: 0 0 20px;
  padding: 22px 20px;

  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
}

.tw-course-widget__title {
  margin: 0 0 10px;
  padding: 0;

  color: #111111;

  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.tw-course-widget__text {
  margin: 0 0 18px;
  padding: 0;

  color: #555555;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.tw-course-widget a.tw-course-widget__button,
.tw-course-widget a.tw-course-widget__button:link,
.tw-course-widget a.tw-course-widget__button:visited {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 48px;
  box-sizing: border-box;

  padding: 11px 18px;

  background-color: #123d49 !important;
  color: #ffffff !important;

  border: 0;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;

  text-align: center;
  text-decoration: none !important;

  transition: background-color 0.2s ease;
}

.tw-course-widget a.tw-course-widget__button:hover,
.tw-course-widget a.tw-course-widget__button:focus,
.tw-course-widget a.tw-course-widget__button:active {
  background-color: #174c5b !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.tw-course-widget a.tw-course-widget__button:focus-visible {
  outline: 3px solid rgba(18, 61, 73, 0.28);
  outline-offset: 3px;
}

.course-navigation {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.06),
      0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .course-navigation h2 {
    margin: 0 0 12px;
    padding: 0;
    color: #111111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }

  .course-navigation h3 {
    margin: 0 0 4px;
    padding: 0;
    color: #111111;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
  }

  .course-navigation .course-week {
    margin: 4px 0 12px;
    padding: 0;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
  }

  .course-navigation .course-lessons {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
  }

  .course-navigation .course-lessons li {
    position: relative;
    margin: 0;
    padding: 4px 0 4px 26px;
    color: #444444;
    font-size: 15px;
    line-height: 1.5;
  }

  .course-navigation .course-lessons li::before {
    content: "📖";
    position: absolute;
    top: 4px;
    left: 0;
    width: 18px;
    color: #174C5B;
    font-size: 15px;
    line-height: 1.5;
  }

  .course-navigation .course-lessons a {
    color: #174C5B;
    font-weight: 500;
    text-decoration: none;
    transition:
      color 0.2s ease,
      text-decoration-color 0.2s ease;
  }

  .course-navigation .course-lessons a:hover,
  .course-navigation .course-lessons a:focus {
    color: #123D49;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .course-navigation .course-lessons a:focus-visible {
    outline: 2px solid #174C5B;
    outline-offset: 3px;
    border-radius: 2px;
  }



.recommended-book {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
}

.recommended-book h2 {
  margin: 0 0 14px;
  color: #111111;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.recommended-book__image-link {
  display: block;
  max-width: 180px;
  margin: 0 auto 16px;
}

.recommended-book__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.recommended-book__text {
  margin: 0 0 14px;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.recommended-book__button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  background: #174c5b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.recommended-book__button:hover,
.recommended-book__button:focus {
  background: #123d49;
  color: #ffffff;
  transform: translateY(-1px);
}

.recommended-book__button:focus-visible {
  outline: 2px solid #174c5b;
  outline-offset: 3px;
}

.recommended-book__notice {
  margin: 10px 0 0;
  color: #666666;
  font-size: 11px;
  line-height: 1.4;
}
.recommended-book a.recommended-book__button,
.recommended-book a.recommended-book__button:visited {
  background-color: #174c5b !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.recommended-book a.recommended-book__button:hover,
.recommended-book a.recommended-book__button:focus,
.recommended-book a.recommended-book__button:active {
  background-color: #123d49 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.course-navigation,
.recommended-book {
  font-size: 14px;
}

.course-navigation .course-lessons li {
  font-size: 14px;
  line-height: 1.5;
}

.course-navigation .course-week {
  font-size: 14px;
}

.recommended-book__notice {
  font-size: 10px;
  line-height: 1.4;
}

/*separa sidebar de header*/
@media (min-width: 1025px) {
  #secondary {
    margin-top: 32px;
  }
}
/*fin separar sidebar de header*/

/*tamaño excerpt de categorias*/
.archive .entry-summary,
.category .entry-summary {
    font-size: 15px;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .archive .entry-summary,
    .category .entry-summary {
        font-size: 14px;
        line-height: 1.45;
    }
}
/*fin de tamaño excerpt categorias*/

/* Tarjetas de Kadence en archivos y categorías */
.archive .loop-entry,
.category .loop-entry,
.archive article.entry,
.category article.entry {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.archive .entry-content-wrap,
.category .entry-content-wrap {
    padding: 20px;
}
/*fin de tarjeta de kadence en archivos y categorias*/

.choose-lesson-block {
	position: relative;
	width: 100vw;
	max-width: none;
	padding: 24px 18px 22px;
	background: #ffffff;
	color: #111111;
	text-align: center;
	margin: 20px calc(50% - 50vw) 0 calc(50% - 50vw);
}

.choose-lesson-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.choose-lesson-title {
	margin: 0 0 10px;
	padding: 0;
	color: #111111;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.25;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.choose-lesson-description {
	max-width: 720px;
	margin: 0 auto 18px;
	padding: 0;
	color: #444444;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	text-align: center;
}

.choose-lesson-button {
	display: flex;
	width: 90%;
	max-width: 430px;
	min-height: 58px;
	margin: 0 auto;
	padding: 0 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid #123f49;
	border-radius: 10px;
	background: #123f49;
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	text-decoration: none;
}


.spanish-audio-phrase {
  display: flex;
  align-items: center;
  gap: 8px;
}
/*altavoz
.audio-icon {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.audio-icon:hover,
.audio-icon:focus,
.audio-icon:active {
  background: transparent;
  border: 0;
  box-shadow: none;
}
fin de altavoz*/

.tiwala-audio-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	width: 38px;
	height: 38px;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 4px;
	background: transparent;
	box-shadow: none;

	color: #123D49;

	font: inherit;
	line-height: 1;
	text-decoration: none;

	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;

	transition: color 0.2s ease;
}

.tiwala-audio-button:hover {
	border: 0;
	background: transparent;
	box-shadow: none;

	color: #287a59;

	transform: none;
}

.tiwala-audio-button:focus {
	border: 0;
	background: transparent;
	box-shadow: none;

	color: #287a59;

	transform: none;
}

.tiwala-audio-button:active {
	border: 0;
	background: transparent;
	box-shadow: none;

	color: #287a59;

	transform: none;
}

.tiwala-audio-button:focus-visible {
	outline: 2px solid #287a59;
	outline-offset: 3px;
}

.tiwala-audio-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 27px;
	height: 27px;

	color: inherit;
	line-height: 1;

	pointer-events: none;
}

.tiwala-audio-icon svg {
	display: block;

	width: 100%;
	height: 100%;

	fill: currentColor;
}
/* Foto del autor en la página de contacto */

.tiwala-contact-photo {
  width: clamp(120px, 18vw, 120px);
  margin: 0 auto 1.25rem;
}

.tiwala-contact-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  /*border: 4px solid #123D49;*/
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 14px rgba(18, 61, 73, .18);
}

/* TARJETA */
.tw-course-widget {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;

    margin: 0;
    padding: 18px 16px;

    background: #fff;
    border: 1px solid #e1e5e7;
    border-radius: 10px;
}

/* TÍTULO */
.tw-course-widget__title {
    margin: 0 0 10px;

    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

/* TEXTO */
.tw-course-widget__text {
    margin: 0 0 16px;

    font-size: 0.9rem;
    line-height: 1.55;
}

/* BOTÓN */
.tw-course-widget a.tw-course-widget__button {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;

    margin: 0;
    padding: 11px 16px;

    background-color: #123D49;
    color: #fff !important;

    border: 0;
    border-radius: 7px;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
}

/* HOVER */
.tw-course-widget a.tw-course-widget__button:hover,
.tw-course-widget a.tw-course-widget__button:focus {
    background-color: #174C5B;
    color: #fff !important;
    text-decoration: none !important;
}

/*curso navigatii segundo widget*/
.course-navigation {
    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 18px 16px;

    background: #fff;
    border: 1px solid #e1e5e7;
    border-radius: 10px;
}

.course-navigation h2 {
    margin: 0 0 10px;

    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
}

.course-navigation h3 {
    margin: 0 0 6px;

    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 600;
}

.course-week {
    margin: 0 0 8px;

    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;

    opacity: 0.75;
}

.course-lessons {
    margin: 0;
    padding: 0;

    list-style: none;
}

.course-lessons li {
    margin: 0;
    padding: 0;

    border: 0;
}

.course-lessons a {
    position: relative;

    display: block;

    margin: 0;
    padding: 3px 0 3px 24px;

    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 500;

    color: inherit;
    text-decoration: none;
}

.course-lessons a::before {
    content: "📘";

    position: absolute;
    left: 0;
    top: 3px;

    font-size: 0.95rem;
    line-height: 1;
}

.course-lessons a:hover,
.course-lessons a:focus {
    color: #123D49;
    text-decoration: underline;
}
/* fin de curso navigatii segundo widget*/

/*inicio de amazon lateral*/
.recommended-book {
    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 18px 16px;

    background: #fff;
    border: 1px solid #e1e5e7;
    border-radius: 10px;
}

.recommended-book h2 {
    margin: 0 0 12px;

    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
}

.recommended-book__image-link {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    text-decoration: none;
}

.recommended-book__image {
    display: block;

    width: 100%;
    max-width: 220px;
    height: auto;

    margin: 0 auto;

    border-radius: 8px;
}

.recommended-book__text {
    margin: 0 0 16px;

    font-size: 0.9rem;
    line-height: 1.55;
}

.recommended-book a.recommended-book__button {
    display: block;

    width: 100%;
    max-width: none;
    box-sizing: border-box;

    margin: 0 0 12px;
    padding: 11px 16px;

    background-color: #123D49;
    color: #fff !important;

    border: 0;
    border-radius: 7px;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
}

.recommended-book a.recommended-book__button:hover,
.recommended-book a.recommended-book__button:focus {
    background-color: #174C5B;
    color: #fff !important;
    text-decoration: none !important;
}

.recommended-book__notice {
    margin: 0;

    font-size: 0.76rem;
    line-height: 1.45;

   /* opacity: 1;*/
}

/*boton gramatica*/
.tiwala-grammar-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: fit-content;
    max-width: calc(100% - 40px);
    margin: 22px auto;
    padding: 12px 34px;

    box-sizing: border-box;
    border-radius: 10px;
    background-color: #123D49;
    color: #ffffff;

    text-align: center;
    text-decoration: none;
    line-height: 1.2;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.tiwala-grammar-button:hover,
.tiwala-grammar-button:focus {
    background-color: #174C5B;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.tiwala-grammar-top {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.tiwala-grammar-main {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.tiwala-grammar-bottom {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 400;
}

@media (max-width: 600px) {
    .tiwala-grammar-button {
        width: calc(100% - 24px);
        max-width: none;
        padding: 12px 14px;
    }

    .tiwala-grammar-top {
        font-size: 10px;
    }

    .tiwala-grammar-main {
        font-size: 19px;
    }

    .tiwala-grammar-bottom {
        font-size: 11px;
    }
}
/*fin boton grmatica*/
/*ancho comentarios*/@media screen and (max-width: 719px) { .content-style-boxed .comments-area { padding-left: 0;  padding-right: 0;  } }
/*fin ancho de comentarios*/
/* Tiwala Quiz: color normal de los botones */
.tiwala-quiz .tiwala-quiz__button {
	background-color: #123D49 !important;
	border-color: #123D49 !important;
	color: #ffffff !important;
}

/* Tiwala Quiz: color al pasar el cursor o usar el teclado */
.tiwala-quiz .tiwala-quiz__button:hover,
.tiwala-quiz .tiwala-quiz__button:focus {
	background-color: #174C5B !important;
	border-color: #174C5B !important;
	color: #ffffff !important;
}

/* Cápsula de etapa situada sobre el H1 */
.single-post .entry-taxonomies .category-links a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 5px 11px;
	border: 1px solid rgba(18, 61, 73, 0.35);
	border-radius: 999px;
	background-color: rgba(18, 61, 73, 0.05);
	color: #123D49 !important;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

/* Hover y navegación con teclado */
.single-post .entry-taxonomies .category-links a:hover,
.single-post .entry-taxonomies .category-links a:focus {
	border-color: #174C5B;
	background-color: #174C5B;
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Contorno accesible al navegar con teclado */
.single-post .entry-taxonomies .category-links a:focus-visible {
	outline: 2px solid rgba(23, 76, 91, 0.35);
	outline-offset: 2px;
}

/* Cápsula más compacta en móvil */
@media (max-width: 767px) {
	.single-post .entry-taxonomies .category-links a {
		padding: 4px 9px;
		font-size: 0.8125rem;
		letter-spacing: 0.01em;
	}
}

/*nuevo codigo para sidebar y color de fondo*/
body.single {
    background: #fff;
}
@media screen and (min-width: 1025px) {
    .primary-sidebar {
        padding: 20px 0;
        margin: 0;
    }
}
/*fin de nuevo codigo para sidebar y color de fondo*/
/* =========================================================
   TIWALAO · FOOTER CENTRADO EN UNA SOLA COLUMNA
========================================================= */

.site-footer,
.site-footer .site-footer-row-container-inner,
.site-footer .footer-widget-area,
.site-footer .footer-widget-area-inner {
  background-color: #123D49 !important;
  color: #FFFFFF !important;
}

/* Todo el contenido en un único cuerpo centrado */

.tiwala-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  color: #FFFFFF;
  font-family: inherit;
  text-align: center;
}

.tiwala-footer__column {
  width: 100%;
  text-align: center;
}

.tiwala-footer p {
  margin: 0 auto .6rem;
  color: #FFFFFF !important;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.tiwala-footer__title {
  margin-bottom: .45rem !important;
  font-size: 1.08rem !important;
  font-weight: 700;
}

.tiwala-footer__note {
  margin-bottom: 1rem !important;
  color: #F1F5F5 !important;
  font-size: .82rem !important;
  line-height: 1.45 !important;
}

/* Enlaces legales */

.tiwala-footer__nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: .4rem auto .9rem;
  gap: .5rem 1rem;
  text-align: center;
}

.tiwala-footer__nav a {
  color: #F7C034 !important;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}

.tiwala-footer__nav a:hover,
.tiwala-footer__nav a:focus-visible {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Copyright y firma */

.tiwala-footer__copy {
  width: 100%;
  margin-top: .75rem !important;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .8rem !important;
  text-align: center;
}

.tiwala-footer__signature {
  margin-top: .35rem !important;
  color: #F1F5F5 !important;
  font-size: .8rem !important;
  text-align: center;
}

.tiwala-footer__signature strong {
  color: #FFFFFF !important;
  font-weight: 600;
}

/* =========================================================
   MÓVIL: ENLACES APILADOS Y CENTRADOS
========================================================= */

@media (max-width: 767px) {
  .tiwala-footer {
    width: 100%;
    max-width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
  }

  .tiwala-footer__nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
  }

  .tiwala-footer__nav a {
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .tiwala-footer p {
    font-size: .85rem;
  }

  .tiwala-footer__copy,
  .tiwala-footer__signature {
    font-size: .78rem !important;
  }
}
/* =========================================================
   TIWALAO · FORMULARIO DE CONTACTO
========================================================= */

.tiwala-contact-form {
  width: 100%;
  max-width: 680px;
  margin: 2rem auto;
}

.tiwala-contact-form__field {
  margin-bottom: 1.1rem;
}

.tiwala-contact-form__field label {
  display: block;
  margin-bottom: .4rem;
  color: #123D49;
  font-size: .95rem;
  font-weight: 700;
}

.tiwala-contact-form__field label span {
  color: #B42318;
}

.tiwala-contact-form__field input,
.tiwala-contact-form__field textarea {
  display: block;
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid #AAB8BC;
  border-radius: 5px;
  background: #FFFFFF;
  color: #1F2933;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.tiwala-contact-form__field textarea {
  min-height: 170px;
  resize: vertical;
}

.tiwala-contact-form__field input:focus,
.tiwala-contact-form__field textarea:focus {
  border-color: #123D49;
  outline: 3px solid rgba(18, 61, 73, .16);
}

/* Checkbox de privacidad claramente visible */

.tiwala-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 1.2rem 0;
  color: #263238;
  font-size: .9rem;
  line-height: 1.5;
  cursor: pointer;
}

.tiwala-contact-form__consent input[type="checkbox"] {
  display: block !important;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  margin: .1rem 0 0 !important;
  padding: 0 !important;
  border: 2px solid #123D49 !important;
  border-radius: 3px;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #123D49;
  cursor: pointer;
}

.tiwala-contact-form__consent span {
  display: block;
  flex: 1;
}

.tiwala-contact-form__consent a {
  color: #123D49;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Botón */

.tiwala-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.4rem;
  border: 0;
  border-radius: 5px;
  background: #123D49;
  color: #FFFFFF;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease;
}

.tiwala-contact-form__submit:hover,
.tiwala-contact-form__submit:focus {
  background: #174C5B;
  color: #FFFFFF;
}

/* Mensajes */

.tiwala-contact-form__notice {
  margin-bottom: 1.2rem;
  padding: .9rem 1rem;
  border-radius: 5px;
  font-size: .92rem;
  line-height: 1.5;
}

.tiwala-contact-form__notice--success {
  border: 1px solid #75A886;
  background: #EDF8F0;
  color: #205C34;
}

.tiwala-contact-form__notice--error {
  border: 1px solid #D99B96;
  background: #FFF1F0;
  color: #8A1C13;
}

/* Campo antispam */

.tiwala-contact-form__website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Móvil */

@media (max-width: 767px) {
  .tiwala-contact-form {
    margin: 1.5rem auto;
  }

  .tiwala-contact-form__field input,
  .tiwala-contact-form__field textarea {
    font-size: 16px;
  }

  .tiwala-contact-form__submit {
    width: 100%;
  }
}


/* =========================================================
   COMPONENTES RECUPERADOS · INFOREPUESTOS
   Fuente: tema hijo anterior; alcance limitado al HTML aportado
========================================================= */

/* =========================================================
   HERO REUTILIZABLE · INFOREPUESTOS
   Mobile first
========================================================= */

.ir-service-hero {
  width: 100%;
  background: #FFFFFF;
}

.ir-service-hero__inner {
  width: 100%;
  margin: 0;
  padding: 6px 0 16px;
}


/* =========================================================
   TEXTO
========================================================= */

.ir-service-hero__content {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}

.ir-service-hero__title {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  color: #000000;

  font-size: clamp(1.75rem, 7vw, 2.15rem);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.02em;

  text-align: center;
  text-wrap: wrap;
}

.ir-service-hero__content p {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  padding: 0;

  color: #010101;

  font-size: 1.1rem;
  line-height: 1.5;

  text-align: center;
  text-wrap: wrap;
}

.ir-service-hero__content p strong {
  display: inline-block;
  margin-top: 8px;
}


/* =========================================================
   IMAGEN · MÓVIL
   Proporción horizontal 3:2
========================================================= */

.ir-service-hero__media {
  width: 160px;
  margin: 14px auto 0;
}

.ir-service-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) {

  .ir-service-hero__inner {
    padding: 12px 0 20px;
  }

  .ir-service-hero__title {
    font-size: 2.1rem;
  }

  .ir-service-hero__content p {
    font-size: 1.0625rem;
  }

  .ir-service-hero__media {
    width: 190px;
    margin-top: 18px;
  }

}


/* =========================================================
   ESCRITORIO
   2/3 texto · 1/3 imagen
========================================================= */

@media (min-width: 1024px) {

  .ir-service-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: 20px 0 24px;
  }

  .ir-service-hero__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: 40px;
    text-align: center;
  }

  .ir-service-hero__title {
    width: 100%;
    max-width: none;

    font-size: clamp(2rem, 2.5vw, 2.65rem);
    line-height: 1.2;

    text-align: center;
  }

  .ir-service-hero__content p {
    width: 100%;
    max-width: none;
    margin: 12px 0 0;

    font-size: 1.0625rem;
    line-height: 1.8;

    text-align: center;
  }

  .ir-service-hero__media {
    width: 100%;
    margin: 0;
  }

}
/* =========================================================
   CTA PRINCIPAL HOME · INFOREPUESTOS
========================================================= */

.inforepuestos-cta-home {

  width: 100%;
  background: #FFFFFF;
  padding: 15px 80px 14px;
  box-sizing: border-box;
}

.inforepuestos-cta-home__inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
}


/* =========================================================
   BOTÓN BASE
========================================================= */

.inforepuestos-cta-home__item {
  min-width: 0;
  min-height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 11px 18px;

  border-radius: 12px;

  text-decoration: none;
  text-align: left;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;

  -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   COLORES INDIVIDUALES
========================================================= */

.inforepuestos-cta-home__item--whatsapp {
  background: #026022;
  color: #FFFFFF;
}

.inforepuestos-cta-home__item--budget {
  background: #000080;
  color: #FFFFFF;

  /*
   * El presupuesto es la acción principal.
   * Ligera presencia extra sin exagerar.
   */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.inforepuestos-cta-home__item--location {
  background: #EE0000;
  color: #FFFFFF;
}


/* =========================================================
   ICONOS
========================================================= */

.inforepuestos-cta-home__icon {
  flex: 0 0 auto;

  width: 30px;
  height: 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inforepuestos-cta-home__icon svg {
  display: block;
 /* width: 100%;
  height: 100%;*/
}


/* =========================================================
   COPY ESCRITORIO
========================================================= */

.inforepuestos-cta-home__desktop-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.inforepuestos-cta-home__desktop-copy small {
  display: block;

  margin: 0 0 4px;

  font-size: 0.76rem;
  font-weight: 600;

  opacity: 0.82;
}

.inforepuestos-cta-home__desktop-copy strong {
  display: block;

  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
 /* font-weight: 800;*/
  line-height: 1.15;
}

.inforepuestos-cta-home__mobile-copy {
  display: none;
}


/* =========================================================
   INTERACCIÓN ESCRITORIO
========================================================= */

@media (hover: hover) and (pointer: fine) {

  .inforepuestos-cta-home__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.17);
  }

  .inforepuestos-cta-home__item--whatsapp:hover,
  .inforepuestos-cta-home__item--whatsapp:focus {
    background: #0B762D;
    color: #FFFFFF;
  }

  .inforepuestos-cta-home__item--budget:hover,
  .inforepuestos-cta-home__item--budget:focus {
    background: #2954E1;
    color: #FFFFFF;
  }

  .inforepuestos-cta-home__item--location:hover,
  .inforepuestos-cta-home__item--location:focus {
    background: #D22828;
    color: #FFFFFF;
  }

  .inforepuestos-cta-home__item:active {
    transform: translateY(0);
  }

}

.inforepuestos-cta-home__item:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}


/* =========================================================
   MÓVIL
   Tres botones SIEMPRE en línea.
   Círculo arriba + microcopy debajo.
========================================================= */

@media (max-width: 767px) {

  .inforepuestos-cta-home {
    padding: 10px 12px 12px;
  }

  .inforepuestos-cta-home__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: start;
  }

  .inforepuestos-cta-home__item {
    min-height: auto;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;

    background: transparent;
    box-shadow: none;

    border-radius: 0;

    text-align: center;
  }

  /*
   * El círculo real es el contenedor del icono.
   */

  .inforepuestos-cta-home__icon {
    width: 72px;
    height: 72px;

    border-radius: 40%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-inline: auto;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  }

  .inforepuestos-cta-home__icon svg {
    width: 34px;
    height: 34px;
  }


  /* WhatsApp */

  .inforepuestos-cta-home__item--whatsapp
  .inforepuestos-cta-home__icon {
    background: #026022;
    color: #FFFFFF;
  }


  /* Presupuesto */

  .inforepuestos-cta-home__item--budget
  .inforepuestos-cta-home__icon {
    background: #000080;
    color: #FFFFFF;

    /*
     * CTA principal ligeramente mayor.
     */
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  }


  /* Ubicación */

  .inforepuestos-cta-home__item--location
  .inforepuestos-cta-home__icon {
    background: #EE0000;
    color: #FFFFFF;
  }


  /* Ocultar copy largo */

  .inforepuestos-cta-home__desktop-copy {
    display: none;
  }


  /* Copy móvil */

  .inforepuestos-cta-home__mobile-copy {
    display: block;

    color: #010101;

    font-size: clamp(0.72rem, 3.2vw, 0.82rem);
    font-weight: 750;
    line-height: 1.15;

    white-space: nowrap;
  }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 360px) {

  .inforepuestos-cta-home {
    padding-inline: 8px;
  }

  .inforepuestos-cta-home__icon {
    width: 54px;
    height: 54px;
  }

  .inforepuestos-cta-home__inner {
    gap: 5px;
  }

  .inforepuestos-cta-home__mobile-copy {
    font-size: 0.7rem;
  }

}
/* ======================================================
   INFOREPUESTOS · CÓMO FUNCIONA LA REPARACIÓN
   3 tarjetas siempre en una sola fila
   ====================================================== */

.ir-proceso {
width: 100%;
  padding: 48px 0;
  background: #FFFFFF;
}


/* CONTENEDOR GENERAL */

.ir-proceso__contenedor {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}


/* CABECERA */

.ir-proceso__cabecera {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.ir-proceso__etiqueta {
  display: inline-block;
  position: relative;
  margin-bottom: 18px;

  color: #2954E1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ir-proceso__etiqueta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;

  width: 38px;
  height: 3px;

  background: #F7C034;
  border-radius: 999px;

  transform: translateX(-50%);
}

.ir-proceso__cabecera h2 {
  margin: 0;

  color: #000000;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.16;
}

.ir-proceso__cabecera p {
  margin: 12px 0 0;

  color: #010101;
  font-size: 17px;
  line-height: 1.5;
}


/* ======================================================
   TRES TARJETAS
   Siempre 3 columnas
   ====================================================== */

.ir-proceso__pasos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}


/* TARJETA */

.ir-proceso__tarjeta {
  position: relative;
  min-width: 0;

  padding: 24px 18px 22px;

  background: #FFFFFF;
  border: 1px solid #F3F5F5;
  border-radius: 18px;

  text-align: center;

  box-shadow:
    0 8px 24px rgba(0, 29, 126, .07);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.ir-proceso__tarjeta:hover {
  transform: translateY(-4px);

  border-color: #2954E1;

  box-shadow:
    0 14px 30px rgba(0, 29, 126, .12);
}


/* NÚMERO */

.ir-proceso__numero {
  position: absolute;
  top: 16px;
  left: 18px;

  color: #000000;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}


/* ICONO */

.ir-proceso__icono {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 76px;
  height: 76px;

  margin: 10px auto 18px;

  background:
    linear-gradient(
      135deg,
      rgba(41, 84, 225, .10),
      rgba(247, 192, 52, .12)
    );

  border-radius: 50%;
}

.ir-proceso__icono svg {
  width: 38px;
  height: 38px;

  fill: none;
  stroke: #2954E1;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TÍTULOS */

.ir-proceso__tarjeta h3 {
  margin: 0;

  color: #000000;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}


/* PEQUEÑA LÍNEA CORPORATIVA */

.ir-proceso__tarjeta h3::after {
  content: "";
  display: block;

  width: 28px;
  height: 3px;

  margin: 10px auto;

  background: #F7C034;
  border-radius: 999px;
}


/* TEXTO */

.ir-proceso__tarjeta p {
  margin: 0;

  color: #010101;
  font-size: 15px;
  line-height: 1.45;
}


/* ======================================================
   MENSAJE DE CONFIANZA
   ====================================================== */

.ir-proceso__confianza {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 24px;
  padding-top: 22px;

  border-top: 1px solid #F3F5F5;
}

.ir-proceso__escudo {
  display: flex;
  flex: 0 0 auto;
}

.ir-proceso__escudo svg {
  width: 30px;
  height: 30px;

  fill: none;
  stroke: #2954E1;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ir-proceso__confianza p {
  margin: 0;

  color: #010101;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}


/* ======================================================
   TABLET Y PORTÁTIL
   Se mantienen las 3 columnas
   ====================================================== */

@media (max-width: 900px) {

  .ir-proceso {
    padding: 42px 0;
  }

  .ir-proceso__pasos {
    gap: 12px;
  }

  .ir-proceso__tarjeta {
    padding:
      22px
      12px
      20px;
  }

  .ir-proceso__numero {
    top: 14px;
    left: 14px;

    font-size: 21px;
  }

  .ir-proceso__icono {
    width: 66px;
    height: 66px;

    margin-top: 8px;
  }

  .ir-proceso__icono svg {
    width: 33px;
    height: 33px;
  }

  .ir-proceso__tarjeta h3 {
    font-size: 17px;
  }

  .ir-proceso__tarjeta p {
    font-size: 14px;
  }

}


/* ======================================================
   MÓVIL
   MUY IMPORTANTE:
   LAS TRES TARJETAS SIGUEN EN UNA SOLA FILA
   ====================================================== */

@media (max-width: 600px) {

  .ir-proceso {
    padding: 34px 0;
  }

  .ir-proceso__contenedor {
    width: calc(100% - 20px);
  }


  /* CABECERA */

  .ir-proceso__cabecera {
    margin-bottom: 22px;
  }

  .ir-proceso__etiqueta {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .ir-proceso__cabecera h2 {
    font-size: 26px;
  }

  .ir-proceso__cabecera p {
    margin-top: 9px;
    font-size: 14px;
  }


  /* 3 COLUMNAS TAMBIÉN EN MÓVIL */

  .ir-proceso__pasos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }


  /* TARJETAS COMPACTAS */

  .ir-proceso__tarjeta {
    padding:
      12px
      5px
      13px;

    border-radius: 12px;

    box-shadow:
      0 5px 14px rgba(0, 29, 126, .07);
  }


  /* NÚMERO */

  .ir-proceso__numero {
    position: static;
    display: block;

    margin-bottom: 8px;

    text-align: left;

    font-size: 15px;
  }


  /* ICONO */

  .ir-proceso__icono {
    width: 60px;
    height: 60px;

    margin:
      0 auto
      10px;
  }

  .ir-proceso__icono svg {
    width: 32px;
    height: 32px;
  }


  /* TÍTULO */

  .ir-proceso__tarjeta h3 {
    font-size: 12px;
    line-height: 1.2;
  }

  .ir-proceso__tarjeta h3::after {
    width: 20px;
    height: 2px;

    margin: 7px auto;
  }


  /* TEXTO */

  .ir-proceso__tarjeta p {
    font-size: 10.5px;
    line-height: 1.3;
  }


  /* CONFIANZA */

  .ir-proceso__confianza {
    align-items: flex-start;
    gap: 9px;

    margin-top: 18px;
    padding-top: 18px;
  }

  .ir-proceso__escudo svg {
    width: 24px;
    height: 24px;
  }

  .ir-proceso__confianza p {
    font-size: 12.5px;
    line-height: 1.45;
  }

}


/* MÓVILES MUY ESTRECHOS */

@media (max-width: 380px) {

  .ir-proceso__contenedor {
    width: calc(100% - 16px);
  }

  .ir-proceso__pasos {
    gap: 5px;
  }

  .ir-proceso__tarjeta {
    padding-left: 4px;
    padding-right: 4px;
  }

  .ir-proceso__tarjeta h3 {
    font-size: 11px;
  }

  .ir-proceso__tarjeta p {
    font-size: 9.5px;
  }

}

/* CTA: dar más ancho al botón de WhatsApp en escritorio */
@media (min-width: 769px) {

  .inforepuestos-cta-home__inner {
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 1fr)
      minmax(0, 1fr);
  }

}
/* =========================================================
   INFOREPUESTOS · CUADRÍCULA DE SERVICIOS
   CSS DE PRUEBA DEFINITIVO
   Basado exactamente en el HTML actual
========================================================= */


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.ir-servicios-grid-wrap {
  width: 100%;
  padding: 30px 0 40px;
  background: #FFFFFF;
  box-sizing: border-box;
}


/* =========================================================
   CUADRÍCULA
   Escritorio: 3 columnas
========================================================= */

.ir-servicios-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================================
   TARJETA
========================================================= */

.ir-servicio-card {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;

  background: #FFFFFF;
  border: 1px solid #E3E6EA;
  border-radius: 6px;
  overflow: hidden;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


/* =========================================================
   ENLACE QUE ENVUELVE TODA LA TARJETA
========================================================= */

.ir-servicios-grid .ir-servicio-card__link,
.ir-servicios-grid .ir-servicio-card__link:link,
.ir-servicios-grid .ir-servicio-card__link:visited,
.ir-servicios-grid .ir-servicio-card__link:hover,
.ir-servicios-grid .ir-servicio-card__link:focus,
.ir-servicios-grid .ir-servicio-card__link:active {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  color: #010101 !important;
  background: transparent;

  text-decoration: none !important;
  text-decoration-line: none !important;

  outline: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}


/* Quitar subrayado de título, descripción y CTA */

.ir-servicios-grid .ir-servicio-card__titulo,
.ir-servicios-grid .ir-servicio-card__descripcion,
.ir-servicios-grid .ir-servicio-card__enlace,
.ir-servicios-grid .ir-servicio-card__enlace span {
  text-decoration: none !important;
  text-decoration-line: none !important;
}


/* =========================================================
   INTERACCIÓN DE TARJETA
========================================================= */

.ir-servicio-card:hover,
.ir-servicio-card:focus-within {
  transform: translateY(-3px);
  /*border-color: #2954E1;*/
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.ir-servicio-card:focus-within {
  outline: 3px solid rgba(41, 84, 225, 0.22);
  outline-offset: 3px;
}


/* =========================================================
   IMAGEN 1200 × 630
========================================================= */

.ir-servicio-card__imagen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 40 / 21;
  object-fit: contain;
  object-position: center;
  background: #FFFFFF;
}


/* =========================================================
   CONTENIDO
========================================================= */

.ir-servicio-card__contenido {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 18px 10px 20px;
  text-align: left;

  box-sizing: border-box;
}


/* =========================================================
   TÍTULO
========================================================= */

.ir-servicios-grid .ir-servicio-card__titulo {
  margin: 0 0 9px !important;
  padding: 0;

  color: #010101 !important;

  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.ir-servicios-grid .ir-servicio-card__descripcion {
  margin: 0 0 15px !important;
  padding: 0;

  color: #303030 !important;

  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}


/* =========================================================
   TEXTO FINAL DEL ENLACE
========================================================= */

.ir-servicios-grid .ir-servicio-card__enlace {
  margin-top: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: #000080 !important;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.ir-servicios-grid .ir-servicio-card__enlace > span {
  flex: 0 0 auto;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform 0.18s ease;
}


/* Hover del texto final, sin subrayado */

.ir-servicio-card:hover .ir-servicio-card__enlace,
.ir-servicio-card:focus-within .ir-servicio-card__enlace {
  color: #2954E1 !important;
  text-decoration: none !important;
}

.ir-servicio-card:hover .ir-servicio-card__enlace > span,
.ir-servicio-card:focus-within .ir-servicio-card__enlace > span {
  transform: translateX(3px);
}


/* =========================================================
   TABLET
   2 columnas
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

  .ir-servicios-grid-wrap {
    padding: 26px 0 34px;
  }

  .ir-servicios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .ir-servicio-card__contenido {
    padding: 17px 16px 18px;
  }

  .ir-servicios-grid .ir-servicio-card__titulo {
    font-size: 19px !important;
  }

  .ir-servicios-grid .ir-servicio-card__descripcion {
    font-size: 15px !important;
  }

  .ir-servicios-grid .ir-servicio-card__enlace {
    font-size: 15px !important;
  }
}


/* =========================================================
   MÓVIL
   Una tarjeta debajo de otra
========================================================= */

@media (max-width: 767px) {

  .ir-servicios-grid-wrap {
    padding: 20px 0 30px;
  }

  .ir-servicios-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }

  .ir-servicio-card {
    width: 100%;
    max-width: none;
    border-radius: 12px;
  }

  .ir-servicio-card__contenido {
    padding: 17px 16px 19px;
  }

  .ir-servicios-grid .ir-servicio-card__titulo {
    margin-bottom: 8px !important;

    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .ir-servicios-grid .ir-servicio-card__descripcion {
    margin-bottom: 14px !important;

    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .ir-servicios-grid .ir-servicio-card__enlace {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .ir-servicios-grid .ir-servicio-card__enlace > span {
    font-size: 19px !important;
  }
}


/* =========================================================
   MÓVILES MUY ESTRECHOS
========================================================= */

@media (max-width: 360px) {

  .ir-servicios-grid {
    gap: 13px;
  }

  .ir-servicio-card__contenido {
    padding: 15px 13px 17px;
  }

  .ir-servicios-grid .ir-servicio-card__titulo {
    font-size: 20px !important;
  }

  .ir-servicios-grid .ir-servicio-card__descripcion {
    font-size: 15px !important;
  }

  .ir-servicios-grid .ir-servicio-card__enlace {
    font-size: 15px !important;
  }
}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .ir-servicio-card,
  .ir-servicio-card__enlace > span {
    transition: none;
  }

  .ir-servicio-card:hover,
  .ir-servicio-card:focus-within {
    transform: none;
  }
}
/* =========================================================
   INFOREPUESTOS · MICROFRANJA DE CONFIANZA
   2 COLUMNAS MÓVIL
   4 COLUMNAS TABLET Y ESCRITORIO
========================================================= */

.ip-trust-mini {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 8px;

  margin: 16px 0 24px;

  box-sizing: border-box;
}


/* =========================================================
   ELEMENTOS
========================================================= */

.ip-trust-item {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 9px 8px;

  background: #FFFFFF;
  color: #000080;

  border: 1px solid #F3F5F5;
  border-radius: 8px;

  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.3;

  text-align: center;

  box-sizing: border-box;

  box-shadow:
    0 2px 7px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 360px) {

  .ip-trust-mini {
    gap: 6px;
  }

  .ip-trust-item {
    padding: 8px 6px;

    font-size: 0.7rem;
    line-height: 1.25;
  }

}


/* =========================================================
   TABLET Y ESCRITORIO
   4 ELEMENTOS EN UNA SOLA FILA
========================================================= */

@media (min-width: 768px) {

  .ip-trust-mini {
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin: 18px 0 28px;
  }

  .ip-trust-item {
    padding: 10px 9px;

    font-size: 0.8rem;
  }

}


/* =========================================================
   ESCRITORIO
========================================================= */

@media (min-width: 1024px) {

  .ip-trust-mini {
    gap: 12px;
  }

  .ip-trust-item {
    padding: 11px 10px;

    font-size: 0.84rem;
  }

}
/*fin de bloque confianza*/
/* =========================================================
   INFOREPUESTOS - BLOQUE BENEFICIOS
   ========================================================= */

.ip-benefits {
  width: 100%;
  margin: 52px auto;
}

.ip-benefits,
.ip-benefits * {
  box-sizing: border-box;
}


/* CABECERA */

.ip-benefits-head {
  margin-bottom: 22px;
  text-align: center;
}

.ip-benefits-kicker {
  display: block;
  margin-bottom: 7px;

  color: #2954e1;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.ip-benefits-head h2 {
  margin: 0;

  color: #111111;

  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}


/* CUADRÍCULA */

.ip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


/* TARJETA */

.ip-benefit-card {
  min-width: 0;
  padding: 24px 18px;

  text-align: center;

  background: #ffffff;

  border: 1px solid #edf0f6;
  border-radius: 14px;

  box-shadow:
    0 8px 24px rgba(0, 0, 128, 0.06);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* ICONO */

.ip-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin: 0 auto 15px;

  color: #000080;
  background: #f1f4ff;

  border-radius: 50%;
}

.ip-benefit-icon svg {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TEXTO */

.ip-benefit-card h3 {
  margin: 0 0 8px;

  color: #111111;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.ip-benefit-card p {
  margin: 0;

  color: #666666;

  font-size: 14px;
  line-height: 1.5;
}


/* ESCRITORIO */

@media (hover: hover) and (pointer: fine) {

  .ip-benefit-card:hover {
    transform: translateY(-3px);

    box-shadow:
      0 12px 28px rgba(0, 0, 128, 0.10);
  }

}


/* TABLET */

@media (max-width: 768px) {

  .ip-benefits {
    margin: 42px auto;
  }

  .ip-benefits-grid {
    gap: 10px;
  }

  .ip-benefit-card {
    padding: 20px 12px;
  }

  .ip-benefit-card h3 {
    font-size: 15px;
  }

  .ip-benefit-card p {
    font-size: 13px;
  }

}


/* MÓVIL */

@media (max-width: 600px) {

  .ip-benefits {
    margin: 38px auto;
  }

  .ip-benefits-head {
    margin-bottom: 18px;
  }

  .ip-benefits-kicker {
    font-size: 9px;
  }

  .ip-benefits-head h2 {
    font-size: 25px;
  }

  .ip-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .ip-benefit-card {
    padding: 16px 6px;

    border-radius: 11px;
  }

  .ip-benefit-icon {
    width: 39px;
    height: 39px;

    margin-bottom: 11px;
  }

  .ip-benefit-icon svg {
    width: 21px;
    height: 21px;
  }

  .ip-benefit-card h3 {
    margin-bottom: 6px;

    font-size: 12px;
    line-height: 1.2;
  }

  .ip-benefit-card p {
    font-size: 10px;
    line-height: 1.35;
  }

}
/*find bloque beneficios*/
