* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section con Video/Imagen */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2029bd;
}

/* Video de fondo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Imagen de fondo alternativa */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-image.loaded {
    opacity: 1;
}

/* Overlay oscuro sobre el video/imagen */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 41, 189, 0.7) 0%, rgba(24, 99, 220, 0.6) 100%);
    z-index: 2;
}

/* Logo */
.hero-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 4;
    max-width: 140px;
    height: auto;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-logo.loaded {
    opacity: 1;
}

/* Contenido del hero */
.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 3;
    color: white;
    text-align: left;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: #2029bd;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #2029bd;
    animation: fadeInUp 1.4s ease-out;
}

.hero-cta:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes imageSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos para imágenes con carga lazy */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

img[loading="lazy"].image-loaded {
    animation: imageSlideUp 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sección base con animación */
section {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.4s; }
section:nth-child(4) { animation-delay: 0.6s; }
section:nth-child(5) { animation-delay: 0.8s; }

/* Responsive para Hero */
@media (max-width: 768px) {
    .hero-logo {
        top: 20px;
        left: 20px;
        max-width: 150px;
    }

    .hero-content {
        bottom: 40px;
        left: 30px;
        right: 30px;
        max-width: calc(100% - 60px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 120px;
    }

    .hero-content {
        bottom: 30px;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Sections */
section {
    padding: 80px 20px;
}

section:nth-child(even) {
    background-color: #f8f8f8;
}

/* Tratamiento Superficial Section */
.tratamiento-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.tratamiento-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}

.tratamiento-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tratamiento-title {
    font-size: 2.8rem;
    line-height: 1.3;
    font-weight: 800;
    color: #000;
    margin-bottom: 25px;
}

.tratamiento-title .highlight {
    color: #2029bd;
    position: relative;
    display: inline-block;
}

.tratamiento-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.tratamiento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.tratamiento-item {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
}

.tratamiento-item:nth-child(1) { animation-delay: 0.1s; }
.tratamiento-item:nth-child(2) { animation-delay: 0.2s; }
.tratamiento-item:nth-child(3) { animation-delay: 0.3s; }

.tratamiento-item:hover {
    transform: translateY(-12px);
}

.tratamiento-item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.tratamiento-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 41, 189, 0.15) 0%, rgba(24, 99, 220, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tratamiento-item:hover .tratamiento-item-image {
    box-shadow: 0 20px 40px rgba(32, 41, 189, 0.2);
    transform: scale(1.02);
}

.tratamiento-item:hover .tratamiento-item-image::after {
    opacity: 1;
}

.tratamiento-item-title {
    transition: color 0.3s ease, transform 0.3s ease;
}

.tratamiento-item:hover .tratamiento-item-title {
    color: #1863dc;
    transform: translateX(5px);
}

.tratamiento-item-content {
    padding: 0;
}

.tratamiento-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2029bd;
    margin-bottom: 15px;
}

.tratamiento-item-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Responsive Tratamiento */
@media (max-width: 992px) {
    .tratamiento-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tratamiento-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .tratamiento-section {
        padding: 60px 20px;
    }
    
    .tratamiento-title {
        font-size: 2rem;
    }
    
    .tratamiento-item-image {
        height: 250px;
    }
}

/* Objetivos Section (7 imágenes) */
.objetivos-section {
    padding: 100px 20px;
    background-color: #fff;
}

.objetivos-header {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.objetivos-title {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
    color: #000;
}

.objetivos-title .highlight {
    color: #2029bd;
}

.objetivos-description {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 20px auto 0;
    padding-left: 0;
}

/* Grid de 7 imágenes (4 arriba, 3 abajo) */
.objetivos-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.objetivos-grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.objetivos-grid-item:nth-child(1) { animation-delay: 0.1s; }
.objetivos-grid-item:nth-child(2) { animation-delay: 0.2s; }
.objetivos-grid-item:nth-child(3) { animation-delay: 0.3s; }
.objetivos-grid-item:nth-child(4) { animation-delay: 0.4s; }

.objetivos-grid-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.objetivos-grid-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(32, 41, 189, 0.15);
}

.objetivos-grid-item-overlay {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.objetivos-grid-item-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2029bd;
    position: relative;
    padding-bottom: 12px;
    transition: color 0.3s ease;
}

.objetivos-grid-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2029bd;
    transition: width 0.3s ease;
}

.objetivos-grid-item:hover .objetivos-grid-item-title {
    color: #1a21a0;
}

.objetivos-grid-item:hover .objetivos-grid-item-title::after {
    width: 80px;
}

.objetivos-grid-item-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* Responsive Objetivos */
@media (max-width: 1024px) {
    .objetivos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .objetivos-grid-item img {
        height: 300px;
    }
    
    .objetivos-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .objetivos-section {
        padding: 60px 20px;
    }
    
    .objetivos-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .objetivos-grid-item img {
        height: 280px;
    }
    
    .objetivos-grid-item-title {
        font-size: 1.4rem;
    }
    
    .objetivos-grid-item-description {
        font-size: 1rem;
    }
    
    .objetivos-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .objetivos-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Sections */
.cta-sections {
    background: white;
}

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-section:nth-of-type(odd) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.cta-section:nth-of-type(even) {
    background: white;
}

.cta-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    opacity: 0;
}

.cta-section.image-left .cta-content {
    animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.cta-section.image-right .cta-content {
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

/* Imagen a la izquierda, texto a la derecha */
.cta-section.image-left .cta-image-wrapper {
    order: 1;
}

.cta-section.image-left .cta-content {
    order: 2;
}

/* Imagen a la derecha, texto a la izquierda */
.cta-section.image-right .cta-content {
    order: 1;
}

.cta-section.image-right .cta-image-wrapper {
    order: 2;
}

.cta-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: left;
}

.cta-title {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    text-align: left;
}

.cta-title .highlight {
    color: #2029bd;
    position: relative;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 3px solid #2029bd;
    display: block;
    max-width: 500px;
}

.cta-items-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cta-item {
    padding-left: 20px;
    border-left: 4px solid #2029bd;
    transition: all 0.3s ease;
}

.cta-item:hover {
    padding-left: 30px;
    border-left-width: 6px;
}

.cta-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2029bd;
    margin-bottom: 10px;
}

.cta-item-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.cta-image-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cta-section:hover .cta-image {
    transform: scale(1.05);
}

/* Responsive CTA Sections */
@media (max-width: 1024px) {
    .cta-content {
        padding: 80px 50px;
        text-align: left;
    }
    
    .cta-title {
        font-size: 1.9rem;
    }
    
    .tratamiento-title,
    .objetivos-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .cta-section,
    .cta-section.image-left,
    .cta-section.image-right {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .cta-section.image-right .cta-content,
    .cta-section.image-right .cta-image-wrapper,
    .cta-section.image-left .cta-content,
    .cta-section.image-left .cta-image-wrapper {
        order: unset;
    }
    
    .cta-content {
        padding: 60px 30px;
        text-align: left;
        animation: fadeInUp 0.8s ease-out forwards !important;
    }
    
    .cta-image-wrapper {
        height: 400px;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .tratamiento-section,
    .objetivos-section {
        padding: 70px 20px;
    }
    
    .tratamiento-title,
    .objetivos-title {
        font-size: 2rem;
    }
    
    .tratamiento-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .objetivos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cta-content {
        padding: 50px 20px;
        text-align: left;
    }
    
    .cta-image-wrapper {
        height: 300px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .tratamiento-section,
    .objetivos-section {
        padding: 60px 15px;
    }
    
    .tratamiento-title,
    .objetivos-title {
        font-size: 1.7rem;
    }
    
    .objetivos-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #2029bd;
    color: white;
    padding: 80px 20px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Columna Logo */
.footer-column-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Columna 1: Contacto */
.footer-column-1 {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: white;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.footer-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.footer-phone:hover {
    opacity: 0.8;
}

.footer-email-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-email {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.8;
}

/* Columna 2: Canal de denuncias */
.footer-column-2 {
    display: flex;
    flex-direction: column;
}

.footer-denuncias-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-denuncias-link:hover {
    opacity: 0.8;
}

.footer-denuncias-link .footer-title {
    cursor: pointer;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.footer-logo-item {
    max-width: 200px;
    height: auto;
}

/* Columna 3: Redes sociales */
.footer-column-3 {
    display: flex;
    flex-direction: column;
}

.footer-social-text {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social-icon {
    display: inline-block;
    margin-bottom: 30px;
}

.footer-social-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
    transition: opacity 0.3s ease;
}

.footer-social-icon:hover svg {
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #1a1a1a;
    padding: 30px 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-bottom-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-bottom-menu li {
    margin: 0;
}

.footer-bottom-menu a {
    color: #b1b1b1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
    color: #2029bd;
}

.footer-bottom-copyright {
    font-size: 0.85rem;
    color: #b1b1b1;
    text-align: center;
    margin: 0;
}

.footer-bottom-copyright a {
    color: #2029bd;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-bottom-copyright a:hover {
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-column-logo {
        grid-column: 1 / -1;
        align-items: center;
    }
    
    .footer-logo {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column-logo {
        grid-column: 1;
        align-items: center;
    }
    
    .footer-logo {
        max-width: 160px;
    }
    
    .footer-column-3 {
        grid-column: 1;
    }
    
    .footer-bottom-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 25px 15px;
    }
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: #2029bd;
    font-weight: 700;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-wrapper p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(32, 41, 189, 0.2);
}

.service-card h3 {
    color: #2029bd;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Sectors */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sector-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sector-item:hover {
    transform: scale(1.05);
}

.sector-item h3 {
    color: #2029bd;
    font-size: 1.3em;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2029bd 0%, #1863dc 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    font-size: 1.2em;
    margin: 15px 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid white;
    padding-bottom: 2px;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* 404 Page */
.error-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.error-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 41, 189, 0.75) 0%, rgba(24, 99, 220, 0.65) 100%);
    z-index: 2;
}

.error-hero-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 4;
    max-width: 140px;
    height: auto;
}

.error-content {
    position: relative;
    z-index: 3;
    width: min(900px, 92vw);
    color: white;
    text-align: center;
    padding: 0 20px;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 14px rgba(0, 0, 0, 0.45);
    animation: fadeInUp 0.9s ease-out;
}

.error-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1.05s ease-out;
}

.error-description {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto 26px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 1.2s ease-out;
}

.error-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.35s ease-out;
}

.error-actions .hero-cta {
    margin: 0;
}

.error-actions .hero-cta.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.9);
}

.error-actions .hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .error-hero-logo {
        top: 20px;
        left: 20px;
        max-width: 120px;
    }
    .error-code {
        font-size: 4.5rem;
    }
    .error-title {
        font-size: 2rem;
    }
}
