@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

*:not(i) {
  font-family: "Inter Tight", sans-serif !important;
  font-optical-sizing: auto !important;
  font-style: normal !important;
}

body {
    margin: 0;
}

html,
body {
    overflow-x: hidden;
}

.poppins {
    font-family: "Poppins", sans-serif !important;
}

p {
    letter-spacing: -1px !important;
}

html {
  scroll-behavior: smooth !important;
}


/* COLOR VARIABLES */

:root {
    --afblack: #262626;
    --afgray: #4e4e4e;
    --afwhite: #f5f5f5;
    --aflightgray: #e4e4e4;
    --afmediumgray: #969696;
    --afoffwhite: #ffffff;
    --afred: #b32f2f;
}

/* DISPLAY TYPES */

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

.d-grid {
    display: grid;
}

.d-inline-grid {
    display: inline-grid;
}

.d-none {
    display: none;
}

/* FONT WEIGHTS */

.font-weight-100 {
    font-weight: 100;
}

.font-weight-200 {
    font-weight: 200;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-700 {
    font-weight: 700;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-900 {
    font-weight: 900;
}

/* FONT SIZES */

.text-xxs {
    font-size: 10px;
}

.text-xs {
    font-size: 12px;
}

.text-sm {
    font-size: 14px;
}

.text-md {
    font-size: 16px;
}

.text-lg {
    font-size: 18px;
}

.text-xl {
    font-size: 20px;
}

.text-2xl {
    font-size: 24px;
}

.text-3xl {
    font-size: 28px;
}

.text-4xl {
    font-size: 32px;
}

.text-5xl {
    font-size: 40px;
}

.text-6xl {
    font-size: 48px;
}

.text-7xl {
    font-size: 56px;
}

.text-8xl {
    font-size: 64px;
}

.text-9xl {
    font-size: 72px;
}

/* Mobile */
@media (max-width: 768px) {
    .text-xxs {
        font-size: 10px;
    }

    .text-xs {
        font-size: 12px;
    }

    .text-sm {
        font-size: 14px;
    }

    .text-md {
        font-size: 16px;
    }

    .text-lg {
        font-size: 18px;
    }

    .text-xl {
        font-size: 20px;
    }

    .text-2xl {
        font-size: 22px;
    }

    .text-3xl {
        font-size: 26px;
    }

    .text-4xl {
        font-size: 30px;
    }

    .text-5xl {
        font-size: 36px;
    }

    .text-6xl {
        font-size: 42px;
    }

    .text-7xl {
        font-size: 48px;
    }

    .text-8xl {
        font-size: 54px;
    }

    .text-9xl {
        font-size: 60px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .text-xxs {
        font-size: 8px;
    }

    .text-xs {
        font-size: 10px;
    }

    .text-sm {
        font-size: 12px;
    }

    .text-md {
        font-size: 14px;
    }

    .text-lg {
        font-size: 16px;
    }

    .text-xl {
        font-size: 18px;
    }

    .text-2xl {
        font-size: 20px;
    }

    .text-3xl {
        font-size: 24px;
    }

    .text-4xl {
        font-size: 28px;
    }

    .text-5xl {
        font-size: 32px;
    }

    .text-6xl {
        font-size: 36px;
    }

    .text-7xl {
        font-size: 40px;
    }

    .text-8xl {
        font-size: 44px;
    }

    .text-9xl {
        font-size: 48px;
    }
}

/* LETTER SPACING */
.letter-spacing-sm {
    letter-spacing: 2px;
}

/* TEXT ALIGNMENTS */

.text-left {
    text-align: left;
}

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

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* TEXT COLOURS */
.af-black {
    color: var(--afblack);
}

.af-red {
    color: var(--afred) !important;
}

.af-white {
    color: var(--afwhite);
}

.af-lightgray {
    color: var(--aflightgray);
}

.af-mediumgray {
    color: var(--afmediumgray);
}

/* FLEX ALIGNMENTS */

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.align-start {
    align-items: flex-start;
}

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

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.align-baseline {
    align-items: baseline;
}

.align-self-start {
    align-self: flex-start;
}

.align-self-center {
    align-self: center;
}

.align-self-end {
    align-self: flex-end;
}

.align-self-stretch {
    align-self: stretch;
}

.align-self-baseline {
    align-self: baseline;
}

.direction-column {
    flex-direction: column;
}

/* FLEX GAPS */

.flex-gap-base {
    gap: 1rem;
}

.flex-gap-md {
    gap: 2rem;
}

.flex-gap-lg {
    gap: 3rem;
}

@media (max-width: 768px) {
    .flex-gap-base {
        gap: 0.5rem;
    }

    .flex-gap-md {
        gap: 1.5rem;
    }

    .flex-gap-lg {
        gap: 2.5rem;
    }
}

/* BORDER RADIUS */

.border-radius-5px {
    border-radius: 5px;
}

.border-radius-10px {
    border-radius: 10px;
}

.border-radius-15px {
    border-radius: 15px;
}

.border-radius-20px {
    border-radius: 20px;
}

.border-radius-25px {
    border-radius: 25px;
}

.border-radius-30px {
    border-radius: 30px;
}

.border-radius-35px {
    border-radius: 35px;
}

.border-radius-40px {
    border-radius: 40px;
}

.border-radius-45px {
    border-radius: 45px;
}

.border-radius-50px {
    border-radius: 50px;
}

/* PADDINGS 
- base: 16px Desktop - 8px Mobile

*/

.padding-top-base {
    padding-top: 1rem;
}

.padding-bottom-base {
    padding-bottom: 1rem;
}

.padding-left-base {
    padding-top: 1rem;
}

.padding-right-base {
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .padding-top-base {
        padding-top: 0.5rem;
    }

    .padding-bottom-base {
        padding-bottom: 0.5rem;
    }
}

/* BUTTONS */

.dark-button {
    color: var(--afwhite);
    background-color: var(--afgray);
    border: 1px solid var(--afblack);
    border-radius: 50px;
    padding: 10px 15px;
    line-height: 1;
}

.red-button {
    color: var(--afwhite);
    background-color: var(--afred);
    border: 1px solid var(--afblack);
    border-radius: 50px;
    padding: 10px 15px;
    line-height: 1;
}

.dots-menu {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--afoffwhite);
    text-decoration: none;
    gap: 3px;
    transition: background 0.2s ease;
    box-sizing: border-box;
    border: 1px solid var(--aflightgray);
    box-shadow: 1px 1px 12px 0px #0000001f;
}

.dots-menu:hover {
    background: #e0e0e0;
}

.dot {
    width: 3px;
    /* Slightly smaller dots */
    height: 3px;
    border-radius: 50%;
    background: #333;
    margin: 0 auto;
    /* Ensures perfect centering */
}

/* MARQUEE */

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* HERO CARD */

.hero-card {
    width: 98%;
    border: 1px solid var(--aflightgray);
    border-radius: 6px;
    box-shadow: 0 4px 23px 0 rgba(1, 1, 1, 0.06);
}

.hero-navbar {
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}

.hero-content {
    height: 100%;
    padding: 0 10px 0 10px;
}

.af-logo {
    width: 140px;
    object-fit: cover;
    margin-right: auto;
    /* Pushes everything else right */
}

.navbar-mobile-buttons {
    display: inline-flex;
    align-items: center;
    /* This ensures vertical centering */
    gap: 12px;
    /* Space between items */
    height: 40%;
}

.action-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-card {
        height: 600px;
        overflow: hidden;
    }
}

/* BRANDS MARQUEE - COULD BE USED AS UNIVERSAL MARQUEE */

.scroll-container {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.scroller {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    /* Optimize for animations */
}

.scroller img {
    width: 70px;
    margin-right: 10px;
    flex-shrink: 0;
    filter: grayscale(1) brightness(0.5);
}

.img-gray-overlay {
  filter: grayscale(0.6) brightness(0.9);
}

.img-white-overlay {
  filter: brightness(0) invert(1);
}

.review-img {
  height: 50px;          /* every logo same height */
  width: auto;           /* natural width */
  max-width: 100%;       /* prevents overflow */
  object-fit: contain;   /* keeps proportions */
}



/* Carousel Container */
.cards-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Track that holds all cards */
.cards-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
    /* 3 cards */
}

/* Your existing card styles */
.normal-card {
    width: 90%;
    /* Maintain your existing width */
    margin: 0 20px;
    /* Balanced gap on both sides */
    height: 325px;
    border: 1px solid var(--aflightgray);
    border-radius: 6px;
    box-shadow: 0 4px 23px 0 rgba(1, 1, 1, 0.06);
}

/* Navigation dots */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.nav-dot.active {
    background: var(--afred);
    /* Use your brand color */
}

.normal-card-content {
    height: 100%;
}

.normal-card-bg1 {
    background-image: url("/images/normal-card-backgrounds/normal-card-bg1.jpg");
    background-size: 380% auto;
    background-position: 50% 90%;
    background-repeat: no-repeat;
    position: relative;
    /* Needed for absolute positioning of overlay */
    overflow: hidden;
    /* Ensures proper containment */
}

.normal-card-bg1 > * {
    position: relative;
    z-index: 2;
    /* Places all direct children above overlay */
}

/* Overlay image using pseudo-element */
.normal-card-bg1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background-image: url("/images/normal-card-backgrounds/normal-card-bg1-overlay.png");
    background-size: 200% auto;
    /* Adjust based on your overlay needs */
    background-position: 100% 20%;
    background-repeat: no-repeat;
    opacity: 1;
    /* Adjust transparency */
    pointer-events: none;
    /* Allows clicks to pass through */
    transform: rotate(180deg);
    transform-origin: center center;
    /* Ensures it rotates around the center */
    z-index: 1;
}

