/* AgilCae — estilos de interfaz (cabecera, menú, home y pie) */

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    color: #1f2937;
    background: #fff;
    position: relative;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    transition: 300ms;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

.btn:hover,
.btn:focus {
    outline: none;
    box-shadow: none;
}

a#scrollUp {
    bottom: 0;
    right: 10px;
    padding: 5px 10px;
    background: #4d438c;
    color: #fff;
    animation: bounce 2s ease infinite;
}

a#scrollUp i {
    font-size: 30px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Cabecera */

.header-middle {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px;
    border-bottom: 1px solid #faf8fe;
}

.header-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-bottom: 16px;
}

.header-trial-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #faf8fe 0%, #ebe6f8 100%);
    border: 2px solid #4d438c;
    color: #4d438c;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(77, 67, 140, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-trial-cta:hover,
.header-trial-cta:focus {
    color: #3a3270;
    border-color: #3a3270;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(77, 67, 140, 0.24);
    text-decoration: none;
}

.header-trial-cta__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.45);
}

.header-trial-cta__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.header-trial-cta__label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-trial-cta__hint {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
}

.logo {
    display: inline-block;
    margin-bottom: 0;
}

.logo img {
    max-height: 64px;
    width: auto;
}

@media (min-width: 768px) {
    .header-brand {
        flex-wrap: nowrap;
        width: 100%;
        position: relative;
        min-height: 64px;
    }

    .header-trial-cta {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        margin-left: 0;
        transform: translate(-50%, -50%);
    }

    .header-trial-cta:hover,
    .header-trial-cta:focus {
        transform: translate(-50%, calc(-50% - 2px));
    }
}

/* Navegación */

.navbar-toggle {
    background-color: #000;
    border: 0;
    float: right;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.mainmenu {
    clear: both;
}

.mainmenu .nav {
    float: none;
}

.mainmenu ul li {
    padding-right: 15px;
    padding-left: 15px;
}

.mainmenu ul li:first-child {
    padding-left: 0;
}

.mainmenu ul li a {
    color: #363432;
    font-size: 18px;
    font-weight: 500;
    padding: 0 0 10px;
}

.mainmenu ul li a:hover,
.mainmenu ul li a.active {
    background: none;
    color: #4d438c;
}

.mainmenu .dropdown {
    position: relative;
}

.nav.navbar-nav > li:hover > ul.sub-menu {
    display: block;
    animation: fadeInUp 400ms;
}

ul.sub-menu {
    position: absolute;
    top: 30px;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 0;
    margin: 0;
    width: 220px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

.navbar-nav li ul.sub-menu li {
    padding: 10px 20px 0;
}

.navbar-nav li ul.sub-menu li:last-child {
    padding-bottom: 20px;
}

.navbar-nav li ul.sub-menu li a {
    color: #fff;
    font-weight: 500;
}

.navbar-nav li ul.sub-menu li a:hover {
    color: #fdb45e;
}

.fa-angle-down {
    padding-left: 5px;
}

.nav-acceso-item {
    padding-right: 0 !important;
    padding-left: 12px !important;
}

.mainmenu ul li .nav-acceso-btn {
    box-sizing: border-box;
    margin: 0;
    padding: 5px 14px !important;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(250, 248, 254, 0.92) 0%,
        rgba(235, 230, 248, 0.78) 100%
    );
    color: #4d438c !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.25;
    border: 0;
    box-shadow:
        0 0 0 1px rgba(77, 67, 140, 0.38),
        0 2px 10px rgba(77, 67, 140, 0.08);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.mainmenu ul li .nav-acceso-btn:hover,
.mainmenu ul li .nav-acceso-btn:focus {
    background: linear-gradient(
        135deg,
        rgba(77, 67, 140, 0.14) 0%,
        rgba(77, 67, 140, 0.22) 100%
    ) !important;
    color: #3a3270 !important;
    box-shadow:
        0 0 0 1px rgba(77, 67, 140, 0.55),
        0 3px 12px rgba(77, 67, 140, 0.14) !important;
    text-decoration: none;
}

@media (min-width: 768px) {
    .mainmenu .navbar-nav > li {
        float: left;
    }

    .mainmenu ul li .nav-acceso-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 5px 14px !important;
    }

    /* Alineación con el texto del resto del menú */
    .mainmenu .navbar-nav > li.nav-acceso-item {
        margin-top: -8px;
    }
}

@media (max-width: 767px) {
    .nav-acceso-item {
        display: block;
        width: 100%;
        padding: 8px 0 4px !important;
        text-align: center;
    }

    .nav-acceso-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 8px 14px !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider */

#slider {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px 12px;
    position: relative;
}

#slider-carousel {
    position: relative;
}

#slider .carousel-inner > .item {
    padding-left: 28px;
    padding-right: 8px;
}

