/* ============================================
   Frontend CSS - PathSoft Style with Bootstrap 5
   Colores del Backend: Azul claro (#60b5e2, #0284c7)
   ============================================ */

/* Variables CSS - Colores del Backend adaptados a PathSoft */
:root {
    --primary-blue: #60b5e2;
    --primary-blue-dark: #4A9BC8;
    --accent-blue: #0284c7;
    --light-blue-bg: #dbeafe;
    --bg-gray: #f8f9fa;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light-gray: #718096;
    --white: #ffffff;
    --background-color: #ffffff;
    --background-secondary-color: #F0F4F8;
    --border-color: #D4D4E1;
    --el-border-radius: 10px;
    --el-border-radius-min: 6px;
    --el-box-shadow: 2px 4px 20px 1px rgba(45, 45, 45, 0.13);
    --header-box-shadow: 0px 0px 14px 0px rgba(77, 82, 94, 0.15);
    --heading-font-family: "Montserrat", sans-serif;
    --font-family: "Source Sans Pro", sans-serif;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.625;
    color: var(--text-dark);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.main {
    position: relative;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    box-shadow: var(--el-box-shadow);
}

.main-inner {
    flex: 1 0 auto;
    overflow: hidden;
}

/* ============================================
   Header & Navbar
   ============================================ */
.header {
    position: relative;
    width: 100%;
}

.header-fixed {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0.75rem 0;
    background-color: var(--background-color);
    font-size: 1rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 101;
    box-shadow: var(--header-box-shadow);
}

.header-fixed.fixed {
    position: fixed;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    text-decoration: none;
    font-family: var(--heading-font-family);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-blue);
}

.main-mnu {
    display: flex;
    align-items: center;
}

.main-mnu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.main-mnu-list {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: -1.5rem;
}

.main-mnu-list.hide {
    display: none;
}

.main-mnu-list > li {
    position: relative;
    margin-left: 1.5rem;
    padding: 1rem 0;
}

.main-mnu-list > li > a {
    font-size: 0.9375rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.main-mnu-list > li > a::after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-100%);
    width: 100%;
    white-space: nowrap;
    transition: all 0.4s;
    color: var(--accent-blue);
}

.main-mnu-list > li > a > span {
    display: block;
    transform: translateY(0);
    transition: all 0.4s;
}

.main-mnu-list > li:hover > a > span,
.main-mnu-list > li.active > a > span {
    transform: translateY(100%);
}

.main-mnu-list > li:hover > a::after,
.main-mnu-list > li.active > a::after {
    transform: translateY(0);
}

.main-mnu-btn {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
    overflow: hidden;
    cursor: pointer;
}

.main-mnu-btn .bar {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.4s ease-in-out;
}

.main-mnu-btn .bar-1 {
    top: 0;
}

.main-mnu-btn .bar-2,
.main-mnu-btn .bar-3 {
    top: 8px;
}

.main-mnu-btn .bar-3 {
    right: 0;
}

.main-mnu-btn .bar-4 {
    bottom: 0;
}

.main-mnu-btn.active .bar-1 {
    transform: translateX(40px);
    background-color: transparent;
}

.main-mnu-btn.active .bar-2 {
    transform: rotate(45deg);
}

.main-mnu-btn.active .bar-3 {
    transform: rotate(-45deg);
}

.main-mnu-btn.active .bar-4 {
    transform: translateX(-40px);
    background-color: transparent;
}

/* Mobile Menu */
body.mmm-open {
    overflow: hidden;
}

.mf-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    z-index: 99;
    opacity: 0;
    cursor: pointer;
    visibility: hidden;
    transition: opacity 0.4s;
}

.mf-bg::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.mf-bg.visible {
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
}

.mmm {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 20rem;
    height: 100%;
    background-color: var(--background-color);
    z-index: 100;
    box-shadow: var(--header-box-shadow);
    transform: translateX(-150%);
    overflow-y: auto;
    transition: transform 0.6s;
}