.normal-card-bg2 {
    background-image: url("/images/normal-card-backgrounds/normal-card-bg2-overlay.png");
    background-size: 380% auto;
    background-position: 50% 90%;
    background-repeat: no-repeat;
    position: relative;
    /* Needed for absolute positioning of overlay */
    overflow: hidden;
    /* Ensures proper containment */
}

.normal-card-bg2 > * {
    position: relative;
    z-index: 2;
    /* Places all direct children above overlay */
}

/* Overlay image using pseudo-element */
.normal-card-bg2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/normal-card-backgrounds/normal-card-bg2-overlay.png");
    background-size: 200% auto;
    /* Adjust based on your overlay needs */
    background-position: 100% 100%;
    background-repeat: no-repeat;
    opacity: 1;
    /* Adjust transparency */
    pointer-events: none;
    /* Allows clicks to pass through */
    transform: rotate(180deg);
    transform-origin: center center;
    /* Ensures it rotates around the center */
    z-index: 1;
}

.af-arrow-bg {
    background-image: url("images/af-logos/arrow-bg.png");
    background-position: 35% 10%;
    background-size: 120px auto;
}

.swiper-margin-offset {
    height: 90%;
}

.movable-form {
    position: absolute;
    background: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 400px;
    font-family: Arial, sans-serif;
    z-index: 9998;
    right: 170px;
    top: 300px;
}

.form-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #4a90e2;
    outline: none;
}