#slider .item h1 {
    margin-top: 6px;
    font-size: 26px;
    line-height: 1.15;
    color: #374151;
}

#slider .item h1 span {
    color: #4d438c;
}

#slider .item h2 {
    font-size: 17px;
    margin: 5px 0 8px;
    line-height: 1.25;
    color: #1f2937;
    font-weight: 700;
}

#slider .item p {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.45;
    color: #374151;
    font-weight: 400;
}

#slider .slide-copy {
    width: 52%;
    padding-right: 12px;
}

#slider .slide-image {
    max-height: 175px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

#slider .get {
    margin-top: 4px;
    margin-bottom: 6px;
    padding: 7px 18px;
    font-size: 14px;
}

#slider .control-carousel {
    font-size: 32px;
    top: 36%;
}

#slider .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
}

.carousel-indicators li {
    background: #c4c4be;
}

.carousel-indicators li.active {
    background: #4d438c;
}

.carousel-inner > .item {
    padding-left: 100px;
    overflow: hidden;
}

.carousel-inner > .item:after {
    content: "";
    display: table;
    clear: both;
}

.slide-copy {
    width: 50%;
    float: left;
    padding-right: 15px;
}

.slide-image {
    width: 50%;
    float: left;
    max-width: 100%;
    height: auto;
}

.item h1,
.home-copy h1 {
    color: #b4b1ab;
    font-family: Abel, sans-serif;
    font-size: 48px;
    margin-top: 115px;
}

.home-copy h1 {
    margin-top: 0;
}

.item h1 span,
.home-copy h1 span {
    color: #4d438c;
}

.item h2,
.home-copy h2 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0 22px;
}

.item p,
.home-copy p {
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.6;
}

.get {
    display: inline-block;
    background: rgba(77, 67, 140, 0.72);
    border: 2px solid rgba(77, 67, 140, 0.45);
    border-radius: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    margin-top: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(77, 67, 140, 0.14);
}

.get:hover,
.get:focus {
    background: rgba(77, 67, 140, 0.88);
    border-color: rgba(61, 53, 112, 0.65);
    color: #fff;
}

a.btn.btn-default.get,
button.btn.btn-default.get {
    background: rgba(77, 67, 140, 0.72);
    border-color: rgba(77, 67, 140, 0.45);
    color: #fff;
    text-shadow: none;
}

a.btn.btn-default.get:hover,
a.btn.btn-default.get:focus,
button.btn.btn-default.get:hover,
button.btn.btn-default.get:focus {
    background: rgba(77, 67, 140, 0.88);
    border-color: rgba(61, 53, 112, 0.65);
    color: #fff;
}

.get--conversion,
a.btn.btn-default.get.get--conversion {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-color: #15803d;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.get--conversion:hover,
.get--conversion:focus,
a.btn.btn-default.get.get--conversion:hover,
a.btn.btn-default.get.get--conversion:focus {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    border-color: #166534;
    color: #fff;
}

.page-planes .get,
.page-planes a.btn.btn-default.get,
.page-planes button.btn.btn-default.get {
    background: #1f1a4d;
    border-color: #141038;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(20, 16, 56, 0.25);
}

.page-planes .get:hover,
.page-planes .get:focus,
.page-planes a.btn.btn-default.get:hover,
.page-planes a.btn.btn-default.get:focus,
.page-planes button.btn.btn-default.get:hover,
.page-planes button.btn.btn-default.get:focus {
    background: #141038;
    border-color: #0d0a28;
    color: #fff;
}

.control-carousel {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color: #c2c2c1;
    z-index: 5;
}

.control-carousel:hover {
    color: #4d438c;
}

.control-carousel.left {
    left: 0;
}

.control-carousel.right {
    right: 0;
}

/* Intro */

.home-intro {
    max-width: 1170px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.home-intro .home-copy h2 {
    font-size: 32px;
    color: #1f1d1b;
}

.home-intro .home-copy p {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: #2a2725;
    margin-bottom: 22px;
}

.home-intro .get {
    font-size: 18px;
    padding: 14px 34px;
    margin-bottom: 28px;
}

.home-aside img {
    max-width: 100%;
    height: auto;
}

/* Pie */

#footer {
    background: #faf8fe;
}

#footer h2 {
    margin-top: 0;
}

.footer-top {
    max-width: 1170px;
    margin: 0 auto;
    padding: 4px 15px 2px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px 12px;
    align-items: center;
}

.companyinfo {
    margin-top: 0;
}

.companyinfo h2 {
    color: #b4b1ab;
    font-family: Abel, sans-serif;
    font-size: 18px;
    line-height: 1;
    margin: 0 0 2px;
    text-transform: uppercase;
}

.companyinfo h2 span {
    color: #4d438c;
}

