/* =========================================================
   RESET GENERAL
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: 'Segoe UI', sans-serif;
    background-color: #f1f0f0;
    color: #403e3c;
    line-height: 1.6;
}

/* =========================================================
   VARIABLES
========================================================= */
:root {
    /* Colores generales */
    --accent-color: #f79600;
    --accent-color-alt: #F39200;
    --primary-dark: #000000;
    --primary-overlay: #90540096;
    --bg-light: #cacaca;
    --gray-light: #f1f0f0;
    --text-main: #403e3c;
    --white: #ffffff;
    --black: #000000;

    /* Footer */
    --footer-bg: #2b2b2b;
    --footer-bottom-bg: #1a1a1a;
    --footer-text: #f1f1f1;
    --footer-text-alt: #ccc;
    --footer-border: #444;

    /* Tipografía */
    --font-main: 'Segoe UI', sans-serif;
    --font-size-base: 14px;
    --font-size-heading: 16px;
    --font-size-footer-bottom: 13px;

    /* Tamaños */
    --header-height: 80px;
    --logo-max-height: 60px;
    --footer-logo-height: 80px;
    --footer-icon-size: 28px;
    --footer-padding: 40px 50px;
    --footer-gap-columns: 30px;
    --footer-gap-icons: 15px;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: var(--header-height);
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo,
.header-spacer {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo a img {
    height: 100%;
    width: auto;
    max-height: var(--logo-max-height);
    object-fit: contain;
}

.navbar {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.dropdown-item {
    position: relative;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    list-style: none;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    text-align: left;
    color: var(--primary-dark);
    transition: background 0.2s;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
}

/* =========================================================
   CONTENEDOR GENERAL
========================================================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

/* =========================================================
   INDEX
========================================================= */

.hero {
    padding: 180px 0 100px;
    text-align: center;
    background-image: url(../images/fondo-hero.jpg);
    background-size: cover;
    /* background: radial-gradient(circle at top right, rgba(247, 150, 0, 0.08), transparent 40%); */
}

.hero-tag {
    display: inline-block;
    background: rgba(247, 150, 0, 0.1);
    color: #f79600;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    background: #f79600;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 150, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a1d23;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.title-l {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1d23;
    margin-bottom: 10px;
}

.grid-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.step-image {
    position: relative;
    height: 250px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f79600;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
} */

.step-content {
    padding: 30px;
}

.section-group {
    background: #1a1d23;
    color: white;
    padding: 80px 0;
}

.accent-text {
    color: #f79600;
}

.group-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    height: 50px;
    filter: grayscale(1) invert(1);
    opacity: 0.7;
}

/* .hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    text-align: center;
    background: linear-gradient(135deg, #000000cc, #2b2b2bcc),
        url("../images/fondo-hero.jpg") center/cover no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, #f7960030, transparent 40%),
        radial-gradient(circle at 80% 70%, #f7960020, transparent 40%);
}

.hero-container {
    position: relative;
    max-width: 650px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--accent-color-alt);
} */



/* INDEX, SECCIÓN SOBRE NOSOTROS */
/* SECCIÓN */
.destacado-nosotros {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f4f6f9, #e9eef3);
}

/* CONTENEDOR */
.contenedor-destacado {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 60px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: 0.3s ease;
}

.contenedor-destacado:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

/* TEXTO */
.contenido-destacado {
    max-width: 700px;
}

.titulo-destacado {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.subtitulo-destacado {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* LISTA */
.lista-destacado {
    display: grid;
    gap: 12px;
}

.item-destacado {
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    color: var(--text-main);
}

.item-destacado::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* CTA SEPARADO (CLAVE PARA QUE NO SE MONTE) */
.cta-destacado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* BOTÓN */
.boton-principal {
    background-color: var(--accent-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    white-space: nowrap;
}

.boton-principal:hover {
    background-color: var(--accent-color-alt);
    transform: translateY(-2px);
}

/* TELÉFONO */
.telefono-destacado {
    font-size: 0.95rem;
    color: #666;
}



/* INDEX, KIOSCOS */
/* SECCIÓN CTA NEGRA */
.cta-kioscos {
    background: #0f1115;
    padding: 100px 20px;
    text-align: center;
}

/* CONTENEDOR */
.contenedor-cta {
    max-width: 900px;
    margin: 0 auto;
}

/* TÍTULO */
.titulo-cta {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 35px;
}

/* BOTÓN */
.boton-cta {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.boton-cta:hover {
    background: var(--accent-color-alt);
    transform: translateY(-3px);
}



/* FINAL INDEX */
/* SECCIÓN */
.bloque-valor {
    padding: 110px 20px;
    background: #f8fafc;
}

/* CONTENEDOR */
.contenedor-valor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* TEXTO */
.texto-valor h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.descripcion {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* BENEFICIOS */
.beneficios {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.beneficio {
    font-size: 1rem;
    color: var(--text-main);
    padding-left: 20px;
    position: relative;
}

.beneficio::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* CTA */
.cta-valor {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.boton-valor {
    background: var(--accent-color);
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
}

.boton-valor:hover {
    background: var(--accent-color-alt);
    transform: translateY(-2px);
}

.telefono {
    font-size: 0.95rem;
    color: #666;
}

/* IMAGEN */
.imagen-valor {
    position: relative;
}

.imagen-valor img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: 0.3s ease;
}

.imagen-valor img:hover {
    transform: scale(1.03);
}





/* =========================================================
   CARRUSEL
========================================================= */
.carousel-container-50-50 {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--gray-light);
    overflow: hidden;
}

.carousel-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 450px;
}

.carousel-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide-img {
    width: 25%;
    height: 100%;
}

.carousel-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background:
        radial-gradient(circle at 20% 30%, rgba(247, 150, 0, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(247, 150, 0, 0.1), transparent 40%),
        linear-gradient(135deg, #777272, #a8a3a3);
}

.text-inner {
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.text-inner:hover {
    transform: translateY(-5px);
}

.text-inner h2 {
    color: var(--black);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.text-inner p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* IMÁGENES ¿Por qué contar con un cajón de cobro en tu negocio? */
.alternating-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f6f1ea, #ffffff);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 70px;
    color: #1e1e1e;
    letter-spacing: 0.5px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #f79600;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* BLOQUE PRINCIPAL */
.info-row {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.info-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* IMAGEN */
.info-image {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.info-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.info-row:hover .info-image img {
    transform: scale(1.05);
}

.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.info-text h3 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    color: #f79600;
}

.info-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    max-width: 600px;
    text-wrap: pretty;
}



/* =========================================================
   SECCIÓN DE FILAS ALTERNAS (Z-PATTERN)
========================================================= */
.alternating-section {
    padding: 80px 5%;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.info-container {
    max-width: 1100px;
    margin: 0 auto;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.info-row:nth-child(even) {
    flex-direction: row-reverse;
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.info-text {
    flex: 1;
}

.info-text h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

/* CONTACTO */
.contacto {
    padding: 80px 5%;
    background-color: var(--gray-light);
    text-align: center;
    font-size: 18px;
    flex: 1;
}

.titulo-contacto {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

.titulo-contacto::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto 0;
}

/* LAYOUT PRINCIPAL */
.rejilla-contacto {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "form info"
        "form map";
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* ÁREAS */
.formulario-contacto {
    grid-area: form;
}

.info-contacto {
    grid-area: info;
}

.map-container {
    grid-area: map;
}

/* TARJETAS */
.info-contacto,
.formulario-contacto,
.map-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
}

/* INFO */
.info-contacto h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.info-contacto p {
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.6;
}

/* MAPA */
.map-container {
    padding: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: 0;
    display: block;
}

/* FORMULARIO */
.formulario-contacto form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campo label {
    font-weight: 600;
}

.obligatorio {
    color: red;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15.5px;
    outline: none;
    transition: 0.3s;
    resize: none;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(247, 150, 0, 0.3);
}

/* BOTÓN */
.formulario-contacto button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.formulario-contacto button:hover {
    background: var(--accent-color-alt);
}

/* HONEYPOT */
.honeypot {
    display: none;
}

.formulario-contacto button {
    margin-top: 35px;
}



/* FINAL DEL INDEX  */
/* SECCIÓN */
/* SECCIÓN GRUPO TWOBECOM */
.grupo-twobecom {
    padding: 60px 20px 90px 20px;
    /* menos espacio arriba */
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.contenedor-grupo {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* TÍTULO */
.titulo-grupo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* DESCRIPCIÓN */
.descripcion-grupo {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* BLOQUES */
.bloques-grupo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* TARJETAS */
.bloque {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.bloque:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* TÍTULO BLOQUE */
.bloque h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* TEXTO BLOQUE */
.bloque p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* TELÉFONO */
.telefono {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.8;
}



/* SOBRE NOSOTROS */
/* HERO */
.hero-nosotros {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    text-align: center;

    background:
        linear-gradient(135deg, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.35)),
        url("../images/kioscos_ingresadoras.png");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.hero-nosotros::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 150, 0, 0.25) 0%, transparent 65%);
    top: -220px;
    left: -180px;
    opacity: 0.25;
    animation: heroFloat 10s ease-in-out infinite;
}

.hero-nosotros::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(243, 146, 0, 0.2) 0%, transparent 70%);
    bottom: -180px;
    right: -140px;
    opacity: 0.18;
    animation: heroFloat 12s ease-in-out infinite reverse;
}

.contenido-hero {
    position: relative;
    max-width: 850px;
    padding: 35px 40px;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);

    animation: heroFadeUp 1s ease forwards;
    transition: 0.4s ease;
}

.contenido-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
}

.contenido-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;

    animation: heroTitle 1s ease forwards;
}

.frase {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 300;

    animation: heroText 1.2s ease forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(60px, 40px);
    }
}





/* SOBRE NOSOTROS acerca de */
.acerca-twobecom {
    padding: 200px 5% 80px;
    background: #f5f5f5;
}

.contenedor-acerca {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

.texto-acerca {
    flex: 1;
}

.texto-acerca h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.texto-acerca p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.imagen-acerca {
    flex: 1;
}

.imagen-acerca img {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}




/* =========================
   SEPARADOR FRASE
========================= */
.separador-frase {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 90px 0;
    text-align: center;
}

.separador-frase::before,
.separador-frase::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15), transparent);
}

.separador-frase span {
    padding: 0 25px;
    font-size: 40px;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #fff;
}


/* =========================
   SECCIONES EMPRESA
========================= */

.seccion-empresa {
    padding: 110px 5%;
    background: #fff;
}

.seccion-empresa.invertida {
    background: #f7f7f7;
}

.contenedor-empresa {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* invertir orden */
.seccion-empresa.invertida .contenedor-empresa {
    direction: rtl;
}

.seccion-empresa.invertida .contenedor-empresa>* {
    direction: ltr;
}

/* TEXTO */
.texto-empresa h2 {
    font-size: 2.4rem;
    color: #111;
    margin-bottom: 10px;
}

.frase-empresa {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.6;
}

/* NUEVO: párrafos */
.texto-empresa p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
}

/* VALORES */
.valores-empresa {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/*  */
.seccion-empresa.invertida .valores-empresa {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.seccion-empresa.invertida .valores-empresa span {
    flex: 1;
    text-align: center;
}

.valores-empresa span {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.valores-empresa span:hover {
    transform: translateY(-3px);
    border-color: #f7a000;
}

/* IMAGEN */
.imagen-empresa {
    display: flex;
    justify-content: center;
}

.imagen-empresa img {
    width: 100%;
    max-width: 480px;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: 0.4s;
}

.imagen-empresa img:hover {
    transform: scale(1.03);
}

/* TEXTO LEGAL */
.form-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* BOTÓN */
.contacto-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.contacto-form button:hover {
    background: var(--accent-color-alt);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

/* -------------------------
   TABLETS GRANDES
------------------------- */
@media (max-width: 1024px) {

    .main-header {
        padding: 0 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .hero-btns {
        flex-wrap: wrap;
    }

    .contenedor-valor,
    .contenedor-acerca,
    .contenedor-empresa,
    .carousel-container-50-50 {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .rejilla-contacto {
        grid-template-columns: 1fr;
        grid-template-areas:
            "form"
            "info"
            "map";
    }

    .bloques-grupo {
        grid-template-columns: 1fr;
    }

    .info-row,
    .info-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .info-text p {
        max-width: 100%;
    }

    .carousel-text-content {
        padding: 40px 20px;
    }

    .text-inner {
        padding: 30px;
    }

    .step-image {
        height: 220px;
    }

    .imagen-acerca img,
    .imagen-empresa img {
        height: auto;
    }
}

/* -------------------------
   TABLETS
------------------------- */
@media (max-width: 768px) {

    /* HEADER */
    .main-header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .navbar {
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links a {
        font-size: 15px;
    }

    /* HERO */
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* TÍTULOS */
    .title-l,
    .titulo-destacado,
    .titulo-cta,
    .texto-valor h2,
    .section-title,
    .titulo-contacto,
    .titulo-grupo,
    .texto-acerca h2,
    .texto-empresa h2 {
        font-size: 2rem;
    }

    /* GRID */
    .grid-steps {
        grid-template-columns: 1fr;
    }

    /* CARDS */
    .contenedor-destacado,
    .text-inner,
    .info-row,
    .bloque,
    .info-contacto,
    .formulario-contacto {
        padding: 25px;
    }

    /* CARRUSEL */
    .carousel-visual {
        height: 300px;
    }

    .text-inner h2 {
        font-size: 1.6rem;
    }

    /* CONTACTO */
    .contacto {
        padding: 60px 20px;
    }

    /* CTA */
    .cta-destacado,
    .cta-valor {
        flex-direction: column;
        align-items: flex-start;
    }

    /* SEPARADOR */
    .separador-frase span {
        font-size: 26px;
        padding: 0 12px;
    }
}

/* -------------------------
   MÓVILES
------------------------- */
@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    .container {
        padding: 15px;
    }

    /* HEADER */
    .logo a img {
        max-height: 50px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    /* HERO */
    .hero {
        padding: 120px 15px 70px;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* BOTONES */
    .btn-primary,
    .btn-secondary,
    .boton-principal,
    .boton-cta,
    .boton-valor {
        width: 100%;
        text-align: center;
    }

    /* TEXTOS */
    .titulo-destacado,
    .titulo-cta,
    .texto-valor h2,
    .section-title,
    .titulo-contacto,
    .titulo-grupo,
    .texto-acerca h2,
    .texto-empresa h2 {
        font-size: 1.7rem;
    }

    .info-text h3 {
        font-size: 1.5rem;
    }

    .info-text p,
    .descripcion,
    .subtitulo-destacado,
    .frase,
    .frase-empresa {
        font-size: 1rem;
    }

    /* BLOQUES */
    .contenedor-destacado,
    .text-inner,
    .info-row,
    .bloque,
    .info-contacto,
    .formulario-contacto {
        padding: 20px;
    }

    /* IMÁGENES */
    .step-image {
        height: 180px;
    }

    .carousel-visual {
        height: 220px;
    }

    .info-image img {
        height: 220px;
    }

    /* FORMULARIOS */
    .formulario-contacto input,
    .formulario-contacto textarea {
        font-size: 14px;
    }

    /* MAPA */
    .map-container iframe {
        min-height: 220px;
    }

    /* SEPARADOR */
    .separador-frase {
        margin: 50px 0;
    }

    .separador-frase span {
        font-size: 20px;
        letter-spacing: 1px;
    }
}




/* CONTROL ACCESO */
.hero-acceso {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    text-align: center;
    background: linear-gradient(135deg, #000000cc, #2b2b2bcc), url(../images/hero-tech.jpg) center / cover no-repeat;
    color: white;
    overflow: hidden;
}

.contenido-hero-acceso {
    position: relative;
    max-width: 900px;
    text-align: center;
    padding: 30px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.4s ease;
}

.contenido-hero-acceso h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contenido-hero-acceso p {
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.7;
    font-weight: 300;
}

.contenido-hero-acceso:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}



.seccion-acceso {
    padding: 100px 5%;
    background: #f7f9fc;
}

.titulo-acceso {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 70px;
    position: relative;
}

.titulo-acceso::after {
    content: "";
    width: 90px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 18px auto 0;
    border-radius: 10px;
}

.contenedor-acceso {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card-acceso {
    text-decoration: none;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-acceso:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 25px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s ease;
}

.card-acceso:hover .card-img img {
    transform: scale(1.06);
}

.card-info {
    padding: 20px;
    text-align: center;
}

.card-info h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 0;
}


.beneficios-cajones {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.rejilla-beneficios {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tarjeta-beneficio {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.tarjeta-beneficio img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.tarjeta-beneficio p {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.lista-beneficios {
    list-style: none;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0;
}

.lista-beneficios li {
    position: relative;
    padding: 15px 20px 15px 50px;
    margin-bottom: 15px;
    background: var(--white);
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lista-beneficios li:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lista-beneficios li::before {
    content: "✔";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flotar {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 25px);
    }
}


/* KIOSCOS E INGRESADORAS */
/* ================================
   IMÁGENES EN FILA - BENEFICIOS
================================ */
.imagenes-fila {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.imagenes-fila a {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    text-decoration: none;
}

.imagenes-fila img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.imagenes-fila img:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}





/* cashlogy */
/* 
 */


.cashlogy {
    padding: 80px 5%;
    background-color: var(--gray-light);
}

.cashlogycontenido {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cashlogytexto {
    flex: 1;


}

.cashlogytitulo {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.cashlogydescripcion {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 15px;
}

.cashlogyimagen {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cashlogyimagen img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    object-fit: cover;
}


.botoncatalogo {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.botoncatalogo:hover {
    background-color: var(--accent-color-alt);
    transform: translateY(-2px);
}

.cashlogycta {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-main);
}



.cashlogydetalle,
.cashlogyporque,
.cashlogycaracteristicas {
    padding: 30px 5%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.cashlogydetalle h2,
.cashlogyporque h2,
.cashlogycaracteristicas h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
}

.cashlogydetalle h2::after,
.cashlogyporque h2::after,
.cashlogycaracteristicas h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    display: block;
    margin-top: 10px;
}

.cashlogydetalle p,
.cashlogyporque p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 15px;
}


.cashlogyporque ul,
.cashlogycaracteristicas ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.cashlogyporque li,
.cashlogycaracteristicas li {
    background: var(--white);
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.cashlogyporque li:hover,
.cashlogycaracteristicas li:hover {
    transform: translateX(5px);
    background: #eaeaea;
}



/* 
VNE 
 */

.cashlogygaleria {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.cashlogygaleria h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
    position: relative;
}

.cashlogygaleria h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    display: block;
    margin: 12px auto 0;
}

.galeria-imagenes {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.galeria-imagenes img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galeria-imagenes img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}





/* CASHDRO */

.modelos-cashdro {
    padding: 80px 5%;
}

.rejilla-modelos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-modelo {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-modelo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.tarjeta-modelo img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.tarjeta-modelo h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #111;
}

.tarjeta-modelo p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}



.tarjeta-modelo ul {
    padding: 0 20px 20px 30px;
}

.tarjeta-modelo li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}


/* =========================================================
   SECCIÓN INTRO CASHDRO
========================================================= */

.cashlogy {
    padding: 90px 5%;
    background: linear-gradient(135deg, #f1f0f0, #ffffff);
}

.cashlogycontenido {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* centrado si no hay imagen */
    gap: 50px;
}

.cashlogytexto {
    max-width: 700px;
    text-align: center;
}

/* TÍTULO */
.cashlogytitulo {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
}

.cashlogytitulo::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto 0;
}

/* TEXTO */
.cashlogydescripcion {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.9;
    margin-bottom: 18px;
}

/* EFECTO HOVER SUAVE (PRO) */
.cashlogytexto {
    padding: 40px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.cashlogytexto:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* SI LUEGO AÑADES IMAGEN */
.cashlogyimagen {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cashlogyimagen img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    object-fit: cover;
}



/* SOFTWARE TPV HOSTELERÍA */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-row.mini {
    padding: 20px;
    margin: 0;
    text-align: center;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.info-row.mini:hover {
    transform: translateY(-5px);
}

.info-row.mini h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.info-row.mini p {
    font-size: 0.9rem;
    color: var(--text-main);
}

.info-row.mini i {
    margin-right: 6px;
    color: var(--accent-color);
}




/* SOFTWARE EQUIPOS TPV */
/* ===== HERO ===== */
.tpv-hero-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* ===== MINI GRID ===== */
.tpv-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tpv-card-mini {
    background: #111;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.tpv-card-mini:hover {
    transform: translateY(-5px);
    background: #000;
}

/* ===== WRAPPER PRINCIPAL ===== */
.tpv-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

/* CARD más compacta y unida */
.tpv-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* alterna imagen/texto */
.tpv-card.reverse {
    flex-direction: row-reverse;
}

/* TEXTO */
.tpv-content {
    flex: 1;
}

.tpv-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #111;
}

.tpv-content h4 {
    margin-top: 20px;
    color: #444;
}

/* IMAGEN */
.tpv-media {
    flex: 1;
}

.tpv-media img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

/* ===== BUTTON ===== */
.tpv-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 18px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}


/* =========================
   WRAPPER GENERAL
========================= */
.tpv-wrapper {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 50px;
}

/* =========================
   TARJETA TPV
========================= */
.tpv-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;

    padding: 30px;
    border-radius: 16px;
    background: #fff;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tpv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Alterna posiciones */
.tpv-card.reverse {
    grid-template-columns: 1fr 1fr;
}

/* =========================
   CONTENIDO TEXTO
========================= */
.tpv-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 250px;
}

.tpv-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #111;
}

.tpv-content h4 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

.tpv-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* =========================
   IMAGEN
========================= */
.tpv-media {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tpv-media img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    object-fit: cover;
}

/* =========================
   BOTÓN
========================= */
.tpv-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;

    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;

    border-radius: 10px;
    font-weight: 600;

    transition: all 0.3s ease;
    width: fit-content;
}





/* =========================================================
   BLOG
========================================================= */

.blog {
    padding: 80px 5%;
    background: linear-gradient(135deg, #f1f0f0, #ffffff);
}

.blog-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-dark);
    position: relative;
}

.blog-title::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto 0;
}

/* GRID */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* TARJETA */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* IMAGEN */
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTENIDO */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* BOTÓN */
.blog-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 18px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.blog-btn:hover {
    background: var(--accent-color-alt);
}



/* =========================================================
   CASOS DE ÉXITO
========================================================= */
.casos-exito {
    padding: 90px 5%;
    background: linear-gradient(135deg, #f1f0f0, #ffffff);
}

.titulo-seccion {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 70px;
    color: var(--primary-dark);
    position: relative;
}

.titulo-seccion::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto 0;
}

.contenedor-casos {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.caso {
    display: flex;
    flex-direction: row;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: 0.3s ease;
    min-height: 520px;
}

.caso:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.caso-img {
    flex: 0 0 45%;
}

.caso-img img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.caso-texto {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.caso-texto h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.caso-datos {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.caso-datos li {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #555;
}

.caso-texto p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 10px;
}




/* =========================================================
   MÉTRICAS / NUESTROS NÚMEROS
========================================================= */

.metricas {
    background: rgba(0, 0, 0, 0.308);
    padding: 80px 5%;
    text-align: center;
}

.metricas h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

.metricas h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* GRID */
.metricas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

/* TARJETA */
.metrica {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.metrica:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.metrica h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.metrica p {
    font-size: 1rem;
    color: var(--text-main);
}

/* TEXTO EXTRA */
.metricas-extra {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* CTA */
.metricas-cta {
    margin-top: 30px;
}

.metricas-cta a {
    display: inline-block;
    padding: 12px 22px;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.metricas-cta a:hover {
    background: var(--accent-color-alt);
    transform: translateY(-2px);
}




/* FINAL CASOS ÉXITO */
.cta-casos {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #111, #333);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-casos h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-casos p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-casos a {
    display: inline-block;
    padding: 14px 28px;
    background: #f7a000;
    color: #111;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-casos a:hover {
    background: #ffb52e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 160, 0, 0.4);
}

.cta-casos {
    margin-bottom: 120px;
}


/* TERMINALES */
.modelos-cashdro {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--white);
}

.modelos-cashdro h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Texto introductorio */
.cashlogytexto {
    max-width: 900px;
    margin: 0 auto 50px;
}

.cashlogydescripcion {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* =========================================================
   TERMINALES (2 arriba + 3 abajo centradas)
========================================================= */
.rejilla-modelos {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Tarjetas */
.tarjeta-modelo {
    width: 320px;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .3s ease;
}

.tarjeta-modelo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.tarjeta-modelo img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tarjeta-modelo h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.tarjeta-modelo p {
    font-size: .95rem;
    line-height: 1.5;
    color: var(--text-main);
}




/* TORNOS */
/* =========================================================
   SECCIÓN TORNOS
========================================================= */
/* TORNOS */
/* =========================================================
   SECCIÓN TORNOS
========================================================= */
.torno {
    padding: 100px 6%;
    background: #f7f8fa;
    color: #1f2937;
}

/* =========================
   TÍTULOS CON FONDO TRANSPARENTE
========================= */

.torno h2 {
    text-align: center;
    font-size: 2.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #0f172a;
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.torno {
    text-align: center;
}

/* =========================
   INTRO
========================= */

.torno-intro {
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.torno-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 12px;
}

/* =========================
   BLOQUES (CARACTERÍSTICAS / APLICACIONES)
========================= */

.torno {
    padding: 100px 6%;
    background: #f7f8fa;
    color: #1f2937;
    text-align: center;
}

.torno h2 {
    display: inline-block;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #0f172a;
    padding: 16px 34px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.torno-intro {
    max-width: 950px;
    margin: 0 auto 60px auto;
}

.torno-intro p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #4b5563;
}

/* =========================
   BLOQUE PRINCIPAL
========================= */

.torno-bloques {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.img-tornos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-tornos img {
    width: 460px;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.bloque {
    width: 420px;
    min-height: 460px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bloque h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #111827;
    border-left: 5px solid #f79600;
    padding-left: 12px;
}

.bloque ul {
    padding-left: 22px;
    margin-bottom: 30px;
}

.bloque li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4b5563;
    font-size: 0.97rem;
}

/* =========================
   BOTONES
========================= */

.cta-tornos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 80px 0;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary {
    background: #f79600;
    color: white;
    box-shadow: 0 10px 25px rgba(247, 150, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    border: 2px solid #f79600;
    color: #f79600;
}

.btn-secondary:hover {
    background: #f79600;
    color: white;
}



.torno-texto {
    max-width: 1200px;
    margin: 0 auto 90px auto;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.torno-texto p {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    padding: 20px 26px;
    border-radius: 16px;
    line-height: 1.9;
    color: #4b5563;
    font-size: 1rem;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin: 0;
    border-left: 5px solid #f97316;
}

.torno-texto p:last-of-type {
    margin-bottom: 10px;
}

.torno-texto .btn-primary {
    display: inline-block;
    margin: 25px auto 0;
    padding: 18px 42px;
    border-radius: 14px;
    background: #f79600;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s ease;
    box-shadow: 0 12px 24px rgba(247, 150, 0, 0.25);
}

/* Contenedor centrado */
.torno-texto {
    text-align: center;
}

.torno-texto .btn-primary:hover {
    transform: translateY(-3px);
    background: #e28700;
}

/* =========================
   NALANDA
========================= */

.torno-nalanda {
    max-width: 950px;
    margin: 0 auto 50px auto;
}

.torno-nalanda p {
    line-height: 1.9;
    color: #4b5563;
    font-size: 1.05rem;
}

/* =========================
   IMÁGENES + TEXTO
========================= */

.torno-imgs {
    max-width: 1700px;
    margin: 50px auto 80px auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}

.torno-imgs img {
    width: 95%;
    max-width: 1800px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.torno-imgs p {
    width: 100%;
    background: white;
    padding: 26px;
    border-radius: 18px;
    line-height: 1.9;
    color: #4b5563;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

/* =========================
   FUNCIONAMIENTO
========================= */

.torno-funcionamiento {
    max-width: 950px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.torno-funcionamiento p {
    width: 100%;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 18px;
    font-size: 1rem;
}

.torno-funcionamiento p:first-child {
    font-size: 1.5rem;
    color: #111827;
    text-align: center;
    margin-bottom: 30px;
}


/* =========================
   BOTONES
========================= */

.cta-tornos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 60px 0;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.cta-btn.primary {
    background: #f97316;
    color: white;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.25);
}

.cta-btn.primary:hover {
    background: #ea580c;
}

.cta-btn.secondary {
    background: white;
    border: 2px solid #f97316;
    color: #f97316;
}

.cta-btn.secondary:hover {
    background: #f97316;
    color: white;
}

/* =========================
   IMAGEN PRINCIPAL
========================= */

.img-tornos {
    display: flex;
    justify-content: center;
    margin: 40px 0 60px 0;
}

.img-tornos img {
    width: 380px;
    max-width: 90%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

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

.torno-texto {
    max-width: 850px;
    margin: 0 auto 60px auto;
    text-align: left;

    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    justify-content: center;

    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(0, 0, 0, 0.03));
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.torno-texto img {
    width: 260px;
    flex: 0 0 260px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.torno-texto p {
    flex: 1;
    min-width: 280px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4b5563;
    font-size: 1rem;
}

.torno-texto a.btn-primary {
    flex: 0 0 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* =========================
   NALANDA
========================= */

.torno-nalanda {
    max-width: 850px;
    margin: 0 auto 40px auto;
}

.torno-nalanda p {
    line-height: 1.8;
    color: #4b5563;
}

/* =========================
   IMÁGENES SECUNDARIAS
========================= */

.torno-imgs {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.torno-imgs img {
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.torno-imgs p {
    background: white;
    padding: 20px;
    border-radius: 14px;
    line-height: 1.7;
    color: #4b5563;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    max-width: 850px;
    text-align: left;
}

/* =========================
   BOTÓN FINAL
========================= */

.torno-cta-final {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

/* =========================
   FUNCIONAMIENTO FINAL
========================= */

.torno-funcionamiento {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(249, 115, 22, 0.08));
    border: 1px solid rgba(249, 115, 22, 0.15);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 1.7;
}

.torno-funcionamiento p strong {
    font-size: 1.05rem;
    color: #0f172a;
}



/* =========================================================
   CONTENEDOR GENERAL
========================================================= */
.rejilla-modelos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* =========================================================
   FILAS (2 ARRIBA + 2 ABAJO CENTRADAS)
========================================================= */
.fila {
    display: flex;
    justify-content: center;
    /* centra las 2 tarjetas */
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    /* evita que se separen demasiado */
}

/* =========================================================
   TARJETAS
========================================================= */
.tarjeta-modelo {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

/* hover suave */
.tarjeta-modelo:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGEN */
.tarjeta-modelo img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* TITULOS */
.tarjeta-modelo h3 {
    margin-bottom: 10px;
}

/* TEXTO */
.tarjeta-modelo p {
    font-size: 0.95rem;
    line-height: 1.4;
}



/* =========================================================
   SECCIÓN PASILLOS
========================================================= */
.modelos-cashdro {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--white);
}

.modelos-cashdro h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* TEXTO INTRO */
.cashlogytexto {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.cashlogydescripcion {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* =========================================================
   GRID 2 + 2 CENTRADO
========================================================= */
.rejilla-modelos {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    align-items: start;
}

/* =========================================================
   TARJETAS
========================================================= */
.tarjeta-modelo {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-align: center;
}

.tarjeta-modelo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGEN */
.tarjeta-modelo img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* TEXTO */
.tarjeta-modelo h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.tarjeta-modelo p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* =========================================================
   CENTRADO VISUAL (2 arriba + 2 abajo)
========================================================= */
.rejilla-modelos {
    justify-items: center;
}




/* 
 */

.acceso-banner {
    width: 100%;
    padding: 100px 8%;
    margin-bottom: 120px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    color: #1a1a1a;
}

.acceso-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(247, 150, 0, 0.12), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(247, 150, 0, 0.08), transparent 60%);
    pointer-events: none;
}

.acceso-banner::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.acceso-banner-texto {
    max-width: 950px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 300;
    text-align: center;
    color: #333;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acceso-banner-texto:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   FOOTER
========================================================= */
.footer {
    width: 100%;
    bottom: 0;
    background-color: var(--bg-light);
    /* color: var(--black); */
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    border-top: 2px solid var(--accent-color);
}

.principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--footer-padding);
}

.footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo img {
    height: var(--footer-logo-height);
}

.footer-columns-right {
    display: flex;
    gap: var(--footer-gap-columns);
    align-items: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    position: relative;
    margin-bottom: 8px;
    font-size: var(--font-size-heading);
    font-weight: bold;
    color: var(--black);
}

.footer-column h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 5px;
    background-color: var(--accent-color);
}

.footer-column p,
.footer-column a {
    color: var(--black);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.iconos {
    display: flex;
    align-items: center;
    gap: var(--footer-gap-icons);
}

.social img {
    width: var(--footer-icon-size);
    height: var(--footer-icon-size);
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s, filter 0.3s;
}

.social img:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 3px var(--accent-color));
}

.footer-boton {
    text-align: center;
    padding: 10px 0;
    font-size: var(--font-size-footer-bottom);
    color: var(--footer-text-alt);
    background-color: var(--footer-bottom-bg);
    border-top: 1px solid var(--footer-border);
}

/* =========================================================
   POLÍTICA DE PRIVACIDAD
========================================================= */

.politica-container {
    padding: 50px;
    margin: auto;
}

.politica-container p {
    margin: 15px;
}

.politica-container ol {
    margin: 10px;
    list-style-position: inside;
}

/* =========================================================
   COOKIES
========================================================= */

/* El "velo" negro transparente */
.cookie-overlay {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Color negro con 50% transparencia */
    z-index: 9998;
    /* Justo debajo del banner */
    backdrop-filter: blur(2px);
    /* Opcional: difumina el fondo */
}

/* El banner inferior */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
}

button {
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
}

.btn-accept {
    background: #28a745;
    color: white;
}

.btn-reject {
    background: #dc3545;
    color: white;
}

/* =========================================================
   RESPONSIVE EXTRA
========================================================= */

/* =========================
   TABLETS
========================= */
@media (max-width: 1024px) {

    .contenedor-acceso,
    .blog-grid,
    .galeria-imagenes,
    .rejilla-modelos,
    .contenedor-casos,
    .metricas-grid,
    .tpv-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }

    .cashlogycontenido,
    .tpv-card,
    .tpv-card.reverse,
    .caso,
    .torno-bloques,
    .contenedor-acceso {
        flex-direction: column;
    }

    .tpv-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tpv-content {
        padding-left: 0;
        align-items: center;
    }

    .caso {
        min-height: auto;
    }

    .caso-img img {
        min-height: 300px;
    }

    .card-img {
        height: 350px;
    }

    .tarjeta-beneficio img {
        height: 300px;
    }

    .imagenes-fila img {
        height: 400px;
    }

    .img-tornos img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .bloque {
        width: 100%;
        min-height: auto;
    }

    .principal {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-columns-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-column {
        align-items: center;
    }
}

/* =========================
   TABLETS PEQUEÑAS
========================= */
@media (max-width: 768px) {

    .hero-acceso {
        padding: 80px 20px;
    }

    .contenido-hero-acceso {
        padding: 25px;
    }

    .contenido-hero-acceso h1 {
        font-size: 2.2rem;
    }

    .contenido-hero-acceso p {
        font-size: 1rem;
    }

    .titulo-acceso,
    .cashlogytitulo,
    .blog-title,
    .titulo-seccion,
    .metricas h2,
    .modelos-cashdro h2,
    .torno h2 {
        font-size: 2rem;
    }

    .contenedor-acceso,
    .blog-grid,
    .galeria-imagenes,
    .rejilla-modelos,
    .contenedor-casos,
    .metricas-grid,
    .mini-grid,
    .tpv-grid-mini,
    .rejilla-beneficios {
        grid-template-columns: 1fr;
    }

    .card-img {
        height: 300px;
    }

    .imagenes-fila {
        flex-direction: column;
        align-items: center;
    }

    .imagenes-fila img {
        height: 350px;
    }

    .cashlogytexto,
    .tpv-card,
    .caso-texto,
    .torno-texto,
    .torno-funcionamiento,
    .acceso-banner-texto {
        padding: 25px;
    }

    .cashlogydetalle,
    .cashlogyporque,
    .cashlogycaracteristicas {
        padding: 40px 20px;
    }

    .tpv-content h3 {
        font-size: 1.5rem;
    }

    .caso-texto h3 {
        font-size: 1.5rem;
    }

    .torno-texto {
        flex-direction: column;
        align-items: center;
    }

    .torno-texto img {
        width: 100%;
        max-width: 320px;
    }

    .cta-tornos,
    .torno-cta-final {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary,
    .cta-btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .acceso-banner {
        padding: 70px 20px;
    }

    .acceso-banner-texto {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .principal {
        padding: 40px 20px;
    }

    .footer-logo img {
        height: 65px;
    }
}

/* =========================
   MÓVILES
========================= */
@media (max-width: 480px) {

    body {
        overflow-x: hidden;
    }

    .hero-acceso {
        min-height: auto;
        padding: 70px 15px;
    }

    .contenido-hero-acceso h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .contenido-hero-acceso p {
        font-size: 0.95rem;
    }

    .titulo-acceso,
    .cashlogytitulo,
    .blog-title,
    .titulo-seccion,
    .metricas h2,
    .modelos-cashdro h2,
    .torno h2 {
        font-size: 1.6rem;
    }

    .card-img {
        height: 240px;
        padding: 15px;
    }

    .card-info h3 {
        font-size: 1.1rem;
    }

    .tarjeta-beneficio img,
    .imagenes-fila img,
    .blog-card img,
    .galeria-imagenes img {
        height: 220px;
    }

    .cashlogydescripcion,
    .cashlogydetalle p,
    .cashlogyporque p,
    .caso-texto p,
    .torno-texto p,
    .torno-funcionamiento p,
    .acceso-banner-texto {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .cashlogytexto,
    .tpv-card,
    .caso-texto,
    .torno-texto,
    .torno-funcionamiento,
    .acceso-banner-texto,
    .bloque {
        padding: 20px;
    }

    .tarjeta-modelo {
        width: 100%;
    }

    .tarjeta-modelo img {
        height: 180px;
    }

    .tpv-content h3,
    .caso-texto h3 {
        font-size: 1.3rem;
    }

    .metrica h3 {
        font-size: 1.6rem;
    }

    .metrica {
        padding: 20px;
    }

    .caso-img img {
        min-height: 220px;
    }

    .img-tornos img {
        max-width: 100%;
    }

    .torno-imgs img {
        width: 100%;
    }

    .footer-columns-right {
        flex-direction: column;
        gap: 25px;
    }

    .footer-column {
        text-align: center;
    }

    .iconos {
        justify-content: center;
    }

    .cookie-banner {
        padding: 15px;
    }

    .cookie-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    button {
        width: 100%;
        margin: 0;
    }
}

/* MENÚ DESPLEGABLE */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    user-select: none;

    color: #fff;
    background: #2b2b2b;

    padding: 8px 12px;
    border-radius: 10px;

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    transition: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
        z-index: 2000;
    }

    .navbar {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-light);

        max-height: 0;
        overflow: hidden;
        flex-direction: column;

        transition: max-height 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .navbar.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-header {
        position: relative;
    }
}