.submit-btn {
    background: linear-gradient(to right, #4a90e2, #3498db);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.portfolio-wrapper .services-box-style-06 {
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .bg-white {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .bg-white > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .mt-20px {
    margin-top: auto !important;
}

.btn-custom {
    font-size: 10px;
    /* Ajusta el tamaño del texto si es necesario */
    white-space: nowrap;
    /* Evita que el texto se ajuste en varias líneas */
    padding: 8px 16px;
    /* Ajusta el padding si es necesario */
}

.nav-item {
    list-style: none;
}

.portfolio-filter {
    display: flex;
    flex-wrap: nowrap;
    /* Evita que los elementos se envuelvan en varias filas */
    justify-content: flex-start;
    /* Alinea los elementos al inicio */
    gap: 10px;
    /* Espacio entre los botones */
    overflow-x: auto;
    /* El scroll solo aparece si es necesario */
    max-width: 100%;
    /* Asegura que no se exceda el ancho disponible */
    white-space: nowrap;
    /* Evita que los botones se rompan en varias líneas */
}

.special-bullet {
    margin-left: 0px !important;
    padding-left: 0px !important;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    gap: 0.4em;
}

.features-list a {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.features-list .separator {
    color: #d63c2f;
    margin: 0 0.2em;
    user-select: none;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1em;
    margin-bottom: 1em;
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    transition: box-shadow 0.2s ease;
    padding-bottom: 0;
}

.product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.product-title {
    display: block !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    color: #3e3e3e !important;
    margin-bottom: 0.4em !important;
}

.product-description {
    display: block !important;
    font-size: 0.95rem !important;
    color: #555 !important;
    margin: 0 !important;
}

.form-padding {
    padding-left: 75px;
    padding-right: 75px;
}

@media (min-width: 768px) {
    .portfolio-filter .nav-item {
        width: auto !important;
    }

    .portfolio-filter .nav-item a {
        width: auto !important;
        max-width: none !important;
    }
}

@media (max-width: 991px) {
    .af-arrow-bg {
        background-size: 0px 0px;
        /* Make it smaller */
    }

    .hide-on-mobile {
        display: none !important;
    }

    .center-text-mobile {
        margin: 0 auto !important;
    }

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

@media (max-width: 768px) {
    .swiper-margin-offset {
        height: 170%;
    }
}

@media (max-width: 576px) {
    .section-padding-mobile {
        padding-top: 3rem !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .faq-padding {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-padding {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.af-arrow-bg {
    background-image: url("images/af-logos/arrow-bg.png");
    background-position: 35% 10%;
    background-size: 120px auto;
}

.card-img-bottom {
    height: 160px;
    object-fit: cover;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.nav-pills .nav-link {
    background-color: #820d0d;
    color: white;
    border-radius: 50px;
    /* borde redondeado suave */
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: #a4161a;
}

.nav-pills .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-pills .nav-item span {
    font-size: 0.75rem;
    margin-top: 5px;
    color: #333;
    text-align: center;
}

.static-client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; /* default spacing */
    padding: 40px 0;
    width: 80%;
    margin: 0 auto;
}

.static-client-logos a {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.static-client-logos a img {
    height: 40px;
    max-width: 100%;
    object-fit: contain;
}

/* Tablet: 2 per row + more vertical gap */
@media (max-width: 991px) {
    .static-client-logos {
        justify-content: center;
        row-gap: 50px; /* more vertical spacing between rows */
        column-gap: 30px;
    }
    .static-client-logos a {
        flex: 0 0 45%; /* about half width */
        max-width: 45%;
    }
}

/* Mobile: stacked with even more vertical spacing if needed */
@media (max-width: 600px) {
    .static-client-logos {
        row-gap: 50px; /* slightly tighter than tablet but still roomy */
        column-gap: 30px;
    }
    .static-client-logos a {
        flex: 0 0 100%;
        max-width: 100%;
    }
}



.card-with-border {
    border: 1px solid #e3e5e7;
    border-radius: calc(0.375rem - (1px)) calc(0.375rem - (1px)) 0 0;
}

.card-with-dark-border {
    border: 1px solid #3D3D3D;
}

.cta-section {
    background: linear-gradient(135deg, #f6f0e0, #b91c1c, #000000);
    padding: 100px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 100%;
    margin: 50px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #b91c1c;
    color: white;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #9f1a1a;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    color: white;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    margin: 5px 10px;
    font-size: 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.tag-link i {
    margin-right: 6px;
    font-size: 16px;
}

.tag-link:hover {
    color: #007bff;
}

.btn-outline-light:hover {
    background-color: #f0f0f0;
    /* Gris más oscuro */
    border-color: #ccc;
    /* Gris más oscuro */
}

.portfolio-filter {
    display: flex;
    flex-wrap: nowrap;
    /* Evita que los elementos se envuelvan en varias filas */
    justify-content: flex-start;
    /* Alinea los elementos al inicio */
    gap: 10px;
    /* Espacio entre los botones */
    overflow-x: auto;
    /* El scroll solo aparece si es necesario */
    max-width: 100%;
    /* Asegura que no se exceda el ancho disponible */
    white-space: nowrap;
    /* Evita que los botones se rompan en varias líneas */
}

.nav-item {
    list-style: none;
}

.btn-custom {
    font-size: 10px;
    /* Ajusta el tamaño del texto si es necesario */
    white-space: nowrap;
    /* Evita que el texto se ajuste en varias líneas */
    padding: 8px 16px;
    /* Ajusta el padding si es necesario */
}

.hide-on-desktop {
    display: none !important;
}

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

.grid-item-custom {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.grid-item-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item-custom h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    color: white;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.item-1 {
    grid-row: span 2;
}

.item-4 {
    grid-column: span 2;
}

.item-special {
    grid-row: span 2;
    grid-column: span 3;
}

.portfolio-wrapper .services-box-style-06 {
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .bg-white {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .bg-white > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-box-style-06 .mt-20px {
    margin-top: auto !important;
}

@media (max-width: 768px) {
    .custom-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .item-1,
    .item-4 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 991px) {

    .hide-on-desktop {
        display: block !important;
    }

    .mobile-resize {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .hide-on-desktop-flex {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .af-arrow-bg {
        background-size: 0px 0px;
        /* Make it smaller */
    }

    .hide-on-mobile {
        display: none !important;
    }

    .center-text-mobile {
        margin: 0 auto !important;
    }

    .hide-on-desktop-flex {
        display: flex !important;
    }
}


.movable-form {
    position: absolute;
    background: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 400px;
    font-family: Arial, sans-serif;
    z-index: 9998;
    right: 170px;
    top: 420px;
}

.form-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #4a90e2;
    outline: none;
}

.submit-btn {
    background: linear-gradient(to right, #4a90e2, #3498db);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .responsive-buttons {
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .responsive-buttons a {
        flex: 1 1 100%;
        margin: 5px 0;
        text-align: center;
    }
}

.af-arrow-bg {
    background-image: url("images/af-logos/arrow-bg.png");
    background-position: 35% 10%;
    background-size: 120px auto;
}

.card-img-bottom {
    height: 160px;
    object-fit: cover;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.nav-pills .nav-link {
    background-color: #820d0d;
    color: white;
    border-radius: 50px;
    /* borde redondeado suave */
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: #a4161a;
}

.nav-pills .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-pills .nav-item span {
    font-size: 0.75rem;
    margin-top: 5px;
    color: #333;
    text-align: center;
}

.gray-hover {
    transition: filter 0.3s ease;
}

.gray-hover:hover {
    filter: grayscale(100%);
}

.card-with-border {
    border: 1px solid #e3e5e7;
    border-radius: calc(0.375rem - (1px)) calc(0.375rem - (1px)) 0 0;
}

.cta-section {
    background: linear-gradient(135deg, #f6f0e0, #b91c1c, #000000);
    padding: 100px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 100%;
    margin: 50px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #b91c1c;
    color: white;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #9f1a1a;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    color: white;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    margin: 5px 10px;
    font-size: 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.tag-link i {
    margin-right: 6px;
    font-size: 16px;
}

.tag-link:hover {
    color: #007bff;
}

.btn-outline-light:hover {
    background-color: #f0f0f0;
    /* Gris más oscuro */
    border-color: #ccc;
    /* Gris más oscuro */
}

.portfolio-filter {
    display: flex;
    flex-wrap: nowrap;
    /* Evita que los elementos se envuelvan en varias filas */
    justify-content: flex-start;
    /* Alinea los elementos al inicio */
    gap: 10px;
    /* Espacio entre los botones */
    overflow-x: auto;
    /* El scroll solo aparece si es necesario */
    max-width: 100%;
    /* Asegura que no se exceda el ancho disponible */
    white-space: nowrap;
    /* Evita que los botones se rompan en varias líneas */
}

.nav-item {
    list-style: none;
}

.btn-custom {
    font-size: 10px;
    /* Ajusta el tamaño del texto si es necesario */
    white-space: nowrap;
    /* Evita que el texto se ajuste en varias líneas */
    padding: 8px 16px;
    /* Ajusta el padding si es necesario */
}

.hide-on-desktop {
    display: none !important;
}


.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 10px;
}

.grid-item-custom {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.grid-item-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item-custom h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    color: white;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.item-1 {
    grid-row: span 2;
}

.item-4 {
    grid-column: span 2;
}

.included-item {
    width: 100%;
    border: 1px solid #dee2e6;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.equal-height-cards {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-cards > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.equal-height-cards > [class*="col-"] > .bg-white {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-footer {
    margin-top: auto;
}

.special-bullet {
    margin-left: 0px !important;
    padding-left: 0px !important;
}

.equal-height-cards > [class*="col-"]:nth-last-child(-n+3) {
    margin-bottom: 0;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    gap: 0.4em;
}

.features-list a {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.features-list .separator {
    color: #d63c2f;
    margin: 0 0.2em;
    user-select: none;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1em;
    margin-bottom: 1em;
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    transition: box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.product-title {
    display: block !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    color: #3e3e3e !important;
    margin-bottom: 0.4em !important;
}

.product-description {
    display: block !important;
    font-size: 0.95rem !important;
    color: #555 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .custom-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .item-1,
    .item-4 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 991px) {

    .hide-on-desktop {
        display: block !important;
    }

    .mobile-resize {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .af-arrow-bg {
        background-size: 0px 0px;
        /* Make it smaller */
    }

    .hide-on-mobile {
        display: none !important;
    }

    .center-text-mobile {
        margin: 0 auto !important;
    }
}

.movable-form {
    position: absolute;
    background: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 400px;
    font-family: Arial, sans-serif;
    z-index: 9998;
    right: 170px;
    top: 420px;
}

.form-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #4a90e2;
    outline: none;
}

.submit-btn {
    background: linear-gradient(to right, #4a90e2, #3498db);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.fade-in {
    transition: all 0.2s ease-in-out;
    opacity: 1 !important;
}

.fade-out {
    opacity: 0 !important;
    transition: all 0.2s ease-in-out;
}

.navbar-transition {
    transition: background-color 0.2s ease-in-out !important;
}

#mainNav {
    transition: background-color 0.3s ease-in-out !important;
    background-color: transparent;
    /* initial state */
}

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

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

.fade-box {
    animation: fadeIn 0.25s ease-in forwards !important;
}

@keyframes fadeInNoMovement {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOutNoMovement {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#mega-menu-display {
    animation: fadeInNoMovement 0.3s ease-in forwards !important;
}

@media (max-width: 768px) {
    .responsive-buttons {
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .responsive-buttons a {
        flex: 1 1 100%;
        margin: 5px 0;
        text-align: center;
    }

    .margin-top-mobile-minus-12 {
        margin-top: -12%;
    }

    .padding-top-mobile-10 {
        padding-top: 10% !important;
    }
}

.included-section {
    padding: 0;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.included-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .included-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.included-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.included-item i {
    font-size: 1.125rem;
    color: #333;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.included-item-title {
    font-weight: 600;
    color: black;
    margin-bottom: 0.25rem;
}

.included-item-description {
    font-size: 0.875rem;
    color: #555;
}

.phone-img {
    margin-top: -150px;
    margin-left: 150px;
    width: 70%;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.responsive-header-main-text {
    font-size: 70px;
}

.responsive-header-secondary-text {
    font-size: 19px;
}

@media (max-width: 1600px) {
    .responsive-header-main-text {
        font-size: 50px;
    }

    .responsive-header-secondary-text {
        font-size: 14px;
    }
}

@media (max-width: 1450px) {
    .responsive-header-main-text {
        font-size: 10px;
    }

    .responsive-header-main-text {
        font-size: 40px;
        letter-spacing: -3px !important;
    }
}

@media (max-width: 700px) {
    .responsive-header-main-text {
        font-size: 20rem;
    }
}

.arrow-bg-layer {
    position: absolute;
    top: 0;
    left: -10%;
    width: 110%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.arrow-bg-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.arrow {
    position: absolute;
    width: var(--size);
    height: auto;
    opacity: 0.5;
    transform: rotate(45deg);
    z-index: 0;
    filter: brightness(0) invert(1);
    animation: floatArrow linear infinite;
}

@keyframes floatArrow {
    0% {
        transform: translate(0, 0) rotate(45deg);
    }

    100% {
        transform: translate(100vw, -100vh) rotate(45deg);
    }
}

.dropdown-inner-item {
    width: 100%;
    color: #000000;
    padding: 7px 0 7px 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--afred);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    transition: color 0.3s ease;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

@media (min-width: 769px) {
    /* Left-to-right background */
    .dropdown-inner-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--afred);
        z-index: 0;
        transition: width 0.4s ease;
        border-radius: 0 10px 10px 0;
    }

    /* Show background on hover */
    .dropdown-inner-item:hover::before {
        width: 100%;
    }

    /* Text content replacement */
    .dropdown-inner-item::after {
        content: "Ver más";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
        color: #fff;
    }

    /* Hide original text visually */
    .dropdown-inner-item span {
        opacity: 1;
        transition: opacity 0.3s ease;
        position: relative;
        z-index: 1;
        display: inline-block;
    }

    /* On hover: hide original, show new text */
    .dropdown-inner-item:hover span {
        opacity: 0;
    }

    .dropdown-inner-item:hover::after {
        opacity: 1;
    }
}

.dropdown-inner-item:last-child {
    margin-bottom: 0;
}

.mobile-brand-card {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
}

.start-now {
    border: 2px solid #820d0d !important;
    border-radius: 50px !important;
    color: #232323 !important;
    background-color: initial !important;
    pointer-events: auto !important;
    padding: 10px 20px 10px 20px !important;
}

@media (max-width: 768px) {
    .start-now {
        border: 2px solid transparent !important;
        border-radius: 50px !important;
        color: #232323 !important;
        background-color: initial !important;
        pointer-events: auto !important;
        padding: 10px 20px 10px 20px !important;
        overflow: hidden !important;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.pop-in {
    animation: popIn 0.4s ease-out;
}

.pop-out {
    animation: popOut 0.3s ease-in;
}

@media (max-width: 768px) {
    #option-swapper {
        margin: 0 auto;
        width: 100%;
        margin-top: 40px;
    }
}

.transparent-border-text {
    line-height: 1.1;
    padding: 4px 0;

    -webkit-mask-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5),
        white 50%,
        white 50%,
        rgba(255, 255, 255, 0.5)
    );
    mask-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5),
        white 50%,
        white 50%,
        rgba(255, 255, 255, 0.5)
    );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.transparent-border-text-integral {
    line-height: 1.1;
    padding: 4px 0;

    -webkit-mask-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.7),
        white 50%,
        white 50%,
        rgba(255, 255, 255, 0.9)
    );
    mask-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.7),
        white 50%,
        white 50%,
        rgba(255, 255, 255, 0.9)
    );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.integral-home-card {
    background-image: linear-gradient(
            to right,
            #f8f8f8 0%,
            #f8f8f8 30%,
            rgba(248, 248, 248, 0.9) 40%,
            rgba(248, 248, 248, 0.7) 50%,
            rgba(248, 248, 248, 0.5) 60%,
            rgba(248, 248, 248, 0.3) 70%,
            rgba(248, 248, 248, 0.15) 80%,
            rgba(248, 248, 248, 0) 100%
        ),
        url("../images/home-images/afintegralhome.jpg");
    background-size: cover;
    background-position: center;
}

.poweredby-home-card {
    background-image: 
        url("../images/home-images/poweredby.webp");
    background-size: cover;
    background-position: center;
}

.manager-home-card-background {
    background-image: url("../images/home-images/afmanagerhomebg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%, auto 100%;
}

.manager-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.manager-home-overlay::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/home-images/afmanagerhome.png");
    background-repeat: no-repeat;
    background-size: auto 130%;
    background-position: -250px center;
}




.ticketing-home-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/home-images/afticketinghomebg.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
background-position: calc(0% - 200px) center;
}


.ticketing-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/home-images/afticketinghomebg.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: calc(100% + 230px) 140px;
}

.integral-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/integral-images/afintegralnewbg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    /* fills entire area */
    background-position: center;
    /* centers image */
}

.ticketing-laptop-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/ticketeralaptop.webp");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: calc(100% + 230px) 140px;
}


.ticketfacil-home-card-background {
    background: linear-gradient(1.84deg, #F8F8F8 16.44%, #FAFAFA 99.78%);
}

.ticketfacil-home-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ticketfacil-home-overlay::before {
    content: "";
    position: absolute;
    top: -32%;                 
    right: 0%;                  
    width: 100%;               
    height: 145%;              
    background-image: url("../images/home-images/ticketfacilhomebg.webp");
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: right bottom; 
    transform-origin: top left;
}

/* For screens 1300px and below */
@media (max-width: 1300px) {
    .ticketfacil-home-overlay::before {
        top: auto;          /* remove top */
        bottom: -50px;          /* align to bottom */
        right: 0%;                  
        width: 70%;         /* shrink size */
        height: 100%;       
        background-position: right bottom; /* image aligned bottom-left */
    }
}

/* For mobile and below (e.g., 768px) */
@media (max-width: 993px) {
    .ticketfacil-home-overlay::before {
        top: auto;          /* remove top */
        bottom: -100px;          /* align to bottom */
        width: 100%;         /* shrink size */
        height: 100%;       
        background-position: center bottom; /* image aligned bottom-left */
        background-image: url("../images/home-images/ticketfacilhomebgmobile.webp");
    }
}


/* For mobile and below (e.g., 768px) */
@media (max-width: 445px) {
    .ticketfacil-home-overlay::before {

    }
}





.category-scroll {
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
    display: none;
    /* hides scrollbar on mobile */
}

.gray-border {
    border: 1px solid #eeeeee !important;
}

.border-radius-5 {
    border-radius: 5px !important;
}

.glass-button {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.glass-button .glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
}

.circles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.circles-overlay {
    position: absolute;
    width: 60%;
    height: 60%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.buttons-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.buttons-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-wrapper {
    position: relative;
    /* or absolute if you already have that */
    cursor: pointer;
    pointer-events: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    height: fit-content;
    /* Remove gap or set it to 0 because tooltip will be absolutely positioned */
    gap: 0;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(6px, -8px);
    }

    50% {
        transform: translate(-8px, 6px);
    }

    75% {
        transform: translate(5px, 4px);
    }

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

.circle {
    width: 2.5vw;
    height: 2.5vw;
    background: radial-gradient(circle at 30% 30%, #d84848, #b32f2f);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    user-select: none;
    pointer-events: auto;

    /* Shadow & blur depth */
    box-shadow: 0 4px 8px rgba(179, 24, 42, 0.5),
        inset 0 4px 8px rgba(255, 187, 187, 0.2);
    backdrop-filter: blur(8px);

    /* Floating */
    animation: float 8s ease-in-out infinite;

    /* Smooth transitions for hover */
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease,
        transform 0.4s ease;
}

.circle:hover {
    animation-play-state: paused;
    background: radial-gradient(circle at 30% 30%, white, #f5f5f5);
    color: #b32f2f;
    text-shadow: none;

    /* Slight enlarge */
    transform: scale(1.15);

    /* Glow effect */
    box-shadow: 0 6px 16px rgba(179, 24, 42, 0.6),
        0 0 20px rgba(179, 47, 47, 0.5);
}

.tooltip {
    position: absolute;
    top: 100%;
    /* right below the circle */
    left: 50%;
    transform: translate(-50%, 10px);

    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: max-content;
    max-width: 300px;
    background: radial-gradient(
        circle at top left,
        rgba(179, 47, 47, 0.95),
        rgba(147, 25, 25, 0.85)
    );
    color: #fff;
    padding: 0.6em 1.2em;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(179, 47, 47, 0.7),
        inset 0 0 10px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    user-select: none;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    white-space: normal;
}

.tooltip-title {
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 0.4em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.tooltip-desc {
    font-weight: 400;
    font-size: 1em;
    line-height: 1.4em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #fefefe;
}

.circle-wrapper:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media (max-width: 991px) {
    .circle {
        width: 4.5vw;
        height: 4.5vw;
        background-color: #b32f2f;
        border-radius: 50%;
        border: 1px solid #eee;

        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 3vw;
        line-height: 8vw;
        font-weight: 300;
        user-select: none;
        pointer-events: none;

        box-shadow: 0px 2px 16px 0px #b3182a8a !important;
        backdrop-filter: blur(8px);
        box-shadow: 0px 4px 8px 0px #ffbbbb29 inset;
    }

    .tooltip {
        max-width: 150px;
    }
}

@media (max-width: 600px) {
    .circle {
        width: 6vw;
        height: 6vw;
        background-color: #b32f2f;
        border-radius: 50%;
        border: 1px solid #eee;

        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 4vw;
        line-height: 8vw;
        font-weight: 300;
        user-select: none;
        pointer-events: none;

        box-shadow: 0px 2px 16px 0px #b3182a8a !important;
        backdrop-filter: blur(8px);
        box-shadow: 0px 4px 8px 0px #ffbbbb29 inset;
    }

    .tooltip {
        max-width: 150px;
    }
}

@media (max-width: 1400px) {
.manager-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.manager-home-overlay::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/home-images/afmanagerhome.png");
    background-repeat: no-repeat;
    background-size: auto 120%;
    background-position: -300px -50px; /* 👈 shifted further left */
}

}
@media (max-width: 991px) {
    .integral-home-card {
        background-image: linear-gradient(
                to bottom,
                #f8f8f8 0%,
                #f8f8f8 30%,
                rgba(248, 248, 248, 0.9) 40%,
                rgba(248, 248, 248, 0.7) 50%,
                rgba(248, 248, 248, 0.5) 60%,
                rgba(248, 248, 248, 0.3) 70%,
                rgba(248, 248, 248, 0.15) 80%,
                rgba(248, 248, 248, 0) 100%
            ),
            url("../images/home-images/afintegralhome.jpg");
    }

    .poweredby-home-card {
        background-image: 
            url("../images/home-images/poweredbymobile.webp");
        background-size: cover;
        background-position: center;
    }

    .manager-home-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .manager-home-overlay::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-image: url("../images/home-images/afmanagerhome.png");
        background-repeat: no-repeat;
        background-size: 155%;
        background-position: -80px bottom; 
        pointer-events: none;
    }

    .ticketing-home-overlay {
        position: absolute;
        width: 200%;
        height: 200%;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-image: url("../images/home-images/afticketinghomemobilebg.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        z-index: 0;
    }
}

@media (max-width: 1200px) {
    .ticketing-home-overlay {
        position: absolute;
        width: 300% !important;
        height: 300% !important;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-image: url("../images/home-images/afticketinghomemobilebg.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        z-index: 0;
    }

.ticketing-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* dark overlay */
        url("../images/home-images/afticketinghomebg.png") no-repeat center center;
    background-size: auto 75%;
}

.ticketing-laptop-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* dark overlay */
        url("../images/ticketeralaptopmobile.webp") no-repeat center center;
    background-size: auto 75%;
}

}

a.common-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-family: sans-serif;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    backdrop-filter: blur(8px);
    box-shadow: 0px 4px 8px 0px #ffffff4f inset;
}

.red {
    background-color: #b32f2f;
    color: white;
}

.red:hover {
    background-color: #ffffff;
    color: #b32f2f;
}

.red-darkened {
    background-color: #b32f2f;
    color: white;
}

.red-darkened:hover {
    background-color: #922e2e;
}

.black {
    background-color: #2b2b2b;
    color: white;
}

.black:hover {
    background-color: #3b3b3b;
}

.red-text {
    color: #b32f2f !important;
}

.red-text-bright {
    color: #e73e3e !important;
}

.white {
    background-color: #ffffff;
    color: #b32f2f;
}

.white:hover {
    background-color: #b32f2f !important;
    color: #ffffff !important;
}

/* Also apply the color and border to spans inside the hovered .white */
.white:hover i {
    color: #ffffff !important;
}

.white-darkened {
    background-color: #ffffff;
    color: #b32f2f;
}

.white-darkened:hover {
    background-color: #f0f0f0 !important;
}

.common-button i {
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    line-height: 1;
    margin-left: 0.2em;
}

.event-category-button {
    background-color: #820d0d !important;
    box-shadow: 0px 2px 16px 0px #b3182a8a;
}

@media (max-width: 991px) {
    a.common-button {
        max-width: 100%;
    }
}

@media (min-width: 991px) {
    a.common-button-special {
        justify-content: start !important;
    }
}

.mobile-mt-5 {
    margin-top: 5%;
}

@media (min-width: 768px) {
    .mobile-mt-5 {
        margin-top: 0 !important;
    }
}

.glass-bg {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-shadow {
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.15) !important;
  transition: box-shadow 0.3s ease !important;
}


.category-scroll > a.btn {
    flex: 0 0 auto;
    max-width: 180px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #222;
    font-weight: 400;
    font-size: 0.875rem;
    padding: 0.5rem 1rem !important;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* TRANSITION & PERFORMANCE */
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), color 220ms ease,
        border-color 220ms ease, background-color 220ms ease;
    will-change: transform, box-shadow, color, border-color, background-color;

    /* promote to its own layer for smoother animation */
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
}

.category-scroll > a.btn:hover,
.category-scroll > a.btn:focus {
    transform: translateY(0) translateZ(0); /* subtle lift */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    color: #b32f2f;
    border-color: #b32f2f;
    outline: none;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .category-scroll > a.btn {
        transition: none;
        transform: none;
    }
}

.category-scroll > a.btn i {
    font-size: 1.1rem;
    /* smaller icon */
    color: inherit;
    line-height: 1;
    margin-left: 0 !important;
}

.category-scroll > a.btn .btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

/* MOBILE: two columns */
@media (max-width: 576px) {
    .category-scroll {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        width: 90%;
        gap: 10px 14px;
    }

    .category-scroll > a.btn {
        flex: 0 0 48%;
        max-width: 48%;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .category-scroll > a.btn i {
        font-size: 1rem;
    }
}

.home-background {
    background-image: url("../images/home-bg.webp");
    background-size: cover;
    background-position: center 55%;
    z-index: 0;
}

.integral-background {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/integral-images/afintegralnewbg.webp");
    background-size: cover;
    background-position: center 55%;
    z-index: 0;
}

.manager-background {
    background-image: url("../images/manager-images/afmanagerherobg.webp");
    background-size: cover;
    background-position: center 55%;
    z-index: 0;
}

.deportes-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/events/deportes.jpg");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}



.celebraciones-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/celebraciones-empresas.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.convenciones-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/convenciones.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.congresos-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/congresos.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.empresariales-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/events/empresariales.jpg");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.entretenimiento-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/events/entretenimiento.jpg");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.expo-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/expo.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.festivales-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/festivales.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.lanzamiento-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/lanzamiento.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.sociales-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/socialesprivados.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.venues-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/venues.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

.galas-background {
  background-image: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url("../images/industries/galas.webp");
  background-size: cover;
  background-position: center 55%;
  z-index: 0;
}

/* For screens 1210px and below */
@media (max-width: 1210px) {
    .manager-background {
        background-image: linear-gradient(
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
            ),
            url("../images/manager-images/afmanagerheromobilebg.webp");
        background-position: center 50%; /* adjust if needed */
    }
}

.aboutus-background {
    background: linear-gradient(
            180deg,
            rgba(25, 25, 25, 0.64) 0%,
            rgba(25, 25, 25, 0.96) 100%
        ),
        url("../images/home-images/aboutus.jpg");
    background-size: cover;
    background-position: center 55%;
    z-index: 0;
}

.trustpilot-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; /* allows wrapping on mobile */
    justify-content: center; /* optional: center when wrapped */
}

.trustpilot-text a img {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

.google-image {
    transform: translateY(5px); /* remove offset on mobile */
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .google-image {
        transform: translateY(3px); /* remove offset on mobile */
    }
    .trustpilot-text {
        font-size: 16px; /* optional: smaller font on mobile */
    }
}



.trustpilot-logo {
    height: 1em;
    /* escala con el texto */
    width: auto;
}

.container-flex {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.hover-zoom {
    max-width: 30% !important;
    height: auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer !important;
    border-radius: 5px;
}

.hover-zoom:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}


.hover-zoom-thirds {
    max-width: 23% !important;
    height: auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer !important;
}

.hover-zoom-thirds:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}


@media (max-width: 767px) {
    .container-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    .hover-zoom {
        max-width: 100% !important;
    }

    .hover-zoom-thirds {
        max-width: 100% !important;
    }
}

.features-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    width: 90%;
}

.feature-item {
    background: white;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.feature-item img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-content {
    padding: 30px;
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .feature-item {
        flex: 1 1 100%;
        min-width: auto;
    }
}

#bigSection {
    position: relative;
    height: 100vh;
    color: #fff;
    overflow: hidden; /* keeps blurred background contained */
}

#bigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/integral-images/element-switcherbg.jpg")
        center/cover no-repeat;
    filter: blur(1px); /* adjust blur strength */
    z-index: 0;
}

#bigSection::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
            90deg,
            rgba(26, 26, 26, 0) 0%,
            rgba(26, 26, 26, 0.88) 76.75%
        ),
        linear-gradient(270deg, rgba(179, 47, 47, 0) 23.98%, #b32f2f 100%);
    z-index: 1;
}

.venueBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-venues.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.venueBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}

.privadoBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-privados.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.privadoBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}
.galasBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-galas.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.galasBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}
.festivalesBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-galas.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.festivalesBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}
.lanzamientoBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-lanzamiento.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.lanzamientoBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}


.congresoBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-congresos.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.congresoBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}

.celebracionesBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/functionalities/funcionalidades-celebraciones.webp")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.celebracionesBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}

.ticketingBigSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/integral-images/element-switcherbg.jpg")
        center/cover no-repeat !important;
    filter: blur(6px); /* adjust blur strength */
    z-index: 0;
}

.ticketingBigSection::after {
    content: "";
    position: absolute;
    inset: 0;
background: linear-gradient(303.85deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.88) 76.75%),
linear-gradient(245.29deg, rgba(38, 38, 38, 0) 0%, #262626 100.5%) !important;

    z-index: 1;
}

#bigSection > * {
    position: relative;
    z-index: 2; /* keeps text/content above everything */
}

.frosted-glass {
    background: rgba(255, 255, 255, 0.057);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.098),
        0 8px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: box-shadow 0.3s ease, background-color 0.3s ease,
        color 0.3s ease;
    border: 1px solid #eeeeee47 !important;
}

.frosted-glass:hover {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.35),
        0 12px 30px rgba(0, 0, 0, 0.4);
}

.right-half .btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 6px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 1px solid #eeeeee14 !important;
    max-width: 400px;
    font-weight: 400 !important;
}

.right-half .btn:hover,
.right-half .btn.active {
    background: rgba(179, 47, 47, 0.85);
    color: #fff;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.35),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.right-half .btn:hover i,
.right-half .btn.active i {
    color: #fff;
}

#bigSection h1,
#bigSection h2 {
    color: #fff;
}

#bigSection h4,
#bigSection p {
    color: rgba(255, 255, 255, 0.7);
}

.left-half {
    flex: 0 0 80%;
    height: 100%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.left-half p {
    flex: 0 0 auto;
    margin-bottom: 1rem;
}

#secondaryContainer {
    flex: 1 1 auto;
    overflow: hidden; /* or overflow-y: auto; if scroll is okay */
    min-height: 0;
    transition: opacity 0.4s ease;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    #bigSection .left-half,
    #bigSection .right-half {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    .middle-empty {
        display: none !important;
    }
    .right-half {
        flex-direction: row !important;
        justify-content: center;
    }
    .right-half .btn {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

.section-link {
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-link.active {
    color: #b32f2f;
    text-decoration: underline;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(179, 47, 47, 0.427),
        0 0 12px rgba(179, 47, 47, 0.427);
}

.right-half {
    flex: 0 0 30%;
    min-width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#buttonsWrapper {
    max-height: 100%;
    overflow-y: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) transparent;
}

#buttonsWrapper::-webkit-scrollbar {
    width: 8px;
}
#buttonsWrapper::-webkit-scrollbar-track {
    background: transparent;
}
#buttonsWrapper::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}
#buttonsWrapper::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