.companyinfo p {
    color: #b3b3ad;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-nav h2 {
    color: #666663;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 2px;
    text-transform: uppercase;
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.footer-nav a {
    display: block;
    color: #8c8c88;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.2;
    padding: 0;
    text-decoration: underline;
}

.footer-nav a:hover {
    background: none;
    color: #4d438c;
}

.address {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    max-height: 42px;
}

.address img {
    width: 100%;
    height: 42px;
    object-fit: contain;
    object-position: center;
    opacity: 0.85;
}

.address p {
    color: #666663;
    font-size: 11px;
    font-weight: 300;
    left: 0;
    right: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.footer-bottom {
    background: #e9dcfc;
    padding: 2px 15px;
    max-width: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
}

.footer-bottom p {
    color: #363432;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.3;
    margin: 0 15px;
}

.footer-bottom span a {
    color: #4d438c;
    font-style: italic;
    text-decoration: underline;
}

/* Cookies */

.aviso-cookies {
    display: none;
    background: #fff;
    padding: 8px 20px 20px;
    width: calc(100% - 40px);
    max-width: 600px;
    line-height: 1.5;
    border-radius: 20px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100002;
    box-shadow: 0 2px 20px 10px rgba(222, 222, 222, 0.25);
    text-align: center;
    pointer-events: auto;
}

.aviso-cookies.activo {
    display: block;
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
    margin-bottom: 15px;
}

.aviso-cookies .boton {
    width: 100%;
    background: #4d438c;
    border: none;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease all;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.aviso-cookies .boton:hover {
    background: #b9b3db;
}

.aviso-cookies .enlace {
    color: #4dbfff;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.aviso-cookies .enlaces-legales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin: 0;
}

.aviso-cookies .enlace:hover,
.aviso-cookies .enlace:focus {
    color: #4d438c;
    text-decoration: underline;
}

.fondo-aviso-cookies {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    z-index: 100000;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
}

.fondo-aviso-cookies.activo {
    display: block;
}

/* Páginas legales */

.legal-content {
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 20px 15px;
}

.legal-content h1 {
    color: #4d438c;
    font-family: Abel, 'Roboto', sans-serif;
    font-size: 32px;
    margin: 0 0 24px;
}

.legal-content h3 {
    color: #363432;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
}

.legal-content p {
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content ol[type="a"] {
    list-style: lower-alpha;
}

.legal-content li {
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-content a {
    color: #4d438c;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .resaltar {
    font-weight: 700;
}

.legal-back {
    display: inline-block;
    margin-bottom: 20px;
    color: #4d438c;
}

/* Páginas interiores */

.page-content {
    max-width: 1170px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.page-content h1,
.page-layout .home-copy h1 {
    color: #b4b1ab;
    font-family: Abel, sans-serif;
    font-size: 36px;
    margin: 20px 0 16px;
}

.page-content h1 span,
.page-layout .home-copy h1 span {
    color: #4d438c;
}

.page-content h2,
.page-layout .home-copy h2 {
    color: #111827;
    font-size: 25px;
    font-weight: 700;
    margin: 24px 0 16px;
}

.page-content p,
.page-layout .home-copy p {
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
}

.trial-page > p:first-of-type,
.trial-page .page-content > p:first-of-type {
    font-size: 18px;
    font-weight: 400;
}

.trial-page ul {
    list-style: none;
    margin: 8px 0 28px;
    padding: 0;
}

.trial-page ul li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 12px;
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}

.trial-page ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #4d438c;
    font-weight: 700;
}

.trial-page-cta {
    margin-top: 8px;
}

.page-content img,
.page-layout .home-copy img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
}

.page-layout {
    max-width: 1170px;
    margin: 0 auto 40px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    align-items: start;
}

.page-layout .home-aside img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.comunidades-alerta {
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #f59e0b;
    border-left-width: 5px;
    border-radius: 12px;
    padding: 20px 22px 18px;
    margin-bottom: 32px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.comunidades-alerta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.comunidades-alerta__titulo {
    color: #92400e;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.35;
}

.comunidades-alerta p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.comunidades-alerta p:last-child {
    margin-bottom: 0;
}

.comunidades-cierre__nota {
    font-size: 15px;
    font-weight: 600;
    color: #4d438c;
    margin: 14px 0 0;
}

/* Cómo trabajamos */
.comotrabajamos-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 8px;
}

.comotrabajamos-hero__intro.empresas-intro {
    margin-bottom: 0;
}

.comotrabajamos-guia-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #ffffff 0%, #f3f0fb 45%, #ebe6f8 100%);
    border: 2px solid #4d438c;
    border-radius: 16px;
    padding: 24px 22px 22px;
    box-shadow:
        0 10px 32px rgba(77, 67, 140, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.comotrabajamos-guia-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4d438c 0%, #7c6fd4 50%, #16a34a 100%);
}

.comotrabajamos-guia-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 67, 140, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.comotrabajamos-guia-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.comotrabajamos-guia-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, #5b4fa3 0%, #4d438c 100%);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 6px 16px rgba(77, 67, 140, 0.35);
}

.comotrabajamos-guia-card__icon .fa,
.comotrabajamos-caja-garantia__icon .fa {
    color: #fff;
}

.comotrabajamos-guia-card__badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #c9bfdc;
    color: #4d438c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comotrabajamos-guia-card__titulo {
    color: #4d438c;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.comotrabajamos-guia-card__texto {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 18px;
}

.comotrabajamos-guia-card__accion {
    margin: 0;
}

.comotrabajamos-guia-card__accion .btn.get {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(77, 67, 140, 0.25);
}

.comotrabajamos-guia-card__pendiente {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed #c9bfdc;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    line-height: 1.45;
}

.comotrabajamos-transparencia {
    margin: 8px 0 0;
    font-size: 17px;
    font-weight: 600;
    color: #4d438c;
    line-height: 1.45;
}

.comotrabajamos-pasos {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    counter-reset: paso;
}

.comotrabajamos-paso {
    background: #fff;
    border: 1px solid #e4ddf5;
    border-radius: 12px;
    padding: 18px 14px 16px;
    box-shadow: 0 3px 12px rgba(77, 67, 140, 0.07);
    position: relative;
}

.comotrabajamos-paso__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4d438c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.comotrabajamos-paso__titulo {
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.comotrabajamos-paso__texto {
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.comotrabajamos-caja-garantia {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-left-width: 5px;
    border-radius: 12px;
    padding: 16px 18px;
}

.comotrabajamos-caja-garantia__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 18px;
}

.comotrabajamos-caja-garantia p {
    margin: 0;
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.comotrabajamos-page h1,
.comotrabajamos-page h1 span {
    color: inherit;
}

.comotrabajamos-page h1 span {
    color: #4d438c;
}

.comotrabajamos-page h1 {
    color: #374151;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.empresas-page .empresas-hero-img {
    width: 100%;
    max-width: 880px;
    max-height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
    display: block;
}

.comunidades-page .comunidades-hero {
    width: 100%;
    max-width: 880px;
    height: clamp(260px, 38vw, 340px);
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 4px 16px rgba(77, 67, 140, 0.08);
}

.comunidades-page .comunidades-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.empresas-intro {
    margin-bottom: 28px;
}

.empresas-page h1 span,
.comunidades-page h1 span {
    color: #4d438c;
}

.empresas-page h1,
.comunidades-page h1 {
    color: #374151;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.empresas-intro__lead {
    color: #1f2937;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 920px;
}

.empresas-badges {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.empresas-badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f0fb;
    border: 1px solid #e4ddf5;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.empresas-badges .fa-check {
    color: #16a34a;
}

.empresas-destacados {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.empresas-destacado {
    background: #fff;
    border: 1px solid #c9bfdc;
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 3px 12px rgba(77, 67, 140, 0.08);
}

.empresas-destacado__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4d438c;
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

.empresas-destacado__icon .fa {
    color: #fff;
}

.empresas-destacado--contratas .empresas-destacado__icon {
    background: #16a34a;
}

.empresas-destacado--validacion .empresas-destacado__icon {
    background: #4d438c;
}

.empresas-destacado--qr .empresas-destacado__icon {
    background: #0284c7;
}

.empresas-destacado__titulo {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.empresas-destacado__texto {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.empresas-seccion {
    margin-bottom: 40px;
}

.empresas-seccion__titulo {
    color: #4d438c;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.25;
}

.empresas-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: start;
}

.empresas-col-texto p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.empresas-col__titulo {
    color: #4d438c;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.35;
}

.empresas-normativa-card {
    background: linear-gradient(145deg, #faf8fe 0%, #f3f0fb 100%);
    border: 1px solid #e4ddf5;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 4px 14px rgba(77, 67, 140, 0.1);
}

.empresas-normativa-card__titulo {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.empresas-normativa-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.empresas-normativa-list li {
    position: relative;
    padding-left: 1.25em;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.empresas-normativa-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4d438c;
    font-weight: 700;
}

.empresas-cta {
    margin: 0;
}

.empresas-cta--final {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.empresas-cta-sec {
    background: rgba(77, 67, 140, 0.15);
    border-color: rgba(77, 67, 140, 0.45);
    color: #4d438c;
}

.empresas-cta-sec:hover,
.empresas-cta-sec:focus {
    background: rgba(77, 67, 140, 0.28);
    color: #3a3270;
}

.empresas-func-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.empresas-func-card {
    background: #fff;
    border: 1px solid #e8e4f4;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 3px 12px rgba(77, 67, 140, 0.07);
}

.empresas-func-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(77, 67, 140, 0.14);
    border: 1px solid rgba(77, 67, 140, 0.22);
    color: #3d3570;
    font-size: 20px;
    margin-bottom: 12px;
}

.empresas-func-card__icon .fa {
    color: #3d3570;
}

.empresas-func-card__titulo {
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.empresas-func-card__texto {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.empresas-ventajas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.empresas-ventaja {
    border-left: 4px solid #4d438c;
    padding: 4px 0 4px 16px;
}

.empresas-ventaja__titulo {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.empresas-ventaja__texto {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.empresas-faq-list {
    display: grid;
    gap: 10px;
}

.empresas-faq-item {
    border: 1px solid #e4ddf5;
    border-radius: 10px;
    background: #faf8fe;
    padding: 0 16px;
}

.empresas-faq-item summary {
    cursor: pointer;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}

.empresas-faq-item summary::-webkit-details-marker {
    display: none;
}

.empresas-faq-item summary::after {
    content: "+";
    float: right;
    color: #4d438c;
    font-weight: 700;
}

.empresas-faq-item[open] summary::after {
    content: "−";
}

.empresas-faq-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 14px;
    padding-top: 2px;
}

/* Texto descriptivo en tarjetas y FAQ (Empresas / Comunidades) */
.empresas-page .empresas-func-card__texto,
.empresas-page .empresas-ventaja__texto,
.empresas-page .empresas-faq-item p,
.empresas-page .empresas-destacado__texto,
.empresas-page .empresas-col-texto p,
.empresas-page .empresas-normativa-list li,
.comunidades-page .comunidades-alerta p,
.comotrabajamos-page .comotrabajamos-paso__texto,
.comotrabajamos-page .empresas-func-card__texto,
.comotrabajamos-page .comotrabajamos-guia-card__texto {
    color: #374151;
    font-weight: 500;
}

.empresas-cierre {
    text-align: center;
    background: linear-gradient(145deg, #faf8fe 0%, #ebe6f8 100%);
    border: 1px solid #e4ddf5;
    border-radius: 14px;
    padding: 32px 24px;
    margin-bottom: 8px;
}

.empresas-cierre__titulo {
    color: #4d438c;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
}

.empresas-cierre__sub {
    color: #1f2937;
    font-size: 17px;
    margin: 0 0 20px;
}

.empresas-cierre .empresas-cta--final {
    justify-content: center;
}

@media (max-width: 991px) {
    .empresas-destacados,
    .empresas-grid,
    .empresas-func-grid,
    .comotrabajamos-hero,
    .comotrabajamos-pasos {
        grid-template-columns: 1fr;
    }

    .empresas-page h1,
    .comunidades-page h1,
    .comotrabajamos-page h1 {
        font-size: 26px;
    }
}

.mision-empresa-page {
    max-width: 1170px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.mision-empresa-inner {
    width: 100%;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 8px;
}

.mision-vision-card {
    background: linear-gradient(145deg, #faf8fe 0%, #f3f0fb 100%);
    border: 1px solid #e4ddf5;
    border-radius: 12px;
    padding: 22px 20px 20px;
    box-shadow: 0 4px 14px rgba(77, 67, 140, 0.08);
}

.mision-empresa-page .mision-seccion-titulo {
    color: #4d438c;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 14px;
}

.mision-empresa-page .mision-seccion-titulo--valores {
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 26px;
}

.mision-empresa-page .mision-texto-lead p {
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    margin: 0;
}

.valores-grid {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.valor-card {
    background: linear-gradient(145deg, #faf8fe 0%, #f3f0fb 100%);
    border: 1px solid #e4ddf5;
    border-radius: 12px;
    padding: 20px 18px 18px;
    box-shadow: 0 4px 14px rgba(77, 67, 140, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.valor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(77, 67, 140, 0.12);
}

.valor-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(77, 67, 140, 0.14);
    border: 1px solid rgba(77, 67, 140, 0.22);
    color: #3d3570;
    font-size: 22px;
    margin-bottom: 12px;
}

.valor-card__icon .fa {
    color: #3d3570;
}

.valor-card__titulo {
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.valor-card__texto {
    color: #1f2937;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .mision-vision-grid,
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

.video-list {
    display: grid;
    gap: 32px;
}

.video-list iframe {
    max-width: 100%;
    width: 560px;
    height: 315px;
    border: 0;
}

.demo-page .title {
    text-align: center;
    margin-bottom: 32px;
}

.demo-manuals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 712px;
    margin: 0 auto 22px;
    align-items: stretch;
}

.demo-manual-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    background: linear-gradient(155deg, #ffffff 0%, #f3f0fb 45%, #ebe6f8 100%);
    border: 2px solid #4d438c;
    border-radius: 12px;
    padding: 14px 14px 12px;
    box-shadow: 0 6px 18px rgba(77, 67, 140, 0.12);
}

.demo-manual-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4d438c 0%, #7c6fd4 50%, #16a34a 100%);
}

.demo-manual-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.demo-manual-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, #5b4fa3 0%, #4d438c 100%);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(77, 67, 140, 0.28);
}

.demo-manual-card__icon .fa {
    color: #fff;
}

.demo-manual-card__badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #c9bfdc;
    color: #4d438c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.demo-manual-card__titulo {
    color: #4d438c;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.3;
}

.demo-manual-card__texto {
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
    flex: 1;
}

.demo-manual-card__accion {
    margin: 0;
    margin-top: auto;
}

.demo-manual-card__accion .btn.get {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

.demo-manual-card__pendiente {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed #c9bfdc;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.demo-page__empty {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 24px;
}

@media (max-width: 640px) {
    .demo-manuals {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
}

.demo-youtube {
    max-width: 820px;
    margin: 0 auto 28px;
}

.demo-youtube__titulo {
    text-align: center;
    color: #4d438c;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
}

.demo-youtube-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-youtube-item {
    background: #fff;
    border: 1px solid #e8e4f4;
    border-radius: 12px;
    padding: 14px 14px 12px;
    box-shadow: 0 3px 12px rgba(77, 67, 140, 0.06);
}

.demo-youtube-item__titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
}

.demo-youtube-item__player {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e4ddf5;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.demo-youtube-item__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.demo-youtube-item__enlace {
    margin: 10px 0 0;
    text-align: center;
    font-size: 14px;
}

.demo-youtube-item__enlace a {
    color: #4d438c;
    font-weight: 600;
}

.demo-youtube-item__enlace a:hover,
.demo-youtube-item__enlace a:focus {
    color: #3a3270;
    text-decoration: underline;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.demo-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.demo-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    border-radius: 8px;
}

.demo-card h2 {
    color: #4d438c;
    font-size: 16px;
    font-weight: 700;
    margin: 12px 4px 4px;
}

.plan-group {
    margin-bottom: 40px;
}

.plan-group > h1 {
    font-size: 28px;
    text-align: center;
}

.planes-intro {
    text-align: center;
    color: #696763;
    margin: 0 auto 32px;
    max-width: 640px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-card {
    background: #f2f2f2;
    border-radius: 20px;
    padding: 16px 18px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-card:hover {
    box-shadow: 0 8px 24px rgba(77, 67, 140, 0.15);
    transform: translateY(-4px);
}

.plan-badge-wrap {
    min-height: 42px;
    margin: 0 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
}

.plan-badge i {
    font-size: 14px;
}

.plan-badge-destacado {
    color: #f5a623;
    text-shadow: 0 1px 0 rgba(180, 90, 0, 0.25);
}

.plan-badge-destacado i {
    margin: 0 1px;
    font-size: 16px;
}

.plan-badge-oferta {
    background: #e74c3c;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.12);
}

.plan-badge-nuevo {
    background: #c0392b;
    padding: 5px 12px;
    border-radius: 3px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.plan-badge-recomendado {
    background: #4d438c;
    padding: 5px 10px;
    border-radius: 12px;
}

.plan-badge-popular {
    background: #d4a017;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
}

.plan-badge-no-disponible {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 55%, #b45309 100%);
    padding: 9px 14px;
    border-radius: 6px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-align: center;
    gap: 7px;
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.45), 1px 2px 0 rgba(0, 0, 0, 0.12);
    text-shadow: 0 1px 0 rgba(120, 53, 15, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.plan-badge-no-disponible i {
    font-size: 16px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.15));
}

.plan-badge-no-disponible__text {
    display: inline-block;
    max-width: 11em;
}

.plan-badge-none {
    color: #999;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.page-content .plan-card h2.plan-nombre {
    font-size: 22px;
    font-weight: 700;
    color: #4d438c;
    margin: 0 0 8px;
    min-height: 0;
    line-height: 1.2;
    text-transform: none;
}

.page-content .plan-card p {
    margin-bottom: 0;
}

.page-content .plan-card .plan-price {
    background: #fff;
    border-radius: 8px;
    color: #4d438c;
    margin: 0 0 4px;
    padding: 8px 10px;
}

.plan-importe {
    display: block;
    color: #4d438c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.plan-suscripcion {
    display: block;
    color: #4d438c;
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
    text-transform: lowercase;
}

.page-content .plan-card .plan-mensual {
    color: #696763;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.plan-feats {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    text-align: left;
    flex: 1 1 auto;
}

.plan-feats li {
    color: #363432;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.25;
}

.plan-card .fa-check {
    color: #2e8b57;
    margin-right: 8px;
}

.plan-card .fa-times {
    color: #c0392b;
    margin-right: 8px;
}

.plan-cta,
.page-content .plan-card .plan-cta {
    align-self: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 12px 26px;
    font-size: 16px;
}

.plan-divider {
    display: block;
    width: 100%;
    height: 8px;
    margin: 30px 0;
    background: url('../images/home/bg_border.png') repeat-x center;
}

.blog-article article {
    margin-bottom: 48px;
}

.blog-article h3 {
    color: #696763;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 17px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.blog-meta li {
    background: #faf8fe;
    font-size: 11px;
    color: #393b3b;
    padding: 0 5px 0 0;
}

.blog-meta li i {
    background: #4d438c;
    color: #fff;
    margin-right: 7px;
    padding: 4px 7px;
}

.contact-form h2,
.contact-box h2,
h2.title {
    color: #4d438c;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.contact-form form {
    display: grid;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    color: #696763;
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 4px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.contact-form .btn-primary {
    background: #1f1a4d;
    border: 2px solid #141038;
    border-radius: 4px;
    padding: 12px 28px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus {
    background: #141038;
    color: #fff;
}

.contact-box address p {
    margin-bottom: 8px;
    color: #696763;
}

/* Responsive */

@media (max-width: 991px) {
    .carousel-inner > .item {
        padding-left: 30px;
    }

    #slider .carousel-inner > .item {
        padding-left: 16px;
    }

    #slider .item h1 {
        font-size: 22px;
        margin-top: 8px;
    }

    #slider .item h2 {
        font-size: 15px;
    }

    #slider .slide-image {
        max-height: 140px;
    }

    .item h1,
    .home-copy h1 {
        font-size: 36px;
        margin-top: 40px;
    }

    .item h2,
    .home-copy h2 {
        font-size: 24px;
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .header-brand {
        gap: 12px 16px;
    }

    .header-trial-cta {
        position: static;
        transform: none;
        padding: 8px 14px 8px 8px;
        gap: 10px;
    }

    .header-trial-cta:hover,
    .header-trial-cta:focus {
        transform: translateY(-2px);
    }

    .header-trial-cta__icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .header-trial-cta__label {
        font-size: 14px;
    }

    .header-trial-cta__hint {
        font-size: 11px;
    }

    .logo img {
        max-height: 52px;
    }

    .carousel-inner > .item {
        padding-left: 0;
    }

    #slider .slide-image {
        max-height: 120px;
        max-width: 100%;
    }

    .slide-copy,
    .slide-image {
        width: 100%;
        float: none;
    }

    #slider .slide-copy,
    #slider .slide-image {
        width: 100%;
        max-width: 100%;
    }

    .home-intro,
    .page-layout,
    .plan-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .nav.navbar-nav > li:hover > ul.sub-menu {
        animation: none;
    }

    ul.sub-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
    }

    .navbar-nav li ul.sub-menu li a {
        color: #374151;
    }

    .mainmenu ul li a {
        color: #1f2937;
    }

    .item h1,
    .home-copy h1 {
        margin-top: 20px;
        font-size: 28px;
    }

    body {
        font-size: 18px;
        color: #111827;
    }

    .page-content p,
    .page-layout .home-copy p,
    .item p,
    .home-copy p,
    .home-intro .home-copy p,
    .page-content li,
    .page-layout .home-copy li {
        color: #111827;
        font-size: 18px;
        line-height: 1.65;
    }

    .page-content h2,
    .page-layout .home-copy h2 {
        font-size: 22px;
    }

    .mainmenu ul li a {
        font-size: 18px;
        padding-bottom: 12px;
    }

    #slider .item p {
        font-size: 16px;
    }

    #slider .item h2 {
        font-size: 17px;
    }

    .empresas-intro__lead {
        font-size: 18px;
    }

    .empresas-badges li {
        font-size: 15px;
    }

    .empresas-destacado__texto,
    .empresas-col-texto p,
    .empresas-func-card__texto,
    .empresas-ventaja__texto,
    .empresas-faq-item p,
    .empresas-normativa-list li,
    .comunidades-page .comunidades-alerta p,
    .comotrabajamos-page .comotrabajamos-paso__texto,
    .comotrabajamos-page .empresas-func-card__texto,
    .comotrabajamos-caja-garantia p,
    .empresas-intro__lead,
    .empresas-badges li,
    .valor-card__texto,
    .mision-empresa-page .mision-texto-lead p,
    #slider .item p {
        color: #1f2937;
        font-weight: 500;
        font-size: 17px;
        line-height: 1.65;
    }

    .empresas-page .empresas-faq-item p {
        color: #111827;
    }

    .empresas-destacado__titulo {
        font-size: 17px;
    }

    .empresas-destacado__texto {
        font-size: 15px;
    }

    .trial-page ul li {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Index — landing de captación */
.index-landing {
    max-width: 1170px;
    margin: 0 auto 48px;
    padding: 0 15px;
}

.index-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    padding: 28px 0 36px;
}

.index-hero__h1 {
    color: #374151;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
}

.index-hero__lead {
    color: #1f2937;
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.index-hero__bullets {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.index-hero__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.index-hero__bullets .fa-check {
    color: #16a34a;
    margin-top: 3px;
}

.index-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin: 0;
}

.index-hero__cta .get {
    margin: 0;
}

.index-hero__cta-sec {
    background: rgba(77, 67, 140, 0.15) !important;
    border-color: rgba(77, 67, 140, 0.5) !important;
    color: #4d438c !important;
    box-shadow: none !important;
}

.index-hero__visual img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(77, 67, 140, 0.15);
}

.index-metricas {
    background: linear-gradient(90deg, #4d438c 0%, #5b4fa3 50%, #4d438c 100%);
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 40px;
}

.index-metricas__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.index-metrica {
    text-align: center;
    color: #fff;
    padding: 4px 8px;
}

.index-metrica__valor {
    display: block;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.index-metrica__texto {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.index-seccion {
    margin-bottom: 44px;
}

.index-seccion__titulo {
    color: #4d438c;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 22px;
    line-height: 1.25;
}

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

.index-perfiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.index-perfil-card {
    background: #fff;
    border: 1px solid #e4ddf5;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 4px 16px rgba(77, 67, 140, 0.08);
    display: flex;
    flex-direction: column;
}

.index-perfil-card__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(77, 67, 140, 0.14);
    border: 1px solid rgba(77, 67, 140, 0.22);
    color: #3d3570;
    font-size: 20px;
    margin-bottom: 12px;
}

.index-perfil-card__icon .fa {
    color: #3d3570;
}

.index-perfil-card__titulo {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.index-perfil-card__texto {
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.index-perfil-card__enlace {
    color: #4d438c;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.index-perfil-card__enlace:hover,
.index-perfil-card__enlace:focus {
    color: #3a3270;
    text-decoration: underline;
}

.index-video__sub {
    text-align: center;
    color: #374151;
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.index-video__player {
    max-width: 820px;
    margin: 0 auto 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e4ddf5;
    box-shadow: 0 8px 28px rgba(77, 67, 140, 0.12);
    aspect-ratio: 16 / 9;
    background: #111827;
}

.index-video__player iframe,
.index-video__player .index-video__html5 {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

.index-video__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(145deg, #faf8fe 0%, #ebe6f8 100%);
    text-decoration: none;
    color: #4d438c;
}

.index-video__play {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #4d438c;
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(77, 67, 140, 0.35);
}

.index-video__placeholder-text {
    font-size: 17px;
    font-weight: 700;
}

.index-video__leyenda {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    margin: 22px 0 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.index-video__leyenda-strong {
    color: #374151;
    font-weight: 700;
}

.index-funciones {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.index-funcion-card {
    border: 1px solid #e8e4f4;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(77, 67, 140, 0.06);
}

.index-funcion-card__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(77, 67, 140, 0.14);
    border: 1px solid rgba(77, 67, 140, 0.22);
    color: #3d3570;
    font-size: 18px;
    margin-bottom: 10px;
}

.index-funcion-card__icon .fa {
    color: #3d3570;
}

.index-funcion-card__titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
}

.index-funcion-card__texto {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.index-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.index-paso {
    background: #faf8fe;
    border: 1px solid #e4ddf5;
    border-radius: 12px;
    padding: 16px 14px;
}

.index-paso__num {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #4d438c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.index-paso__titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
}

.index-paso__texto {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.index-cierre {
    text-align: center;
    background: linear-gradient(145deg, #faf8fe 0%, #ebe6f8 100%);
    border: 2px solid #c9bfdc;
    border-radius: 16px;
    padding: 36px 28px;
}

.index-cierre__titulo {
    color: #4d438c;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
}

.index-cierre__sub {
    color: #374151;
    font-size: 17px;
    margin: 0 0 20px;
}

.index-cierre__cta {
    margin: 0;
}

.index-cierre__cta .get {
    margin: 0;
}

@media (max-width: 991px) {
    .index-hero,
    .index-perfiles,
    .index-funciones,
    .index-pasos,
    .index-metricas__list {
        grid-template-columns: 1fr 1fr;
    }

    .index-hero {
        grid-template-columns: 1fr;
    }

    .index-hero__h1 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .index-metricas__list,
    .index-perfiles,
    .index-funciones,
    .index-pasos {
        grid-template-columns: 1fr;
    }

    .index-hero__h1 {
        font-size: 26px;
    }

    .index-hero__lead,
    .index-hero__bullets li {
        font-size: 17px;
    }

    .index-metrica__texto {
        font-size: 15px;
        font-weight: 600;
    }
}