body.mmm-open .mmm {
    transform: translateX(0);
}

.mmm-content {
    background-color: var(--background-secondary-color);
    padding: 2rem 0;
}

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

.mmm-list li {
    border-bottom: 1px solid var(--border-color);
}

.mmm-list li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.mmm-list li a:hover {
    background-color: var(--light-blue-bg);
    color: var(--accent-blue);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.bread-crumbs {
    position: relative;
    padding: 1.125rem 0;
    background-color: var(--background-secondary-color);
}

.bread-crumbs-list {
    position: relative;
    display: flex;
    font-size: 1rem;
    overflow: hidden;
    color: var(--accent-blue);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.bread-crumbs-list li {
    position: relative;
    margin-right: 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.bread-crumbs-list li:last-child {
    margin-right: 0;
    color: var(--accent-blue);
}

.bread-crumbs-list li:last-child i {
    display: none;
}

.bread-crumbs-list li:last-child a {
    color: var(--accent-blue);
    text-decoration: none;
    pointer-events: none;
}

.bread-crumbs-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.bread-crumbs-list li a:hover {
    text-decoration: underline;
    color: var(--accent-blue);
}

.bread-crumbs-list li i {
    position: absolute;
    top: 50%;
    right: -1.5625rem;
    margin-top: -0.5625rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 4rem 0;
}

.section-bgc {
    background-color: var(--background-secondary-color);
}

.section-heading {
    margin-bottom: 3.25rem;
    max-width: 850px;
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
    position: relative;
    font-size: 2.5rem;
    margin: 0;
    font-family: var(--heading-font-family);
    font-weight: 700;
    line-height: 1.3;
}

.section-heading.shm-none {
    margin-bottom: 0;
}

.heading-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subheading {
    margin-bottom: 0.3125rem;
    text-transform: uppercase;
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.section-desc {
    margin: 1.25rem 0;
    max-width: 30rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.heading-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.section-footer {
    margin-top: 1rem;
    text-align: center;
}

/* ============================================
   Intro / Hero Section
   ============================================ */
/* Hero Section - Modern Design */
.hero-section {
    position: relative;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--accent-blue) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-actions .btn {
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: var(--el-border-radius);
}

.hero-actions .btn-primary {
    background-color: var(--white);
    color: var(--accent-blue);
    border: 2px solid var(--white);
}

.hero-actions .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-outline-primary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-actions .btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Legacy intro styles for backward compatibility */
.intro {
    position: relative;
    z-index: 1;
}

.intro-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 3.5rem 0;
    min-height: 40rem;
    color: var(--text-primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    min-width: 100%;
    width: 100%;
}

.intro-item .container {
    position: relative;
    z-index: 3;
}

.intro-content {
    --margin-left: 0;
    --margin-right: 0;
    --max-width: 25rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 var(--margin-right) 0 var(--margin-left);
    padding: 0 0 3.75rem 0;
    position: relative;
    z-index: 2;
}

.intro-content.intro-content-center {
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

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

.intro-item .section-heading h1 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-item .section-subheading {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.intro-item .section-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    max-width: 100%;
}

.intro-btns {
    align-items: center;
    margin-top: 1.75rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.intro-item-type-1 {
    color: rgba(255, 255, 255, 0.9);
}

.intro-item-type-1 .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.intro-item-type-1 .section-subheading {
    color: rgba(255, 255, 255, 0.8);
}

.intro-item-type-1 .btn.btn-border {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.intro-item-type-1 .btn.btn-border:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ============================================
   Items & Cards
   ============================================ */
.items {
    margin-bottom: calc(0px - var(--bs-gutter-x));
}

.item {
    margin-bottom: var(--bs-gutter-x);
}

.item-style {
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--el-border-radius);
    overflow: hidden; /* Mantener hidden para el border-radius, pero permitir overflow en news-item-info */
    color: var(--text-dark);
    height: 100%;
    transition: box-shadow 0.2s;
    border: 1px solid var(--border-color);
}

/* Permitir que la fecha se muestre fuera del contenedor item-style */
.item-style .news-item-info {
    overflow: visible;
}

.item-style:hover {
    box-shadow: var(--el-box-shadow);
    border-color: transparent;
}

.el {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.el::after {
    content: "";
    float: left;
    margin-top: 100%;
}

.el.el-16x9::after {
    margin-top: 56.25%;
}

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

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.item-heading,
.item-heading-large {
    font-family: var(--heading-font-family);
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.item-heading {
    font-size: 1.125rem;
}

.item-heading-large {
    font-size: 1.5rem;
}

.item-heading a,
.item-heading-large a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.item-heading a:hover,
.item-heading-large a:hover {
    color: var(--accent-blue);
}

/* ============================================
   Icon Items (iitem)
   ============================================ */
.iitem {
    display: block;
    text-align: center;
    padding: 1.5rem;
    text-decoration: none;
    transition: box-shadow 0.2s, background-color 0.2s, color 0.2s;
    height: 100%;
}

.iitem:hover {
    color: var(--text-dark);
}

.iitem.iitem-hover:hover {
    background-color: var(--accent-blue);
    color: var(--white);
}

.iitem.iitem-hover:hover .iitem-icon {
    background: var(--white);
    color: var(--accent-blue);
}

.iitem.iitem-hover:hover .iitem-desc {
    color: var(--white);
}

.iitem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    margin: 0 auto 1.25rem;
    color: var(--white);
    font-size: 2.5rem;
}

.iitem-icon-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2rem;
    z-index: 1;
    opacity: 0;
    color: var(--white);
    transition: opacity 0.2s 0.1s;
    font-size: 20rem;
    pointer-events: none;
}

.iitem.iitem-hover:hover .iitem-icon-bg {
    opacity: 0.14;
}

.iitem-heading {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.iitem-desc {
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

/* ============================================
   News Items
   ============================================ */
.news-item {
    position: relative;
    height: 100%;
    overflow: visible; /* Asegurar que no corte elementos posicionados absolutamente */
}

.news-item-img {
    position: relative;
    display: block;
    background-color: var(--background-secondary-color);
    overflow: hidden;
    border-radius: var(--el-border-radius) var(--el-border-radius) 0 0;
}

.news-item-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.05);
}

.news-item-info {
    position: relative;
    padding: 2.1875rem 1.25rem 1.25rem;
    padding-top: 2.5rem; /* Aumentar padding-top para dar espacio a la fecha */
    background-color: var(--background-color);
    border-radius: 0 0 var(--el-border-radius) var(--el-border-radius);
    overflow: visible; /* Asegurar que no corte el elemento de fecha */
}

.news-item-date {
    position: absolute;
    left: 50%;
    top: -1.125rem;
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 0.625rem;
    background-color: var(--accent-blue);
    color: var(--white);
    font-size: 0.8125rem;
    border-radius: var(--el-border-radius-min);
    transform: translateX(-50%);
    font-weight: 600;
    z-index: 10; /* Asegurar que esté por encima de otros elementos */
    white-space: nowrap; /* Evitar que el texto se corte en varias líneas */
}

.news-item-heading {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.news-item-heading a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.news-item-heading a:hover {
    color: var(--accent-blue);
}

.news-item-desc {
    color: var(--text-secondary);
}

.news-item-desc p {
    margin-bottom: 0;
}

/* ============================================
   News Post
   ============================================ */
.news-post {
    max-width: 850px;
    margin: 0 auto;
}

.news-post-header {
    margin-bottom: 2rem;
}

.news-post-title {
    margin-bottom: 1rem;
    font-family: var(--heading-font-family);
    font-size: 2.5rem;
    font-weight: 700;
}

.news-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    gap: 1.25rem;
}

.news-post-meta-item {
    display: flex;
    align-items: center;
}

.news-post-meta-item i {
    margin-right: 0.625rem;
    color: var(--accent-blue);
}

.news-post-img {
    margin-top: 0;
    border-radius: var(--el-border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-secondary-color);
    padding: 2rem;
    min-height: 100%;
}

.news-post-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.news-post-article {
    color: var(--text-dark);
    line-height: 1.8;
}

.news-post-article h2 {
    color: var(--accent-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
}

.news-post-article h3 {
    color: var(--primary-blue-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
}

/* ============================================
   Items of Numbers (ini)
   ============================================ */
.litems {
    margin-bottom: calc(0px - (var(--bs-gutter-x) + var(--bs-gutter-x)/2));
}

.litem {
    margin-bottom: calc(var(--bs-gutter-x) + var(--bs-gutter-x)/2);
}

.ini {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.ini-count {
    font-size: 1.0625rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 0.125rem;
    position: relative;
    z-index: 1;
    padding-right: 0.3125rem;
}

.ini-count::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: 3.25rem;
    height: 1px;
    background-color: var(--text-dark);
    margin-top: -1px;
}

.ini-info {
    position: relative;
    z-index: 1;
    padding-left: 3.75rem;
}

.ini-heading {
    margin-bottom: 1.25rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
}

.ini-desc {
    color: var(--text-secondary);
}

/* ============================================
   Buttons
   ============================================ */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 0 -1.25rem -1.25rem;
}

.btn-group > * {
    display: block;
    margin: 0 0 1.25rem 1.25rem;
}

.btn {
    --ripple-width: 100%;
    --ripple-time: 0.4s;
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-family);
    line-height: 1.625;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    text-decoration: none;
    padding: 0.75em 1.75em;
    border-radius: var(--el-border-radius-min);
    outline: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--ripple-time);
}

.btn > i, .btn > span, .btn > svg {
    position: relative;
    z-index: 1;
}

.btn-border {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    background: transparent;
}

.btn-border:hover {
    background-color: var(--accent-blue);
    color: var(--white);
}

.btn-border::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    border-radius: var(--el-border-radius-min);
    transition: border-color var(--ripple-time);
}

.btn-with-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-right {
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

.btn-w240 {
    min-width: 240px;
}

.btn-small {
    padding: 0.5em 1.25em;
    font-size: 0.875rem;
}

.ripple {
    position: relative;
    overflow: hidden;
}

/* ============================================
   Content
   ============================================ */
.content {
    line-height: 1.8;
    color: var(--text-dark);
}

.content h2 {
    color: var(--accent-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
}

.content h3 {
    color: var(--primary-blue-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--heading-font-family);
    font-weight: 700;
}

.content p {
    margin-bottom: 1rem;
}

.content ul,
.content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content a {
    color: var(--accent-blue);
    text-decoration: none;
}

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

.item-bordered {
    border: 1px solid var(--border-color);
}

.item-border-radius {
    border-radius: var(--el-border-radius);
    overflow: hidden;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    background-color: var(--text-dark);
    width: 100%;
    color: var(--white);
    font-size: 1rem;
    flex: 0 0 auto;
}

.footer p,
.footer i {
    opacity: 0.8;
}

.footer a {
    opacity: 0.8;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-minimal .footer-main {
    padding: 2.5rem 0;
}

.footer-main {
    position: relative;
    padding: 4rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-nav {
    margin: 0;
    padding: 0;
}

.footer-mnu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-mnu-line {
    flex-direction: column;
    gap: 0.75rem;
}

.footer-mnu li {
    margin: 0;
}

.footer-mnu li a {
    display: block;
    padding: 0.25rem 0;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    opacity: 0.8;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1199.98px) {
    .iitem {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .intro-item {
        min-height: 35rem;
    }
}

@media (max-width: 991.98px) {
    .section-heading h1,
    .section-heading h2,
    .section-heading h3 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 4rem 0 3.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .intro-item {
        min-height: 400px;
    }
}

@media (max-width: 991.98px) {
    .intro-content {
        margin: 0 !important;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-heading {
        margin-bottom: 2rem;
    }
    
    .section-heading h1,
    .section-heading h2,
    .section-heading h3 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .intro-item {
        min-height: 35rem;
        padding: 2rem 0;
    }
    
    .intro-item h1,
    .intro-item h2,
    .intro-item h3 {
        font-size: 2rem !important;
    }
    
    .intro-content {
        text-align: center;
        padding-bottom: 0;
        max-width: 380px;
        margin: 0 auto !important;
    }
    
    .mmm {
        display: flex;
    }
    
    .main-mnu {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .section-heading h1,
    .section-heading h2,
    .section-heading h3 {
        font-size: 1.5rem;
    }
    
    .intro-item {
        min-height: 300px;
    }
    
    .iitem-icon {
        width: 5rem;
        height: 5rem;
        min-width: 5rem;
        font-size: 2rem;
    }
}

/* ============================================
   Companies Section
   ============================================ */
.companies-section .company-logo {
    height: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.companies-section .company-logo img {
    max-height: 100px;
    max-width: 180px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Asegurar que los SVGs se muestren correctamente */
.companies-section .company-logo img[src$=".svg"],
.companies-section .company-logo img[src*=".svg"] {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 100px;
}

/* ============================================
   Program Cards Styles (similar to companies)
   ============================================ */
.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--el-border-radius);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.program-logo {
    height: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.program-logo img {
    max-height: 100px;
    max-width: 180px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.program-card:hover .program-logo img {
    transform: scale(1.05);
}

/* Asegurar que los SVGs se muestren correctamente */
.program-logo img[src$=".svg"],
.program-logo img[src*=".svg"] {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 100px;
}

.program-card .card-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.program-card .card-title a:hover {
    color: var(--accent-blue);
}

.program-card .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
}

/* ============================================
   Program Screenshots Styles
   ============================================ */
.program-screenshots {
    margin-top: 3rem;
}

.program-screenshot-item {
    text-align: center;
}

.screenshot-container {
    background-color: var(--background-secondary-color);
    border-radius: var(--el-border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.screenshot-container img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ============================================
   Legacy Styles (compatibilidad)
   ============================================ */
main > .container,
main > .container-fluid {
    padding: 2rem 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
    border-radius: var(--el-border-radius-min);
}

/* ============================================
   Program Content Styles
   ============================================ */
.program-content {
    line-height: 1.8;
}

.program-content .content-html {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.program-content .content-html h1,
.program-content .content-html h2,
.program-content .content-html h3,
.program-content .content-html h4 {
    color: var(--accent-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-content .content-html h3 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-blue-bg);
    padding-bottom: 0.5rem;
}

.program-content .content-html p {
    margin-bottom: 1.25rem;
}

.program-content .content-html ul,
.program-content .content-html ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.program-content .content-html li {
    margin-bottom: 0.5rem;
}

.program-content .content-html code {
    background-color: var(--light-blue-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-blue);
}

.program-content .content-html pre {
    background-color: var(--bg-gray);
    padding: 1rem;
    border-radius: var(--el-border-radius-min);
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.program-content .content-html pre code {
    background-color: transparent;
    padding: 0;
    color: var(--text-dark);
}

.program-content .content-html blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-gray);
}

.program-content .content-html img {
    max-width: 100%;
    height: auto;
    border-radius: var(--el-border-radius-min);
    margin: 1.5rem 0;
}

.program-description .lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

.program-downloads {
    background-color: var(--light-blue-bg);
    padding: 2rem;
    border-radius: var(--el-border-radius);
    margin-top: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.program-downloads h3 {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.program-downloads .btn {
    min-height: 48px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.program-downloads .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.program-dates,
.program-tags {
    padding-top: 1.5rem;
}

.program-dates h3,
.program-tags h3 {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.25rem;
}

.program-tags .badge {
    transition: all 0.2s ease;
}

.program-tags .badge:hover {
    transform: scale(1.05);
    cursor: default;
}


/*************************************************************************************************************
TOAST NOTIFICATIONS - Flash Messages Profesionales
*************************************************************************************************************/

/* Contenedor de toasts - posición fija arriba a la derecha */
.toast-container-custom {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 420px;
    width: 100%;
    pointer-events: none;
}

/* Cada notificación toast */
.toast-notification {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 1rem 1rem 1rem 0;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: none;
    will-change: transform, opacity;
}

/* Animación de entrada */
.toast-notification.toast-show {
    animation: toastSlideIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

/* Animación de salida */
.toast-notification.toast-hide {
    animation: toastSlideOut 0.35s cubic-bezier(0.06, 0.71, 0.55, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
        max-height: 200px;
        margin-bottom: 0;
    }
    to {
        opacity: 0;
        transform: translateX(100%);
        max-height: 0;
        margin-bottom: -0.75rem;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Icono del toast */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 100%;
    padding: 0 0.25rem;
    font-size: 1.25rem;
}

/* Contenido del toast */
.toast-content {
    flex: 1;
    min-width: 0;
    padding-right: 0.5rem;
}

.toast-title {
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.125rem;
    line-height: 1.3;
}

.toast-message {
    font-size: 0.875rem;
    line-height: 1.45;
    color: #475569;
    word-wrap: break-word;
}

/* Botón de cerrar */
.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.25rem 0.25rem 0 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Barra de progreso */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    border-radius: 0 0 12px 12px;
    transition: width 5s linear;
}

/* ---- Variantes de color ---- */

/* SUCCESS */
.toast-success {
    border-left: 4px solid #10b981;
}
.toast-success .toast-icon {
    color: #10b981;
}
.toast-success .toast-title {
    color: #065f46;
}
.toast-success .toast-progress-bar {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* DANGER / ERROR */
.toast-danger {
    border-left: 4px solid #ef4444;
}
.toast-danger .toast-icon {
    color: #ef4444;
}
.toast-danger .toast-title {
    color: #991b1b;
}
.toast-danger .toast-progress-bar {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* WARNING */
.toast-warning {
    border-left: 4px solid #f59e0b;
}
.toast-warning .toast-icon {
    color: #f59e0b;
}
.toast-warning .toast-title {
    color: #92400e;
}
.toast-warning .toast-progress-bar {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* INFO */
.toast-info {
    border-left: 4px solid #3b82f6;
}
.toast-info .toast-icon {
    color: #3b82f6;
}
.toast-info .toast-title {
    color: #1e40af;
}
.toast-info .toast-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* Responsive para móviles - toasts */
@media (max-width: 480px) {
    .toast-container-custom {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
    
    .toast-notification {
        border-radius: 10px;
    }
}


/*************************************************************************************************************
INLINE ALERT BANNERS - Errores y Advertencias prominentes (dentro del contenido)
*************************************************************************************************************/

/* Contenedor de alertas inline */
.inline-alert-container {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Cada alerta inline */
.inline-alert {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
    will-change: transform, opacity;
}

/* Animación de entrada inline */
.inline-alert.inline-alert-show {
    animation: inlineAlertIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

/* Animación de salida inline */
.inline-alert.inline-alert-hide {
    animation: inlineAlertOut 0.3s ease forwards;
}

@keyframes inlineAlertIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inlineAlertOut {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 120px;
        margin-bottom: 0;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        margin-bottom: -0.625rem;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }
}

/* Icono inline */
.inline-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.125rem;
    margin-right: 0.875rem;
    flex-shrink: 0;
}

/* Cuerpo del mensaje */
.inline-alert-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-alert-title {
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.inline-alert-message {
    font-size: 0.875rem;
    line-height: 1.45;
    word-wrap: break-word;
}

/* Botón de cerrar inline */
.inline-alert-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.375rem;
    margin-left: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.7rem;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.inline-alert-close:hover {
    opacity: 1;
}

/* ---- Variantes de color inline ---- */

/* DANGER / ERROR */
.inline-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
}

.inline-alert-danger .inline-alert-icon {
    background: #fee2e2;
    color: #dc2626;
}

.inline-alert-danger .inline-alert-title {
    color: #991b1b;
}

.inline-alert-danger .inline-alert-message {
    color: #7f1d1d;
}

.inline-alert-danger .inline-alert-close {
    color: #991b1b;
}

.inline-alert-danger .inline-alert-close:hover {
    background: #fee2e2;
}

/* WARNING */
.inline-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
}

.inline-alert-warning .inline-alert-icon {
    background: #fef3c7;
    color: #d97706;
}

.inline-alert-warning .inline-alert-title {
    color: #92400e;
}

.inline-alert-warning .inline-alert-message {
    color: #78350f;
}

.inline-alert-warning .inline-alert-close {
    color: #92400e;
}

.inline-alert-warning .inline-alert-close:hover {
    background: #fef3c7;
}

/* SUCCESS (si alguna vez se usa inline) */
.inline-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #10b981;
}

.inline-alert-success .inline-alert-icon {
    background: #dcfce7;
    color: #059669;
}

.inline-alert-success .inline-alert-title {
    color: #065f46;
}

.inline-alert-success .inline-alert-message {
    color: #064e3b;
}

.inline-alert-success .inline-alert-close {
    color: #065f46;
}

/* INFO (si alguna vez se usa inline) */
.inline-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
}

.inline-alert-info .inline-alert-icon {
    background: #dbeafe;
    color: #2563eb;
}

.inline-alert-info .inline-alert-title {
    color: #1e40af;
}

.inline-alert-info .inline-alert-message {
    color: #1e3a5f;
}

.inline-alert-info .inline-alert-close {
    color: #1e40af;
}


/*************************************************************************************************************
ERROR PAGE - Página de error profesional (404, 403, 500, etc.)
*************************************************************************************************************/

.error-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.error-page-content {
    text-align: center;
    max-width: 480px;
    position: relative;
    z-index: 2;
    animation: errorFadeIn 0.6s cubic-bezier(0.21, 1.02, 0.73, 1);
}

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

/* Código de error grande */
.error-code {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 0.5rem;
    opacity: 0.15;
    user-select: none;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Icono decorativo */
.error-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 3rem auto 1.25rem;
    position: relative;
    animation: errorIconBounce 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes errorIconBounce {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Título */
.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

/* Descripción */
.error-description {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Detalles técnicos colapsables */
.error-details {
    margin-bottom: 2rem;
    text-align: center;
}

.error-details-toggle {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.error-details-toggle:hover {
    color: #64748b;
    background: #f1f5f9;
}

.error-chevron {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.error-details.open .error-chevron {
    transform: rotate(180deg);
}

.error-details-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.error-details.open .error-details-body {
    max-height: 200px;
    padding: 0.75rem 1rem;
}

.error-details-body code {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #64748b;
    text-align: left;
    word-break: break-word;
}

/* Botones de acción */
.error-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn-primary {
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
}

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    color: #fff !important;
    filter: brightness(1.08);
}

.error-btn-secondary {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.error-btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    color: #334155 !important;
}

/* Decoración de fondo */
.error-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.error-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.error-bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    animation: errorFloat 15s infinite ease-in-out;
}

.error-bg-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -40px;
    animation: errorFloat 18s infinite ease-in-out reverse;
}

.error-bg-circle-3 {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 15%;
    animation: errorFloat 12s infinite ease-in-out 3s;
}

@keyframes errorFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(15px, -15px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .error-code {
        font-size: 5rem;
        letter-spacing: -2px;
    }

    .error-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.625rem;
        border-radius: 16px;
    }

    .error-title {
        font-size: 1.25rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