#buttonsWrapper button.btn {
    background: rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    text-align: left;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.116);
    border: 1px solid #eeeeee14 !important;
}

#buttonsWrapper button.btn i {
    font-size: 1.2rem;
    opacity: 0.85;
}

#buttonsWrapper button.btn:hover,
#buttonsWrapper button.btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.116);
    border: 1px solid #eeeeee47 !important;
}

#buttonsWrapper button.btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.116);
}

#buttonsWrapper button.btn.active i {
    color: #ffffff !important;
}

#buttonsWrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-content: flex-start; /* vertical start */
}

#buttonsWrapper button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#buttonsWrapper button .btn-text {
    max-width: 290px; /* adjust this value as needed */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

#buttonsWrapper button {
    width: 100%; /* ocupan todo el ancho */
    text-align: right; /* el contenido del botón se alinea a la derecha */
}

.stage-buttons-wrapper .stage-btn {
    flex: 1; /* all take equal space */
    text-align: center;
}

.grid-item-image {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex;
    overflow: hidden; /* hide stacked images */
}

/* stack all images */
.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0;               /* hidden by default */
    transition: opacity 1s ease; /* smooth fade */
    z-index: 0;
}

/* active slide */
.image-wrapper img.active {
    opacity: 1;
    z-index: 1;
}

.image-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

.play-button {
    font-size: 48px;
    color: #fff;
    pointer-events: none;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: inline-block;
}


/* Modal styles */
#videoModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#videoModal iframe {
    width: 90vw;
    max-width: 960px;
    height: 56.25vw;
    /* 16:9 ratio */
    max-height: 540px;
    border: none;
    border-radius: 10px;
}

#videoModal .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 10000;
    padding: 0;
    line-height: 1;
}

/* Stage buttons desktop */
.stage-buttons-wrapper {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    justify-content: space-between;
}

.stage-buttons-wrapper-mobile {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stage-buttons-wrapper-mobile .stage-btn {
    flex: 1 1 calc(33.33% - 0.5rem);
    min-width: 100px;
    text-align: center;
}

@media (max-width: 400px) {
    .stage-buttons-wrapper-mobile .stage-btn {
        flex: 1 1 100%;
    }
}

/* Stage button style */
.stage-btn {
    background: rgba(255, 255, 255, 0.024);
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border: none;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    font-size: 16px;
    white-space: nowrap;
}

.stage-btn:hover,
.stage-btn.active {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.stage-btn.active {
    background: #b32f2f;
    color: #fff !important;
    border: 1px solid #ffffff27;
}

/* Buttons container */
#buttonsWrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
}

/* Content container */
#secondaryContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image container */
.image-container {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 8px;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile section */
#mobileSection {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(
            303.85deg,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.95) 76.75%
        ),
        linear-gradient(90deg, rgba(179, 47, 47, 0) 23.98%, #b32f2f 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.mobile-frosted-glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.04);
    padding: 1rem;
    color: white;
    height: 100%;
    width: 100%;
}

.mobile-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-buttons-wrapper button.accordion-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: none;
    padding: 1rem 2rem;
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.mobile-buttons-wrapper button.accordion-btn .btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex-shrink: 1;
    display: block;
}

.mobile-buttons-wrapper button.accordion-btn.active {
    background: #b32f2f;
    color: white;
}

.mobile-buttons-wrapper button.accordion-btn i {
    flex-shrink: 0;
    font-size: 1.4rem;
}

.accordion-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-top: 0.3rem;
    padding: 1rem;
    color: #ddd;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.accordion-content.active {
    display: flex;
    max-height: 500px;
    opacity: 1;
}

.accordion-content h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.accordion-content p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
}

.accordion-content img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    max-height: 200px;
}

@media (max-width: 1000px) {
    #bigSection {
        display: none !important;
    }
    #mobileSection {
        display: block !important;
    }
    .stage-btn {
        font-size: 14px !important;
    }
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
    gap: 20px;
    margin: 40px auto;
}

.dark-mode-background-special .srv-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr; /* item - arrow - item - arrow - item */
  align-items: center;
  gap: 20px;
}

.dark-mode-background-special .srv-arrow {
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
    .dark-mode-background-special .srv-arrow {
        display: none;
    }

    .dark-mode-background-special .srv-grid {
        grid-template-columns: 1fr;
    }

    .srv-title {
        font-size: 16px !important;
    }

    .srv-desc {
        font-size: 14px !important;
    }

}

/* Only affect the icons in the "Cómo funciona" section */
.dark-mode-background-special .srv-item {
  position: relative;     /* reference point for absolute positioning */
  padding-bottom: 60px;   /* space for the icon at the bottom */
}

.dark-mode-background-special .srv-icon {
  position: absolute;
  bottom: 15px;  /* distance from bottom */
  left: 15px;    /* distance from left */
}

.dark-mode-background-special .srv-item:hover {
    transform: translateY(-4px); /* keep your current hover lift */
    box-shadow: 0px 4px 56px 0px #B32F2F42; /* new red glow on hover */
            border: 1px solid #B32F2F !important; /* change border color on hover */

    transition: all 0.3s ease-in-out; /* smooth transition */

}



/* 2 columnas en tablets */
@media (max-width: 900px) {
    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Si hay un item sin par, ocupa todo el ancho */
    .srv-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* 1 columna en móviles */
@media (max-width: 600px) {
    .srv-grid {
        grid-template-columns: 1fr;
    }
}


.srv-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
}

.srv-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dark-srv-item {
    border: 1px solid #3D3D3D !important;
    background: #232323 !important;
}

/* Contenedor icono + título */
.srv-header {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre icono y título */
    margin-bottom: 8px;
}

.srv-icon {
    background: #b32f2f;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(179, 47, 47, 0.65); /* sombra roja brillante */
    flex-shrink: 0; /* evita que se achique */
}

.srv-title {
    color: #d32f2f;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    text-align: left;
}

.srv-desc {
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-align: start;
}

.dark-srv-text {
    color: #fff !important;
}



.pricing-section {
    background: #b32f2f;
    padding: 60px 20px;
    text-align: center;
}

/* Clases específicas para pricing */
.pricing-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: white;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card-header {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: bold;
    margin: 25px 0 10px;
    color: #0066cc;
}

.pricing-savings {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-style: italic;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-feature {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.pricing-feature:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-btn {
    display: block;
    background: #0066cc;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.pricing-btn:hover {
    background: #004d99;
    transform: translateY(-2px);
}

.pricing-card-highlight {
    border-top: 4px solid #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1300px) {
    /* lg and above in Bootstrap */
    .maxw-desktop {
        max-width: 50%;
    }
}

#faqSection {
    width: 100%;
    padding: 50px 20px;
    background: #f9f9f9;
    font-family: "Montserrat", sans-serif;
}

.faq-container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
}

/* Categorías */
.faq-categories {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-category-btn {
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background: #b32f2f;
    color: #fff !important;
}

.faq-category-btn.active {
    background: #b32f2f;
    color: #fff !important;
    border-color: #b32f2f;
}

/* Espacio entre columnas */
.faq-space {
    width: 10%;
}

/* Preguntas */
.faq-questions {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.faq-item {
    background: #fafafa;
    border-radius: 5px;
    padding: 18px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ddd;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item-question {
    font-weight: 700;
    cursor: pointer;
    color: #333; /* ya no es rojo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    color: #555;
    line-height: 1.6;
    padding-left: 10px;
    border-left: 3px solid #b32f2f;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.faq-item-answer.active {
    max-height: 500px; /* suficiente para texto largo */
    opacity: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}
/* Scrollbar personalizado */
.faq-questions::-webkit-scrollbar {
    width: 8px;
}

.faq-questions::-webkit-scrollbar-thumb {
    background-color: #b32f2f;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
    }

    .faq-categories,
    .faq-space,
    .faq-questions {
        width: 100%;
    }

    .faq-space {
        height: 20px;
        width: 100%;
    }

    .faq-category-btn {
        text-align: center;
    }

    .faq-item-question {
        font-size: 16px;
    }

    .faq-item-answer {
        font-size: 14px;
    }
}

.pt-xxl {
    padding-top: 120px !important;
}
.pb-xxl {
    padding-bottom: 120px;
}

.mt-xxl {
    margin-top: 120px;
}

@media (max-width: 767.98px) {
    .pt-xxl {
        padding-top: 50px !important;
    }
    .pb-xxl {
        padding-bottom: 50px;
    }
    .neg-mt-30px {
        margin-top: -30px !important;
    }
    .xs-pb-xxl {
        padding-bottom: 50px !important;
    }

    .xs-pt-xxl {
        padding-top: 50px !important;
    }

    .mt-xxl {
        margin-top: 50px;
    }

    .xs-pb-none {
        padding-bottom: 0px !important;
    }
}

.dark-mode-background {
    background-color: #262626 !important;
}

.dark-mode-background-special {
    background-color: #262626 !important;
}


.gradient-border {
  display: inline-block ;
  padding: 1px !important; /* grosor del borde */
  border-radius: 50%;
  background: linear-gradient(137.89deg, #FFFFFF 15.03%, #B3182A 89.59%);
}

.gradient-border img {
  display: block;
  border-radius: 50%;
  width: 80px;  /* ajusta al tamaño que quieras */
  height: 80px;
}

.split-submenu {
    width: 400px !important;
    top: 100% !important;
    left: 0 !important;
    border-radius: 0 0 5px 5px !important;
}

/* Para tablets y móviles */
@media (max-width: 991.98px) { /* bootstrap lg breakpoint */
    .split-submenu {
        width: auto !important; /* elimina el ancho fijo */
        border-radius: 0 0 0 0 !important;
    }
}

.funcionalidades_buttonsWrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.funcionalidad {
  display: flex;
  flex-direction: column; /* Esto asegura que la descripción quede debajo del botón */
}

.funcionalidad.hidden {
  display: none;
}

.funcionalidades_btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
  border-radius: 5px;
  border: 1px solid #EEEEEE;
  cursor: pointer;
  text-transform: none;
  height: 50px;
  font-size: 15px;
  padding: 0rem 1rem;
  background: #F8F8F8;
  color: #262626;
  position: relative;
  overflow: hidden; /* para que no se desborde el efecto */
  transition: all 0.3s ease, border-radius 0.3s ease, border-bottom 0.3s ease;
  font-weight: 500;
}

/* overlay animado */
.funcionalidades_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* arranca fuera de la izquierda */
  width: 100%;
  height: 100%;
  background: #b32f2f;
  transition: left 0.4s ease;
  z-index: 0;
}

.funcionalidades_btn:hover::before {
  left: 0; /* entra cubriendo todo */
}

/* texto siempre arriba del overlay */
.funcionalidades_btn span,
.funcionalidades_btn i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.funcionalidades_btn:hover {
  color: #fff; /* texto blanco */
}

.funcionalidades_verMasBtn {
    text-align: center !important;
    background-color: #b32f2f !important;
    color: #ffffff !important;
    justify-content: center !important;
}

.funcionalidades_verMasBtn:hover {
  background-color: #b32f2f !important;
  color: #ffffff !important;
  
}

.funcionalidades_verMasBtn::before {
  display: none !important;
}


.funcionalidades_description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(0,0,0,0.05);
  padding: 0 1rem;
  border-radius: 0 0 5px 5px;
  color: #262626;
  text-align: left;
}

.funcionalidades_description.show {
  max-height: 150px; /* ajustar según contenido */
  padding: 0.5rem 1rem;
}

/* MOBILE */
@media (max-width: 991.98px) {
  .funcionalidades_buttonsWrapper {
    grid-template-columns: 1fr;
  }
  .funcionalidades_btn.hidden {
    display: none;
  }
}


/* Default letter spacing for paragraphs */
p {
  letter-spacing: 0.5px !important; /* adjust as needed */
}

/* Default letter spacing for h3 headings */
h3 {
  letter-spacing: 1px !important; /* adjust as needed */
}

/* Mobile adjustment (screens up to 768px) */
@media (max-width: 768px) {
  p {
    letter-spacing: 0.3px !important; /* tighter spacing on mobile */
  }

  h3 {
    letter-spacing: 0.5px !important; /* adjust for smaller screens */
  }
}


.bouncing-arrow {
  display: inline-block;
  animation: bounce 1.5s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px); /* how far it moves down */
  }
}


#twoColumnWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    width: 100%;
}

#twoColumnWrapper button.btn {
    background: rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    text-align: right;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.116);
    border: 1px solid #eeeeee14 !important;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#twoColumnWrapper button.btn i {
    font-size: 1.2rem;
    opacity: 0.85;
}

#twoColumnWrapper button.btn .btn-text {
    max-width: 600px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

#twoColumnWrapper button.btn:hover,
#twoColumnWrapper button.btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.116);
    border: 1px solid #eeeeee47 !important;
}

#twoColumnWrapper button.btn.active i {
    color: #ffffff !important;
}


   .cookie-banner {
        position: fixed;
        bottom: -100%; /* fully hidden */
        left: 0;
        width: 100%;
        background: #222;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
        transition: bottom 0.5s ease;
        z-index: 1000;
        }


    .cookie-banner.show {
      bottom: 0; /* slide up */
    }

    .cookie-text {
      flex: 1;
      margin-right: 1rem;
    }

    .cookie-buttons {
      flex-shrink: 0;
      display: flex;
      gap: 0.5rem;
    }

    .cookie-buttons button {
      border: none;
      border-radius: 4px;
      padding: 0.6rem 1rem;
      cursor: pointer;
      font-size: 0.9rem;
      transition: background 0.2s ease;
    }

    .cookie-accept {
      background: #4caf50;
      color: white;
    }

    .cookie-accept:hover {
      background: #43a047;
    }

    .cookie-reject {
      background: #e53935;
      color: white;
    }

    .cookie-reject:hover {
      background: #d32f2f;
    }

    @media (max-width: 600px) {
      .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 1rem;
      }
      .cookie-text {
        margin: 0 0 1rem 0;
      }
  .cookie-buttons {
    width: 100%;
    display: flex;
    justify-content: center; /* centra los botones */
    gap: 0.5rem; /* espacio entre ellos */
    flex-wrap: wrap; /* que puedan saltar a otra línea si es necesario */
  }
    }

.special-alignment {
    justify-content: space-between;
}

@media (max-width: 1355px) {
    .special-alignment {
        justify-content: center;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 1575px) {
    .nav-link {
       font-size: 14px !important; 
    }  
}

@media (max-width: 1450px) {
    .nav-link {
       font-size: 12px !important; 
    }  
    .header-button span {
        font-size: 12px !important; 
    }
}


@media (max-width: 1095px) {
    .nav-link {
       font-size: 10px !important; 
    }  

    .header-button span {
        font-size: 10px !important; 
    }
}

@media (max-width: 991px) {
    .nav-link {
       font-size: 14px !important; 
    } 
    .header-button span {
        font-size: 14px !important; 
    } 
}


.h-80 {
    height: 80vh !important;
}


/* Square figure container */
.swiper-slide figure {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    border-radius: 6px;
}

/* Image fills container and is centered */
.swiper-slide figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* zoom/crop to fit */
    object-position: center;
    transition: transform 0.3s ease; /* smooth hover */
}

/* Hover effect: slightly zoom image */
.swiper-slide figure:hover img {
    transform: scale(1.05); /* slightly bigger */
}

#tab_seven1 a {
    color: rgb(75, 75, 255);
    text-decoration: underline;
}

#tab_seven1 .accordion-header a {
    color: inherit;        /* Revert to default or desired color */
    text-decoration: none; /* Remove underline */
}

.no-hover {

}

.no-hover:hover {
background-color:  transparent !important;
}

/* default (white navbar) */
.navbar-logo {
  content: url("../images/af-logos/af-logo-white.png");
}

/* dark (scrolled navbar) */
.navbar-logo.dark {
  content: url("../images/logAF2.png");
}
